
Generates CycloneDX SBOMs and dependency scanning reports to identify project dependencies, licenses, and vulnerabilities within GitLab CI/CD pipelines.
This component generates a CycloneDX Software Bill of Materials, which is used by GitLab to identify a project's dependencies, and their licenses. This CycloneDX Software Bill of Materials is compatible with the GitLab taxonomy. Additionally, this component is capable of generating a Dependency Scanning report from the vulnerabilities detected in the project's dependencies.
This CI/CD component requires GitLab dependency scanning capabilities, a GitLab Ultimate feature.
Add the following snippet to your .gitlab-ci.yml to run the dependency-scanning
job with the default configuration.
include:
- component: $CI_SERVER_FQDN/components/dependency-scanning/main@<VERSION>
You can also customize the job uisng the CI/CD component's inputs. For example, you can configure the log level and the job stage with the following configuration.
include:
- component: $CI_SERVER_FQDN/components/dependency-scanning/main@<VERSION>
inputs:
log_level: "debug"
stage: "security-scanning"
[!note] Make sure to set the component's version. Released versions may be found in the tags section of the project. More information on component versioning and available options may be found in component versions documentation.
Please see the catalog page for the complete list of allowed inputs.
changie batch auto.CHANGELOG.md with changie merge.git tag "$(changie latest -r)" && git push origin "$(changie latest -r)".