Skip to content

Commit 38a4eba

Browse files
authored
Merge pull request #38 from kbase/trivy_update
update to using the up-to-date version of trivy for the table output
2 parents 5903d4a + 1cf8fb7 commit 38a4eba

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/reusable_trivy-scans.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ jobs:
1414
git config --global --add safe.directory $GITHUB_WORKSPACE;
1515
docker build -t trivy-test .
1616
17-
- name: Run Trivy vulnerability scanner - v0.2.1
18-
uses: aquasecurity/trivy-action@0.2.1
17+
- name: Run Trivy vulnerability scanner, output as table
18+
uses: aquasecurity/trivy-action@master
1919
with:
2020
image-ref: 'trivy-test'
2121
format: 'table'
@@ -35,8 +35,9 @@ jobs:
3535
# If above doesn't find errors, return pass message:
3636
echo "Did not find core log4j errors, yay!"
3737
38-
- name: Run Trivy vulnerability scanner - Latest
38+
- name: Rerun Trivy vulnerability scanner for GitHub security
3939
uses: aquasecurity/trivy-action@master
40+
if: always()
4041
with:
4142
image-ref: 'trivy-test'
4243
format: 'sarif'

0 commit comments

Comments
 (0)