SecurityAgent / Client / start_code_remediation

start_code_remediation

SecurityAgent.Client.start_code_remediation(**kwargs)

Starts code remediation for the specified findings

See also: AWS API Documentation

Request Syntax

response = client.start_code_remediation(
    agentSpaceId='string',
    pentestJobId='string',
    findingIds=[
        'string',
    ]
)
Parameters:
  • agentSpaceId (string) –

    [REQUIRED]

    ID of the agent space where the pentest job exists

  • pentestJobId (string) –

    [REQUIRED]

    Identifier of the pentest job to start code remediation for

  • findingIds (list) –

    [REQUIRED]

    Identifiers of the findings to start code remediation for

    • (string) –

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

    Output for the StartCodeRemediation operation