Skip to content

Guardduty  >  Operations  >  update_findings_feedback

update_findings_feedback

Operation

update_findings_feedback async

update_findings_feedback(input: UpdateFindingsFeedbackInput, plugins: list[Plugin] | None = None) -> UpdateFindingsFeedbackOutput

Marks the specified GuardDuty findings as useful or not useful.

Parameters:

Name Type Description Default
input UpdateFindingsFeedbackInput

An instance of UpdateFindingsFeedbackInput.

required
plugins list[Plugin] | None

A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations.

None

Returns:

Type Description
UpdateFindingsFeedbackOutput

An instance of UpdateFindingsFeedbackOutput.

Input

UpdateFindingsFeedbackInput dataclass

Dataclass for UpdateFindingsFeedbackInput structure.

Attributes

comments class-attribute instance-attribute
comments: str | None = field(repr=False, default=None)

Additional feedback about the GuardDuty findings.

detector_id class-attribute instance-attribute
detector_id: str | None = None

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.

feedback class-attribute instance-attribute
feedback: Feedback | None = None

The feedback for the finding.

finding_ids class-attribute instance-attribute
finding_ids: list[str] | None = None

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

Output

UpdateFindingsFeedbackOutput dataclass

Dataclass for UpdateFindingsFeedbackOutput structure.