Skip to content

Commit 7b6c65a

Browse files
authored
Update nightvision-slack.yml
1 parent 7a854f3 commit 7b6c65a

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

.github/workflows/nightvision-slack.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ on:
77
env:
88
NIGHTVISION_TOKEN: ${{ secrets.NIGHTVISION_TOKEN }}
99
NIGHTVISION_TARGET: javaspringvulny-api
10-
NIGHTVISION_APP: javaspringvulny-api
1110
NIGHTVISION_AUTH: javaspringvulny-api
1211
SLACK_TOKEN: ${{ secrets.SLACK_TOKEN }}
1312
SLACK_CHANNEL_ID: ${{ secrets.SLACK_CHANNEL_ID }}
@@ -41,7 +40,7 @@ jobs:
4140
4241
- name: (5) Scan the API
4342
run: |
44-
nightvision scan ${{ env.NIGHTVISION_TARGET }} -a ${{ env.NIGHTVISION_APP }} --auth ${{ env.NIGHTVISION_AUTH }} > scan-results.txt
43+
nightvision scan ${{ env.NIGHTVISION_TARGET }} --auth ${{ env.NIGHTVISION_AUTH }} > scan-results.txt
4544
nightvision export sarif -s "$(head -n 1 scan-results.txt)" --swagger-file openapi-spec.yml
4645
4746
- name: (6) Upload SARIF file to GitHub Security Alerts if vulnerabilities are found

0 commit comments

Comments
 (0)