Skip to content

Commit e5f4313

Browse files
chore: Update Trivy to 0.40.0 (#223)
* chore: Update trivy to 0.39.0 * chore: Update trivy to 0.40.0
1 parent 1a09192 commit e5f4313

File tree

6 files changed

+11
-11
lines changed

6 files changed

+11
-11
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.38.1
4+
TRIVY_VERSION: 0.40.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.38.1
1+
FROM ghcr.io/aquasecurity/trivy:0.40.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: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,15 +43,15 @@
4343
"text": "No HEALTHCHECK defined"
4444
},
4545
"fullDescription": {
46-
"text": "You shoud add HEALTHCHECK instruction in your docker container images to perform the health check on running containers."
46+
"text": "You should add HEALTHCHECK instruction in your docker container images to perform the health check on running containers."
4747
},
4848
"defaultConfiguration": {
4949
"level": "note"
5050
},
5151
"helpUri": "https://avd.aquasec.com/misconfig/ds026",
5252
"help": {
53-
"text": "Misconfiguration DS026\nType: Dockerfile Security Check\nSeverity: LOW\nCheck: No HEALTHCHECK defined\nMessage: Add HEALTHCHECK instruction in your Dockerfile\nLink: [DS026](https://avd.aquasec.com/misconfig/ds026)\nYou shoud add HEALTHCHECK instruction in your docker container images to perform the health check on running containers.",
54-
"markdown": "**Misconfiguration DS026**\n| Type | Severity | Check | Message | Link |\n| --- | --- | --- | --- | --- |\n|Dockerfile Security Check|LOW|No HEALTHCHECK defined|Add HEALTHCHECK instruction in your Dockerfile|[DS026](https://avd.aquasec.com/misconfig/ds026)|\n\nYou shoud add HEALTHCHECK instruction in your docker container images to perform the health check on running containers."
53+
"text": "Misconfiguration DS026\nType: Dockerfile Security Check\nSeverity: LOW\nCheck: No HEALTHCHECK defined\nMessage: Add HEALTHCHECK instruction in your Dockerfile\nLink: [DS026](https://avd.aquasec.com/misconfig/ds026)\nYou should add HEALTHCHECK instruction in your docker container images to perform the health check on running containers.",
54+
"markdown": "**Misconfiguration DS026**\n| Type | Severity | Check | Message | Link |\n| --- | --- | --- | --- | --- |\n|Dockerfile Security Check|LOW|No HEALTHCHECK defined|Add HEALTHCHECK instruction in your Dockerfile|[DS026](https://avd.aquasec.com/misconfig/ds026)|\n\nYou should add HEALTHCHECK instruction in your docker container images to perform the health check on running containers."
5555
},
5656
"properties": {
5757
"precision": "very-high",
@@ -64,7 +64,7 @@
6464
}
6565
}
6666
],
67-
"version": "0.38.1"
67+
"version": "0.40.0"
6868
}
6969
},
7070
"results": [

test/data/config.test

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"Class": "config",
2121
"Type": "dockerfile",
2222
"MisconfSummary": {
23-
"Successes": 22,
23+
"Successes": 24,
2424
"Failures": 2,
2525
"Exceptions": 0
2626
},
@@ -56,7 +56,7 @@
5656
"ID": "DS026",
5757
"AVDID": "AVD-DS-0026",
5858
"Title": "No HEALTHCHECK defined",
59-
"Description": "You shoud add HEALTHCHECK instruction in your docker container images to perform the health check on running containers.",
59+
"Description": "You should add HEALTHCHECK instruction in your docker container images to perform the health check on running containers.",
6060
"Message": "Add HEALTHCHECK instruction in your Dockerfile",
6161
"Namespace": "builtin.dockerfile.DS026",
6262
"Query": "data.builtin.dockerfile.DS026.deny",

test/data/fs-scheck.test

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"Class": "config",
2121
"Type": "dockerfile",
2222
"MisconfSummary": {
23-
"Successes": 22,
23+
"Successes": 24,
2424
"Failures": 2,
2525
"Exceptions": 0
2626
},
@@ -56,7 +56,7 @@
5656
"ID": "DS026",
5757
"AVDID": "AVD-DS-0026",
5858
"Title": "No HEALTHCHECK defined",
59-
"Description": "You shoud add HEALTHCHECK instruction in your docker container images to perform the health check on running containers.",
59+
"Description": "You should add HEALTHCHECK instruction in your docker container images to perform the health check on running containers.",
6060
"Message": "Add HEALTHCHECK instruction in your Dockerfile",
6161
"Namespace": "builtin.dockerfile.DS026",
6262
"Query": "data.builtin.dockerfile.DS026.deny",

test/data/image-sarif.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
}
3838
}
3939
],
40-
"version": "0.38.1"
40+
"version": "0.40.0"
4141
}
4242
},
4343
"results": [

0 commit comments

Comments
 (0)