{ "$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" } } } } } } }