detect_anomalies
Scan audit history for suspicious access patterns like burst reads or off-hours access. Use as triage before rotating credentials; read-only and returns findings or 'No anomalies detected'.
Instructions
[audit] Scan the audit history for suspicious access patterns — burst reads of the same key, off-hours access, and other heuristics. Use as a quick triage signal when investigating a single key or before letting an agent rotate credentials; prefer health_check for a scope-wide decay+anomaly summary, and agent_scan for multi-project JSON reports with optional auto-rotation. Read-only; never mutates secrets or the audit log. Returns one line per finding formatted [type] description, or 'No anomalies detected' when the log looks clean.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "detect_anomalies"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | No | If provided, narrow the scan to this exact key. Omit to scan across every key in the audit log. |