Skip to content

Commit

Permalink
Merge pull request #1547 from spidernet-io/fix-trivy
Browse files Browse the repository at this point in the history
  • Loading branch information
weizhoublue authored Nov 21, 2024
2 parents f78ad8e + c8e3aab commit 4f12ee7
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/call-trivy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,18 +45,24 @@ jobs:
# https://github.com/aquasecurity/trivy-action/issues/313
- name: Scan agent
uses: aquasecurity/[email protected]
env:
TRIVY_DB_REPOSITORY: public.ecr.aws/aquasecurity/trivy-db,ghcr.io/aquasecurity/trivy-db
with:
input: output/image/egressgateway-agent.tar
severity: 'CRITICAL,HIGH'

- name: Scan controller
uses: aquasecurity/[email protected]
env:
TRIVY_DB_REPOSITORY: public.ecr.aws/aquasecurity/trivy-db,ghcr.io/aquasecurity/trivy-db
with:
input: output/image/egressgateway-controller.tar
severity: 'CRITICAL,HIGH'

- name: Scan nettools
uses: aquasecurity/[email protected]
env:
TRIVY_DB_REPOSITORY: public.ecr.aws/aquasecurity/trivy-db,ghcr.io/aquasecurity/trivy-db
with:
input: output/image/egressgateway-nettools.tar
severity: 'CRITICAL,HIGH'

0 comments on commit 4f12ee7

Please sign in to comment.