fix: improve SARIF exports for GitHub - #570
Merged
Merged
Conversation
mldangelo-oai
approved these changes
Aug 19, 2026
kmbroai
approved these changes
Aug 19, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
GitHub can import the existing SARIF export, but raw rule names and missing rule help make alerts difficult to act on. Add readable rule names, fix guidance, security severity, and CWE tags from the canonical findings.
Changes
Testing
pnpm run test --seed 12345: 1,436 passed, 23 skipped, zero failures.pnpm run test: 1,436 passed, 23 skipped, zero failures.pnpm run typesandpnpm run format: passed.pnpm packandnode scripts/check-package.mjs <tarball>: passed, including the installed-package checks.Risk and rollout
This changes SARIF presentation only. GitHub reads security severity from the shared rule, so each alert also retains its own severity and fix guidance. The canonical scan format and release versions do not change. No live GitHub code-scanning upload was run.
Public disclosure review