/AWS1/CL_GUSGETSCANRESPONSE¶
GetScanResponse
CONSTRUCTOR¶
IMPORTING¶
Required arguments:¶
iv_scanname TYPE /AWS1/GUSSCANNAME /AWS1/GUSSCANNAME¶
The name of the scan.
iv_runid TYPE /AWS1/GUSUUID /AWS1/GUSUUID¶
UUID that identifies the individual scan run.
iv_scanstate TYPE /AWS1/GUSSCANSTATE /AWS1/GUSSCANSTATE¶
The current state of the scan. Returns either
InProgress,Successful, orFailed.
iv_createdat TYPE /AWS1/GUSTIMESTAMP /AWS1/GUSTIMESTAMP¶
The time the scan was created.
iv_analysistype TYPE /AWS1/GUSANALYSISTYPE /AWS1/GUSANALYSISTYPE¶
The type of analysis CodeGuru Security performed in the scan, either
SecurityorAll. TheSecuritytype only generates findings related to security. TheAlltype generates both security findings and quality findings.
Optional arguments:¶
iv_updatedat TYPE /AWS1/GUSTIMESTAMP /AWS1/GUSTIMESTAMP¶
The time when the scan was last updated. Only available for
STANDARDscan types.
iv_numberofrevisions TYPE /AWS1/GUSLONG /AWS1/GUSLONG¶
The number of times a scan has been re-run on a revised resource.
iv_scannamearn TYPE /AWS1/GUSSCANNAMEARN /AWS1/GUSSCANNAMEARN¶
The ARN for the scan name.
iv_errormessage TYPE /AWS1/GUSERRORMESSAGE /AWS1/GUSERRORMESSAGE¶
Details about the error that causes a scan to fail to be retrieved.
Queryable Attributes¶
scanName¶
The name of the scan.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_SCANNAME() |
Getter for SCANNAME, with configurable default |
ASK_SCANNAME() |
Getter for SCANNAME w/ exceptions if field has no value |
HAS_SCANNAME() |
Determine if SCANNAME has a value |
runId¶
UUID that identifies the individual scan run.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_RUNID() |
Getter for RUNID, with configurable default |
ASK_RUNID() |
Getter for RUNID w/ exceptions if field has no value |
HAS_RUNID() |
Determine if RUNID has a value |
scanState¶
The current state of the scan. Returns either
InProgress,Successful, orFailed.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_SCANSTATE() |
Getter for SCANSTATE, with configurable default |
ASK_SCANSTATE() |
Getter for SCANSTATE w/ exceptions if field has no value |
HAS_SCANSTATE() |
Determine if SCANSTATE has a value |
createdAt¶
The time the scan was created.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_CREATEDAT() |
Getter for CREATEDAT, with configurable default |
ASK_CREATEDAT() |
Getter for CREATEDAT w/ exceptions if field has no value |
HAS_CREATEDAT() |
Determine if CREATEDAT has a value |
analysisType¶
The type of analysis CodeGuru Security performed in the scan, either
SecurityorAll. TheSecuritytype only generates findings related to security. TheAlltype generates both security findings and quality findings.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_ANALYSISTYPE() |
Getter for ANALYSISTYPE, with configurable default |
ASK_ANALYSISTYPE() |
Getter for ANALYSISTYPE w/ exceptions if field has no value |
HAS_ANALYSISTYPE() |
Determine if ANALYSISTYPE has a value |
updatedAt¶
The time when the scan was last updated. Only available for
STANDARDscan types.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_UPDATEDAT() |
Getter for UPDATEDAT, with configurable default |
ASK_UPDATEDAT() |
Getter for UPDATEDAT w/ exceptions if field has no value |
HAS_UPDATEDAT() |
Determine if UPDATEDAT has a value |
numberOfRevisions¶
The number of times a scan has been re-run on a revised resource.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_NUMBEROFREVISIONS() |
Getter for NUMBEROFREVISIONS, with configurable default |
ASK_NUMBEROFREVISIONS() |
Getter for NUMBEROFREVISIONS w/ exceptions if field has no v |
HAS_NUMBEROFREVISIONS() |
Determine if NUMBEROFREVISIONS has a value |
scanNameArn¶
The ARN for the scan name.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_SCANNAMEARN() |
Getter for SCANNAMEARN, with configurable default |
ASK_SCANNAMEARN() |
Getter for SCANNAMEARN w/ exceptions if field has no value |
HAS_SCANNAMEARN() |
Determine if SCANNAMEARN has a value |
errorMessage¶
Details about the error that causes a scan to fail to be retrieved.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_ERRORMESSAGE() |
Getter for ERRORMESSAGE, with configurable default |
ASK_ERRORMESSAGE() |
Getter for ERRORMESSAGE w/ exceptions if field has no value |
HAS_ERRORMESSAGE() |
Determine if ERRORMESSAGE has a value |