Query audit result
Query the status and result of a SQL audit task by task ID.
Path Parameters
Audit task ID
Response
Audit task details
SQL audit task response
Task ID
Idempotency key (external request ID)
Task status: accepted/running/finished
accepted, running, finished Decision result: allow/deny/timeout/failed
allow, deny, timeout, failed Error code (only present when result=failed)
Error message (only present when result=failed)
Risk level: 0-critical 1-warning 2-notice
0, 1, 2 Risk level description: critical/warning/notice
critical, warning, notice Statistics information
Audit summary (Markdown format, suitable for display)
Audit summary (structured JSON, suitable for metrics analysis)
Report detail page URL
Report HTML content
Callback status: pending/success/failed/skipped
Callback result message
Completion time
Extended data (passed through)
Associated ticket ID
Ticket title (usable for platform search)
Associated audit ID
Workspace information
Environment information
Organization information
Rule template information
Operator email
Whether to run index recommendation