OpenAI ChatGPT Enterprise Codex Security Scan Configuration Changed

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

About

Detects ChatGPT Enterprise Codex security-log events that create or update a repository scan configuration. Changing scan scope, lookback, or notification rules can weaken secrets scanning coverage or redirect findings.
Tags
Domain: GenAIPlatform: OpenAIData Source: OpenAI ChatGPT EnterpriseService: OpenAI ChatGPT EnterpriseUse Case: Threat DetectionRule Type: ES|QLTactic: Defense EvasionMitre Atlas: AML.T0081Language: esql
Severity
medium
Risk Score
47
MITRE ATT&CK™

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

False Positive Examples
Security engineering teams legitimately onboard repositories and tune scan lookback windows.
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.codex_security_log-* metadata _id, _version, _index | where data_stream.dataset == "openai_chatgpt_enterprise.codex_security_log" and event.action in ("scan_configuration_created", "scan_configuration_updated") | keep _id, _version, _index, @timestamp, event.action, user.id, user.email, openai_chatgpt_enterprise.codex_security_log.client_id, openai_chatgpt_enterprise.codex_security_log.workspace_id, openai_chatgpt_enterprise.codex_security_log.event_details.scan_configuration_id, openai_chatgpt_enterprise.codex_security_log.event_details.scan_configuration_fields.repo_url, openai_chatgpt_enterprise.codex_security_log.event_details.scan_configuration_fields.scan_type, openai_chatgpt_enterprise.codex_security_log.event_details.scan_configuration_fields.state, openai_chatgpt_enterprise.codex_security_log.event_details.scan_configuration_fields.lookback_days, data_stream.*

Install detection rules in Elastic Security

Detect OpenAI ChatGPT Enterprise Codex Security Scan Configuration Changed 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).