OpenAI ChatGPT Enterprise Domain Created
Description
Detects ChatGPT Enterprise audit events that create a workspace domain boundary entry. Domain changes can expand who is allowed to join or access the tenant and may establish persistence for attacker-controlled domains.
Query · esql
from logs-openai_chatgpt_enterprise.audit_log-* metadata _id, _version, _index
| where
data_stream.dataset == "openai_chatgpt_enterprise.audit_log" and
event.action == "domain_create"
| keep
_id, _version, _index, @timestamp, event.action, user.id, user.email, source.ip,
openai_chatgpt_enterprise.audit_log.action_data.hostname,
openai_chatgpt_enterprise.audit_log.action_data.domains,
openai_chatgpt_enterprise.audit_log.action_data.domain_id,
openai_chatgpt_enterprise.audit_log.action_privilege, data_stream.*
Investigation fields
Pivot points the source recommends for triage.
@timestampevent.actionuser.idopenai_chatgpt_enterprise.audit_log.action_data.hostnameopenai_chatgpt_enterprise.audit_log.action_data.domainssource.ip
Implementation guide
This rule requires the OpenAI ChatGPT Enterprise integration to collect compliance logs into Elasticsearch.
https://www.elastic.co/docs/reference/integrations/openai_chatgpt_enterprise
Known false positives
- Administrators add legitimate corporate domains during onboarding or M&A.
Analyst notes
Investigating OpenAI ChatGPT Enterprise Domain Created
A domain was added to the workspace boundary. Domain changes can expand who is allowed to join or access the tenant.
Escalate when the domain is not corporate-owned, the change lacks approval, or invites from that domain follow quickly. Close as a false positive for documented onboarding or merger-related domain additions.
Possible investigation steps
- Identify the actor and the domain value on the alert.
- Validate ownership of the domain and whether a change request exists.
- Search for subsequent invites, role changes, or ownership transfers involving that domain.
- Review other IAM changes by the same actor in the surrounding window.
False positive analysis
- Administrators add legitimate corporate domains during onboarding or merger activity when the request is approved.
Response and remediation
- Remove unauthorized domains and audit subsequent invites associated with that domain.
- Rotate credentials for the actor if the change appears malicious.