OpenAI ChatGPT Enterprise Workspace Feature Toggled

Detects ChatGPT Enterprise audit events that toggle a workspace feature flag (for example GPT sharing). Adversaries may enable sharing or weaken controls to persist access or broaden data exposure.

Elastic rule (View on GitHub)

  1[metadata]
  2creation_date = "2026/10/06"
  3integration = ["openai_chatgpt_enterprise"]
  4maturity = "production"
  5updated_date = "2026/10/16"
  6
  7[rule]
  8author = ["Elastic"]
  9description = """
 10Detects ChatGPT Enterprise audit events that toggle a workspace feature flag (for example GPT sharing). Adversaries may
 11enable sharing or weaken controls to persist access or broaden data exposure.
 12"""
 13false_positives = ["Administrators intentionally enable or disable workspace features during rollout."]
 14from = "now-9m"
 15language = "esql"
 16license = "Elastic License v2"
 17name = "OpenAI ChatGPT Enterprise Workspace Feature Toggled"
 18note = """## Triage and analysis
 19
 20### Investigating OpenAI ChatGPT Enterprise Workspace Feature Toggled
 21
 22A workspace feature flag changed. Adversaries may enable sharing or weaken controls to broaden data exposure or persist access.
 23
 24Escalate when the feature increases sharing or reduces security controls without an approved change. Close as a false positive for documented rollout toggles by administrators.
 25
 26#### Possible investigation steps
 27
 28- Identify the actor and which feature was enabled or disabled.
 29- Determine whether the change increases sharing, external visibility, or weakens security controls.
 30- Correlate with other admin actions by the same actor, such as role changes, invites, or exports.
 31- Confirm whether a change request authorized the toggle.
 32
 33### False positive analysis
 34
 35- Administrators intentionally enable or disable workspace features during approved rollouts.
 36
 37### Response and remediation
 38
 39- Revert unauthorized feature changes and review other admin actions by the same actor.
 40"""
 41references = [
 42    "https://www.elastic.co/docs/reference/integrations/openai_chatgpt_enterprise",
 43    "https://platform.openai.com/docs/compliance",
 44]
 45risk_score = 47
 46rule_id = "58a99563-5ad7-4f1f-b618-717928747cea"
 47setup = """## Setup
 48
 49This rule requires the OpenAI ChatGPT Enterprise integration to collect compliance logs into Elasticsearch.
 50
 51https://www.elastic.co/docs/reference/integrations/openai_chatgpt_enterprise
 52"""
 53severity = "medium"
 54tags = [
 55    "Domain: GenAI",
 56    "Platform: OpenAI",
 57    "Data Source: OpenAI ChatGPT Enterprise",
 58    "Service: OpenAI ChatGPT Enterprise",
 59    "Use Case: Threat Detection",
 60    "Resources: Investigation Guide",
 61    "Rule Type: ES|QL",
 62    "Tactic: Defense Evasion",
 63    "Tactic: Persistence",
 64    "Mitre Atlas: AML.T0081",
 65]
 66timestamp_override = "event.ingested"
 67type = "esql"
 68
 69query = '''
 70from logs-openai_chatgpt_enterprise.audit_log-* metadata _id, _version, _index
 71| where
 72    data_stream.dataset == "openai_chatgpt_enterprise.audit_log" and
 73    event.action == "workspace_toggle_feature"
 74| keep
 75    _id, _version, _index, @timestamp, event.action, user.id, user.email, source.ip,
 76    openai_chatgpt_enterprise.audit_log.action_data.feature,
 77    openai_chatgpt_enterprise.audit_log.action_data.value,
 78    openai_chatgpt_enterprise.audit_log.action_data.value_bool,
 79    openai_chatgpt_enterprise.audit_log.action_privilege, data_stream.*
 80'''
 81
 82
 83[[rule.threat]]
 84framework = "MITRE ATT&CK"
 85[[rule.threat.technique]]
 86id = "T1562"
 87name = "Impair Defenses"
 88reference = "https://attack.mitre.org/techniques/T1562/"
 89
 90
 91[rule.threat.tactic]
 92id = "TA0005"
 93name = "Defense Evasion"
 94reference = "https://attack.mitre.org/tactics/TA0005/"
 95[[rule.threat_mappings]]
 96framework = "MITRE ATLAS"
 97version = "2026.08"
 98[[rule.threat_mappings.threat]]
 99framework = "MITRE ATLAS"
100[[rule.threat_mappings.threat.technique]]
101id = "AML.T0081"
102name = "Modify AI Agent Configuration"
103reference = "https://atlas.mitre.org/techniques/AML.T0081/"
104
105
106[rule.threat_mappings.threat.tactic]
107id = "AML.TA0006"
108name = "Persistence"
109reference = "https://atlas.mitre.org/tactics/AML.TA0006/"
110
111[rule.investigation_fields]
112field_names = [
113    "@timestamp",
114    "event.action",
115    "user.id",
116    "openai_chatgpt_enterprise.audit_log.action_data.feature",
117    "openai_chatgpt_enterprise.audit_log.action_data.value",
118    "openai_chatgpt_enterprise.audit_log.action_privilege",
119    "source.ip",
120]

Triage and analysis

Investigating OpenAI ChatGPT Enterprise Workspace Feature Toggled

A workspace feature flag changed. Adversaries may enable sharing or weaken controls to broaden data exposure or persist access.

Escalate when the feature increases sharing or reduces security controls without an approved change. Close as a false positive for documented rollout toggles by administrators.

Possible investigation steps

  • Identify the actor and which feature was enabled or disabled.
  • Determine whether the change increases sharing, external visibility, or weakens security controls.
  • Correlate with other admin actions by the same actor, such as role changes, invites, or exports.
  • Confirm whether a change request authorized the toggle.

False positive analysis

  • Administrators intentionally enable or disable workspace features during approved rollouts.

Response and remediation

  • Revert unauthorized feature changes and review other admin actions by the same actor.

References

Related rules

to-top