|
4 | 4 | push: |
5 | 5 | branches: |
6 | 6 | - main |
| 7 | + workflow_dispatch: |
7 | 8 |
|
8 | 9 | env: |
9 | 10 | GO_VERSION: "1.27" |
|
66 | 67 | id: vulnapi |
67 | 68 | run: | |
68 | 69 | chmod +x vulnapi |
69 | | - ./vulnapi discover api http://localhost:8080 --rate 500/s --sqa-opt-out |
| 70 | + ./vulnapi discover api http://localhost:8080 --rate 500/s --no-progress --sqa-opt-out |
70 | 71 |
|
71 | 72 | - name: Stop Server |
72 | 73 | if: ${{ always() }} |
|
90 | 91 | continue-on-error: true |
91 | 92 | run: | |
92 | 93 | chmod +x vulnapi |
93 | | - ./vulnapi scan curl http://localhost:8080 --sqa-opt-out |
| 94 | + ./vulnapi scan curl http://localhost:8080 --no-progress --sqa-opt-out |
94 | 95 |
|
95 | 96 | - name: Check for vulnerabilities |
96 | 97 | if: ${{ steps.vulnapi.outcome == 'failure' }} |
@@ -127,7 +128,7 @@ jobs: |
127 | 128 | continue-on-error: true |
128 | 129 | run: | |
129 | 130 | chmod +x vulnapi |
130 | | - ./vulnapi scan curl ${{ matrix.challenge.url }} --sqa-opt-out |
| 131 | + ./vulnapi scan curl ${{ matrix.challenge.url }} --no-progress --sqa-opt-out |
131 | 132 |
|
132 | 133 | - name: Check for vulnerabilities |
133 | 134 | if: ${{ steps.vulnapi.outcome == 'failure' }} |
@@ -190,7 +191,7 @@ jobs: |
190 | 191 | continue-on-error: true |
191 | 192 | run: | |
192 | 193 | chmod +x vulnapi |
193 | | - ./vulnapi scan curl http://localhost:8080 -H "Authorization: Bearer ${{ steps.get-jwt.outputs.jwt }}" --scans "${{ matrix.checkID }}" --sqa-opt-out |
| 194 | + ./vulnapi scan curl http://localhost:8080 -H "Authorization: Bearer ${{ steps.get-jwt.outputs.jwt }}" --scans "${{ matrix.checkID }}" --no-progress --sqa-opt-out |
194 | 195 |
|
195 | 196 | - name: Check for vulnerabilities |
196 | 197 | if: ${{ steps.vulnapi.outcome != 'failure' }} |
@@ -229,7 +230,7 @@ jobs: |
229 | 230 | id: vulnapi |
230 | 231 | run: | |
231 | 232 | chmod +x vulnapi |
232 | | - ./vulnapi scan curl http://localhost:8080 -H "X-API-Key: abcdef1234" --scans "generic.accept_unauthenticated_operation" --sqa-opt-out |
| 233 | + ./vulnapi scan curl http://localhost:8080 -H "X-API-Key: abcdef1234" --scans "generic.accept_unauthenticated_operation" --no-progress --sqa-opt-out |
233 | 234 |
|
234 | 235 | - name: Stop Server |
235 | 236 | if: ${{ always() }} |
@@ -263,7 +264,7 @@ jobs: |
263 | 264 | continue-on-error: true |
264 | 265 | run: | |
265 | 266 | chmod +x vulnapi |
266 | | - ./vulnapi scan curl http://localhost:8080 -H "X-API-Key: abcdef1234" --scans "generic.accept_unauthenticated_operation" --sqa-opt-out |
| 267 | + ./vulnapi scan curl http://localhost:8080 -H "X-API-Key: abcdef1234" --scans "generic.accept_unauthenticated_operation" --no-progress --sqa-opt-out |
267 | 268 |
|
268 | 269 | - name: Check for vulnerabilities |
269 | 270 | if: ${{ steps.vulnapi.outcome != 'failure' }} |
@@ -303,7 +304,7 @@ jobs: |
303 | 304 | continue-on-error: true |
304 | 305 | run: | |
305 | 306 | chmod +x vulnapi |
306 | | - ./vulnapi scan curl http://localhost:8080 -H "Authorization: Bearer abcdef1234" --scans "generic.accept_unauthenticated_operation" --sqa-opt-out |
| 307 | + ./vulnapi scan curl http://localhost:8080 -H "Authorization: Bearer abcdef1234" --scans "generic.accept_unauthenticated_operation" --no-progress --sqa-opt-out |
307 | 308 |
|
308 | 309 | - name: Check for vulnerabilities |
309 | 310 | if: ${{ steps.vulnapi.outcome != 'failure' }} |
@@ -342,7 +343,7 @@ jobs: |
342 | 343 | id: vulnapi |
343 | 344 | run: | |
344 | 345 | chmod +x vulnapi |
345 | | - ./vulnapi scan curl http://localhost:8080 -H "X-API-Key: abcdef1234" --sqa-opt-out |
| 346 | + ./vulnapi scan curl http://localhost:8080 -H "X-API-Key: abcdef1234" --no-progress --sqa-opt-out |
346 | 347 |
|
347 | 348 | - name: Stop Server |
348 | 349 | if: ${{ always() }} |
@@ -448,9 +449,9 @@ jobs: |
448 | 449 | run: | |
449 | 450 | chmod +x vulnapi |
450 | 451 | if [ "${{ matrix.challenge }}" = "misconfiguration.http_method_override" ]; then |
451 | | - ./vulnapi scan curl ${{ matrix.url }} -H "Authorization: Bearer valid-token" ${{ matrix.scans }} --sqa-opt-out |
| 452 | + ./vulnapi scan curl ${{ matrix.url }} -H "Authorization: Bearer valid-token" ${{ matrix.scans }} --no-progress --sqa-opt-out |
452 | 453 | else |
453 | | - ./vulnapi scan curl ${{ matrix.url }} ${{ matrix.scans }} --sqa-opt-out |
| 454 | + ./vulnapi scan curl ${{ matrix.url }} ${{ matrix.scans }} --no-progress --sqa-opt-out |
454 | 455 | fi |
455 | 456 |
|
456 | 457 | - name: Check for vulnerabilities |
@@ -498,7 +499,7 @@ jobs: |
498 | 499 | continue-on-error: true |
499 | 500 | run: | |
500 | 501 | chmod +x vulnapi |
501 | | - ./vulnapi scan graphql ${{ matrix.url }} --scans "${{ matrix.challenge }}" --sqa-opt-out |
| 502 | + ./vulnapi scan graphql ${{ matrix.url }} --scans "${{ matrix.challenge }}" --no-progress --sqa-opt-out |
502 | 503 |
|
503 | 504 | - name: Check for vulnerabilities |
504 | 505 | if: ${{ steps.vulnapi.outcome != 'failure' }} |
@@ -556,9 +557,9 @@ jobs: |
556 | 557 | run: | |
557 | 558 | chmod +x vulnapi |
558 | 559 | if [ "${{ matrix.openapi }}" = "simple_no_scheme.openapi.json" ]; then |
559 | | - ./vulnapi scan openapi ./test/stub/${{ matrix.openapi }} --severity-threshold 0 --sqa-opt-out |
| 560 | + ./vulnapi scan openapi ./test/stub/${{ matrix.openapi }} --severity-threshold 0 --rate 500/s --no-progress --sqa-opt-out |
560 | 561 | else |
561 | | - ./vulnapi scan openapi ./test/stub/${{ matrix.openapi }} --sqa-opt-out |
| 562 | + ./vulnapi scan openapi ./test/stub/${{ matrix.openapi }} --rate 500/s --no-progress --sqa-opt-out |
562 | 563 | fi |
563 | 564 |
|
564 | 565 | - name: Check for vulnerabilities |
|
0 commit comments