Skip to content

Commit f96f79a

Browse files
authored
bump trivy to v0.42.0 (#237)
* chore(deps): update trivy to v0.42.0 * revert formatting * revert formatting again * update sarif version in tests
1 parent 82ec0dd commit f96f79a

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

.github/workflows/build.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: "build"
22
on: [push, pull_request]
33
env:
4-
TRIVY_VERSION: 0.40.0
4+
TRIVY_VERSION: 0.42.0
55
BATS_LIB_PATH: '/usr/lib/'
66
jobs:
77
build:

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.40.0
1+
FROM ghcr.io/aquasecurity/trivy:0.42.0
22
COPY entrypoint.sh /
33
RUN apk --no-cache add bash curl npm
44
RUN chmod +x /entrypoint.sh

test/data/config-sarif.test

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"version": "2.1.0",
3-
"$schema": "https://json.schemastore.org/sarif-2.1.0-rtm.5.json",
3+
"$schema": "https://json.schemastore.org/sarif-2.1.0.json",
44
"runs": [
55
{
66
"tool": {
@@ -64,7 +64,7 @@
6464
}
6565
}
6666
],
67-
"version": "0.40.0"
67+
"version": "0.42.0"
6868
}
6969
},
7070
"results": [

test/data/image-sarif.test

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"version": "2.1.0",
3-
"$schema": "https://json.schemastore.org/sarif-2.1.0-rtm.5.json",
3+
"$schema": "https://json.schemastore.org/sarif-2.1.0.json",
44
"runs": [
55
{
66
"tool": {
@@ -37,7 +37,7 @@
3737
}
3838
}
3939
],
40-
"version": "0.40.0"
40+
"version": "0.42.0"
4141
}
4242
},
4343
"results": [

0 commit comments

Comments
 (0)