Skip to content

Commit 4ba9304

Browse files
JAORMXclaude
andauthored
chore: migrate from Trivy to Grype for vulnerability scanning (#448)
Replace aquasecurity/trivy-action with anchore/scan-action (Grype) v7.3.2. Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent e618234 commit 4ba9304

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

.github/workflows/security-checks.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,22 +8,22 @@ on:
88
permissions:
99
contents: read
1010
jobs:
11-
trivy:
12-
name: Trivy
11+
grype:
12+
name: Grype
1313
runs-on: ubuntu-latest
1414
steps:
1515
- name: Checkout Repository
1616
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
1717

1818
- name: Scan repo
19-
uses: aquasecurity/trivy-action@57a97c7e7821a5776cebc9bb87c984fa69cba8f1 # 0.35.0
19+
uses: anchore/scan-action@7037fa011853d5a11690026fb85feee79f4c946c # v7.3.2
20+
id: grype-scan
2021
with:
21-
scan-type: 'fs'
22-
scan-ref: '.'
23-
scanners: 'vuln,secret,config'
24-
exit-code: '1'
25-
ignore-unfixed: 'true'
26-
severity: 'MEDIUM,HIGH,CRITICAL'
22+
path: "."
23+
fail-build: true
24+
only-fixed: true
25+
severity-cutoff: "medium"
26+
output-format: "table"
2727

2828
npm-audit:
2929
name: PNPM Audit

0 commit comments

Comments
 (0)