SecurityAgent / Client / update_finding

update_finding

SecurityAgent.Client.update_finding(**kwargs)

Updates the status or risk level of a security finding.

See also: AWS API Documentation

Request Syntax

response = client.update_finding(
    findingId='string',
    agentSpaceId='string',
    riskLevel='UNKNOWN'|'INFORMATIONAL'|'LOW'|'MEDIUM'|'HIGH'|'CRITICAL',
    status='ACTIVE'|'RESOLVED'|'ACCEPTED'|'FALSE_POSITIVE'
)
Parameters:
  • findingId (string) –

    [REQUIRED]

    The unique identifier of the finding to update.

  • agentSpaceId (string) –

    [REQUIRED]

    The unique identifier of the agent space that contains the finding.

  • riskLevel (string) – The updated risk level for the finding.

  • status (string) – The updated status for the finding.

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

    Output for the UpdateFinding operation.