Skip to content

Fix Upload Bandit SARIF at security scan action#1

Merged
zeroc0d3 merged 6 commits intotelemetryflow:mainfrom
bellyliu:main
Feb 4, 2026
Merged

Fix Upload Bandit SARIF at security scan action#1
zeroc0d3 merged 6 commits intotelemetryflow:mainfrom
bellyliu:main

Conversation

@bellyliu
Copy link
Contributor

Issue

Currently bandit scan action producing json output format which leads to error because github/codeql-action/upload-sarif@v4 expect file in SARIF format.
image

Resolution

By installing package bandit-sarif-formatter and modify the result to .sarif format, the CI now successfully upload the report file.
image

Code Scanning page

image

@zeroc0d3 zeroc0d3 merged commit 42750af into telemetryflow:main Feb 4, 2026
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants