Repository navigation
Preserve empty report provenance in SARIF and NDJSON - #3
Merged
Merged
Conversation
Contributor
Author
|
Hosted review gate remains blocked on head a890d4c. A connector request and a direct POST of the documented reviewer Local validation: 17 tests pass, nine SARIF variants pass the bundled OASIS schema, CLI help and checksum verification pass, and git diff --check is clean. No production activity or external targets were used. |
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.
Fixes #2
Empty canonical inputs previously lost their rule snapshots and limitations, so different assessments produced identical successful conversions. Preserve a privacy-projected envelope for every validated input in SARIF run properties and the NDJSON summary, with tool/profile, completion and content digests. Keep repeated inputs attributable and output deterministic regardless of input order, without publishing filenames or private prose.
Validation: reproduced identical empty SARIF before the change; all 17 synthetic local-only tests pass, including changed snapshots/limitations, multiple empty inputs, incomplete exit 2, duplicate multiplicity, deterministic output and secret redaction. Nine variants pass the vendored OASIS schema; CLI help, checksum and git diff --check pass. Standalone stdlib entry point and offline security controls remain intact. No uploads, target scans or production changes. Hosted Copilot review and exact-head CI remain required before merge.