Skip to content

Commit 494448a

Browse files
authored
Update nightvision.yml
1 parent 7b6c65a commit 494448a

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

.github/workflows/nightvision.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ on:
2020
env:
2121
NIGHTVISION_TOKEN: ${{ secrets.NIGHTVISION_TOKEN }}
2222
NIGHTVISION_TARGET: javaspringvulny-api
23-
NIGHTVISION_APP: javaspringvulny-api
2423
NIGHTVISION_AUTH: javaspringvulny-api
2524

2625
jobs:
@@ -49,7 +48,7 @@ jobs:
4948

5049
- name: (5) Scan the API
5150
run: |
52-
nightvision scan ${NIGHTVISION_TARGET} -a ${NIGHTVISION_APP} --auth ${NIGHTVISION_AUTH} > scan-results.txt
51+
nightvision scan ${NIGHTVISION_TARGET} --auth ${NIGHTVISION_AUTH} > scan-results.txt
5352
nightvision export sarif -s "$(head -n 1 scan-results.txt)" --swagger-file openapi-spec.yml
5453
5554
- name: (6) Upload SARIF file to GitHub Security Alerts if vulnerabilities are found

0 commit comments

Comments
 (0)