File tree Expand file tree Collapse file tree 1 file changed +1
-16
lines changed
Expand file tree Collapse file tree 1 file changed +1
-16
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 --no-dev
166151
167152 symfony security:check --format=json > symfony-audit.json || true
168153
You can’t perform that action at this time.
0 commit comments