Skip to main content

Fix infrastructure as code configuration errors

Suggest a fix for infrastructure as code configuration errors that are found in the request files.

Request Body array required
  • Array [
  • errors object[] required

    Data regarding the resource on which the fix will be applied

  • Array [
  • endLine double required

    Resource's end line in the file

  • policyId string required

    Check ID which is being fixed

  • resourceId string required

    Representation of the resource ID which is a combination of "resource type"."resource name"

  • startLine double required

    Resource's start line in the file

  • ]
  • fileContent string required

    Content of the file on which the fix will be appiled

  • filePath string required
  • framework string required

    Framework on which the fix will be applied, e.g. terraform or cloudformation

  • ]
Responses

Fixes for checkov errors


Schema
  • Array [
  • filePath string required
  • fixes object[] required
  • Array [
  • fixedDefinition string required
  • originalEndLine double required
  • originalStartLine double required
  • policyId string required
  • resourceId string required
  • ]
  • ]
Loading...