From 76d0f3f506278028eebb3a526322ae205f347761 Mon Sep 17 00:00:00 2001 From: Bertrand Goareguer <bertrand.goareguer@gmail.com> Date: Fri, 4 Oct 2024 12:54:18 +0000 Subject: [PATCH] fix(trivy): use --pkg-types instead of deprecated --vuln-type option --- kicker.json | 2 +- templates/gitlab-ci-docker.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/kicker.json b/kicker.json index 76e465c..ee58d77 100644 --- a/kicker.json +++ b/kicker.json @@ -198,7 +198,7 @@ { "name": "DOCKER_TRIVY_ARGS", "description": "Additional `trivy client` arguments", - "default": "--ignore-unfixed --vuln-type os --exit-on-eol 1 --detection-priority comprehensive", + "default": "--ignore-unfixed --pkg-types os --exit-on-eol 1 --detection-priority comprehensive", "advanced": true }, { diff --git a/templates/gitlab-ci-docker.yml b/templates/gitlab-ci-docker.yml index 3c520ff..babc4f0 100644 --- a/templates/gitlab-ci-docker.yml +++ b/templates/gitlab-ci-docker.yml @@ -172,7 +172,7 @@ spec: default: UNKNOWN,LOW,MEDIUM,HIGH,CRITICAL trivy-args: description: Additional `trivy client` arguments - default: --ignore-unfixed --vuln-type os --exit-on-eol 1 --detection-priority comprehensive + default: --ignore-unfixed --pkg-types os --exit-on-eol 1 --detection-priority comprehensive trivy-db-repository: description: Custom OCI repository to retrieve Trivy Database from default: '' -- GitLab