SecurityAgent / Client / start_code_remediation
start_code_remediation¶
- SecurityAgent.Client.start_code_remediation(**kwargs)¶
Initiates code remediation for one or more security findings. This creates pull requests in integrated repositories to fix the identified vulnerabilities.
See also: AWS API Documentation
Request Syntax
response = client.start_code_remediation( agentSpaceId='string', pentestJobId='string', codeReviewJobId='string', findingIds=[ 'string', ] )
- Parameters:
agentSpaceId (string) –
[REQUIRED]
The unique identifier of the agent space.
pentestJobId (string) – The unique identifier of the pentest job that produced the findings. Mutually exclusive with
codeReviewJobId.codeReviewJobId (string) – The unique identifier of the code review job that produced the findings. Mutually exclusive with
pentestJobId.findingIds (list) –
[REQUIRED]
The list of finding identifiers to initiate code remediation for.
(string) –
- Return type:
dict
- Returns:
Response Syntax
{}Response Structure
(dict) –
Output for the StartCodeRemediation operation.