OpenAI ChatGPT Enterprise Workspace Log File Deleted

Last updated 8 days ago on 2026-10-09
Created 9 days ago on 2026-10-08

About

Detects ChatGPT Enterprise audit events where a workspace compliance log file is deleted (`delete_workspace_log_file`). Adversaries with privileged access may delete exported audit or conversation log archives to remove evidence from compliance workflows and hinder investigation.
Tags
Domain: GenAIPlatform: OpenAIData Source: OpenAI ChatGPT EnterpriseService: OpenAI ChatGPT EnterpriseUse Case: Threat DetectionRule Type: ES|QLTactic: Defense EvasionMitre Atlas: AML.T0092Language: esql
Severity
medium
Risk Score
47
MITRE ATT&CK™

Defense Evasion (TA0005)(external, opens in a new tab or window)

False Positive Examples
Administrators deleting expired workspace log archives under an approved retention policy.
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.audit_log-* metadata _id, _version, _index | where data_stream.dataset == "openai_chatgpt_enterprise.audit_log" and event.action == "delete_workspace_log_file" and openai_chatgpt_enterprise.audit_log.actor.type == "ACCOUNT_USER" | keep _id, _version, _index, @timestamp, event.action, user.id, user.email, source.ip, openai_chatgpt_enterprise.audit_log.action_data.event_type, openai_chatgpt_enterprise.audit_log.action_data.log_file_id, openai_chatgpt_enterprise.audit_log.action_privilege, openai_chatgpt_enterprise.audit_log.actor.type, data_stream.*

Install detection rules in Elastic Security

Detect OpenAI ChatGPT Enterprise Workspace Log File Deleted 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).