batch_export_findings
¶
batch_export_findings(
agent_space_id: str,
issue_destination: IssueDestination,
finding_ids: FindingIdList,
*,
config_overrides: Optional[SecurityAgentClientConfig] = None,
pentest_job_id: Optional[str] = None,
code_review_job_id: Optional[str] = None,
) -> BatchExportFindingsOutput
Exports a batch of findings to the connected issue tracker as issues.
Parameters:
-
agent_space_id(str) –The identifier of the agent space where the job exists.
-
pentest_job_id(Optional[str], default:None) –The identifier of the penetration test job. This parameter is mutually exclusive with
codeReviewJobId. -
code_review_job_id(Optional[str], default:None) –The identifier of the code review job. This parameter is mutually exclusive with
pentestJobId. -
issue_destination(IssueDestination) –The destination issue-tracker project the findings are exported to. Must be a connected capability of the agent space.
-
finding_ids(FindingIdList) –The identifiers of the findings to export. Each must belong to the specified job.
Raises:
-
AccessDeniedException–You do not have sufficient access to perform this action.
-
ConflictException–The request could not be completed due to a conflict with the current state of the resource.
-
InternalServerException–An unexpected error occurred during the processing of your request.
-
ResourceNotFoundException–The specified resource was not found. Verify that the resource identifier is correct and that the resource exists in the specified agent space or account.
-
ServiceQuotaExceededException–The request exceeds a service quota. Review your current usage and request a quota increase if needed.
-
ThrottlingException–The request was denied due to request throttling.
-
ValidationException–The input fails to satisfy the constraints specified by the service.
-
UnknownServiceError–The service returned an error code this client does not model.