-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use aws public trivy-db storage to avoid ratelimits on github
- Loading branch information
1 parent
a6a38cd
commit 07c9b42
Showing
1 changed file
with
8 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -58,6 +58,8 @@ jobs: | |
|
||
- name: Run Alpine Trivy vulnerability scanner | ||
uses: aquasecurity/[email protected] | ||
env: | ||
TRIVY_DB_REPOSITORY: public.ecr.aws/aquasecurity/trivy-db:2 | ||
with: | ||
image-ref: php-${{ env.PHP_VERSION }} | ||
format: 'table' | ||
|
@@ -68,6 +70,8 @@ jobs: | |
|
||
- name: Run Alpine Trivy vulnerability scanner and create html file | ||
uses: aquasecurity/[email protected] | ||
env: | ||
TRIVY_DB_REPOSITORY: public.ecr.aws/aquasecurity/trivy-db:2 | ||
with: | ||
image-ref: php-${{ env.PHP_VERSION }} | ||
format: 'template' | ||
|
@@ -76,6 +80,8 @@ jobs: | |
|
||
- name: Run Alpine Trivy vulnerability scanner and create html file | ||
uses: aquasecurity/[email protected] | ||
env: | ||
TRIVY_DB_REPOSITORY: public.ecr.aws/aquasecurity/trivy-db:2 | ||
with: | ||
image-ref: php-${{ env.PHP_VERSION }} | ||
format: 'json' | ||
|
@@ -93,6 +99,8 @@ jobs: | |
|
||
- name: Run Alpine Trivy vulnerability scanner and upload to github security tab | ||
uses: aquasecurity/[email protected] | ||
env: | ||
TRIVY_DB_REPOSITORY: public.ecr.aws/aquasecurity/trivy-db:2 | ||
with: | ||
image-ref: php-${{ env.PHP_VERSION }} | ||
format: 'sarif' | ||
|