-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
enhance sarif output (closes #2608) #2925
Conversation
Nuclei will probably be receiving UI soon . Currently there are 2 options available to visualize nuclei outputs using SARIF 1) Using SARIF Web ComponentVisit Web-Component and upload generated SARIF file using open at top right corner . Example nuclei generated sarif file : https://gist.github.com/tarunKoyalwar/f76fc7b55c29e69b1ea1d02f4d6661a8 2) Using Github Security page of repo - name: Upload SARIF file
uses: github/codeql-action/upload-sarif@v2
with:
# Path to SARIF file relative to the root of the repository
sarif_file: results.sarif can be used along with nuclei-actions or any other method to upload SARIF to security page of that repo . Output location is same as UI has many filters as show in above image and alerts are scoped to organization level |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
merge conflict - go mod tidy
should suffice
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ehsandeep , currently |
Description
Fix and Enhance Static Analysis Results Interchange Format (SARIF) Output
closes #2608
Changes
Run Below Command to verify
Supported Viewers
Generated sarif output is compatible with all available Sarif viewers
Note:
impact & severity , title is properly configured in PR . below screenshots were created using random data to match testcases hence result is messed up actual/new report generated is proper without errors