Skip to content

Add methods to PolicyConfiguration to read active policies

What does this MR do?

This change adds new methods to read active policies and scan actions that are applicable with provided branch.

This MR was extracted from WIP MR with all needed changes: !54067 (closed)

Does this MR meet the acceptance criteria?

Conformity

Not needed:

Any developer-facing change (e.g., refactoring, technical debt remediation, test suite changes) should not have a changelog entry. Example: “Reduce database records created during Cycle Analytics model spec.”

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • [-] Label as security and @ mention @gitlab-com/gl-security/appsec
  • [-] The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • [-] Security reports checked/validated by a reviewer from the AppSec team

Related to #299215 (closed)

Edited by Alan (Maciej) Paruszewski

Merge request reports