Values.TaskSourceRepresents an individual security test task within a pentest job. Each task targets a specific risk type or endpoint and executes independently.
type nonrec t = {taskId : String_.t option;The unique identifier of the task.
*)pentestId : String_.t option;The unique identifier of the pentest associated with the task.
*)pentestJobId : String_.t option;The unique identifier of the pentest job that contains the task.
*)agentSpaceId : String_.t option;The unique identifier of the agent space.
*)title : String_.t option;The title of the task.
*)description : String_.t option;A description of the task.
*)categories : CategoryList.t option;The list of categories assigned to the task.
*)riskType : RiskType.t option;The type of security risk the task is testing for.
*)targetEndpoint : Endpoint.t option;The target endpoint being tested by the task.
*)executionStatus : TaskExecutionStatus.t option;The current execution status of the task.
*)logsLocation : LogLocation.t option;The location of the task execution logs.
*)createdAt : SyntheticTimestamp_date_time.t option;The date and time the task was created, in UTC format.
*)updatedAt : SyntheticTimestamp_date_time.t option;The date and time the task was last updated, in UTC format.
*)}val make :
?taskId:String_.t ->
?pentestId:String_.t ->
?pentestJobId:String_.t ->
?agentSpaceId:String_.t ->
?title:String_.t ->
?description:String_.t ->
?categories:CategoryList.t ->
?riskType:RiskType.t ->
?targetEndpoint:Endpoint.t ->
?executionStatus:TaskExecutionStatus.t ->
?logsLocation:LogLocation.t ->
?createdAt:SyntheticTimestamp_date_time.t ->
?updatedAt:SyntheticTimestamp_date_time.t ->
unit ->
tval to_value :
t ->
[> `Structure of
(string
* [> `Enum of string
| `List of
[> `Structure of
(string * [> `Boolean of Boolean.t | `String of String_.t ])
list ]
list
| `String of String_.t
| `Structure of
(string
* [> `Enum of string
| `String of String_.t
| `Structure of (string * [> `String of String_.t ]) list ])
list
| `Timestamp of SyntheticTimestamp_date_time.t ])
list ]