Remediation for Build time
POST/code/api/v1/remediations/buildtime
Create a new PR or commit and push to existing PR
Request
- application/json
Body
required
- Array [
- ]
owner stringrequired
pr string
A list with all the relevant data to create a PR.
repoName stringrequired
The repository owner.
resources object[]required
The branch name with the violations to create a PR with the remediations.
fixPath string
frameworkType stringrequired
fullId stringrequired
metadataChecksMetadataPath stringrequired
metadataLines stringrequired
owner stringrequired
repoName stringrequired
resourceId stringrequired
s3FilePath stringrequired
s3FixFilePath string
violationId stringrequired
sourceBranchName stringrequired
The repository name.
Responses
- 200
- 403
- 422
- 500
Post Remediation Code
- application/json
- Schema
- Example (from schema)
- Example 1
Schema
- Array [
- ]
data stringrequired
[
{
"data": "string"
}
]
{
"data": "aws_resource_efs{..}"
}
Unauthorized to get the code
Request arguments validation error
Failed to commit and push to pull request
Loading...