Skip to content

Commit

Permalink
bump trivy to v0.42.0 (#237)
Browse files Browse the repository at this point in the history
* chore(deps): update trivy to v0.42.0

* revert formatting

* revert formatting again

* update sarif version in tests
  • Loading branch information
danielchabr authored Jun 5, 2023
1 parent 82ec0dd commit f96f79a
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: "build"
on: [push, pull_request]
env:
TRIVY_VERSION: 0.40.0
TRIVY_VERSION: 0.42.0
BATS_LIB_PATH: '/usr/lib/'
jobs:
build:
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ghcr.io/aquasecurity/trivy:0.40.0
FROM ghcr.io/aquasecurity/trivy:0.42.0
COPY entrypoint.sh /
RUN apk --no-cache add bash curl npm
RUN chmod +x /entrypoint.sh
Expand Down
4 changes: 2 additions & 2 deletions test/data/config-sarif.test
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"version": "2.1.0",
"$schema": "https://json.schemastore.org/sarif-2.1.0-rtm.5.json",
"$schema": "https://json.schemastore.org/sarif-2.1.0.json",
"runs": [
{
"tool": {
Expand Down Expand Up @@ -64,7 +64,7 @@
}
}
],
"version": "0.40.0"
"version": "0.42.0"
}
},
"results": [
Expand Down
4 changes: 2 additions & 2 deletions test/data/image-sarif.test
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"version": "2.1.0",
"$schema": "https://json.schemastore.org/sarif-2.1.0-rtm.5.json",
"$schema": "https://json.schemastore.org/sarif-2.1.0.json",
"runs": [
{
"tool": {
Expand Down Expand Up @@ -37,7 +37,7 @@
}
}
],
"version": "0.40.0"
"version": "0.42.0"
}
},
"results": [
Expand Down

0 comments on commit f96f79a

Please sign in to comment.