list_discovered_endpoints
async
¶
list_discovered_endpoints(
pentest_job_id: str,
agent_space_id: str,
*,
config_overrides: Optional[AsyncSecurityAgentClientConfig] = None,
max_results: Optional[MaxResults] = None,
prefix: Optional[str] = None,
next_token: Optional[NextToken] = None,
) -> ListDiscoveredEndpointsOutput
Returns a paginated list of endpoints discovered during a pentest job execution.
Parameters:
-
max_results(Optional[MaxResults], default:None) –The maximum number of results to return in a single call.
-
pentest_job_id(str) –The unique identifier of the pentest job to list discovered endpoints for.
-
agent_space_id(str) –The unique identifier of the agent space.
-
prefix(Optional[str], default:None) –A prefix to filter discovered endpoints by URI.
-
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.