Add SEP policy source to job options
What does this MR do and why?
Add SEP policy source to job options.
- Add
shaandproject_idto SEP-triggered jobsoptions, following the same pattern as PEP.
References
- Scope policy job options under a single key (!208845 - merged)
- Add PEP source to job options (!190625 - merged)
-
👉 This one: Add SEP policy source to job options (!209673 - merged) - Add policy source claims to id_tokens (!211472)
How to set up and validate locally
- Setup a project with a scan execution policy
- Trigger a pipeline
- Verify the policy job options include
policy: { sha: '...', project_id: <spp_id> }Ci::Build.find(<id>).options
MR acceptance checklist
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 #459001
Edited by Martin Cavoj