Remediation for build time
Create a new PR or commit and push to existing PR
- application/json
Request Body required
- owner string required
- pr string
A list with all the relevant data to create a PR.
- repoName string required
The repository owner.
resources object[] required
The branch name with the violations to create a PR with the remediations.
Array [fixPath stringframeworkType string requiredfullId string requiredmetadataChecksMetadataPath string requiredmetadataLines string requiredowner string requiredrepoName string requiredresourceId string requireds3FilePath string requireds3FixFilePath stringviolationId string required]- sourceBranchName string required
The repository name.
Responses
- 200
- 403
- 422
- 500
Post Remediation Code
- application/json
- Schema
- Example (from schema)
- Example 1
Schema
- Array [
- data string required
- ]
[
{
"data": "string"
}
]
{
"data": "aws_resource_efs{..}"
}
Unauthorized to get the code
Request arguments validation error
Failed to commit and push to pull request
Loading...