GitHub v3 REST API

code-scanning-alert-set-state

string

Sets the state of the code scanning alert. Can be one of open or dismissed. You must provide dismissed_reason when you set the state to dismissed.

Allowed values:opendismissed

code-scanning-analysis-sarif-id

string

An identifier for the upload.

Example

code-scanning-analysis-commit-sha

string

The SHA of the commit to which the analysis you are uploading relates.

Match pattern:^[0-9a-fA-F]+$

>= 40 characters<= 40 characters

code-scanning-analysis-environment

string

Identifies the variable values associated with the environment in which this analysis was performed.

code-scanning-analysis-created-at

string

The time that the analysis was created in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ.