/AWS1/CL_SAGSCOPECHANGE¶
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.
CONSTRUCTOR¶
IMPORTING¶
Required arguments:¶
iv_integrationid TYPE /AWS1/SAGSTRING /AWS1/SAGSTRING¶
The identifier of the integration for the source-code provider that hosts the repository.
iv_providerresourceid TYPE /AWS1/SAGSTRING /AWS1/SAGSTRING¶
The provider-specific identifier of the repository the change belongs to.
iv_headcommitsha TYPE /AWS1/SAGSTRING /AWS1/SAGSTRING¶
The commit SHA at the tip of the change to be tested.
Optional arguments:¶
iv_basecommitsha TYPE /AWS1/SAGSTRING /AWS1/SAGSTRING¶
The commit SHA that the change is compared against. When omitted, the change is evaluated against the head commit alone.
iv_triggerrunid TYPE /AWS1/SAGSTRING /AWS1/SAGSTRING¶
The identifier of the CI/CD pipeline run that triggered this pentest job.
Queryable Attributes¶
integrationId¶
The identifier of the integration for the source-code provider that hosts the repository.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_INTEGRATIONID() |
Getter for INTEGRATIONID, with configurable default |
ASK_INTEGRATIONID() |
Getter for INTEGRATIONID w/ exceptions if field has no value |
HAS_INTEGRATIONID() |
Determine if INTEGRATIONID has a value |
providerResourceId¶
The provider-specific identifier of the repository the change belongs to.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_PROVIDERRESOURCEID() |
Getter for PROVIDERRESOURCEID, with configurable default |
ASK_PROVIDERRESOURCEID() |
Getter for PROVIDERRESOURCEID w/ exceptions if field has no |
HAS_PROVIDERRESOURCEID() |
Determine if PROVIDERRESOURCEID has a value |
baseCommitSha¶
The commit SHA that the change is compared against. When omitted, the change is evaluated against the head commit alone.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_BASECOMMITSHA() |
Getter for BASECOMMITSHA, with configurable default |
ASK_BASECOMMITSHA() |
Getter for BASECOMMITSHA w/ exceptions if field has no value |
HAS_BASECOMMITSHA() |
Determine if BASECOMMITSHA has a value |
headCommitSha¶
The commit SHA at the tip of the change to be tested.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_HEADCOMMITSHA() |
Getter for HEADCOMMITSHA, with configurable default |
ASK_HEADCOMMITSHA() |
Getter for HEADCOMMITSHA w/ exceptions if field has no value |
HAS_HEADCOMMITSHA() |
Determine if HEADCOMMITSHA has a value |
triggerRunId¶
The identifier of the CI/CD pipeline run that triggered this pentest job.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_TRIGGERRUNID() |
Getter for TRIGGERRUNID, with configurable default |
ASK_TRIGGERRUNID() |
Getter for TRIGGERRUNID w/ exceptions if field has no value |
HAS_TRIGGERRUNID() |
Determine if TRIGGERRUNID has a value |
Public Local Types In This Class¶
Internal table types, representing arrays and maps of this class, are defined as local types:
TT_SCOPECHANGELIST¶
TYPES TT_SCOPECHANGELIST TYPE STANDARD TABLE OF REF TO /AWS1/CL_SAGSCOPECHANGE WITH DEFAULT KEY
.