Skip to content

Commit e158ac6

Browse files
committed
'--vuln-type' is deprecated. Use '--pkg-types' instead.
1 parent c5d883e commit e158ac6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/openjdk-base-image.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
if: env.latest_digest != ''
5050
env:
5151
TRIVY_DEFAULT: "--format table --ignore-unfixed --exit-code 1"
52-
TRIVY_SCAN: "--severity CRITICAL,HIGH --vuln-type os,library"
52+
TRIVY_SCAN: "--severity CRITICAL,HIGH --pkg-types os,library"
5353
run: >
5454
docker run --rm ghcr.io/aquasecurity/trivy:latest image $TRIVY_DEFAULT $TRIVY_SCAN
5555
--username ${{ github.actor }}

0 commit comments

Comments
 (0)