File tree Expand file tree Collapse file tree 2 files changed +3
-17
lines changed
Expand file tree Collapse file tree 2 files changed +3
-17
lines changed Original file line number Diff line number Diff line change @@ -147,22 +147,7 @@ jobs:
147147 echo
148148 fi
149149
150- composer audit --no-interaction --format=json > composer-audit.json || true
151-
152- REPORTED=$(jq -r '
153- (.advisories? // [] | .[]? | .cve? // empty),
154- (.["ignored-advisories"]? // {} | to_entries[] | select(.value != null) | .value[] | .cve? // empty)
155- ' composer-audit.json | sort | uniq)
156-
157- DIFF=$(comm -23 <(echo "$REPORTED") <(echo "$IGNORED"))
158-
159- if [ -n "$DIFF" ]; then
160- echo "❌ New vulnerabilities found by Composer audit:"
161- echo "$DIFF"
162- exit 1
163- else
164- echo "✅ No new vulnerabilities found by Composer audit."
165- fi
150+ composer audit --no-interaction --abandoned=ignore
166151
167152 symfony security:check --format=json > symfony-audit.json || true
168153
Original file line number Diff line number Diff line change 6767 },
6868 "audit" : {
6969 "ignore" : [
70- " CVE-2025-31481"
70+ " CVE-2025-31481" ,
71+ " CVE-2025-31485"
7172 ]
7273 }
7374 },
You can’t perform that action at this time.
0 commit comments