Skip to content

/AWS1/CL_SAGCODEREMEDTASK

Represents a code remediation task that was initiated to fix a security finding.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_status TYPE /AWS1/SAGCODEREMEDTASKSTATUS /AWS1/SAGCODEREMEDTASKSTATUS

The current status of the code remediation task.

Optional arguments:

iv_statusreason TYPE /AWS1/SAGSTRING /AWS1/SAGSTRING

The reason for the current status of the code remediation task.

it_taskdetails TYPE /AWS1/CL_SAGCODEREMEDTASKDETS=>TT_CODEREMEDTASKDETAILSLIST TT_CODEREMEDTASKDETAILSLIST

The list of details for the code remediation task, including repository name, code diff link, and pull request link.


Queryable Attributes

status

The current status of the code remediation task.

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

statusReason

The reason for the current status of the code remediation task.

Accessible with the following methods

Method Description
GET_STATUSREASON() Getter for STATUSREASON, with configurable default
ASK_STATUSREASON() Getter for STATUSREASON w/ exceptions if field has no value
HAS_STATUSREASON() Determine if STATUSREASON has a value

taskDetails

The list of details for the code remediation task, including repository name, code diff link, and pull request link.

Accessible with the following methods

Method Description
GET_TASKDETAILS() Getter for TASKDETAILS, with configurable default
ASK_TASKDETAILS() Getter for TASKDETAILS w/ exceptions if field has no value
HAS_TASKDETAILS() Determine if TASKDETAILS has a value