Palo Alto Networks · JSON Structure

Prisma Cloud Code Security Api Fix Structure

Fix schema from Palo Alto Networks Prisma Cloud Code Security API

Type: object Properties: 12
Cloud SecurityCybersecurityFirewallNetwork SecuritySASESOARThreat IntelligenceXDR

Fix is a JSON Structure definition published by Palo Alto Networks, describing 12 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

fixId policyId policyName severity resourceName filePath lineRange originalCode suggestedCode framework repositoryId branch

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/palo-alto-networks/refs/heads/main/json-structure/prisma-cloud-code-security-api-fix-structure.json",
  "name": "Fix",
  "description": "Fix schema from Palo Alto Networks Prisma Cloud Code Security API",
  "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",
      "description": "Severity of the original finding.",
      "enum": [
        "CRITICAL",
        "HIGH",
        "MEDIUM",
        "LOW",
        "INFO"
      ]
    },
    "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",
      "description": "Start and end line numbers of the code to be replaced.",
      "items": {
        "type": "int32"
      },
      "minItems": 2,
      "maxItems": 2
    },
    "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",
      "description": "IaC framework of the affected file.",
      "enum": [
        "Terraform",
        "CloudFormation",
        "Kubernetes",
        "Helm",
        "Dockerfile",
        "ARM",
        "Bicep"
      ]
    },
    "repositoryId": {
      "type": "string",
      "description": "Repository where the fix applies."
    },
    "branch": {
      "type": "string",
      "description": "Branch where the fix applies."
    }
  }
}