mirror of
https://github.com/cnrancher/kube-explorer.git
synced 2025-08-31 05:57:22 +00:00
Use --scanners instead of --security-checks
This commit is contained in:
@@ -99,7 +99,7 @@ steps:
|
|||||||
- name: image-scan-head
|
- name: image-scan-head
|
||||||
image: aquasec/trivy
|
image: aquasec/trivy
|
||||||
commands:
|
commands:
|
||||||
- trivy image --no-progress --ignore-unfixed --severity HIGH,CRITICAL --security-checks vuln --exit-code 1 cnrancher/kube-explorer:head-linux-amd64
|
- trivy image --no-progress --ignore-unfixed --severity HIGH,CRITICAL --scanners vuln --exit-code 1 cnrancher/kube-explorer:head-linux-amd64
|
||||||
volumes:
|
volumes:
|
||||||
- name: docker
|
- name: docker
|
||||||
path: /var/run/docker.sock
|
path: /var/run/docker.sock
|
||||||
|
Reference in New Issue
Block a user