/AWS1/CL_IN2CODESNIPPETRESULT¶
Contains information on a code snippet retrieved by Amazon Inspector from a code vulnerability finding.
CONSTRUCTOR
¶
IMPORTING¶
Optional arguments:¶
iv_findingarn
TYPE /AWS1/IN2FINDINGARN
/AWS1/IN2FINDINGARN
¶
The ARN of a finding that the code snippet is associated with.
iv_startline
TYPE /AWS1/IN2INTEGER
/AWS1/IN2INTEGER
¶
The line number of the first line of a code snippet.
iv_endline
TYPE /AWS1/IN2INTEGER
/AWS1/IN2INTEGER
¶
The line number of the last line of a code snippet.
it_codesnippet
TYPE /AWS1/CL_IN2CODELINE=>TT_CODELINELIST
TT_CODELINELIST
¶
Contains information on the retrieved code snippet.
it_suggestedfixes
TYPE /AWS1/CL_IN2SUGGESTEDFIX=>TT_SUGGESTEDFIXES
TT_SUGGESTEDFIXES
¶
Details of a suggested code fix.
Queryable Attributes¶
findingArn¶
The ARN of a finding that the code snippet is associated with.
Accessible with the following methods¶
Method | Description |
---|---|
GET_FINDINGARN() |
Getter for FINDINGARN, with configurable default |
ASK_FINDINGARN() |
Getter for FINDINGARN w/ exceptions if field has no value |
HAS_FINDINGARN() |
Determine if FINDINGARN has a value |
startLine¶
The line number of the first line of a code snippet.
Accessible with the following methods¶
Method | Description |
---|---|
GET_STARTLINE() |
Getter for STARTLINE, with configurable default |
ASK_STARTLINE() |
Getter for STARTLINE w/ exceptions if field has no value |
HAS_STARTLINE() |
Determine if STARTLINE has a value |
endLine¶
The line number of the last line of a code snippet.
Accessible with the following methods¶
Method | Description |
---|---|
GET_ENDLINE() |
Getter for ENDLINE, with configurable default |
ASK_ENDLINE() |
Getter for ENDLINE w/ exceptions if field has no value |
HAS_ENDLINE() |
Determine if ENDLINE has a value |
codeSnippet¶
Contains information on the retrieved code snippet.
Accessible with the following methods¶
Method | Description |
---|---|
GET_CODESNIPPET() |
Getter for CODESNIPPET, with configurable default |
ASK_CODESNIPPET() |
Getter for CODESNIPPET w/ exceptions if field has no value |
HAS_CODESNIPPET() |
Determine if CODESNIPPET has a value |
suggestedFixes¶
Details of a suggested code fix.
Accessible with the following methods¶
Method | Description |
---|---|
GET_SUGGESTEDFIXES() |
Getter for SUGGESTEDFIXES, with configurable default |
ASK_SUGGESTEDFIXES() |
Getter for SUGGESTEDFIXES w/ exceptions if field has no valu |
HAS_SUGGESTEDFIXES() |
Determine if SUGGESTEDFIXES 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_CODESNIPPETRESULTLIST
¶
TYPES TT_CODESNIPPETRESULTLIST TYPE STANDARD TABLE OF REF TO /AWS1/CL_IN2CODESNIPPETRESULT WITH DEFAULT KEY
.