SARIF Ingestion Compatibility PreflightSecurity and CI teams can run one command before uploading a third-party SARIF report to GitHub or GitLab. The command reads only the active editor, checks destination-specific compatibility requirements, and shows actionable remediation in a local output channel. One workflow
The command never modifies the report, contacts a network service, or guarantees that a destination will accept an upload. It catches invalid JSON, unsupported SARIF versions, missing core structures, and destination-specific rule or location omissions covered by this MVP. Local verificationRequires an already available Node.js runtime. No dependency installation is needed.
Both commands are deterministic and read-only. The packaging command validates package visibility and metadata; it does not create or publish an archive. Extension Development Host fixtureFrom this directory, start an Extension Development Host with the included success fixture:
In the new window, run SARIF: Preflight Active Report and expect PASS for the default GitHub destination. Then open The automated test also activates the extension against a deterministic VS Code API fixture and invokes the registered command through the same handler. Privacy and security boundaryAll processing is local and limited to active editor text. There is no telemetry, account, credential access, workspace scan, subprocess execution, or network access. Treat SARIF text and displayed scanner messages as untrusted input. The extension parses them as data and does not execute or interpolate their content. See |