GuardDuty / Client / create_sample_findings
create_sample_findings#
- GuardDuty.Client.create_sample_findings(**kwargs)#
- Generates sample findings of types specified by the list of finding types. If ‘NULL’ is specified for - findingTypes, the API generates sample findings of all supported finding types.- See also: AWS API Documentation - Request Syntax- response = client.create_sample_findings( DetectorId='string', FindingTypes=[ 'string', ] ) - Parameters:
- DetectorId (string) – - [REQUIRED] - The ID of the detector for which you need to create sample findings. - To find the - detectorIdin the current Region, see the Settings page in the GuardDuty console, or run the ListDetectors API.
- FindingTypes (list) – - The types of sample findings to generate. - (string) – 
 
 
- Return type:
- dict 
- Returns:
- Response Syntax- {}- Response Structure- (dict) – 
 
 - Exceptions- GuardDuty.Client.exceptions.BadRequestException
- GuardDuty.Client.exceptions.InternalServerErrorException