{ "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "Scan", "description": "Scan schema from Palo Alto Networks Prisma AIRS AI Red Teaming API", "$id": "https://raw.githubusercontent.com/api-evangelist/palo-alto-networks/refs/heads/main/json-schema/prisma-airs-ai-red-teaming-api-scan-schema.json", "type": "object", "properties": { "scan_id": { "type": "string", "description": "Unique identifier of the scan." }, "target_id": { "type": "string", "description": "ID of the scan target being assessed." }, "target_name": { "type": "string", "description": "Display name of the scan target." }, "status": { "type": "string", "enum": [ "pending", "running", "completed", "failed", "cancelled" ], "description": "Current status of the scan." }, "attack_categories": { "type": "array", "items": { "type": "string" }, "description": "Attack categories included in this scan." }, "progress": { "type": "number", "format": "float", "description": "Scan completion progress from 0.0 to 1.0.", "minimum": 0.0, "maximum": 1.0 }, "total_attacks": { "type": "integer", "description": "Total number of attack probes to be executed." }, "completed_attacks": { "type": "integer", "description": "Number of attack probes completed so far." }, "vulnerabilities_found": { "type": "integer", "description": "Number of vulnerabilities discovered so far." }, "error_message": { "type": "string", "description": "Error description if the scan failed." }, "started_at": { "type": "string", "format": "date-time", "description": "Timestamp when the scan started." }, "completed_at": { "type": "string", "format": "date-time", "description": "Timestamp when the scan completed." } } }