Skip to content

Commit b07054a

Browse files
authored
Merge pull request #999 from inspec/nm/grype-scan-flags
CHEF-33010 Added grype scan config
2 parents f8164be + 21115e3 commit b07054a

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

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

Lines changed: 7 additions & 2 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,8 +175,8 @@ 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: false # 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

0 commit comments

Comments
 (0)