list_pentest_job_tasks
¶
list_pentest_job_tasks(
agent_space_id: str,
*,
config_overrides: Optional[SecurityAgentClientConfig] = None,
max_results: Optional[MaxResults] = None,
pentest_job_id: Optional[str] = None,
step_name: Optional[StepName] = None,
category_name: Optional[str] = None,
next_token: Optional[NextToken] = None,
) -> ListPentestJobTasksOutput
Returns a paginated list of task summaries for the specified pentest job, optionally filtered by step name or category.
Parameters:
-
agent_space_id(str) –The unique identifier of the agent space.
-
max_results(Optional[MaxResults], default:None) –The maximum number of results to return in a single call.
-
pentest_job_id(Optional[str], default:None) –The unique identifier of the pentest job to list tasks for.
-
step_name(Optional[StepName], default:None) –Filter tasks by step name. Valid values include PREFLIGHT, STATIC_ANALYSIS, PENTEST, VALIDATION, and FINALIZING.
-
category_name(Optional[str], default:None) –Filter tasks by category name.
-
next_token(Optional[NextToken], default:None) –A token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request. For subsequent calls, use the nextToken value returned from the previous request.
Raises:
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_securityagent/_services/security_agent.py
3384 3385 3386 3387 3388 3389 3390 3391 3392 3393 3394 3395 3396 3397 3398 3399 3400 3401 3402 3403 3404 3405 3406 3407 3408 3409 3410 3411 3412 3413 3414 3415 3416 3417 3418 3419 3420 3421 3422 3423 3424 3425 3426 3427 3428 3429 3430 3431 3432 3433 3434 3435 3436 3437 3438 3439 3440 3441 3442 3443 3444 3445 3446 | |