Files
AiSOC/plugins/llm-usage
c5971a3944 feat(phase-D2): AI/LLM-usage audit connector + llm-* detections + lake tiering (#469)
Three pieces of AI-SOC governance depth:

1. AI/LLM-usage audit connector (llm_usage): pulls OpenAI + Anthropic org
   audit logs and emits the dotted event_type (openai.api_key.created,
   anthropic.member.added) the detections match. Registry 77 -> 78.

2. Eight native llm-* detection rules (API/admin-key created, owner granted,
   audit logging disabled=critical, MFA disabled, service-account created,
   project archived). Regenerated corpus (825 executable) + re-exported the
   fusion live-detection ruleset; verified firing end-to-end.

3. Hot/warm/cold lake tiering (services/api/clickhouse/tiering/): opt-in
   ClickHouse storage policy + 002_tiering.sql that rebinds aisoc.raw_events
   to a tiered policy, moves to a cold volume at 30d, deletes at 90d.
   Verified end-to-end on ClickHouse 23.8; static config gate catches drift.

connector-count + conformance-matrix + marketplace regenerated. Matrix +1
GATED (29/10/1).

Co-authored-by: Beenu Arora <beenu@MacBook-Pro.local>
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-12 23:22:32 -07:00
..