Skip to content

Commit

Permalink
Sync Trivy scan config with remix template
Browse files Browse the repository at this point in the history
  • Loading branch information
manuelpuchta committed Oct 10, 2024
1 parent 91d638b commit 75aa932
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,7 @@ jobs:
TRIVY_DB_REPOSITORY: ghcr.io/aquasecurity/trivy-db,public.ecr.aws/aquasecurity/trivy-db
with:
image-ref: ${{ env.IMAGE_NAME }}:${{ github.sha }}
scanners: "vuln"
format: "cosign-vuln"
output: "vulnerabilities.json"

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ jobs:
# specify multiple registries: try default GitHub registry, if too many requests, use the aws mirror
TRIVY_DB_REPOSITORY: ghcr.io/aquasecurity/trivy-db,public.ecr.aws/aquasecurity/trivy-db
with:
scanners: "vuln"
scan-type: "fs"
skip-dirs: "node_modules" # See https://github.com/aquasecurity/trivy/issues/1283
format: "sarif"
output: "trivy-results.sarif"
severity: "CRITICAL,HIGH"
Expand Down

0 comments on commit 75aa932

Please sign in to comment.