File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -154,7 +154,7 @@ jobs:
154154 SCAN_OUTPUT=$(probely scans get ${SCAN_ID} --api-key ${{ secrets.PROBELY_API_KEY }} | tail -1)
155155 echo ${SCAN_OUTPUT}
156156 echo "-----------------------------------"
157- SCAN_STATUS=$(probely scans get ${SCAN_ID} --api-key ${{ secrets.PROBELY_API_KEY }} -o JSON | jq -r '.[0]. status')
157+ SCAN_STATUS=$(probely scans get ${SCAN_ID} --api-key ${{ secrets.PROBELY_API_KEY }} -o JSON | jq -r '.status')
158158 if [ $SCAN_STATUS == "started" ] || [ $SCAN_STATUS == "queued" ]; then
159159 echo "Scan is running or queued!";
160160 else
@@ -167,7 +167,7 @@ jobs:
167167 # Step 13: check high vulnerabities
168168 - name : Check for high vulnerabilities
169169 run : |
170- HIGH_VULNS=$(probely scans get ${SCAN_ID} --api-key ${{ secrets.PROBELY_API_KEY }} -o JSON | jq -r '.[0]. highs')
170+ HIGH_VULNS=$(probely scans get ${SCAN_ID} --api-key ${{ secrets.PROBELY_API_KEY }} -o JSON | jq -r '.highs')
171171 echo "HIGH vulnerabilities: ${HIGH_VULNS}"
172172 if [ $HIGH_VULNS -gt 0 ]; then
173173 echo "Scan has High vulnerabilities... aborting"
@@ -189,4 +189,4 @@ jobs:
189189 docker stop probely-agent
190190 docker rm test-app
191191 docker rm probely-agent
192- docker network rm custom-network
192+ docker network rm custom-network
You can’t perform that action at this time.
0 commit comments