File tree Expand file tree Collapse file tree 1 file changed +0
-7
lines changed Expand file tree Collapse file tree 1 file changed +0
-7
lines changed Original file line number Diff line number Diff line change @@ -168,12 +168,6 @@ jobs:
168
168
IMAGE_NAME=${{ steps.resolve-image.outputs.image }}
169
169
echo "Scanning $IMAGE_NAME"
170
170
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
-
177
171
# have trivy access podman socket,
178
172
# https://github.com/aquasecurity/trivy/issues/580#issuecomment-666423279
179
173
podman run --rm \
@@ -185,7 +179,6 @@ jobs:
185
179
--podman-host /var/run/podman/podman.sock \
186
180
--scanners vuln --ignore-unfixed \
187
181
--exit-code 0 --timeout 30m \
188
- $SEVERITY_OPTION \
189
182
--format template --template "@/report/$REPORT_TEMPLATE" -o /report/$REPORT_FILE \
190
183
$IMAGE_NAME
191
184
You can’t perform that action at this time.
0 commit comments