query_audit_events
Retrieve filtered cross-tool audit events by source, risk, approval, and time range to generate framework-mapped compliance evidence for HIPAA, PCI-DSS, SOC 2, and GDPR.
Instructions
[READ] Cross-tool audit event query — the workhorse.
Args: source: Restrict to one source tool (e.g. nutanix-aiops). skill / tool / status / risk_level: Field filters. approved: True = only ops with an approver; False = only ops without one. selector: Evidence class filter — audit_trail / attribution / change / enforcement / exception. since / until: ISO timestamps bounding the period. limit: Max rows to return.
Returns {"events": [...], "count": N, "returned": N, "limit": L, "truncated": bool | null, "scanTruncated": bool}. When truncated is
true more events matched than were returned — narrow the filters or raise
the limit. With a selector, truncated is null when the bounded scan
hit its cap before filling limit: more matches may exist. Never
characterise the trail (counts, "no violations found") from a truncated or
null-truncated result.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tool | No | ||
| limit | No | ||
| since | No | ||
| skill | No | ||
| until | No | ||
| source | No | ||
| status | No | ||
| approved | No | ||
| selector | No | ||
| risk_level | No |