Skip to content

/AWS1/CL_GUSFINDING

Information about a finding that was detected in your code.

CONSTRUCTOR

IMPORTING

Optional arguments:

iv_createdat TYPE /AWS1/GUSTIMESTAMP /AWS1/GUSTIMESTAMP

The time when the finding was created.

iv_description TYPE /AWS1/GUSSTRING /AWS1/GUSSTRING

A description of the finding.

iv_generatorid TYPE /AWS1/GUSSTRING /AWS1/GUSSTRING

The identifier for the component that generated a finding such as AmazonCodeGuruSecurity.

iv_id TYPE /AWS1/GUSSTRING /AWS1/GUSSTRING

The identifier for a finding.

iv_updatedat TYPE /AWS1/GUSTIMESTAMP /AWS1/GUSTIMESTAMP

The time when the finding was last updated. Findings are updated when you remediate them or when the finding code location changes.

iv_type TYPE /AWS1/GUSSTRING /AWS1/GUSSTRING

The type of finding.

iv_status TYPE /AWS1/GUSSTATUS /AWS1/GUSSTATUS

The status of the finding. A finding status can be open or closed.

io_resource TYPE REF TO /AWS1/CL_GUSRESOURCE /AWS1/CL_GUSRESOURCE

The resource where Amazon CodeGuru Security detected a finding.

io_vulnerability TYPE REF TO /AWS1/CL_GUSVULNERABILITY /AWS1/CL_GUSVULNERABILITY

An object that describes the detected security vulnerability.

iv_severity TYPE /AWS1/GUSSEVERITY /AWS1/GUSSEVERITY

The severity of the finding. Severity can be critical, high, medium, low, or informational. For information on severity levels, see Finding severity in the Amazon CodeGuru Security User Guide.

io_remediation TYPE REF TO /AWS1/CL_GUSREMEDIATION /AWS1/CL_GUSREMEDIATION

An object that contains the details about how to remediate a finding.

iv_title TYPE /AWS1/GUSSTRING /AWS1/GUSSTRING

The title of the finding.

it_detectortags TYPE /AWS1/CL_GUSDETECTORTAGS_W=>TT_DETECTORTAGS TT_DETECTORTAGS

One or more tags or categorizations that are associated with a detector. These tags are defined by type, programming language, or other classification such as maintainability or consistency.

iv_detectorid TYPE /AWS1/GUSSTRING /AWS1/GUSSTRING

The identifier for the detector that detected the finding in your code. A detector is a defined rule based on industry standards and AWS best practices.

iv_detectorname TYPE /AWS1/GUSSTRING /AWS1/GUSSTRING

The name of the detector that identified the security vulnerability in your code.

iv_ruleid TYPE /AWS1/GUSSTRING /AWS1/GUSSTRING

The identifier for the rule that generated the finding.


Queryable Attributes

createdAt

The time when the finding 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

description

A description of the finding.

Accessible with the following methods

Method Description
GET_DESCRIPTION() Getter for DESCRIPTION, with configurable default
ASK_DESCRIPTION() Getter for DESCRIPTION w/ exceptions if field has no value
HAS_DESCRIPTION() Determine if DESCRIPTION has a value

generatorId

The identifier for the component that generated a finding such as AmazonCodeGuruSecurity.

Accessible with the following methods

Method Description
GET_GENERATORID() Getter for GENERATORID, with configurable default
ASK_GENERATORID() Getter for GENERATORID w/ exceptions if field has no value
HAS_GENERATORID() Determine if GENERATORID has a value

id

The identifier for a finding.

Accessible with the following methods

Method Description
GET_ID() Getter for ID, with configurable default
ASK_ID() Getter for ID w/ exceptions if field has no value
HAS_ID() Determine if ID has a value

updatedAt

The time when the finding was last updated. Findings are updated when you remediate them or when the finding code location changes.

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

type

The type of finding.

Accessible with the following methods

Method Description
GET_TYPE() Getter for TYPE, with configurable default
ASK_TYPE() Getter for TYPE w/ exceptions if field has no value
HAS_TYPE() Determine if TYPE has a value

status

The status of the finding. A finding status can be open or closed.

Accessible with the following methods

Method Description
GET_STATUS() Getter for STATUS, with configurable default
ASK_STATUS() Getter for STATUS w/ exceptions if field has no value
HAS_STATUS() Determine if STATUS has a value

resource

The resource where Amazon CodeGuru Security detected a finding.

Accessible with the following methods

Method Description
GET_RESOURCE() Getter for RESOURCE

vulnerability

An object that describes the detected security vulnerability.

Accessible with the following methods

Method Description
GET_VULNERABILITY() Getter for VULNERABILITY

severity

The severity of the finding. Severity can be critical, high, medium, low, or informational. For information on severity levels, see Finding severity in the Amazon CodeGuru Security User Guide.

Accessible with the following methods

Method Description
GET_SEVERITY() Getter for SEVERITY, with configurable default
ASK_SEVERITY() Getter for SEVERITY w/ exceptions if field has no value
HAS_SEVERITY() Determine if SEVERITY has a value

remediation

An object that contains the details about how to remediate a finding.

Accessible with the following methods

Method Description
GET_REMEDIATION() Getter for REMEDIATION

title

The title of the finding.

Accessible with the following methods

Method Description
GET_TITLE() Getter for TITLE, with configurable default
ASK_TITLE() Getter for TITLE w/ exceptions if field has no value
HAS_TITLE() Determine if TITLE has a value

detectorTags

One or more tags or categorizations that are associated with a detector. These tags are defined by type, programming language, or other classification such as maintainability or consistency.

Accessible with the following methods

Method Description
GET_DETECTORTAGS() Getter for DETECTORTAGS, with configurable default
ASK_DETECTORTAGS() Getter for DETECTORTAGS w/ exceptions if field has no value
HAS_DETECTORTAGS() Determine if DETECTORTAGS has a value

detectorId

The identifier for the detector that detected the finding in your code. A detector is a defined rule based on industry standards and AWS best practices.

Accessible with the following methods

Method Description
GET_DETECTORID() Getter for DETECTORID, with configurable default
ASK_DETECTORID() Getter for DETECTORID w/ exceptions if field has no value
HAS_DETECTORID() Determine if DETECTORID has a value

detectorName

The name of the detector that identified the security vulnerability in your code.

Accessible with the following methods

Method Description
GET_DETECTORNAME() Getter for DETECTORNAME, with configurable default
ASK_DETECTORNAME() Getter for DETECTORNAME w/ exceptions if field has no value
HAS_DETECTORNAME() Determine if DETECTORNAME has a value

ruleId

The identifier for the rule that generated the finding.

Accessible with the following methods

Method Description
GET_RULEID() Getter for RULEID, with configurable default
ASK_RULEID() Getter for RULEID w/ exceptions if field has no value
HAS_RULEID() Determine if RULEID 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_FINDINGS

TYPES TT_FINDINGS TYPE STANDARD TABLE OF REF TO /AWS1/CL_GUSFINDING WITH DEFAULT KEY
.