Add purl types for CS
What does this MR do and why?
Describe in detail what your merge request does and why.
Add the following purl types to Enums::Sbom::PURL_TYPES and Enums::PackageMetadata::PURL_TYPES:
Task actions
apk
rpm
deb
cbl-mariner
Screenshots or screen recordings
Components are updated in the DB
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
How to set up and validate locally
- Check out this MR in GDK.
- Clone this test project in your local gdk.
- Set the variable as follows in the project
gitlab-ci.yml
. - Go to console and check the tables
sbom_*
or Sbom::Component. Match it with generated sbom json report.
CS_ANALYZER_IMAGE: registry.gitlab.com/gitlab-org/security-products/analyzers/container-scanning/tmp/trivy:55a702958694e3404c036915ba1ee93aea1e9133
CI_REGISTRY_IMAGE: registry.gitlab.com/atiwari71/container-scanning-test
This will fetch the container-scanning build with SBOM
report feature from this MR.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #398810 (closed)
Edited by Aditya Tiwari