trivy_image_scan
This commit is contained in:
@@ -21,8 +21,6 @@ jobs:
|
|||||||
- name: Scan image with trivy
|
- name: Scan image with trivy
|
||||||
run: |
|
run: |
|
||||||
trivy image \
|
trivy image \
|
||||||
--username ${{ env.user }} \
|
|
||||||
--password ${{ secrets.IMAGE_REGISTRY_TOKEN_GITEA }} \
|
|
||||||
--exit-code 1 \
|
--exit-code 1 \
|
||||||
--scanners vuln,misconfig,secret \
|
--scanners vuln,misconfig,secret \
|
||||||
--severity MEDIUM,HIGH,CRITICAL \
|
--severity MEDIUM,HIGH,CRITICAL \
|
||||||
|
|||||||
Reference in New Issue
Block a user