-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Description
Hi,
It would be nice if the Clang Static Analyzer workflow output was uploaded to GitHub in SARIF format.
See here: https://docs.github.com/en/code-security/code-scanning/integrating-with-code-scanning/uploading-a-sarif-file-to-github
scan-build can output SARIF format files simply by adding -sarif to the scan-build command in the Ledger SDK Makefile.rules_generic file
Something similar to this may also need to be added to the workflow file:
permissions:
actions: read
contents: read
security-events: write
statuses: write
.
.
.
- name: Upload scan result
uses: github/codeql-action/upload-sarif@v2
if: failure()
with:
sarif_file: output-scan-buildMetadata
Metadata
Assignees
Labels
No labels