Skip to content

Preserve empty report provenance in SARIF and NDJSON - #3

Merged
CompleteDotTech merged 1 commit into
mainfrom
fix/audit-2-report-envelope
Oct 26, 2026
Merged

CompleteDotTech merged 1 commit into
mainfrom
fix/audit-2-report-envelope

Conversation

@CompleteDotTech

Copy link
Copy Markdown
Contributor

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.

Copy link
Copy Markdown
Contributor Author

Hosted review gate remains blocked on head a890d4c. A connector request and a direct POST of the documented reviewer copilot-pull-request-reviewer[bot] returned success (direct HTTP 201), but readback shows requested users/teams empty, no review_requested timeline event, and no submitted review. This is not a completed or clean Copilot review. The PR must remain unmerged until hosted Copilot completes review of the exact final head and all findings are dispositioned.

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.

@CompleteDotTech
CompleteDotTech merged commit ee548d2 into main Oct 26, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[P2] Preserve snapshot and limitation evidence for empty converted reports

1 participant