Skip to content

Commit 3b41148

Browse files
Nik08Copilot
andcommitted
CHEF-33010 Added grype scan config
Signed-off-by: Nikita Mathur <nikita.mathur@progress.com> Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 7991214 commit 3b41148

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/ci-main-pull-request-stub-1.0.8.yml renamed to .github/workflows/ci-main-pull-request-stub.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,11 @@ jobs:
106106
perform-language-linting: true # Perform language-specific linting and pre-compilation checks
107107
perform-trufflehog-scan: true
108108
perform-trivy-scan: true
109+
110+
# grype vulnerability scanning
111+
perform-grype-scan: true
112+
grype-fail-on-high: true
113+
grype-fail-on-critical: true
109114

110115
# perform application build and unit testing, will use custom repository properties when implemented for chef-primary-application, chef-build-profile, and chef-build-language
111116
build: true
@@ -170,6 +175,7 @@ jobs:
170175

171176
# perform Blackduck software composition analysis (SCA) for 3rd party CVEs, licensing, and operational risk
172177
perform-blackduck-sca-scan: true # combined with generate sbom & generate github-sbom, also needs version above
178+
run-bundle-install: true # generate Gemfile.lock at runtime for SBOM pipeline
173179
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'
174180
blackduck-project-name: ${{ github.event.repository.name }} # BlackDuck project name, typically the repository name
175181
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)