Rephrase errors in policy bot comment

Why are we doing this work

Currently, the policy bot comment errors could be misinterpreted because they contain "License scanning" in the name (which refers to the policy rule type), but the artifacts we're actually looking for are CycloneDX SBOM reports.

CleanShot_2024-05-22_at_09.46.12_2x

Proposal

Rephrase it to the following:

For scan_finding:

"Pipeline configuration error: Security reports required by policy New scans could not be found."

For license_scanning:

"Pipeline configuration error: SBOM reports required by policy Disallowed licenses could not be found."

Relevant links

Non-functional requirements

  • Documentation:
  • Feature flag:
  • Performance:
  • Testing:

Implementation plan

Verification steps

Edited by Martin Cavoj