jontyms/SARIF to GitHub Annotations
Convert SARIF 2.1.0 files to GitHub annotations for better code review visibility
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| sarif-file | Path to the SARIF file to convert | yes | — |
| annotation-level | Default annotation level (error, warning, notice) | no | warning |
| max-annotations | Maximum number of annotations to create (GitHub limit is 10 per step) | no | 10 |
| filter-rules | Comma-separated list of rule IDs to include (empty = all rules) | no | "" |
| exclude-rules | Comma-separated list of rule IDs to exclude | no | "" |
| working-directory | Working directory for relative file paths | no | . |
Outputs
| name | description |
|---|---|
| annotations-created | Number of annotations created |
| results-processed | Total number of SARIF results processed |
| errors-found | Number of error-level results found |
| warnings-found | Number of warning-level results found |