/AWS1/CL_SAGCODELOCATION¶
Represents a location in source code associated with a security finding.
CONSTRUCTOR¶
IMPORTING¶
Required arguments:¶
iv_filepath TYPE /AWS1/SAGSTRING /AWS1/SAGSTRING¶
The absolute path to the file containing the code location.
Optional arguments:¶
iv_linestart TYPE /AWS1/SAGINTEGER /AWS1/SAGINTEGER¶
The starting line number of the code location.
iv_lineend TYPE /AWS1/SAGINTEGER /AWS1/SAGINTEGER¶
The ending line number of the code location.
iv_label TYPE /AWS1/SAGSTRING /AWS1/SAGSTRING¶
The role of this location in the vulnerability, such as source or sink.
Queryable Attributes¶
filePath¶
The absolute path to the file containing the code location.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_FILEPATH() |
Getter for FILEPATH, with configurable default |
ASK_FILEPATH() |
Getter for FILEPATH w/ exceptions if field has no value |
HAS_FILEPATH() |
Determine if FILEPATH has a value |
lineStart¶
The starting line number of the code location.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_LINESTART() |
Getter for LINESTART, with configurable default |
ASK_LINESTART() |
Getter for LINESTART w/ exceptions if field has no value |
HAS_LINESTART() |
Determine if LINESTART has a value |
lineEnd¶
The ending line number of the code location.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_LINEEND() |
Getter for LINEEND, with configurable default |
ASK_LINEEND() |
Getter for LINEEND w/ exceptions if field has no value |
HAS_LINEEND() |
Determine if LINEEND has a value |
label¶
The role of this location in the vulnerability, such as source or sink.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_LABEL() |
Getter for LABEL, with configurable default |
ASK_LABEL() |
Getter for LABEL w/ exceptions if field has no value |
HAS_LABEL() |
Determine if LABEL 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_CODELOCATIONLIST¶
TYPES TT_CODELOCATIONLIST TYPE STANDARD TABLE OF REF TO /AWS1/CL_SAGCODELOCATION WITH DEFAULT KEY
.