Skip to content
Snippets Groups Projects
Commit d981a7bf authored by safeer's avatar safeer
Browse files

circleci container scan: scanning 4

parent 90743f18
No related branches found
No related tags found
No related merge requests found
......@@ -22,7 +22,7 @@ jobs:
name: Scan Docker image
command: |
set +e # Allow commands to fail without stopping the script
trivy image --exit-code 1 --severity HIGH -f json $IMAGE_NAME -o results.json --quiet
trivy image --exit-code 1 --severity "UNKNOWN,LOW,MEDIUM,HIGH,CRITICAL" -f json $IMAGE_NAME -o results.json --quiet
TRIVY_EXIT_CODE=$?
echo "export TRIVY_EXIT_CODE=$TRIVY_EXIT_CODE" >> $BASH_ENV
- run:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment