Skip to content

Commit

Permalink
Update bandit.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
nambi21 authored Jan 12, 2025
1 parent ac9f270 commit a68cba0
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/bandit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Set Report Date
run: echo "REPORT_DATE=$(date +'%d-%b-%Y')" >> $GITHUB_ENV

Expand All @@ -44,11 +44,11 @@ jobs:
ini: 'DEFAULT'
targets: '.'

- name: Install SARIF Tools
run: pip install sarif-tools
- name: Install SARIF to HTML Converter
run: npm install -g @microsoft/sarif-multitool

- name: Convert SARIF to HTML
run: python -m sarif_tools.html ${{ env.SARIF_REPORT_PATH }} -o ${{ env.HTML_REPORT_PATH }}
run: sarif-multitool transform ${{ env.SARIF_REPORT_PATH }} --output ${{ env.HTML_REPORT_PATH }}

- name: Upload Bandit SARIF Report as Artifact
if: always()
Expand Down

0 comments on commit a68cba0

Please sign in to comment.