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