Palo Alto Networks · JSON Structure

Prisma Cloud Code Security Api Scan Status Structure

ScanStatus schema from Palo Alto Networks Prisma Cloud Code Security API

Type: object Properties: 8
Cloud SecurityCybersecurityFirewallNetwork SecuritySASESOARThreat IntelligenceXDR

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

Properties

scan_id repositoryId branch status startTime endTime scanTypes summary

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-scan-status-structure.json",
  "name": "ScanStatus",
  "description": "ScanStatus schema from Palo Alto Networks Prisma Cloud Code Security API",
  "type": "object",
  "properties": {
    "scan_id": {
      "type": "string",
      "description": "Unique scan identifier."
    },
    "repositoryId": {
      "type": "string",
      "description": "Repository that was scanned."
    },
    "branch": {
      "type": "string",
      "description": "Branch that was scanned."
    },
    "status": {
      "type": "string",
      "description": "Current scan status.",
      "enum": [
        "queued",
        "running",
        "completed",
        "failed"
      ]
    },
    "startTime": {
      "type": "datetime",
      "description": "Scan start timestamp."
    },
    "endTime": {
      "type": "datetime",
      "description": "Scan completion timestamp."
    },
    "scanTypes": {
      "type": "array",
      "description": "Types of scans included in this run.",
      "items": {
        "type": "string",
        "enum": [
          "iac",
          "sca",
          "secrets",
          "cicd"
        ]
      }
    },
    "summary": {
      "type": "object",
      "description": "High-level scan result summary. Available after completion.",
      "properties": {
        "filesScanned": {
          "type": "int32"
        },
        "resourcesScanned": {
          "type": "int32"
        },
        "errorsBySeverity": {
          "type": "object",
          "properties": {
            "critical": {
              "type": "int32"
            },
            "high": {
              "type": "int32"
            },
            "medium": {
              "type": "int32"
            },
            "low": {
              "type": "int32"
            },
            "info": {
              "type": "int32"
            }
          }
        }
      }
    }
  }
}