get_findings
¶
get_findings(
scan_name: ScanName,
*,
config_overrides: Optional[CodeGuruSecurityClientConfig] = None,
next_token: Optional[NextToken] = None,
max_results: Optional[int] = None,
status: Optional[Status] = None,
) -> GetFindingsResponse
Returns a list of all findings generated by a particular scan.
Parameters:
-
scan_name(ScanName) –The name of the scan you want to retrieve findings from.
-
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
nextTokenvalue returned from the previous request to continue listing results after the first page. -
max_results(Optional[int], default:None) –The maximum number of results to return in the response. Use this parameter when paginating results. If additional results exist beyond the number you specify, the
nextTokenelement is returned in the response. UsenextTokenin a subsequent request to retrieve additional results. If not specified, returns 1000 results. -
status(Optional[Status], default:None) –The status of the findings you want to get. Pass either
Open,Closed, orAll.
Raises:
-
AccessDeniedException–You do not have sufficient access to perform this action.
-
ConflictException–The requested operation would cause a conflict with the current state of a service resource associated with the request. Resolve the conflict before retrying this request.
-
InternalServerException–The server encountered an internal error and is unable to complete the request.
-
ResourceNotFoundException–The resource specified in the request was not found.
-
ThrottlingException–The request was denied due to request throttling.
-
ValidationException–The input fails to satisfy the specified constraints.
-
UnknownServiceError–The service returned an error code this client does not model.