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 associated with the findings to update feedback for.

  • 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