code-scanning-alert
objectThe security alert number.
The time that the alert was created in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ
.
The REST API URL of the alert resource.
The GitHub URL of the alert resource.
The REST API URL for fetching the list of instances for an alert.
State of a code scanning alert.
Allowed values:opencloseddismissedfixed
Simple User
Show Child Parameters
The time that the alert was dismissed in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ
.
Required when the state is dismissed. The reason for dismissing or closing the alert. Can be one of: false positive
, won't fix
, and used in tests
.
Allowed values:false positivewon't fixused in tests
Show Child Parameters
Show Child Parameters
Show Child Parameters
code-scanning-alert-set-state
stringSets 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
stringAn identifier for the upload.
code-scanning-analysis-commit-sha
stringThe 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
stringIdentifies the variable values associated with the environment in which this analysis was performed.