Upload scan SARIF to GitHub
Generate SARIF for active scan vulnerabilities and upload it to GitHub code scanning. Requires an Enterprise plan.
Authorizations
API token obtained from the Tokens endpoint or CLI device login. Include as Authorization: Bearer <token>. Requests made with a managed CLI session also include X-Strix-Workspace: <organization_id> to pin a process to the workspace it started in; recovery endpoints report the current workspace after a concurrent switch.
Path Parameters
UUID of the scan. Use the id field of a scan from listScans.
Body
Repository full name (owner/repo) to upload SARIF for.
Git ref to associate with the SARIF upload.
40-character commit SHA. If omitted, Strix resolves it from ref.
Repository checkout URI recorded in the SARIF upload so GitHub can map file paths.
Override GitHub API base URL for GitHub Enterprise Server.