Skip to content

Draft: Add SEP policy source to job options

What does this MR do and why?

Add SEP policy source to job options

Add config_sha and config_uri to SEP-triggered jobs options.

References

  1. Scope policy job options under a single key (!208845 - merged)
  2. Add PEP source to job options (!190625)
  3. 👉 This one: Draft: Add SEP policy source to job options (!209673)
  4. Draft: Add policy source claims to id_tokens (!209823)

How to set up and validate locally

  1. Setup a project with a scan execution policy
  2. Trigger a pipeline
  3. Verify the policy job options include config_sha and config_uri
    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 Čavoj

Merge request reports

Loading