GuardDuty / Client / update_findings_feedback

update_findings_feedback#

GuardDuty.Client.update_findings_feedback(**kwargs)#

Marks the specified GuardDuty findings as useful or not useful.

See also: AWS API Documentation

Request Syntax

response = client.update_findings_feedback(
    DetectorId='string',
    FindingIds=[
        'string',
    ],
    Feedback='USEFUL'|'NOT_USEFUL',
    Comments='string'
)
Parameters:
  • DetectorId (string) –

    [REQUIRED]

    The ID of the detector that is associated with the findings for which you want to update the feedback.

    To find the detectorId in the current Region, see the Settings page in the GuardDuty console, or run the ListDetectors API.

  • FindingIds (list) –

    [REQUIRED]

    The IDs of the findings that you want to mark as useful or not useful.

    • (string) –

  • Feedback (string) –

    [REQUIRED]

    The feedback for the finding.

  • Comments (string) – Additional feedback about the GuardDuty findings.

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions

  • GuardDuty.Client.exceptions.BadRequestException

  • GuardDuty.Client.exceptions.InternalServerErrorException