Skip to content

Commit

Permalink
Trivy hotfix
Browse files Browse the repository at this point in the history
  • Loading branch information
SebastianOpriel authored Oct 1, 2024
1 parent 827808d commit fa90bb1
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/license_scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ jobs:

- name: Run license scanner
uses: aquasecurity/trivy-action@0.24.0
env:
TRIVY_DB_REPOSITORY: public.ecr.aws/aquasecurity/trivy-db:2
with:
scan-type: "rootfs"
scan-ref: "."
Expand All @@ -34,6 +36,8 @@ jobs:
run: cd extensions/wrapper/clients/typescript-client-example && npm clean-install
- name: Run license scanner
uses: aquasecurity/trivy-action@0.24.0
env:
TRIVY_DB_REPOSITORY: public.ecr.aws/aquasecurity/trivy-db:2
with:
scan-type: "repo"
scan-ref: "."
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/secret_scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ jobs:
uses: actions/checkout@v4
- name: Run vulnerability scanner
uses: aquasecurity/trivy-action@0.24.0
env:
TRIVY_DB_REPOSITORY: public.ecr.aws/aquasecurity/trivy-db:2
with:
scan-type: "fs"
exit-code: "1"
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/security_scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ jobs:
uses: actions/checkout@v4
- name: Run static analysis (rootfs)
uses: aquasecurity/trivy-action@0.24.0
env:
TRIVY_DB_REPOSITORY: public.ecr.aws/aquasecurity/trivy-db:2
with:
scan-type: "rootfs"
scanners: "vuln,misconfig"
Expand All @@ -29,6 +31,8 @@ jobs:
uses: actions/checkout@v4
- name: Run static analysis (repo)
uses: aquasecurity/trivy-action@0.24.0
env:
TRIVY_DB_REPOSITORY: public.ecr.aws/aquasecurity/trivy-db:2
with:
scan-type: "repo"
scanners: "vuln,misconfig"
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/trivy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ jobs:

- name: Run static analysis
uses: aquasecurity/trivy-action@0.24.0
env:
TRIVY_DB_REPOSITORY: public.ecr.aws/aquasecurity/trivy-db:2
with:
scan-type: 'fs'
security-checks: 'vuln,secret,config'
Expand Down

0 comments on commit fa90bb1

Please sign in to comment.