File tree Expand file tree Collapse file tree 1 file changed +0
-17
lines changed
Expand file tree Collapse file tree 1 file changed +0
-17
lines changed Original file line number Diff line number Diff line change @@ -147,23 +147,6 @@ 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
166-
167150 symfony security:check --format=json > symfony-audit.json || true
168151
169152 FOUND=$(jq -r '.[]?.advisories[]?.cve? // empty' symfony-audit.json | sort | uniq)
You can’t perform that action at this time.
0 commit comments