Adjust CVS for CS logic to conform with the value of `CS_IGNORE_STATUSES`

Why are we doing this work

Continuous Vulnerability Scanning should respect the value of CS_IGNORE_STATUSES to stay backward compatible when enabling CVS on SBOM changes: Container Scanning: full scan on SBOM changes -... (&11219)

This issue adjusts the backend logic to only create vulnerabilities in accordance with this setting.

See epic for more details: Support CS_IGNORE_STATUSES in Continuous Vulner... (&15362)

Relevant links

Non-functional requirements

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

Implementation plan

Verification steps