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
3363 3364 3365 3366 3367 3368 3369 3370 3371 3372 3373 3374 3375 3376 3377 3378 3379 3380 3381 3382 3383 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 | |