Palo Alto Networks · JSON Structure

Prisma Cloud Code Security Api Code Error Structure

CodeError schema from Palo Alto Networks Prisma Cloud Code Security API

Type: object Properties: 15
Cloud SecurityCybersecurityFirewallNetwork SecuritySASESOARThreat IntelligenceXDR

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

Properties

errorId policyId policyName severity category status resourceName resourceType filePath fileLineRange repositoryId branch guideline firstDetected lastDetected

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-code-error-structure.json",
  "name": "CodeError",
  "description": "CodeError schema from Palo Alto Networks Prisma Cloud Code Security API",
  "type": "object",
  "properties": {
    "errorId": {
      "type": "string",
      "description": "Unique error identifier."
    },
    "policyId": {
      "type": "string",
      "description": "Checkov policy ID that triggered the error (e.g., CKV_AWS_18)."
    },
    "policyName": {
      "type": "string",
      "description": "Human-readable name of the violated policy."
    },
    "severity": {
      "type": "string",
      "description": "Error severity level.",
      "enum": [
        "CRITICAL",
        "HIGH",
        "MEDIUM",
        "LOW",
        "INFO"
      ]
    },
    "category": {
      "type": "string",
      "description": "Error category based on the type of scan that detected it.",
      "enum": [
        "IAC",
        "SCA",
        "SECRETS",
        "CICD"
      ]
    },
    "status": {
      "type": "string",
      "description": "Current status of the error.",
      "enum": [
        "OPEN",
        "SUPPRESSED",
        "FIXED"
      ]
    },
    "resourceName": {
      "type": "string",
      "description": "Name of the IaC resource where the error was detected."
    },
    "resourceType": {
      "type": "string",
      "description": "Type of the IaC resource."
    },
    "filePath": {
      "type": "string",
      "description": "Relative path to the file containing the error."
    },
    "fileLineRange": {
      "type": "array",
      "description": "Start and end line numbers of the affected code block.",
      "items": {
        "type": "int32"
      },
      "minItems": 2,
      "maxItems": 2
    },
    "repositoryId": {
      "type": "string",
      "description": "Repository where the error was found."
    },
    "branch": {
      "type": "string",
      "description": "Branch where the error was detected."
    },
    "guideline": {
      "type": "string",
      "description": "URL to documentation explaining the policy and remediation steps."
    },
    "firstDetected": {
      "type": "datetime",
      "description": "Timestamp when the error was first detected."
    },
    "lastDetected": {
      "type": "datetime",
      "description": "Timestamp of the most recent scan where the error was found."
    }
  }
}

Work with this as data

Every JSON Structure here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for json structure

4 MCP tools reach this
  • find_json_structuresBrowse and filter every JSON Structure in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Structure
curl "https://apis.io/api/v1/json-structures/prisma-cloud-code-security-api-code-error-structure"
All json structure
curl "https://apis.io/api/v1/json-structures?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.