update_findings

AccessAnalyzer.Client.update_findings(**kwargs)

Updates the status for the specified findings.

See also: AWS API Documentation

Request Syntax

response = client.update_findings(
    analyzerArn='string',
    status='ACTIVE'|'ARCHIVED',
    ids=[
        'string',
    ],
    resourceArn='string',
    clientToken='string'
)
Parameters
  • analyzerArn (string) --

    [REQUIRED]

    The ARN of the analyzer that generated the findings to update.

  • status (string) --

    [REQUIRED]

    The state represents the action to take to update the finding Status. Use ARCHIVE to change an Active finding to an Archived finding. Use ACTIVE to change an Archived finding to an Active finding.

  • ids (list) --

    The IDs of the findings to update.

    • (string) --
  • resourceArn (string) -- The ARN of the resource identified in the finding.
  • clientToken (string) --

    A client token.

    This field is autopopulated if not provided.

Returns

None

Exceptions

  • AccessAnalyzer.Client.exceptions.ResourceNotFoundException
  • AccessAnalyzer.Client.exceptions.ValidationException
  • AccessAnalyzer.Client.exceptions.InternalServerException
  • AccessAnalyzer.Client.exceptions.ThrottlingException
  • AccessAnalyzer.Client.exceptions.AccessDeniedException