SecurityAgentClient#
Index > SecurityAgent > SecurityAgentClient
Auto-generated documentation for SecurityAgent type annotations stubs module types-boto3-securityagent.
SecurityAgentClient#
Type annotations and code completion for boto3.client("securityagent").
boto3 documentation
# SecurityAgentClient usage example
from boto3.session import Session
from types_boto3_securityagent.client import SecurityAgentClient
def get_securityagent_client() -> SecurityAgentClient:
return Session().client("securityagent")
Exceptions#
boto3 client exceptions are generated in runtime.
This class provides code completion for boto3.client("securityagent").exceptions structure.
# Exceptions.exceptions usage example
client = boto3.client("securityagent")
try:
do_something(client)
except (
client.exceptions.AccessDeniedException,
client.exceptions.ClientError,
client.exceptions.ConflictException,
client.exceptions.InternalServerException,
client.exceptions.ResourceNotFoundException,
client.exceptions.ThrottlingException,
client.exceptions.ValidationException,
) as e:
print(e)
# Exceptions.exceptions type checking example
from types_boto3_securityagent.client import Exceptions
def handle_error(exc: Exceptions.AccessDeniedException) -> None:
...
Methods#
can_paginate#
Type annotations and code completion for boto3.client("securityagent").can_paginate method.
boto3 documentation
# can_paginate method definition
def can_paginate(
self,
operation_name: str,
) -> bool:
...
generate_presigned_url#
Type annotations and code completion for boto3.client("securityagent").generate_presigned_url method.
boto3 documentation
# generate_presigned_url method definition
def generate_presigned_url(
self,
ClientMethod: str,
Params: Mapping[str, Any] = ...,
ExpiresIn: int = 3600,
HttpMethod: str = ...,
) -> str:
...
add_artifact#
Adds an Artifact for the given agent space.
Type annotations and code completion for boto3.client("securityagent").add_artifact method.
boto3 documentation
# add_artifact method definition
def add_artifact(
self,
*,
agentSpaceId: str,
artifactContent: BlobTypeDef,
artifactType: ArtifactTypeType, # (1)
fileName: str,
) -> AddArtifactOutputTypeDef: # (2)
...
# add_artifact method usage example with argument unpacking
kwargs: AddArtifactInputTypeDef = { # (1)
"agentSpaceId": ...,
"artifactContent": ...,
"artifactType": ...,
"fileName": ...,
}
parent.add_artifact(**kwargs)
batch_delete_pentests#
Deletes multiple pentests in a single request.
Type annotations and code completion for boto3.client("securityagent").batch_delete_pentests method.
boto3 documentation
# batch_delete_pentests method definition
def batch_delete_pentests(
self,
*,
pentestIds: Sequence[str],
agentSpaceId: str,
) -> BatchDeletePentestsOutputTypeDef: # (1)
...
# batch_delete_pentests method usage example with argument unpacking
kwargs: BatchDeletePentestsInputTypeDef = { # (1)
"pentestIds": ...,
"agentSpaceId": ...,
}
parent.batch_delete_pentests(**kwargs)
batch_get_agent_spaces#
Retrieves multiple agent spaces in a single request.
Type annotations and code completion for boto3.client("securityagent").batch_get_agent_spaces method.
boto3 documentation
# batch_get_agent_spaces method definition
def batch_get_agent_spaces(
self,
*,
agentSpaceIds: Sequence[str],
) -> BatchGetAgentSpacesOutputTypeDef: # (1)
...
# batch_get_agent_spaces method usage example with argument unpacking
kwargs: BatchGetAgentSpacesInputTypeDef = { # (1)
"agentSpaceIds": ...,
}
parent.batch_get_agent_spaces(**kwargs)
batch_get_artifact_metadata#
Retrieve the list of artifact metadata for the given agent space.
Type annotations and code completion for boto3.client("securityagent").batch_get_artifact_metadata method.
boto3 documentation
# batch_get_artifact_metadata method definition
def batch_get_artifact_metadata(
self,
*,
agentSpaceId: str,
artifactIds: Sequence[str],
) -> BatchGetArtifactMetadataOutputTypeDef: # (1)
...
# batch_get_artifact_metadata method usage example with argument unpacking
kwargs: BatchGetArtifactMetadataInputTypeDef = { # (1)
"agentSpaceId": ...,
"artifactIds": ...,
}
parent.batch_get_artifact_metadata(**kwargs)
batch_get_findings#
Retrieves multiple findings in a single request.
Type annotations and code completion for boto3.client("securityagent").batch_get_findings method.
boto3 documentation
# batch_get_findings method definition
def batch_get_findings(
self,
*,
findingIds: Sequence[str],
agentSpaceId: str,
) -> BatchGetFindingsOutputTypeDef: # (1)
...
# batch_get_findings method usage example with argument unpacking
kwargs: BatchGetFindingsInputTypeDef = { # (1)
"findingIds": ...,
"agentSpaceId": ...,
}
parent.batch_get_findings(**kwargs)
batch_get_pentest_job_tasks#
Retrieves multiple tasks for a pentest job in a single request.
Type annotations and code completion for boto3.client("securityagent").batch_get_pentest_job_tasks method.
boto3 documentation
# batch_get_pentest_job_tasks method definition
def batch_get_pentest_job_tasks(
self,
*,
agentSpaceId: str,
taskIds: Sequence[str],
) -> BatchGetPentestJobTasksOutputTypeDef: # (1)
...
# batch_get_pentest_job_tasks method usage example with argument unpacking
kwargs: BatchGetPentestJobTasksInputTypeDef = { # (1)
"agentSpaceId": ...,
"taskIds": ...,
}
parent.batch_get_pentest_job_tasks(**kwargs)
batch_get_pentest_jobs#
Retrieves multiple pentest jobs in a single request.
Type annotations and code completion for boto3.client("securityagent").batch_get_pentest_jobs method.
boto3 documentation
# batch_get_pentest_jobs method definition
def batch_get_pentest_jobs(
self,
*,
pentestJobIds: Sequence[str],
agentSpaceId: str,
) -> BatchGetPentestJobsOutputTypeDef: # (1)
...
# batch_get_pentest_jobs method usage example with argument unpacking
kwargs: BatchGetPentestJobsInputTypeDef = { # (1)
"pentestJobIds": ...,
"agentSpaceId": ...,
}
parent.batch_get_pentest_jobs(**kwargs)
batch_get_pentests#
Retrieves multiple pentests in a single request.
Type annotations and code completion for boto3.client("securityagent").batch_get_pentests method.
boto3 documentation
# batch_get_pentests method definition
def batch_get_pentests(
self,
*,
pentestIds: Sequence[str],
agentSpaceId: str,
) -> BatchGetPentestsOutputTypeDef: # (1)
...
# batch_get_pentests method usage example with argument unpacking
kwargs: BatchGetPentestsInputTypeDef = { # (1)
"pentestIds": ...,
"agentSpaceId": ...,
}
parent.batch_get_pentests(**kwargs)
batch_get_target_domains#
Retrieves multiple target domains in a single request.
Type annotations and code completion for boto3.client("securityagent").batch_get_target_domains method.
boto3 documentation
# batch_get_target_domains method definition
def batch_get_target_domains(
self,
*,
targetDomainIds: Sequence[str],
) -> BatchGetTargetDomainsOutputTypeDef: # (1)
...
# batch_get_target_domains method usage example with argument unpacking
kwargs: BatchGetTargetDomainsInputTypeDef = { # (1)
"targetDomainIds": ...,
}
parent.batch_get_target_domains(**kwargs)
create_agent_space#
Creates an agent space record.
Type annotations and code completion for boto3.client("securityagent").create_agent_space method.
boto3 documentation
# create_agent_space method definition
def create_agent_space(
self,
*,
name: str,
description: str = ...,
awsResources: AWSResourcesUnionTypeDef = ..., # (1)
targetDomainIds: Sequence[str] = ...,
codeReviewSettings: CodeReviewSettingsTypeDef = ..., # (2)
kmsKeyId: str = ...,
tags: Mapping[str, str] = ...,
) -> CreateAgentSpaceOutputTypeDef: # (3)
...
# create_agent_space method usage example with argument unpacking
kwargs: CreateAgentSpaceInputTypeDef = { # (1)
"name": ...,
}
parent.create_agent_space(**kwargs)
create_application#
Creates a new application.
Type annotations and code completion for boto3.client("securityagent").create_application method.
boto3 documentation
# create_application method definition
def create_application(
self,
*,
idcInstanceArn: str = ...,
roleArn: str = ...,
defaultKmsKeyId: str = ...,
tags: Mapping[str, str] = ...,
) -> CreateApplicationResponseTypeDef: # (1)
...
# create_application method usage example with argument unpacking
kwargs: CreateApplicationRequestTypeDef = { # (1)
"idcInstanceArn": ...,
}
parent.create_application(**kwargs)
create_integration#
Creates the Integration of the Security Agent App with an external Provider.
Type annotations and code completion for boto3.client("securityagent").create_integration method.
boto3 documentation
# create_integration method definition
def create_integration(
self,
*,
provider: ProviderType, # (1)
input: ProviderInputTypeDef, # (2)
integrationDisplayName: str,
kmsKeyId: str = ...,
tags: Mapping[str, str] = ...,
) -> CreateIntegrationOutputTypeDef: # (3)
...
# create_integration method usage example with argument unpacking
kwargs: CreateIntegrationInputTypeDef = { # (1)
"provider": ...,
"input": ...,
"integrationDisplayName": ...,
}
parent.create_integration(**kwargs)
create_membership#
Adds a single member to an agent space with specified role.
Type annotations and code completion for boto3.client("securityagent").create_membership method.
boto3 documentation
# create_membership method definition
def create_membership(
self,
*,
applicationId: str,
agentSpaceId: str,
membershipId: str,
memberType: MembershipTypeType, # (1)
config: MembershipConfigTypeDef = ..., # (2)
) -> dict[str, Any]:
...
# create_membership method usage example with argument unpacking
kwargs: CreateMembershipRequestTypeDef = { # (1)
"applicationId": ...,
"agentSpaceId": ...,
"membershipId": ...,
"memberType": ...,
}
parent.create_membership(**kwargs)
create_pentest#
Creates a new pentest configuration.
Type annotations and code completion for boto3.client("securityagent").create_pentest method.
boto3 documentation
# create_pentest method definition
def create_pentest(
self,
*,
title: str,
agentSpaceId: str,
assets: AssetsUnionTypeDef = ..., # (1)
excludeRiskTypes: Sequence[RiskTypeType] = ..., # (2)
serviceRole: str = ...,
logConfig: CloudWatchLogTypeDef = ..., # (3)
vpcConfig: VpcConfigUnionTypeDef = ..., # (4)
networkTrafficConfig: NetworkTrafficConfigUnionTypeDef = ..., # (5)
codeRemediationStrategy: CodeRemediationStrategyType = ..., # (6)
) -> CreatePentestOutputTypeDef: # (7)
...
- See AssetsUnionTypeDef
- See
Sequence[RiskTypeType] - See CloudWatchLogTypeDef
- See VpcConfigUnionTypeDef
- See NetworkTrafficConfigUnionTypeDef
- See CodeRemediationStrategyType
- See CreatePentestOutputTypeDef
# create_pentest method usage example with argument unpacking
kwargs: CreatePentestInputTypeDef = { # (1)
"title": ...,
"agentSpaceId": ...,
}
parent.create_pentest(**kwargs)
create_target_domain#
Creates a target domain record.
Type annotations and code completion for boto3.client("securityagent").create_target_domain method.
boto3 documentation
# create_target_domain method definition
def create_target_domain(
self,
*,
targetDomainName: str,
verificationMethod: DomainVerificationMethodType, # (1)
tags: Mapping[str, str] = ...,
) -> CreateTargetDomainOutputTypeDef: # (2)
...
# create_target_domain method usage example with argument unpacking
kwargs: CreateTargetDomainInputTypeDef = { # (1)
"targetDomainName": ...,
"verificationMethod": ...,
}
parent.create_target_domain(**kwargs)
delete_agent_space#
Deletes an agent space record.
Type annotations and code completion for boto3.client("securityagent").delete_agent_space method.
boto3 documentation
# delete_agent_space method definition
def delete_agent_space(
self,
*,
agentSpaceId: str,
) -> DeleteAgentSpaceOutputTypeDef: # (1)
...
# delete_agent_space method usage example with argument unpacking
kwargs: DeleteAgentSpaceInputTypeDef = { # (1)
"agentSpaceId": ...,
}
parent.delete_agent_space(**kwargs)
delete_application#
Deletes an application.
Type annotations and code completion for boto3.client("securityagent").delete_application method.
boto3 documentation
# delete_application method definition
def delete_application(
self,
*,
applicationId: str,
) -> EmptyResponseMetadataTypeDef: # (1)
...
# delete_application method usage example with argument unpacking
kwargs: DeleteApplicationRequestTypeDef = { # (1)
"applicationId": ...,
}
parent.delete_application(**kwargs)
delete_artifact#
Delete an Artifact from the given agent space.
Type annotations and code completion for boto3.client("securityagent").delete_artifact method.
boto3 documentation
# delete_artifact method definition
def delete_artifact(
self,
*,
agentSpaceId: str,
artifactId: str,
) -> dict[str, Any]:
...
# delete_artifact method usage example with argument unpacking
kwargs: DeleteArtifactInputTypeDef = { # (1)
"agentSpaceId": ...,
"artifactId": ...,
}
parent.delete_artifact(**kwargs)
delete_integration#
Deletes the Integration of the Security Agent App with an external Provider.
Type annotations and code completion for boto3.client("securityagent").delete_integration method.
boto3 documentation
# delete_integration method definition
def delete_integration(
self,
*,
integrationId: str,
) -> dict[str, Any]:
...
# delete_integration method usage example with argument unpacking
kwargs: DeleteIntegrationInputTypeDef = { # (1)
"integrationId": ...,
}
parent.delete_integration(**kwargs)
delete_membership#
Removes a single member associated to an agent space.
Type annotations and code completion for boto3.client("securityagent").delete_membership method.
boto3 documentation
# delete_membership method definition
def delete_membership(
self,
*,
applicationId: str,
agentSpaceId: str,
membershipId: str,
memberType: MembershipTypeType = ..., # (1)
) -> dict[str, Any]:
...
# delete_membership method usage example with argument unpacking
kwargs: DeleteMembershipRequestTypeDef = { # (1)
"applicationId": ...,
"agentSpaceId": ...,
"membershipId": ...,
}
parent.delete_membership(**kwargs)
delete_target_domain#
Deletes a target domain record.
Type annotations and code completion for boto3.client("securityagent").delete_target_domain method.
boto3 documentation
# delete_target_domain method definition
def delete_target_domain(
self,
*,
targetDomainId: str,
) -> DeleteTargetDomainOutputTypeDef: # (1)
...
# delete_target_domain method usage example with argument unpacking
kwargs: DeleteTargetDomainInputTypeDef = { # (1)
"targetDomainId": ...,
}
parent.delete_target_domain(**kwargs)
get_application#
Retrieves application details by application ID.
Type annotations and code completion for boto3.client("securityagent").get_application method.
boto3 documentation
# get_application method definition
def get_application(
self,
*,
applicationId: str,
) -> GetApplicationResponseTypeDef: # (1)
...
# get_application method usage example with argument unpacking
kwargs: GetApplicationRequestTypeDef = { # (1)
"applicationId": ...,
}
parent.get_application(**kwargs)
get_artifact#
Retrieve an Artifact for the given agent space.
Type annotations and code completion for boto3.client("securityagent").get_artifact method.
boto3 documentation
# get_artifact method definition
def get_artifact(
self,
*,
agentSpaceId: str,
artifactId: str,
) -> GetArtifactOutputTypeDef: # (1)
...
# get_artifact method usage example with argument unpacking
kwargs: GetArtifactInputTypeDef = { # (1)
"agentSpaceId": ...,
"artifactId": ...,
}
parent.get_artifact(**kwargs)
get_integration#
Gets Integration metadata from the provided id.
Type annotations and code completion for boto3.client("securityagent").get_integration method.
boto3 documentation
# get_integration method definition
def get_integration(
self,
*,
integrationId: str,
) -> GetIntegrationOutputTypeDef: # (1)
...
# get_integration method usage example with argument unpacking
kwargs: GetIntegrationInputTypeDef = { # (1)
"integrationId": ...,
}
parent.get_integration(**kwargs)
initiate_provider_registration#
Initiates the registration of Security Agent App for an external Provider.
Type annotations and code completion for boto3.client("securityagent").initiate_provider_registration method.
boto3 documentation
# initiate_provider_registration method definition
def initiate_provider_registration(
self,
*,
provider: ProviderType, # (1)
) -> InitiateProviderRegistrationOutputTypeDef: # (2)
...
# initiate_provider_registration method usage example with argument unpacking
kwargs: InitiateProviderRegistrationInputTypeDef = { # (1)
"provider": ...,
}
parent.initiate_provider_registration(**kwargs)
list_agent_spaces#
Lists agent spaces.
Type annotations and code completion for boto3.client("securityagent").list_agent_spaces method.
boto3 documentation
# list_agent_spaces method definition
def list_agent_spaces(
self,
*,
nextToken: str = ...,
maxResults: int = ...,
) -> ListAgentSpacesOutputTypeDef: # (1)
...
# list_agent_spaces method usage example with argument unpacking
kwargs: ListAgentSpacesInputTypeDef = { # (1)
"nextToken": ...,
}
parent.list_agent_spaces(**kwargs)
list_applications#
Lists all applications in the account.
Type annotations and code completion for boto3.client("securityagent").list_applications method.
boto3 documentation
# list_applications method definition
def list_applications(
self,
*,
nextToken: str = ...,
maxResults: int = ...,
) -> ListApplicationsResponseTypeDef: # (1)
...
# list_applications method usage example with argument unpacking
kwargs: ListApplicationsRequestTypeDef = { # (1)
"nextToken": ...,
}
parent.list_applications(**kwargs)
list_artifacts#
Lists the artifacts for the associated agent space.
Type annotations and code completion for boto3.client("securityagent").list_artifacts method.
boto3 documentation
# list_artifacts method definition
def list_artifacts(
self,
*,
agentSpaceId: str,
nextToken: str = ...,
maxResults: int = ...,
) -> ListArtifactsOutputTypeDef: # (1)
...
# list_artifacts method usage example with argument unpacking
kwargs: ListArtifactsInputTypeDef = { # (1)
"agentSpaceId": ...,
}
parent.list_artifacts(**kwargs)
list_discovered_endpoints#
Lists discovered endpoints associated with a pentest job with optional URI prefix filtering.
Type annotations and code completion for boto3.client("securityagent").list_discovered_endpoints method.
boto3 documentation
# list_discovered_endpoints method definition
def list_discovered_endpoints(
self,
*,
pentestJobId: str,
agentSpaceId: str,
maxResults: int = ...,
prefix: str = ...,
nextToken: str = ...,
) -> ListDiscoveredEndpointsOutputTypeDef: # (1)
...
# list_discovered_endpoints method usage example with argument unpacking
kwargs: ListDiscoveredEndpointsInputTypeDef = { # (1)
"pentestJobId": ...,
"agentSpaceId": ...,
}
parent.list_discovered_endpoints(**kwargs)
list_findings#
Lists findings with filtering and pagination support.
Type annotations and code completion for boto3.client("securityagent").list_findings method.
boto3 documentation
# list_findings method definition
def list_findings(
self,
*,
pentestJobId: str,
agentSpaceId: str,
maxResults: int = ...,
nextToken: str = ...,
riskType: str = ...,
riskLevel: RiskLevelType = ..., # (1)
status: FindingStatusType = ..., # (2)
confidence: ConfidenceLevelType = ..., # (3)
name: str = ...,
) -> ListFindingsOutputTypeDef: # (4)
...
- See RiskLevelType
- See FindingStatusType
- See ConfidenceLevelType
- See ListFindingsOutputTypeDef
# list_findings method usage example with argument unpacking
kwargs: ListFindingsInputTypeDef = { # (1)
"pentestJobId": ...,
"agentSpaceId": ...,
}
parent.list_findings(**kwargs)
list_integrated_resources#
Lists the integrated resources for an agent space.
Type annotations and code completion for boto3.client("securityagent").list_integrated_resources method.
boto3 documentation
# list_integrated_resources method definition
def list_integrated_resources(
self,
*,
agentSpaceId: str,
integrationId: str = ...,
resourceType: ResourceTypeType = ..., # (1)
nextToken: str = ...,
maxResults: int = ...,
) -> ListIntegratedResourcesOutputTypeDef: # (2)
...
# list_integrated_resources method usage example with argument unpacking
kwargs: ListIntegratedResourcesInputTypeDef = { # (1)
"agentSpaceId": ...,
}
parent.list_integrated_resources(**kwargs)
list_integrations#
Retrieves the Integrations associated with the user's account.
Type annotations and code completion for boto3.client("securityagent").list_integrations method.
boto3 documentation
# list_integrations method definition
def list_integrations(
self,
*,
filter: IntegrationFilterTypeDef = ..., # (1)
nextToken: str = ...,
maxResults: int = ...,
) -> ListIntegrationsOutputTypeDef: # (2)
...
# list_integrations method usage example with argument unpacking
kwargs: ListIntegrationsInputTypeDef = { # (1)
"filter": ...,
}
parent.list_integrations(**kwargs)
list_memberships#
Lists all members associated to an agent space with pagination support.
Type annotations and code completion for boto3.client("securityagent").list_memberships method.
boto3 documentation
# list_memberships method definition
def list_memberships(
self,
*,
applicationId: str,
agentSpaceId: str,
memberType: MembershipTypeFilterType = ..., # (1)
maxResults: int = ...,
nextToken: str = ...,
) -> ListMembershipsResponseTypeDef: # (2)
...
# list_memberships method usage example with argument unpacking
kwargs: ListMembershipsRequestTypeDef = { # (1)
"applicationId": ...,
"agentSpaceId": ...,
}
parent.list_memberships(**kwargs)
list_pentest_job_tasks#
Lists tasks associated with a specific pentest job.
Type annotations and code completion for boto3.client("securityagent").list_pentest_job_tasks method.
boto3 documentation
# list_pentest_job_tasks method definition
def list_pentest_job_tasks(
self,
*,
agentSpaceId: str,
maxResults: int = ...,
pentestJobId: str = ...,
stepName: StepNameType = ..., # (1)
categoryName: str = ...,
nextToken: str = ...,
) -> ListPentestJobTasksOutputTypeDef: # (2)
...
# list_pentest_job_tasks method usage example with argument unpacking
kwargs: ListPentestJobTasksInputTypeDef = { # (1)
"agentSpaceId": ...,
}
parent.list_pentest_job_tasks(**kwargs)
list_pentest_jobs_for_pentest#
Lists pentest jobs associated with a pentest.
Type annotations and code completion for boto3.client("securityagent").list_pentest_jobs_for_pentest method.
boto3 documentation
# list_pentest_jobs_for_pentest method definition
def list_pentest_jobs_for_pentest(
self,
*,
pentestId: str,
agentSpaceId: str,
maxResults: int = ...,
nextToken: str = ...,
) -> ListPentestJobsForPentestOutputTypeDef: # (1)
...
# list_pentest_jobs_for_pentest method usage example with argument unpacking
kwargs: ListPentestJobsForPentestInputTypeDef = { # (1)
"pentestId": ...,
"agentSpaceId": ...,
}
parent.list_pentest_jobs_for_pentest(**kwargs)
list_pentests#
Lists pentests with optional filtering by status.
Type annotations and code completion for boto3.client("securityagent").list_pentests method.
boto3 documentation
# list_pentests method definition
def list_pentests(
self,
*,
agentSpaceId: str,
maxResults: int = ...,
nextToken: str = ...,
) -> ListPentestsOutputTypeDef: # (1)
...
# list_pentests method usage example with argument unpacking
kwargs: ListPentestsInputTypeDef = { # (1)
"agentSpaceId": ...,
}
parent.list_pentests(**kwargs)
list_tags_for_resource#
Lists tags for a Security Agent resource.
Type annotations and code completion for boto3.client("securityagent").list_tags_for_resource method.
boto3 documentation
# list_tags_for_resource method definition
def list_tags_for_resource(
self,
*,
resourceArn: str,
) -> ListTagsForResourceOutputTypeDef: # (1)
...
# list_tags_for_resource method usage example with argument unpacking
kwargs: ListTagsForResourceInputTypeDef = { # (1)
"resourceArn": ...,
}
parent.list_tags_for_resource(**kwargs)
list_target_domains#
Lists target domains.
Type annotations and code completion for boto3.client("securityagent").list_target_domains method.
boto3 documentation
# list_target_domains method definition
def list_target_domains(
self,
*,
nextToken: str = ...,
maxResults: int = ...,
) -> ListTargetDomainsOutputTypeDef: # (1)
...
# list_target_domains method usage example with argument unpacking
kwargs: ListTargetDomainsInputTypeDef = { # (1)
"nextToken": ...,
}
parent.list_target_domains(**kwargs)
start_code_remediation#
Starts code remediation for the specified findings.
Type annotations and code completion for boto3.client("securityagent").start_code_remediation method.
boto3 documentation
# start_code_remediation method definition
def start_code_remediation(
self,
*,
agentSpaceId: str,
pentestJobId: str,
findingIds: Sequence[str],
) -> dict[str, Any]:
...
# start_code_remediation method usage example with argument unpacking
kwargs: StartCodeRemediationInputTypeDef = { # (1)
"agentSpaceId": ...,
"pentestJobId": ...,
"findingIds": ...,
}
parent.start_code_remediation(**kwargs)
start_pentest_job#
Initiates the execution of a pentest.
Type annotations and code completion for boto3.client("securityagent").start_pentest_job method.
boto3 documentation
# start_pentest_job method definition
def start_pentest_job(
self,
*,
agentSpaceId: str,
pentestId: str,
) -> StartPentestJobOutputTypeDef: # (1)
...
# start_pentest_job method usage example with argument unpacking
kwargs: StartPentestJobInputTypeDef = { # (1)
"agentSpaceId": ...,
"pentestId": ...,
}
parent.start_pentest_job(**kwargs)
stop_pentest_job#
Stops the execution of a running pentest.
Type annotations and code completion for boto3.client("securityagent").stop_pentest_job method.
boto3 documentation
# stop_pentest_job method definition
def stop_pentest_job(
self,
*,
agentSpaceId: str,
pentestJobId: str,
) -> dict[str, Any]:
...
# stop_pentest_job method usage example with argument unpacking
kwargs: StopPentestJobInputTypeDef = { # (1)
"agentSpaceId": ...,
"pentestJobId": ...,
}
parent.stop_pentest_job(**kwargs)
tag_resource#
Adds tags to a Security Agent resource.
Type annotations and code completion for boto3.client("securityagent").tag_resource method.
boto3 documentation
# tag_resource method definition
def tag_resource(
self,
*,
resourceArn: str,
tags: Mapping[str, str],
) -> dict[str, Any]:
...
# tag_resource method usage example with argument unpacking
kwargs: TagResourceInputTypeDef = { # (1)
"resourceArn": ...,
"tags": ...,
}
parent.tag_resource(**kwargs)
untag_resource#
Removes tags from a Security Agent resource.
Type annotations and code completion for boto3.client("securityagent").untag_resource method.
boto3 documentation
# untag_resource method definition
def untag_resource(
self,
*,
resourceArn: str,
tagKeys: Sequence[str],
) -> dict[str, Any]:
...
# untag_resource method usage example with argument unpacking
kwargs: UntagResourceInputTypeDef = { # (1)
"resourceArn": ...,
"tagKeys": ...,
}
parent.untag_resource(**kwargs)
update_agent_space#
Updates an agent space record.
Type annotations and code completion for boto3.client("securityagent").update_agent_space method.
boto3 documentation
# update_agent_space method definition
def update_agent_space(
self,
*,
agentSpaceId: str,
name: str = ...,
description: str = ...,
awsResources: AWSResourcesUnionTypeDef = ..., # (1)
targetDomainIds: Sequence[str] = ...,
codeReviewSettings: CodeReviewSettingsTypeDef = ..., # (2)
) -> UpdateAgentSpaceOutputTypeDef: # (3)
...
# update_agent_space method usage example with argument unpacking
kwargs: UpdateAgentSpaceInputTypeDef = { # (1)
"agentSpaceId": ...,
}
parent.update_agent_space(**kwargs)
update_application#
Updates application configuration.
Type annotations and code completion for boto3.client("securityagent").update_application method.
boto3 documentation
# update_application method definition
def update_application(
self,
*,
applicationId: str,
roleArn: str = ...,
defaultKmsKeyId: str = ...,
) -> UpdateApplicationResponseTypeDef: # (1)
...
# update_application method usage example with argument unpacking
kwargs: UpdateApplicationRequestTypeDef = { # (1)
"applicationId": ...,
}
parent.update_application(**kwargs)
update_finding#
Updates an existing security finding with new details or status.
Type annotations and code completion for boto3.client("securityagent").update_finding method.
boto3 documentation
# update_finding method definition
def update_finding(
self,
*,
findingId: str,
agentSpaceId: str,
riskLevel: RiskLevelType = ..., # (1)
status: FindingStatusType = ..., # (2)
) -> dict[str, Any]:
...
- See RiskLevelType
- See FindingStatusType
# update_finding method usage example with argument unpacking
kwargs: UpdateFindingInputTypeDef = { # (1)
"findingId": ...,
"agentSpaceId": ...,
}
parent.update_finding(**kwargs)
update_integrated_resources#
Updates the integrated resources for an agent space.
Type annotations and code completion for boto3.client("securityagent").update_integrated_resources method.
boto3 documentation
# update_integrated_resources method definition
def update_integrated_resources(
self,
*,
agentSpaceId: str,
integrationId: str,
items: Sequence[IntegratedResourceInputItemTypeDef], # (1)
) -> dict[str, Any]:
...
- See
Sequence[IntegratedResourceInputItemTypeDef]
# update_integrated_resources method usage example with argument unpacking
kwargs: UpdateIntegratedResourcesInputTypeDef = { # (1)
"agentSpaceId": ...,
"integrationId": ...,
"items": ...,
}
parent.update_integrated_resources(**kwargs)
update_pentest#
Updates an existing pentest with new configuration or settings.
Type annotations and code completion for boto3.client("securityagent").update_pentest method.
boto3 documentation
# update_pentest method definition
def update_pentest(
self,
*,
pentestId: str,
agentSpaceId: str,
title: str = ...,
assets: AssetsUnionTypeDef = ..., # (1)
excludeRiskTypes: Sequence[RiskTypeType] = ..., # (2)
serviceRole: str = ...,
logConfig: CloudWatchLogTypeDef = ..., # (3)
vpcConfig: VpcConfigUnionTypeDef = ..., # (4)
networkTrafficConfig: NetworkTrafficConfigUnionTypeDef = ..., # (5)
codeRemediationStrategy: CodeRemediationStrategyType = ..., # (6)
) -> UpdatePentestOutputTypeDef: # (7)
...
- See AssetsUnionTypeDef
- See
Sequence[RiskTypeType] - See CloudWatchLogTypeDef
- See VpcConfigUnionTypeDef
- See NetworkTrafficConfigUnionTypeDef
- See CodeRemediationStrategyType
- See UpdatePentestOutputTypeDef
# update_pentest method usage example with argument unpacking
kwargs: UpdatePentestInputTypeDef = { # (1)
"pentestId": ...,
"agentSpaceId": ...,
}
parent.update_pentest(**kwargs)
update_target_domain#
Updates a target domain record.
Type annotations and code completion for boto3.client("securityagent").update_target_domain method.
boto3 documentation
# update_target_domain method definition
def update_target_domain(
self,
*,
targetDomainId: str,
verificationMethod: DomainVerificationMethodType, # (1)
) -> UpdateTargetDomainOutputTypeDef: # (2)
...
# update_target_domain method usage example with argument unpacking
kwargs: UpdateTargetDomainInputTypeDef = { # (1)
"targetDomainId": ...,
"verificationMethod": ...,
}
parent.update_target_domain(**kwargs)
verify_target_domain#
Verifies ownership for a registered target domain.
Type annotations and code completion for boto3.client("securityagent").verify_target_domain method.
boto3 documentation
# verify_target_domain method definition
def verify_target_domain(
self,
*,
targetDomainId: str,
) -> VerifyTargetDomainOutputTypeDef: # (1)
...
# verify_target_domain method usage example with argument unpacking
kwargs: VerifyTargetDomainInputTypeDef = { # (1)
"targetDomainId": ...,
}
parent.verify_target_domain(**kwargs)
get_paginator#
Type annotations and code completion for boto3.client("securityagent").get_paginator method with overloads.
client.get_paginator("list_agent_spaces")-> ListAgentSpacesPaginatorclient.get_paginator("list_applications")-> ListApplicationsPaginatorclient.get_paginator("list_artifacts")-> ListArtifactsPaginatorclient.get_paginator("list_discovered_endpoints")-> ListDiscoveredEndpointsPaginatorclient.get_paginator("list_findings")-> ListFindingsPaginatorclient.get_paginator("list_integrated_resources")-> ListIntegratedResourcesPaginatorclient.get_paginator("list_integrations")-> ListIntegrationsPaginatorclient.get_paginator("list_memberships")-> ListMembershipsPaginatorclient.get_paginator("list_pentest_job_tasks")-> ListPentestJobTasksPaginatorclient.get_paginator("list_pentest_jobs_for_pentest")-> ListPentestJobsForPentestPaginatorclient.get_paginator("list_pentests")-> ListPentestsPaginatorclient.get_paginator("list_target_domains")-> ListTargetDomainsPaginator