Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Saltanofff authored Nov 16, 2024
1 parent 0f86916 commit d2ed7a3
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,14 @@ jobs:
run: pip install bandit

- name: Run Bandit Scan
run: bandit -ll -ii -r .

#safe report in json format
run: bandit -ll -ii -r . -f json -o bandit-report.json

- name: Upload Artifact
uses: actions/upload-artifact@v3
#execute this step no matter of previous status
if: always()
with:
#how artifacts will be named when exported
name: bandit-findings.json
path: bandit-report.json

0 comments on commit d2ed7a3

Please sign in to comment.