Skip to content

Commit 7ee700c

Browse files
Nik08Copilot
andauthored
feat: CHEF-33010 - Added grype scan config (#41)
* feat(CHEF-33010): Added grype scan config Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Signed-off-by: Nik08 <nikita.mathur@progress.com> * CHEF-33010 Fix SBOM pipeline: add run-bundle-install to generate Gemfile.lock at runtime Signed-off-by: Nikita Mathur <nikita.mathur@progress.com> Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --------- Signed-off-by: Nik08 <nikita.mathur@progress.com> Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent a0a7d81 commit 7ee700c

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

.github/workflows/ci-main-pull-request-stub.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,11 @@ jobs:
107107
perform-trufflehog-scan: true
108108
fail-trufflehog-on-secrets-found: true
109109
perform-trivy-scan: true
110+
111+
# grype vulnerability scanning
112+
perform-grype-scan: true
113+
grype-fail-on-high: true
114+
grype-fail-on-critical: true
110115

111116
# perform application build and unit testing, will use custom repository properties when implemented for chef-primary-application, chef-build-profile, and chef-build-language
112117
build: true
@@ -170,12 +175,12 @@ jobs:
170175
license_scout: false # Run license scout for license compliance (uses .license_scout.yml)
171176

172177
# perform Blackduck software composition analysis (SCA) for 3rd party CVEs, licensing, and operational risk
173-
perform-blackduck-sca-scan: true
174-
run-bundle-install: true # combined with generate sbom & generate github-sbom, also needs version above
178+
perform-blackduck-sca-scan: true # combined with generate sbom & generate github-sbom, also needs version above
179+
run-bundle-install: true # generate Gemfile.lock at runtime for SBOM pipeline
175180
blackduck-project-group-name: 'Chef-Agents' # typically one of (Chef), Chef-Agents, Chef-Automate, Chef-Chef360, Chef-Habitat, Chef-Infrastructure-Server, Chef-Shared-Services, Chef-Non-Product'
176181
blackduck-project-name: ${{ github.event.repository.name }} # BlackDuck project name, typically the repository name
177182
blackduck-force-low-accuracy-mode: true # if true, forces BlackDuck Detect to run in low accuracy mode which can reduce scan time for large projects at the cost of potentially missing some vulnerabilities; see https://synopsys.atlassian.net/wiki/spaces/INTDOCS/pages/1138617921/Black+Duck+Detect+Accuracy+Levels for details
178183

179184
# udf1: 'default' # user defined flag 1
180185
# udf2: 'default' # user defined flag 2
181-
# udf3: 'default' # user defined flag 3
186+
# udf3: 'default' # user defined flag 3

0 commit comments

Comments
 (0)