Skip to content

/AWS1/CL_GUSFILEPATH

Information about the location of security vulnerabilities that Amazon CodeGuru Security detected in your code.

CONSTRUCTOR

IMPORTING

Optional arguments:

iv_name TYPE /AWS1/GUSSTRING /AWS1/GUSSTRING

The name of the file.

iv_path TYPE /AWS1/GUSSTRING /AWS1/GUSSTRING

The path to the resource with the security vulnerability.

iv_startline TYPE /AWS1/GUSINTEGER /AWS1/GUSINTEGER

The first line number of the code snippet where the security vulnerability appears in your code.

iv_endline TYPE /AWS1/GUSINTEGER /AWS1/GUSINTEGER

The last line number of the code snippet where the security vulnerability appears in your code.

it_codesnippet TYPE /AWS1/CL_GUSCODELINE=>TT_CODESNIPPET TT_CODESNIPPET

A list of CodeLine objects that describe where the security vulnerability appears in your code.


Queryable Attributes

name

The name of the file.

Accessible with the following methods

Method Description
GET_NAME() Getter for NAME, with configurable default
ASK_NAME() Getter for NAME w/ exceptions if field has no value
HAS_NAME() Determine if NAME has a value

path

The path to the resource with the security vulnerability.

Accessible with the following methods

Method Description
GET_PATH() Getter for PATH, with configurable default
ASK_PATH() Getter for PATH w/ exceptions if field has no value
HAS_PATH() Determine if PATH has a value

startLine

The first line number of the code snippet where the security vulnerability appears in your code.

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 last line number of the code snippet where the security vulnerability appears in your code.

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

A list of CodeLine objects that describe where the security vulnerability appears in your code.

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