Update policy-related logs to be more generic

What does this MR do?

Update policy-related logs to be more generic.

Why was this MR needed?

This change makes the logging more generic so that it can be applied to both scan execution policies and pipeline execution policies. This change is needed for refactoring of scan execution policies that can leverage the concept of variables_override to enforce the policy variables and ensure that they are not overridden by user-defined variables (gitlab!224456 (merged)).

What's the best way to test this MR?

  1. Create a project with scan execution policy enabled
  2. Observe the logs of the injected policy job
  3. Verify the new wording

What are the relevant issue numbers?

Edited by Martin Cavoj

Merge request reports

Loading