OpenAI ChatGPT Enterprise Custom Agent Published

Last updated 11 days ago on 2026-10-06
Created 11 days ago on 2026-10-06

About

Detects ChatGPT Enterprise custom-agent publish events (`agent_published`). Publishing an agent with connectors, skills, or store visibility can establish durable automation and broaden data access beyond the original user.
Tags
Domain: GenAIPlatform: OpenAIData Source: OpenAI ChatGPT EnterpriseService: OpenAI ChatGPT EnterpriseUse Case: Threat DetectionRule Type: ES|QLTactic: PersistenceMitre Atlas: AML.T0081Language: esql
Severity
medium
Risk Score
47
MITRE ATT&CK™

Persistence (TA0003)(external, opens in a new tab or window)

False Positive Examples
Platform teams publish approved custom agents during workspace rollouts.
License
Elastic License v2(external, opens in a new tab or window)

Definition

Integration Pack
Prebuilt Security Detection Rules
Related Integrations

openai_chatgpt_enterprise(external, opens in a new tab or window)

Query
text code block:
from logs-openai_chatgpt_enterprise.custom_agents_log-* metadata _id, _version, _index | where data_stream.dataset == "openai_chatgpt_enterprise.custom_agents_log" and event.action == "agent_published" | keep _id, _version, _index, @timestamp, event.action, user.id, user.email, gen_ai.agent.id, openai_chatgpt_enterprise.custom_agents_log.client_id, openai_chatgpt_enterprise.custom_agents_log.event_details.publish_type, openai_chatgpt_enterprise.custom_agents_log.event_details.release_name, openai_chatgpt_enterprise.custom_agents_log.event_details.agent_fields.store_visible, openai_chatgpt_enterprise.custom_agents_log.event_details.agent_fields.workspace_capability, data_stream.*

Install detection rules in Elastic Security

Detect OpenAI ChatGPT Enterprise Custom Agent Published in the Elastic Security detection engine by installing this rule into your Elastic Stack.

To setup this rule, check out the installation guide for Prebuilt Security Detection Rules(external, opens in a new tab or window).