Skip to content

/AWS1/CL_SAGPENTEST

Represents a pentest configuration that defines the parameters for security testing, including target assets, risk type exclusions, and infrastructure settings.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_pentestid TYPE /AWS1/SAGSTRING /AWS1/SAGSTRING

The unique identifier of the pentest.

iv_agentspaceid TYPE /AWS1/SAGSTRING /AWS1/SAGSTRING

The unique identifier of the agent space that contains the pentest.

iv_title TYPE /AWS1/SAGSTRING /AWS1/SAGSTRING

The title of the pentest.

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

The assets included in the pentest.

Optional arguments:

it_excluderisktypes TYPE /AWS1/CL_SAGRISKTYPELIST_W=>TT_RISKTYPELIST TT_RISKTYPELIST

The list of risk types excluded from the pentest.

iv_servicerole TYPE /AWS1/SAGSERVICEROLE /AWS1/SAGSERVICEROLE

The IAM service role used for the pentest.

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

The CloudWatch Logs configuration for the pentest.

io_vpcconfig TYPE REF TO /AWS1/CL_SAGVPCCONFIG /AWS1/CL_SAGVPCCONFIG

The VPC configuration for the pentest.

io_networktrafficconfig TYPE REF TO /AWS1/CL_SAGNETWORKTRAFCONFIG /AWS1/CL_SAGNETWORKTRAFCONFIG

The network traffic configuration for the pentest.

iv_coderemediationstrategy TYPE /AWS1/SAGCODEREMEDSTRATEGY /AWS1/SAGCODEREMEDSTRATEGY

The code remediation strategy for the pentest.

iv_createdat TYPE /AWS1/SAGTIMESTAMP /AWS1/SAGTIMESTAMP

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

iv_updatedat TYPE /AWS1/SAGTIMESTAMP /AWS1/SAGTIMESTAMP

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


Queryable Attributes

pentestId

The unique identifier of the pentest.

Accessible with the following methods

Method Description
GET_PENTESTID() Getter for PENTESTID, with configurable default
ASK_PENTESTID() Getter for PENTESTID w/ exceptions if field has no value
HAS_PENTESTID() Determine if PENTESTID has a value

agentSpaceId

The unique identifier of the agent space that contains the pentest.

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 pentest.

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 pentest.

Accessible with the following methods

Method Description
GET_ASSETS() Getter for ASSETS

excludeRiskTypes

The list of risk types excluded from the pentest.

Accessible with the following methods

Method Description
GET_EXCLUDERISKTYPES() Getter for EXCLUDERISKTYPES, with configurable default
ASK_EXCLUDERISKTYPES() Getter for EXCLUDERISKTYPES w/ exceptions if field has no va
HAS_EXCLUDERISKTYPES() Determine if EXCLUDERISKTYPES has a value

serviceRole

The IAM service role used for the pentest.

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 pentest.

Accessible with the following methods

Method Description
GET_LOGCONFIG() Getter for LOGCONFIG

vpcConfig

The VPC configuration for the pentest.

Accessible with the following methods

Method Description
GET_VPCCONFIG() Getter for VPCCONFIG

networkTrafficConfig

The network traffic configuration for the pentest.

Accessible with the following methods

Method Description
GET_NETWORKTRAFFICCONFIG() Getter for NETWORKTRAFFICCONFIG

codeRemediationStrategy

The code remediation strategy for the pentest.

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 pentest 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 pentest 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_PENTESTLIST

TYPES TT_PENTESTLIST TYPE STANDARD TABLE OF REF TO /AWS1/CL_SAGPENTEST WITH DEFAULT KEY
.