Skip to content

Commit fc09a5c

Browse files
committed
fix: show high or critical vulns only
1 parent 40a787e commit fc09a5c

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/build_and_push.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,9 @@ jobs:
5656
anchore/grype:v0.104.1 /work/sbom.syft.json \
5757
--fail-on high \
5858
--only-fixed=false \
59-
--add-cpes-if-none
59+
--add-cpes-if-none | grep -E "High|Critical"
60+
61+
# muestra solo las high o critical
6062

6163
# - name: Scan SBOM
6264
# uses: anchore/scan-action@v6

0 commit comments

Comments
 (0)