File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4949 exit 1
5050 fi
5151
52- echo "Scan started with ID $SCAN_ID"
52+ SCAN_DB_ID=$(jq -r '.scanDbId' response.json)
53+ echo "SCAN_DB_ID=$SCAN_DB_ID" >> $GITHUB_ENV
54+
55+ echo "Scan started with ID $SCAN_ID (db id: $SCAN_DB_ID)"
5356 cat response.json
5457
5558 - name : Scan each SBOM
@@ -128,7 +131,7 @@ jobs:
128131
129132 echo "--- Indexing EPPlus $version / $tfm ---"
130133 response=$(curl -s -o response.json -w "%{http_code}" \
131- -X POST "https://epplussoftware.com/api/security/vulnerability/index/${version}?tfm=${tfm}&scanId=${SCAN_ID }" \
134+ -X POST "https://epplussoftware.com/api/security/vulnerability/index/${version}?tfm=${tfm}&scanId=${SCAN_DB_ID }" \
132135 -H "X-Api-Key: ${{ secrets.EPPLUS_VULNERABILITY_API_KEY }}" \
133136 -H "Content-Type: application/json" \
134137 -d @"./reports/${version}/${tfm}/report.json")
You can’t perform that action at this time.
0 commit comments