Skip to content

/AWS1/CL_SAGCODEREVIEW

Represents a code review configuration that defines the parameters for automated security-focused code analysis, including target assets and logging configuration.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_codereviewid TYPE /AWS1/SAGSTRING /AWS1/SAGSTRING

The unique identifier of the code review.

iv_agentspaceid TYPE /AWS1/SAGSTRING /AWS1/SAGSTRING

The unique identifier of the agent space that contains the code review.

iv_title TYPE /AWS1/SAGSTRING /AWS1/SAGSTRING

The title of the code review.

io_assets TYPE REF TO /AWS1/CL_SAGASSETS /AWS1/CL_SAGASSETS

The assets included in the code review.

Optional arguments:

iv_servicerole TYPE /AWS1/SAGSERVICEROLE /AWS1/SAGSERVICEROLE

The IAM service role used for the code review.

io_logconfig TYPE REF TO /AWS1/CL_SAGCLOUDWATCHLOG /AWS1/CL_SAGCLOUDWATCHLOG

The CloudWatch Logs configuration for the code review.

iv_coderemediationstrategy TYPE /AWS1/SAGCODEREMEDSTRATEGY /AWS1/SAGCODEREMEDSTRATEGY

The code remediation strategy for the code review.

iv_createdat TYPE /AWS1/SAGTIMESTAMP /AWS1/SAGTIMESTAMP

The date and time the code review was created, in UTC format.

iv_updatedat TYPE /AWS1/SAGTIMESTAMP /AWS1/SAGTIMESTAMP

The date and time the code review was last updated, in UTC format.


Queryable Attributes

codeReviewId

The unique identifier of the code review.

Accessible with the following methods

Method Description
GET_CODEREVIEWID() Getter for CODEREVIEWID, with configurable default
ASK_CODEREVIEWID() Getter for CODEREVIEWID w/ exceptions if field has no value
HAS_CODEREVIEWID() Determine if CODEREVIEWID has a value

agentSpaceId

The unique identifier of the agent space that contains the code review.

Accessible with the following methods

Method Description
GET_AGENTSPACEID() Getter for AGENTSPACEID, with configurable default
ASK_AGENTSPACEID() Getter for AGENTSPACEID w/ exceptions if field has no value
HAS_AGENTSPACEID() Determine if AGENTSPACEID has a value

title

The title of the code review.

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

assets

The assets included in the code review.

Accessible with the following methods

Method Description
GET_ASSETS() Getter for ASSETS

serviceRole

The IAM service role used for the code review.

Accessible with the following methods

Method Description
GET_SERVICEROLE() Getter for SERVICEROLE, with configurable default
ASK_SERVICEROLE() Getter for SERVICEROLE w/ exceptions if field has no value
HAS_SERVICEROLE() Determine if SERVICEROLE has a value

logConfig

The CloudWatch Logs configuration for the code review.

Accessible with the following methods

Method Description
GET_LOGCONFIG() Getter for LOGCONFIG

codeRemediationStrategy

The code remediation strategy for the code review.

Accessible with the following methods

Method Description
GET_CODEREMEDIATIONSTRATEGY() Getter for CODEREMEDIATIONSTRATEGY, with configurable defaul
ASK_CODEREMEDIATIONSTRATEGY() Getter for CODEREMEDIATIONSTRATEGY w/ exceptions if field ha
HAS_CODEREMEDIATIONSTRATEGY() Determine if CODEREMEDIATIONSTRATEGY has a value

createdAt

The date and time the code review was created, in UTC format.

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

updatedAt

The date and time the code review was last updated, in UTC format.

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

Public Local Types In This Class

Internal table types, representing arrays and maps of this class, are defined as local types:

TT_CODEREVIEWLIST

TYPES TT_CODEREVIEWLIST TYPE STANDARD TABLE OF REF TO /AWS1/CL_SAGCODEREVIEW WITH DEFAULT KEY
.