trivy config me --no-progress flag nahi hota
This commit is contained in:
parent
ed6a8560c5
commit
4bc368ae86
@ -127,7 +127,7 @@ def call(Map cfg = [:]) {
|
|||||||
// (root user, missing healthcheck, privileged, etc.)
|
// (root user, missing healthcheck, privileged, etc.)
|
||||||
sh '''
|
sh '''
|
||||||
docker run --rm -v "$PWD":/work "$IMG_TRIVY" config /work \
|
docker run --rm -v "$PWD":/work "$IMG_TRIVY" config /work \
|
||||||
--severity "$TRIVY_SEVERITY" --exit-code 1 --no-progress
|
--severity "$TRIVY_SEVERITY" --exit-code 1
|
||||||
'''
|
'''
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user