SecurityAgent / Client / batch_disassociate_finding_issue
batch_disassociate_finding_issue¶
- SecurityAgent.Client.batch_disassociate_finding_issue(**kwargs)¶
Disassociates a batch of findings from their linked issues.
See also: AWS API Documentation
Request Syntax
response = client.batch_disassociate_finding_issue( agentSpaceId='string', pentestJobId='string', codeReviewJobId='string', findingIds=[ 'string', ] )
- Parameters:
agentSpaceId (string) –
[REQUIRED]
The identifier of the agent space where the job exists.
pentestJobId (string) – The identifier of the penetration test job. This parameter is mutually exclusive with
codeReviewJobId.codeReviewJobId (string) – The identifier of the code review job. This parameter is mutually exclusive with
pentestJobId.findingIds (list) –
[REQUIRED]
The identifiers of the findings to disassociate from their issues. Each must belong to the specified job.
(string) –
- Return type:
dict
- Returns:
Response Syntax
{ 'errors': [ { 'findingId': 'string', 'code': 'CLIENT_ERROR'|'INTERNAL_ERROR'|'STOPPED_BY_USER', 'message': 'string' }, ] }
Response Structure
(dict) –
The output for the BatchDisassociateFindingIssue operation.
errors (list) –
The findings whose issue could not be disassociated.
(dict) –
A finding that failed to disassociate, with the cause of the failure.
findingId (string) –
The identifier of the finding that failed to disassociate.
code (string) –
The machine-readable failure category.
message (string) –
A customer-facing explanation of the failure.
Exceptions
SecurityAgent.Client.exceptions.ValidationExceptionSecurityAgent.Client.exceptions.InternalServerExceptionSecurityAgent.Client.exceptions.ResourceNotFoundExceptionSecurityAgent.Client.exceptions.ConflictExceptionSecurityAgent.Client.exceptions.ThrottlingExceptionSecurityAgent.Client.exceptions.AccessDeniedExceptionSecurityAgent.Client.exceptions.ServiceQuotaExceededException