Skip to main content

Remediation for Build time

POST 

/code/api/v1/remediations/buildtime

Create a new PR or commit and push to existing PR

Request

Body

required
    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.

  • Array [
  • 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

Post Remediation Code

Schema
  • Array [
  • data stringrequired
  • ]
Loading...