Skip to content

Commit 832677a

Browse files
Merge pull request #614 from caponetto/allow-trivy-severities
Enable all severities on the Trivy daily report
2 parents 0cb7484 + f284774 commit 832677a

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

.github/workflows/build-notebooks-TEMPLATE.yaml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -168,12 +168,6 @@ jobs:
168168
IMAGE_NAME=${{ steps.resolve-image.outputs.image }}
169169
echo "Scanning $IMAGE_NAME"
170170
171-
SEVERITY_OPTION=""
172-
# Report only higher vulnerabilities if not a pull request
173-
if [ "${{ fromJson(inputs.github).event_name }}" != "pull_request" ]; then
174-
SEVERITY_OPTION="--severity CRITICAL,HIGH"
175-
fi
176-
177171
# have trivy access podman socket,
178172
# https://github.com/aquasecurity/trivy/issues/580#issuecomment-666423279
179173
podman run --rm \
@@ -185,7 +179,6 @@ jobs:
185179
--podman-host /var/run/podman/podman.sock \
186180
--scanners vuln --ignore-unfixed \
187181
--exit-code 0 --timeout 30m \
188-
$SEVERITY_OPTION \
189182
--format template --template "@/report/$REPORT_TEMPLATE" -o /report/$REPORT_FILE \
190183
$IMAGE_NAME
191184

0 commit comments

Comments
 (0)