Files
AiSOC/plugins/llm-usage/plugin.yaml
T
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

22 lines
897 B
YAML

id: llm-usage
name: AI / LLM Usage Audit Connector
version: "1.0.0"
plugin_type: connector
tier: stable
description: >
Pull organization audit logs from OpenAI or Anthropic — API key creation,
role grants, logging/MFA changes, project deletes. The governance surface for
AI adoption; pairs with the llm-* detection rules that fire on the emitted
event_type. Auth is an admin/audit-scoped API key.
author: AiSOC Core Team
tags: [saas, ai, llm, openai, anthropic, audit, connector]
homepage: https://github.com/beenuar/AiSOC/tree/main/services/connectors/app/connectors/llm_usage.py
license: MIT
min_aisoc_version: "7.0.0"
config_schema:
type: object
required: [provider, api_key]
properties:
provider: {type: string, enum: [openai, anthropic], description: Which provider's audit log to pull.}
api_key: {type: string, secret: true, description: Admin/audit-scoped API key.}