Skip to content

Commit

Permalink
chore(deps): Bump trivy to v0.57.1 (#434)
Browse files Browse the repository at this point in the history
* chore(deps): Bump trivy to v0.57.1

* update tests

* use mirrors from mirror.gcr.io

* update workflow for tests

* Revert "use mirrors from mirror.gcr.io"

This reverts commit 529a941.
simar7 authored Nov 20, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent 93941ce commit 18f2510
Showing 6 changed files with 987 additions and 20 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -6,7 +6,7 @@ on:
workflow_dispatch:

env:
TRIVY_VERSION: 0.56.1
TRIVY_VERSION: 0.57.1
BATS_LIB_PATH: '/usr/lib/'

jobs:
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -215,7 +215,7 @@ jobs:
uses: aquasecurity/setup-trivy@v0.2.0
with:
cache: true
version: v0.56.1
version: v0.57.1
- name: Run Trivy vulnerability scanner in repo mode
uses: aquasecurity/trivy-action@master
2 changes: 1 addition & 1 deletion action.yaml
Original file line number Diff line number Diff line change
@@ -98,7 +98,7 @@ inputs:
version:
description: 'Trivy version to use'
required: false
default: 'v0.56.1'
default: 'v0.57.1'
cache:
description: 'Used to specify whether caching is needed. Set to false, if you would like to disable caching.'
required: false
444 changes: 438 additions & 6 deletions test/data/config-sarif-report/report.sarif

Large diffs are not rendered by default.

552 changes: 544 additions & 8 deletions test/data/config-scan/report.json

Large diffs are not rendered by default.

5 changes: 2 additions & 3 deletions test/data/with-tf-vars/report.json
Original file line number Diff line number Diff line change
@@ -20,9 +20,8 @@
"Class": "config",
"Type": "terraform",
"MisconfSummary": {
"Successes": 2,
"Failures": 0,
"Exceptions": 0
"Successes": 19,
"Failures": 0
}
},
{

0 comments on commit 18f2510

Please sign in to comment.