Skip to content

Commit fec1b2c

Browse files
committed
Add Grype scanner action #1728
Signed-off-by: tdruez <[email protected]>
1 parent 1d2ee30 commit fec1b2c

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/sca-integration-anchore.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,12 @@ jobs:
2222
with:
2323
image: ${{ env.IMAGE_REFERENCE }}
2424
format: cyclonedx-json
25-
output-file: "anchore-report.sbom.json"
25+
artifact-name: "anchore-sylt-sbom.cdx.json"
2626
upload-artifact: true
27+
28+
- name: Scan SBOM with Grype scanner for vulnerabilities
29+
uses: anchore/scan-action@v6
30+
with:
31+
sbom: "anchore-sylt-sbom.cdx.json"
32+
output-format: cyclonedx-json
33+
output-file: "anchore-grype-sbom.cdx.json"

0 commit comments

Comments
 (0)