Skip to content

/AWS1/CL_SAGPENTEST

Represents a pentest configuration and execution details

CONSTRUCTOR

IMPORTING

Required arguments:

iv_pentestid TYPE /AWS1/SAGSTRING /AWS1/SAGSTRING

Unique identifier for the pentest

iv_agentspaceid TYPE /AWS1/SAGSTRING /AWS1/SAGSTRING

ID of the agent space where the pentest exists

iv_title TYPE /AWS1/SAGSTRING /AWS1/SAGSTRING

Title or name of the pentest

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

Collection of assets to be tested or used during the pentest

Optional arguments:

it_excluderisktypes TYPE /AWS1/CL_SAGRISKTYPELIST_W=>TT_RISKTYPELIST TT_RISKTYPELIST

A list of risk types excluded from the pentest execution

iv_servicerole TYPE /AWS1/SAGSERVICEROLE /AWS1/SAGSERVICEROLE

Service role ARN for accessing customer resources

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

CloudWatch log group and stream prefix where pentest execution logs are stored

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

VPC configuration that the Security Agent accesses

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

Configuration for network traffic filtering

iv_coderemediationstrategy TYPE /AWS1/SAGCODEREMEDSTRATEGY /AWS1/SAGCODEREMEDSTRATEGY

Strategy for code remediation on findings

iv_createdat TYPE /AWS1/SAGTIMESTAMP /AWS1/SAGTIMESTAMP

Timestamp when the pentest was created

iv_updatedat TYPE /AWS1/SAGTIMESTAMP /AWS1/SAGTIMESTAMP

Timestamp when the pentest was last updated


Queryable Attributes

pentestId

Unique identifier for 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

ID of the agent space where the pentest exists

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

Title or name 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

Collection of assets to be tested or used during the pentest

Accessible with the following methods

Method Description
GET_ASSETS() Getter for ASSETS

excludeRiskTypes

A list of risk types excluded from the pentest execution

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

Service role ARN for accessing customer resources

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

CloudWatch log group and stream prefix where pentest execution logs are stored

Accessible with the following methods

Method Description
GET_LOGCONFIG() Getter for LOGCONFIG

vpcConfig

VPC configuration that the Security Agent accesses

Accessible with the following methods

Method Description
GET_VPCCONFIG() Getter for VPCCONFIG

networkTrafficConfig

Configuration for network traffic filtering

Accessible with the following methods

Method Description
GET_NETWORKTRAFFICCONFIG() Getter for NETWORKTRAFFICCONFIG

codeRemediationStrategy

Strategy for code remediation on findings

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

Timestamp when the pentest 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

updatedAt

Timestamp when the pentest was last updated

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
.