SecurityAgent / Client / update_finding

update_finding

SecurityAgent.Client.update_finding(**kwargs)

Updates an existing security finding with new details or status

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]

    Identifier of the finding to update

  • agentSpaceId (string) –

    [REQUIRED]

    ID of the agent space where the finding exists

  • riskLevel (string) – Updated severity level of the identified risk

  • status (string) – Updated status of the finding

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

    Output for the UpdateFinding operation