fix(BRIDGE-49): Configure gitleaks baseline and grype config

This commit is contained in:
Atanas Janeshliev
2024-05-02 10:59:43 +00:00
parent 8a859082cd
commit a28dc9f2f3
2 changed files with 5 additions and 2 deletions

View File

@ -44,8 +44,9 @@ include:
- local: ci/build.yml
- component: gitlab.protontech.ch/proton/devops/cicd-components/devsecops/gitleaks/scan-repository@~latest
inputs:
stage: analyse
- component: gitlab.protontech.ch/proton/devops/cicd-components/devsecops/grype/scan-code@0.0.12
stage: analyse
cli-args: "--baseline-path $GITLEAKS_BASELINE"
- component: gitlab.protontech.ch/proton/devops/cicd-components/devsecops/grype/scan-code@~latest
inputs:
stage: analyse

2
.grype.yaml Normal file
View File

@ -0,0 +1,2 @@
# Check out for configuration details: https://github.com/anchore/grype?tab=readme-ov-file#configuration
fail-on-severity: "medium"