Skip to main content
POST
Error

Authorizations

Authorization
string
header
required

API token obtained from the Tokens endpoint. Include as Authorization: Bearer <token>.

Path Parameters

scanId
string<uuid>
required

Body

application/json
repository
string

Repository full name (owner/repo) to upload SARIF for.

ref
string

Git ref to associate with the SARIF upload.

commit_sha
string

40-character commit SHA. If omitted, Strix resolves it from ref.

checkout_uri
string<uri>
github_api_base_url
string<uri>

Override GitHub API base URL for GitHub Enterprise Server.

Response

GitHub SARIF upload result.

repository
string
required
ref
string
required
commit_sha
string
required
sarif_upload
object
required
result_count
integer
required
code_owner_patterns
integer
required