Palo Alto Networks · Schema

Fix

Fix schema from Palo Alto Networks Prisma Cloud Code Security API

Cloud SecurityCybersecurityFirewallNetwork SecuritySASESOARThreat IntelligenceXDR

Properties

Name Type Description
fixId string Unique fix suggestion identifier.
policyId string Checkov policy ID associated with the fix.
policyName string Human-readable policy name.
severity string Severity of the original finding.
resourceName string IaC resource name where the fix applies.
filePath string Relative path to the file requiring the fix.
lineRange array Start and end line numbers of the code to be replaced.
originalCode string Original code snippet that contains the misconfiguration.
suggestedCode string Suggested replacement code that resolves the misconfiguration.
framework string IaC framework of the affected file.
repositoryId string Repository where the fix applies.
branch string Branch where the fix applies.
View JSON Schema on GitHub

JSON Schema

prisma-cloud-code-security-api-fix-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Fix",
  "description": "Fix schema from Palo Alto Networks Prisma Cloud Code Security API",
  "$id": "https://raw.githubusercontent.com/api-evangelist/palo-alto-networks/refs/heads/main/json-schema/prisma-cloud-code-security-api-fix-schema.json",
  "type": "object",
  "properties": {
    "fixId": {
      "type": "string",
      "description": "Unique fix suggestion identifier."
    },
    "policyId": {
      "type": "string",
      "description": "Checkov policy ID associated with the fix."
    },
    "policyName": {
      "type": "string",
      "description": "Human-readable policy name."
    },
    "severity": {
      "type": "string",
      "enum": [
        "CRITICAL",
        "HIGH",
        "MEDIUM",
        "LOW",
        "INFO"
      ],
      "description": "Severity of the original finding."
    },
    "resourceName": {
      "type": "string",
      "description": "IaC resource name where the fix applies."
    },
    "filePath": {
      "type": "string",
      "description": "Relative path to the file requiring the fix."
    },
    "lineRange": {
      "type": "array",
      "items": {
        "type": "integer"
      },
      "minItems": 2,
      "maxItems": 2,
      "description": "Start and end line numbers of the code to be replaced."
    },
    "originalCode": {
      "type": "string",
      "description": "Original code snippet that contains the misconfiguration."
    },
    "suggestedCode": {
      "type": "string",
      "description": "Suggested replacement code that resolves the misconfiguration."
    },
    "framework": {
      "type": "string",
      "enum": [
        "Terraform",
        "CloudFormation",
        "Kubernetes",
        "Helm",
        "Dockerfile",
        "ARM",
        "Bicep"
      ],
      "description": "IaC framework of the affected file."
    },
    "repositoryId": {
      "type": "string",
      "description": "Repository where the fix applies."
    },
    "branch": {
      "type": "string",
      "description": "Branch where the fix applies."
    }
  }
}