{ "$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-shared-registry-scan-progress-schema.json", "title": "-_shared.RegistryScanProgress", "x-generated": "2026-10-04", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/palo-alto-networks-registry-api-openapi.yml#/components/schemas/-_shared.RegistryScanProgress", "items": { "$ref": "#/$defs/shared.RegistryScanProgress" }, "type": "array", "$defs": { "shared.Progress": { "description": "Progress displays the scan progress", "properties": { "aisInitialScanInProgress": { "description": "AISInitialScanInProgress indicates whether agentless next-gen first scheduled scan is in progress.\n", "type": "boolean" }, "aisOnDemandScanInProgress": { "description": "AISOnDemandScanInProgress indicates whether agentless next-gen on demand scan is in progress.\n", "type": "boolean" }, "discovery": { "description": "Discovery indicates whether the scan is in discovery phase.\n", "type": "boolean" }, "error": { "description": "Error is the error that happened during scan.\n", "type": "string" }, "hostname": { "description": "Hostname is the hostname for which the progress apply.\n", "type": "string" }, "id": { "description": "ID is the ID of the entity being scanned.\n", "type": "string" }, "onDemand": { "description": "OnDemand indicates whether the scan was triggered by the user or not (scheduled scan).\n", "type": "boolean" }, "scanTime": { "description": "ScanTime is the time of scan.\n", "format": "date-time", "type": "string" }, "scanned": { "description": "Scanned is the number of entities for which the scan completed.\n", "type": "integer" }, "title": { "description": "Title is the progress title (set by the scanning process).\n", "type": "string" }, "total": { "description": "Total is the total amount of entities that should be scanned.\n", "type": "integer" }, "type": { "$ref": "#/$defs/shared.ScanType" } }, "type": "object" }, "shared.RegistryScanProgress": { "description": "RegistryScanProgress represents the registry scan progress", "properties": { "discovery": { "$ref": "#/$defs/shared.Progress" }, "imageScan": { "$ref": "#/$defs/shared.Progress" }, "isScanOngoing": { "description": "IsScanOngoing indicates if a scan is currently ongoing.\n", "type": "boolean" }, "specScanStartTime": { "description": "SpecScanStartTime indicates when the current spec scan started.\n", "format": "date-time", "type": "string" } }, "type": "object" }, "shared.ScanType": { "description": "ScanType displays the components for an ongoing scan", "enum": [ [ "image", "ciImage", "container", "host", "agentlessHost", "registry", "serverlessScan", "ciServerless", "vm", "tas", "ciTas", "cloudDiscovery", "serverlessRadar", "serverlessAutoDeploy", "hostAutoDeploy", "codeRepo", "ciCodeRepo" ] ], "type": "string" } } }