Extract SSoT for pipeline sources for which SEP should be enforced
What does this MR do and why?
This change refactors logic which determines when Scan execution policy should be enforced for a given pipeline source.
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Related to #457930 (closed)