{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/palo-alto-networks/main/json-schema/palo-alto-networks-scan-status-schema.json", "title": "ScanStatus", "x-generated": "2026-10-04", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/palo-alto-networks-scans-api-openapi.yml#/components/schemas/ScanStatus", "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", "enum": [ "queued", "running", "completed", "failed" ], "description": "Current scan status." }, "startTime": { "type": "string", "format": "date-time", "description": "Scan start timestamp." }, "endTime": { "type": "string", "format": "date-time", "description": "Scan completion timestamp." }, "scanTypes": { "type": "array", "items": { "type": "string", "enum": [ "iac", "sca", "secrets", "cicd" ] }, "description": "Types of scans included in this run." }, "summary": { "type": "object", "description": "High-level scan result summary. Available after completion.", "properties": { "filesScanned": { "type": "integer" }, "resourcesScanned": { "type": "integer" }, "errorsBySeverity": { "type": "object", "properties": { "critical": { "type": "integer" }, "high": { "type": "integer" }, "medium": { "type": "integer" }, "low": { "type": "integer" }, "info": { "type": "integer" } } } } } } }