Github API - Test Config

code-scanning-analysis [object]

Attributes
analysis_key code-scanning-analysis-analysis-key

code-scanning-analysis-analysis-key [scalar]

Identifies the configuration under which the analysis was executed. For example, in GitHub Actions this includes the workflow filename and job name.

API:
Github Open API
(version: 1.1.4)

category code-scanning-analysis-category

code-scanning-analysis-category [scalar]

Identifies the configuration under which the analysis was executed. Used to distinguish between multiple analyses for the same tool and commit, but performed on different languages or different parts of the code.

API:
Github Open API
(version: 1.1.4)

commit_sha code-scanning-analysis-commit-sha

code-scanning-analysis-commit-sha [scalar]

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

API:
Github Open API
(version: 1.1.4)

created_at code-scanning-analysis-created-at

code-scanning-analysis-created-at [scalar]

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

API:
Github Open API
(version: 1.1.4)

deletable boolean

boolean [scalar]

The OpenAPI boolean type

API:
Github Open API
(version: 1.1.4)

environment code-scanning-analysis-environment

code-scanning-analysis-environment [scalar]

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

API:
Github Open API
(version: 1.1.4)

error string

string [scalar]

The OpenAPI string type

API:
Github Open API
(version: 1.1.4)

id integer

integer [scalar]

The OpenAPI integer type

API:
Github Open API
(version: 1.1.4)

Unique identifier for this analysis.

ref code-scanning-ref

code-scanning-ref [scalar]

The full Git reference, formatted as refs/heads/<branch name>,
refs/pull/<number>/merge, or refs/pull/<number>/head.

API:
Github Open API
(version: 1.1.4)

results_count integer

integer [scalar]

The OpenAPI integer type

API:
Github Open API
(version: 1.1.4)

The total number of results in the analysis.

rules_count integer

integer [scalar]

The OpenAPI integer type

API:
Github Open API
(version: 1.1.4)

The total number of rules used in the analysis.

sarif_id code-scanning-analysis-sarif-id

code-scanning-analysis-sarif-id [scalar]

An identifier for the upload.

API:
Github Open API
(version: 1.1.4)

tool code-scanning-analysis-tool

code-scanning-analysis-tool [object]

Attributes
API:
Github Open API
(version: 1.1.4)

url code-scanning-analysis-url

code-scanning-analysis-url [scalar]

The REST API URL of the analysis resource.

API:
Github Open API
(version: 1.1.4)

warning string

string [scalar]

The OpenAPI string type

API:
Github Open API
(version: 1.1.4)

Warning generated when processing the analysis

API:
Github Open API
(version: 1.1.4)