GuardDuty / Client / archive_findings

archive_findings#

GuardDuty.Client.archive_findings(**kwargs)#

Archives GuardDuty findings that are specified by the list of finding IDs.

Note

Only the administrator account can archive findings. Member accounts don’t have permission to archive findings from their accounts.

See also: AWS API Documentation

Request Syntax

response = client.archive_findings(
    DetectorId='string',
    FindingIds=[
        'string',
    ]
)
Parameters:
  • DetectorId (string) –

    [REQUIRED]

    The ID of the detector that specifies the GuardDuty service whose findings you want to archive.

    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 archive.

    • (string) –

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions

  • GuardDuty.Client.exceptions.BadRequestException

  • GuardDuty.Client.exceptions.InternalServerErrorException