Skip to content

ResumePentestJobInput

Source code in docs_src/capo_securityagent/types/resume_pentest_job_input.py
class ResumePentestJobInput(TypedDict, closed=True):
    agent_space_id: NotRequired["str"]
    """<p>The unique identifier of the agent space.</p>"""
    pentest_job_id: NotRequired["str"]
    """<p>The unique identifier of the pentest job to resume.</p>"""
    actors: NotRequired["capo_securityagent.types.actor_list.ActorList"]
    """<p>The actors to use for the resumed job. When specified, replaces the actors the job used before it stopped.</p>"""
    network_traffic_config: NotRequired[
        "capo_securityagent.types.network_traffic_config.NetworkTrafficConfig"
    ]
    """<p>The network traffic configuration to use for the resumed job. When specified, replaces the configuration the job used before it stopped.</p>"""
    vpc_config: NotRequired["capo_securityagent.types.vpc_config.VpcConfig"]
    """<p>The VPC configuration to use for the resumed job. When specified, replaces the configuration the job used before it stopped.</p>"""
    max_task_hours: NotRequired["float"]
    """<p>The maximum number of task hours for the resumed job. To resume a job that stopped because it reached its task hours limit, specify a higher value.</p>"""
    copy_config_from_pentest: NotRequired["bool"]
    """<p>Specifies whether to copy the current actors, network traffic configuration, VPC configuration, and maximum task hours from the pentest to the resumed job. The job's scope, such as its target endpoints, is never changed. Values you specify in this request take precedence over copied values.</p>"""

actors instance-attribute

actors: NotRequired[ActorList]

The actors to use for the resumed job. When specified, replaces the actors the job used before it stopped.

agent_space_id instance-attribute

agent_space_id: NotRequired[str]

The unique identifier of the agent space.

copy_config_from_pentest instance-attribute

copy_config_from_pentest: NotRequired[bool]

Specifies whether to copy the current actors, network traffic configuration, VPC configuration, and maximum task hours from the pentest to the resumed job. The job's scope, such as its target endpoints, is never changed. Values you specify in this request take precedence over copied values.

max_task_hours instance-attribute

max_task_hours: NotRequired[float]

The maximum number of task hours for the resumed job. To resume a job that stopped because it reached its task hours limit, specify a higher value.

network_traffic_config instance-attribute

network_traffic_config: NotRequired[NetworkTrafficConfig]

The network traffic configuration to use for the resumed job. When specified, replaces the configuration the job used before it stopped.

pentest_job_id instance-attribute

pentest_job_id: NotRequired[str]

The unique identifier of the pentest job to resume.

vpc_config instance-attribute

vpc_config: NotRequired[VpcConfig]

The VPC configuration to use for the resumed job. When specified, replaces the configuration the job used before it stopped.