mirror of
https://github.com/cnrancher/kube-explorer.git
synced 2025-04-28 03:10:32 +00:00
Use --scanners instead of --security-checks
This commit is contained in:
parent
3810cd702f
commit
bfae192748
@ -99,7 +99,7 @@ steps:
|
||||
- name: image-scan-head
|
||||
image: aquasec/trivy
|
||||
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:
|
||||
- name: docker
|
||||
path: /var/run/docker.sock
|
||||
|
Loading…
Reference in New Issue
Block a user