View a markdown version of this page

ScopeChange - AWS Security Agent

ScopeChange

A code change in a CI/CD pipeline run that defines what a CI/CD pentest job tests. Each scope change identifies an integrated repository and the commit range for the change.

Contents

headCommitSha

The commit SHA at the tip of the change to be tested.

Type: String

Required: Yes

integrationId

The identifier of the integration for the source-code provider that hosts the repository.

Type: String

Required: Yes

providerResourceId

The provider-specific identifier of the repository the change belongs to.

Type: String

Required: Yes

baseCommitSha

The commit SHA that the change is compared against. When omitted, the change is evaluated against the head commit alone.

Type: String

Required: No

triggerRunId

The identifier of the CI/CD pipeline run that triggered this pentest job.

Type: String

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: