Skip to content

Commit f781cce

Browse files
authored
feat(trivy): Bump to support v0.56.1 (#387)
* feat(trivy): Bump to support v0.55.2 * fix tests * update github workflow * upgrade to v0.56.0 * bump to trivy v0.56.1 * update tests
1 parent 54f21d8 commit f781cce

7 files changed

Lines changed: 12 additions & 976 deletions

File tree

.github/workflows/test.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
workflow_dispatch:
77

88
env:
9-
TRIVY_VERSION: 0.53.0
9+
TRIVY_VERSION: 0.56.1
1010
BATS_LIB_PATH: '/usr/lib/'
1111

1212
jobs:
@@ -26,4 +26,6 @@ jobs:
2626
- name: Test
2727
run: |
2828
chmod +x entrypoint.sh
29-
bats -r -T .
29+
GITHUB_REPOSITORY_OWNER=aquasecurity\
30+
TRIVY_CACHE_DIR=.cache TRIVY_DISABLE_VEX_NOTICE=true TRIVY_DEBUG=true\
31+
bats --recursive --timing --verbose-run .

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM ghcr.io/aquasecurity/trivy:0.53.0
1+
FROM ghcr.io/aquasecurity/trivy:0.56.1
22
COPY entrypoint.sh /
33
RUN apk --no-cache add bash curl npm
44
RUN chmod +x /entrypoint.sh

test/data/config-sarif-report/report.sarif

Lines changed: 2 additions & 434 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)