/AWS1/CL_SAGTASK¶
Represents a task within a pentest job
CONSTRUCTOR¶
IMPORTING¶
Required arguments:¶
iv_taskid TYPE /AWS1/SAGSTRING /AWS1/SAGSTRING¶
Unique identifier for the task
Optional arguments:¶
iv_pentestid TYPE /AWS1/SAGSTRING /AWS1/SAGSTRING¶
Identifier of the parent pentest
iv_pentestjobid TYPE /AWS1/SAGSTRING /AWS1/SAGSTRING¶
Identifier of the pentest job this task belongs to
iv_agentspaceid TYPE /AWS1/SAGSTRING /AWS1/SAGSTRING¶
Identifier of the agent space this task belongs to
iv_title TYPE /AWS1/SAGSTRING /AWS1/SAGSTRING¶
Title or name of the task
iv_description TYPE /AWS1/SAGSTRING /AWS1/SAGSTRING¶
Detailed description of the task's purpose and scope
it_categories TYPE /AWS1/CL_SAGCATEGORY=>TT_CATEGORYLIST TT_CATEGORYLIST¶
List of categories associated with this task
iv_risktype TYPE /AWS1/SAGRISKTYPE /AWS1/SAGRISKTYPE¶
Type of security risk this task is designed to test
io_targetendpoint TYPE REF TO /AWS1/CL_SAGENDPOINT /AWS1/CL_SAGENDPOINT¶
Target endpoint for this security test
iv_executionstatus TYPE /AWS1/SAGTASKEXECUTIONSTATUS /AWS1/SAGTASKEXECUTIONSTATUS¶
Current status of the task execution
io_logslocation TYPE REF TO /AWS1/CL_SAGLOGLOCATION /AWS1/CL_SAGLOGLOCATION¶
Location of execution logs for auditing and review
iv_createdat TYPE /AWS1/SAGTIMESTAMP /AWS1/SAGTIMESTAMP¶
Timestamp when the task was created
iv_updatedat TYPE /AWS1/SAGTIMESTAMP /AWS1/SAGTIMESTAMP¶
Timestamp when the task was last updated
Queryable Attributes¶
taskId¶
Unique identifier for the task
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_TASKID() |
Getter for TASKID, with configurable default |
ASK_TASKID() |
Getter for TASKID w/ exceptions if field has no value |
HAS_TASKID() |
Determine if TASKID has a value |
pentestId¶
Identifier of the parent 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 |
pentestJobId¶
Identifier of the pentest job this task belongs to
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_PENTESTJOBID() |
Getter for PENTESTJOBID, with configurable default |
ASK_PENTESTJOBID() |
Getter for PENTESTJOBID w/ exceptions if field has no value |
HAS_PENTESTJOBID() |
Determine if PENTESTJOBID has a value |
agentSpaceId¶
Identifier of the agent space this task belongs to
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 task
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 |
description¶
Detailed description of the task's purpose and scope
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 |
categories¶
List of categories associated with this task
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_CATEGORIES() |
Getter for CATEGORIES, with configurable default |
ASK_CATEGORIES() |
Getter for CATEGORIES w/ exceptions if field has no value |
HAS_CATEGORIES() |
Determine if CATEGORIES has a value |
riskType¶
Type of security risk this task is designed to test
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_RISKTYPE() |
Getter for RISKTYPE, with configurable default |
ASK_RISKTYPE() |
Getter for RISKTYPE w/ exceptions if field has no value |
HAS_RISKTYPE() |
Determine if RISKTYPE has a value |
targetEndpoint¶
Target endpoint for this security test
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_TARGETENDPOINT() |
Getter for TARGETENDPOINT |
executionStatus¶
Current status of the task execution
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_EXECUTIONSTATUS() |
Getter for EXECUTIONSTATUS, with configurable default |
ASK_EXECUTIONSTATUS() |
Getter for EXECUTIONSTATUS w/ exceptions if field has no val |
HAS_EXECUTIONSTATUS() |
Determine if EXECUTIONSTATUS has a value |
logsLocation¶
Location of execution logs for auditing and review
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_LOGSLOCATION() |
Getter for LOGSLOCATION |
createdAt¶
Timestamp when the task 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 task 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_TASKLIST¶
TYPES TT_TASKLIST TYPE STANDARD TABLE OF REF TO /AWS1/CL_SAGTASK WITH DEFAULT KEY
.