Module Values.TaskSource

Represents an individual security test task within a pentest job. Each task targets a specific risk type or endpoint and executes independently.

Sourcetype nonrec t = {
  1. taskId : String_.t option;
    (*

    The unique identifier of the task.

    *)
  2. pentestId : String_.t option;
    (*

    The unique identifier of the pentest associated with the task.

    *)
  3. pentestJobId : String_.t option;
    (*

    The unique identifier of the pentest job that contains the task.

    *)
  4. agentSpaceId : String_.t option;
    (*

    The unique identifier of the agent space.

    *)
  5. title : String_.t option;
    (*

    The title of the task.

    *)
  6. description : String_.t option;
    (*

    A description of the task.

    *)
  7. categories : CategoryList.t option;
    (*

    The list of categories assigned to the task.

    *)
  8. riskType : RiskType.t option;
    (*

    The type of security risk the task is testing for.

    *)
  9. targetEndpoint : Endpoint.t option;
    (*

    The target endpoint being tested by the task.

    *)
  10. executionStatus : TaskExecutionStatus.t option;
    (*

    The current execution status of the task.

    *)
  11. logsLocation : LogLocation.t option;
    (*

    The location of the task execution logs.

    *)
  12. createdAt : SyntheticTimestamp_date_time.t option;
    (*

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

    *)
  13. updatedAt : SyntheticTimestamp_date_time.t option;
    (*

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

    *)
}
Sourceval make : ?taskId:??? -> ?pentestId:??? -> ?pentestJobId:??? -> ?agentSpaceId:??? -> ?title:??? -> ?description:??? -> ?categories:??? -> ?riskType:??? -> ?targetEndpoint:??? -> ?executionStatus:??? -> ?logsLocation:??? -> ?createdAt:??? -> ?updatedAt:??? -> unit -> t
Sourceval 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 ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t