extend trivy output
This commit is contained in:
parent
edfc051e9c
commit
9e460a199a
24
.drone.yml
24
.drone.yml
@ -57,7 +57,17 @@ steps:
|
|||||||
- name: "Trivy (next)"
|
- name: "Trivy (next)"
|
||||||
image: aquasec/trivy
|
image: aquasec/trivy
|
||||||
commands:
|
commands:
|
||||||
- "trivy image --exit-code 1 --no-progress ocram85/blog:next"
|
- |
|
||||||
|
trivy image \
|
||||||
|
--severity UNKNOWN,LOW,MEDIUM \
|
||||||
|
--no-progress \
|
||||||
|
ocram85/blog:next
|
||||||
|
- |
|
||||||
|
trivy image \
|
||||||
|
--exit-code 1 \
|
||||||
|
--severity HIGH,CRITICAL \
|
||||||
|
--no-progress \
|
||||||
|
ocram85/blog:next
|
||||||
|
|
||||||
- name: "Trigger Service Update"
|
- name: "Trigger Service Update"
|
||||||
image: ocram85/portainer-serviceupdate
|
image: ocram85/portainer-serviceupdate
|
||||||
@ -104,7 +114,17 @@ steps:
|
|||||||
- name: "Trivy (latest)"
|
- name: "Trivy (latest)"
|
||||||
image: aquasec/trivy
|
image: aquasec/trivy
|
||||||
commands:
|
commands:
|
||||||
- "trivy image --exit-code 1 --no-progress ocram85/blog:latest"
|
- |
|
||||||
|
trivy image \
|
||||||
|
--severity UNKNOWN,LOW,MEDIUM \
|
||||||
|
--no-progress \
|
||||||
|
ocram85/blog:latest
|
||||||
|
- |
|
||||||
|
trivy image \
|
||||||
|
--exit-code 1 \
|
||||||
|
--severity HIGH,CRITICAL \
|
||||||
|
--no-progress \
|
||||||
|
ocram85/blog:latest
|
||||||
|
|
||||||
- name: "Trigger Service Update"
|
- name: "Trigger Service Update"
|
||||||
image: ocram85/portainer-serviceupdate
|
image: ocram85/portainer-serviceupdate
|
||||||
|
Loading…
Reference in New Issue
Block a user