Complete lab7 grade 4 implementation
Skeleton contracts / contracts (pull_request) Canceled after 0s
Skeleton contracts / contracts (pull_request) Canceled after 0s
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
#!/usr/bin/env sh
|
||||
set -eu
|
||||
if command -v trivy >/dev/null 2>&1; then
|
||||
trivy image --timeout 15m --severity HIGH,CRITICAL --ignore-unfixed --format table messenger-api:lab7
|
||||
exit $?
|
||||
fi
|
||||
# Docker Desktop can run the scanner without installing it on the host.
|
||||
docker run --rm -v /var/run/docker.sock:/var/run/docker.sock \
|
||||
aquasec/trivy:0.58.1 image --timeout 15m --severity HIGH,CRITICAL --ignore-unfixed \
|
||||
--format table messenger-api:lab7
|
||||
Reference in New Issue
Block a user