Elastic medium stable kql

OpenAI ChatGPT Enterprise Unusual Codex MCP Tool Call

Detects the first ChatGPT Enterprise Codex MCP tool name used by a given user email within an organization in the rule history window. Codex MCP tools can query external systems and pull organizational data into an agent session. Alerting on first-seen organization, user, and tool triples highlights new or unexpected connector usage rather than every routine approved tool call.

View Source

Detection Logic

data_stream.dataset: "openai_chatgpt_enterprise.codex_log" and
    event.action: "app_mcp_call" and
    organization.id: * and
    user.email: * and
    gen_ai.tool.name: *

False Positives

  • ⚠ Engineers enable approved Codex MCP connectors for GitHub, Slack, ticketing, and internal tools during normal development. Validate the tool name, connector, and whether the integration matches an approved workflow.

Field Validations

Loading…

Comments (0)

Loading comments...