Poll the status and results of a running or completed scan
/api/scan/run.
Includes delta analysis comparing the current scan with the previous scan for the same policy, showing new, resolved, and unchanged violations.
/api/scan/runpending - Scan is queuedrunning - Scan is in progresscompleted - Scan finished successfullyfailed - Scan encountered an error0 for in-progress scans0 for in-progress scansrules_total when status is completednull for in-progress scansnull if no previous scan existsdelta field provides insights into how violations have changed compared to the previous scan:
rule_id:account, meaning the same rule triggered on the same account.