OpenAI ChatGPT Enterprise Resources Sharing Updated

Detects ChatGPT Enterprise audit events that publish a GPT or update sharing for GPTs, skills, or projects (gpt_publish, update_sharing, skill_share, project_update_sharing). Broadening share scope can expose custom instructions, tools, or proprietary agent configurations beyond the original audience.

Elastic rule (View on GitHub)

  1[metadata]
  2creation_date = "2026/10/06"
  3integration = ["openai_chatgpt_enterprise"]
  4maturity = "production"
  5updated_date = "2026/10/06"
  6
  7[rule]
  8author = ["Elastic"]
  9description = """
 10Detects ChatGPT Enterprise audit events that publish a GPT or update sharing for GPTs, skills, or projects
 11(`gpt_publish`, `update_sharing`, `skill_share`, `project_update_sharing`). Broadening share scope can expose custom
 12instructions, tools, or proprietary agent configurations beyond the original audience.
 13"""
 14false_positives = [
 15    "Teams intentionally publish GPTs or skills for approved internal or partner use under change management.",
 16]
 17from = "now-9m"
 18language = "esql"
 19license = "Elastic License v2"
 20name = "OpenAI ChatGPT Enterprise Resources Sharing Updated"
 21note = """## Triage and analysis
 22
 23### Investigating OpenAI ChatGPT Enterprise Resources Sharing Updated
 24
 25A GPT was published or a GPT, skill, or project sharing setting changed. Broadening share scope can expose proprietary instructions, connectors, or data.
 26
 27Escalate when `shared_to.recipient_type` or related fields indicate a wider audience than policy allows, the asset includes sensitive instructions or connectors, or the publisher is unexpected. Close as a false positive for intentional publication under an approved release process.
 28
 29#### Possible investigation steps
 30
 31- Identify the actor and the GPT, skill, or project identifiers on the alert.
 32- Review `openai_chatgpt_enterprise.audit_log.action_data.shared_to.recipient_type` and other share-scope fields when present.
 33- Confirm whether store or broad visibility was enabled and whether that matches change management.
 34- Look for related publish, share, or connector-link events from the same actor.
 35
 36### False positive analysis
 37
 38- Teams intentionally publish GPTs or skills for approved internal or partner use under change management.
 39
 40### Response and remediation
 41
 42- Restrict unauthorized shares, unpublish if needed, and inventory other published assets by the same actor.
 43"""
 44references = [
 45    "https://www.elastic.co/docs/reference/integrations/openai_chatgpt_enterprise",
 46    "https://platform.openai.com/docs/compliance",
 47]
 48risk_score = 47
 49rule_id = "5dc8f0cd-afd3-473c-ba47-82f1f57a174d"
 50setup = """## Setup
 51
 52This rule requires the OpenAI ChatGPT Enterprise integration to collect compliance logs into Elasticsearch.
 53
 54https://www.elastic.co/docs/reference/integrations/openai_chatgpt_enterprise
 55"""
 56severity = "medium"
 57tags = [
 58    "Domain: GenAI",
 59    "Platform: OpenAI",
 60    "Data Source: OpenAI ChatGPT Enterprise",
 61    "Service: OpenAI ChatGPT Enterprise",
 62    "Use Case: Threat Detection",
 63    "Resources: Investigation Guide",
 64    "Rule Type: ES|QL",
 65    "Tactic: Exfiltration",
 66    "Mitre Atlas: AML.T0025",
 67]
 68timestamp_override = "event.ingested"
 69type = "esql"
 70
 71query = '''
 72from logs-openai_chatgpt_enterprise.audit_log-* metadata _id, _version, _index
 73| where
 74    data_stream.dataset == "openai_chatgpt_enterprise.audit_log" and
 75    event.action in ("gpt_publish", "update_sharing", "skill_share", "project_update_sharing")
 76| keep
 77    _id, _version, _index, @timestamp, event.action, user.id, user.email, source.ip,
 78    openai_chatgpt_enterprise.audit_log.action_data.gpt_id,
 79    openai_chatgpt_enterprise.audit_log.action_data.agent_id,
 80    openai_chatgpt_enterprise.audit_log.action_data.skill_id,
 81    openai_chatgpt_enterprise.audit_log.action_data.shared_to.recipient_type,
 82    openai_chatgpt_enterprise.audit_log.action_data.third_party_gizmo_id,
 83    openai_chatgpt_enterprise.audit_log.action_privilege, data_stream.*
 84'''
 85
 86
 87[[rule.threat]]
 88framework = "MITRE ATT&CK"
 89[[rule.threat.technique]]
 90id = "T1567"
 91name = "Exfiltration Over Web Service"
 92reference = "https://attack.mitre.org/techniques/T1567/"
 93
 94
 95[rule.threat.tactic]
 96id = "TA0010"
 97name = "Exfiltration"
 98reference = "https://attack.mitre.org/tactics/TA0010/"
 99
100[[rule.threat_mappings]]
101framework = "MITRE ATLAS"
102version = "2026.08"
103[[rule.threat_mappings.threat]]
104framework = "MITRE ATLAS"
105[[rule.threat_mappings.threat.technique]]
106id = "AML.T0025"
107name = "Exfiltration via Cyber Means"
108reference = "https://atlas.mitre.org/techniques/AML.T0025/"
109
110
111[rule.threat_mappings.threat.tactic]
112id = "AML.TA0010"
113name = "Exfiltration"
114reference = "https://atlas.mitre.org/tactics/AML.TA0010/"
115
116[rule.investigation_fields]
117field_names = [
118    "@timestamp",
119    "event.action",
120    "user.id",
121    "openai_chatgpt_enterprise.audit_log.action_data.gpt_id",
122    "openai_chatgpt_enterprise.audit_log.action_data.skill_id",
123    "openai_chatgpt_enterprise.audit_log.action_data.shared_to.recipient_type",
124    "source.ip",
125]

Triage and analysis

Investigating OpenAI ChatGPT Enterprise Resources Sharing Updated

A GPT was published or a GPT, skill, or project sharing setting changed. Broadening share scope can expose proprietary instructions, connectors, or data.

Escalate when shared_to.recipient_type or related fields indicate a wider audience than policy allows, the asset includes sensitive instructions or connectors, or the publisher is unexpected. Close as a false positive for intentional publication under an approved release process.

Possible investigation steps

  • Identify the actor and the GPT, skill, or project identifiers on the alert.
  • Review openai_chatgpt_enterprise.audit_log.action_data.shared_to.recipient_type and other share-scope fields when present.
  • Confirm whether store or broad visibility was enabled and whether that matches change management.
  • Look for related publish, share, or connector-link events from the same actor.

False positive analysis

  • Teams intentionally publish GPTs or skills for approved internal or partner use under change management.

Response and remediation

  • Restrict unauthorized shares, unpublish if needed, and inventory other published assets by the same actor.

References

Related rules

to-top