Upgrade trivy to v0.53.0 (#369)
* Upgrade trivy to v0.53.0 * update tests --------- Co-authored-by: Simar <[email protected]>
This commit is contained in:
@@ -6,7 +6,7 @@ on:
|
||||
workflow_dispatch:
|
||||
|
||||
env:
|
||||
TRIVY_VERSION: 0.52.2
|
||||
TRIVY_VERSION: 0.53.0
|
||||
BATS_LIB_PATH: '/usr/lib/'
|
||||
|
||||
jobs:
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
FROM ghcr.io/aquasecurity/trivy:0.52.2
|
||||
FROM ghcr.io/aquasecurity/trivy:0.53.0
|
||||
COPY entrypoint.sh /
|
||||
RUN apk --no-cache add bash curl npm
|
||||
RUN chmod +x /entrypoint.sh
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
.PHONY: test
|
||||
|
||||
test:
|
||||
BATS_LIB_PATH=/usr/local/lib/ bats -r .
|
||||
BATS_LIB_PATH=/usr/local/lib/ bats --recurisve --timing --verbose-run .
|
||||
@@ -205,7 +205,7 @@
|
||||
"text": "S3 buckets should each define an aws_s3_bucket_public_access_block"
|
||||
},
|
||||
"fullDescription": {
|
||||
"text": "The \u0026#34;block public access\u0026#34; settings in S3 override individual policies that apply to a given bucket, meaning that all public access can be controlled in one central types for that bucket. It is therefore good practice to define these settings for each bucket in order to clearly define the public access that can be allowed for it."
|
||||
"text": "The "block public access" settings in S3 override individual policies that apply to a given bucket, meaning that all public access can be controlled in one central types for that bucket. It is therefore good practice to define these settings for each bucket in order to clearly define the public access that can be allowed for it."
|
||||
},
|
||||
"defaultConfiguration": {
|
||||
"level": "note"
|
||||
@@ -252,8 +252,7 @@
|
||||
]
|
||||
}
|
||||
}
|
||||
],
|
||||
"version": "0.50.0"
|
||||
]
|
||||
}
|
||||
},
|
||||
"results": [
|
||||
@@ -501,12 +500,7 @@
|
||||
]
|
||||
}
|
||||
],
|
||||
"columnKind": "utf16CodeUnits",
|
||||
"originalUriBaseIds": {
|
||||
"ROOTPATH": {
|
||||
"uri": "file://D:\\projects\\trivy-action\\test\\data\\config-sarif-report/"
|
||||
}
|
||||
}
|
||||
"columnKind": "utf16CodeUnits"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
{
|
||||
"SchemaVersion": 2,
|
||||
"CreatedAt": "2024-04-12T16:53:35.5567541+03:00",
|
||||
"ArtifactName": "test/data/config-scan",
|
||||
"ArtifactType": "filesystem",
|
||||
"Metadata": {
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,6 +1,5 @@
|
||||
{
|
||||
"SchemaVersion": 2,
|
||||
"CreatedAt": "2024-01-02T23:40:04.647712097Z",
|
||||
"ArtifactName": "https://github.com/krol3/demo-trivy/",
|
||||
"ArtifactType": "repository",
|
||||
"Metadata": {
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
{
|
||||
"SchemaVersion": 2,
|
||||
"CreatedAt": "2024-04-12T14:09:09.5680191+03:00",
|
||||
"ArtifactName": "test/data/with-tf-vars/main.tf",
|
||||
"ArtifactType": "filesystem",
|
||||
"Metadata": {
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
{
|
||||
"SchemaVersion": 2,
|
||||
"CreatedAt": "2024-01-02T23:40:21.039454971Z",
|
||||
"ArtifactName": "alpine:3.10",
|
||||
"ArtifactType": "container_image",
|
||||
"Metadata": {
|
||||
@@ -64,7 +63,7 @@
|
||||
"PkgID": "[email protected]",
|
||||
"PkgName": "apk-tools",
|
||||
"PkgIdentifier": {
|
||||
"PURL": "pkg:apk/alpine/[email protected]?arch=x86_64\u0026distro=3.10.9",
|
||||
"PURL": "pkg:apk/alpine/[email protected]?arch=x86_64&distro=3.10.9",
|
||||
"UID": "a6adb154870b6380"
|
||||
},
|
||||
"InstalledVersion": "2.10.6-r0",
|
||||
|
||||
Reference in New Issue
Block a user