Skip to content

StopPentestJobInput

Source code in docs_src/capo_securityagent/types/stop_pentest_job_input.py
class StopPentestJobInput(TypedDict, closed=True):
    agent_space_id: "str"
    """<p>The unique identifier of the agent space.</p>"""
    pentest_job_id: "str"
    """<p>The unique identifier of the pentest job to stop.</p>"""
    pause: NotRequired["bool"]
    """<p>Specifies whether to pause the job instead of stopping it. A paused job moves to <code>PAUSING</code> and then to <code>PAUSED</code>, and you can resume it later with <code>ResumePentestJob</code>. You can pause only a job that is <code>IN_PROGRESS</code>. The default is false.</p>"""

agent_space_id instance-attribute

agent_space_id: str

The unique identifier of the agent space.

pause instance-attribute

pause: NotRequired[bool]

Specifies whether to pause the job instead of stopping it. A paused job moves to PAUSING and then to PAUSED, and you can resume it later with ResumePentestJob. You can pause only a job that is IN_PROGRESS. The default is false.

pentest_job_id instance-attribute

pentest_job_id: str

The unique identifier of the pentest job to stop.