{ "$schema": "https://json-structure.org/meta/core/v0/#", "$id": "https://raw.githubusercontent.com/api-evangelist/palo-alto-networks/refs/heads/main/json-structure/prisma-airs-ai-red-teaming-api-scan-structure.json", "name": "Scan", "description": "Scan schema from Palo Alto Networks Prisma AIRS AI Red Teaming API", "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", "description": "Current status of the scan.", "enum": [ "pending", "running", "completed", "failed", "cancelled" ] }, "attack_categories": { "type": "array", "description": "Attack categories included in this scan.", "items": { "type": "string" } }, "progress": { "type": "float", "description": "Scan completion progress from 0.0 to 1.0.", "minimum": 0.0, "maximum": 1.0 }, "total_attacks": { "type": "int32", "description": "Total number of attack probes to be executed." }, "completed_attacks": { "type": "int32", "description": "Number of attack probes completed so far." }, "vulnerabilities_found": { "type": "int32", "description": "Number of vulnerabilities discovered so far." }, "error_message": { "type": "string", "description": "Error description if the scan failed." }, "started_at": { "type": "datetime", "description": "Timestamp when the scan started." }, "completed_at": { "type": "datetime", "description": "Timestamp when the scan completed." } } }