GitHub Organization Removed or Transferred from Enterprise

Last updated 2 months ago on 2026-09-22
Created 2 months ago on 2026-09-22

About

Identifies when a GitHub organization is removed from an enterprise or transferred to another enterprise. Removing an organization takes its repositories, members, audit history, and billing out of the enterprise's centralized management and security monitoring, while a transfer hands the organization and its repositories to a different enterprise or owner. An adversary with enterprise owner access can use either action to move intellectual property beyond the organization's visibility or to disrupt the enterprise's governance and security controls.
Tags
Domain: CloudDomain: SaaSPlatform: GitHubUse Case: Threat DetectionTactic: Defense EvasionTactic: ExfiltrationTactic: ImpactData Source: GithubData Source: GitHub Audit LogsRule Type: ES|QLLanguage: esql
Severity
high
Risk Score
73
MITRE ATT&CK™

Impact (TA0040)(external, opens in a new tab or window)

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

Exfiltration (TA0010)(external, opens in a new tab or window)

False Positive Examples
Approved org moves between enterprises or decommission of a lab org. Confirm with enterprise owners before treating as incident.
License
Elastic License v2(external, opens in a new tab or window)

Definition

Integration Pack
Prebuilt Security Detection Rules
Related Integrations

github(external, opens in a new tab or window)

Query
text code block:
from logs-github.audit-* metadata _id, _index, _version | where event.module == "github" and data_stream.dataset == "github.audit" and event.action in ("business.remove_organization", "org.transfer_outgoing", "org.transfer") | keep _id, _index, _version, @timestamp, event.action, user.name, github.org, github.actor_ip, github.hashed_token, github.programmatic_access_type, github.user_agent, github.business

Install detection rules in Elastic Security

Detect GitHub Organization Removed or Transferred from Enterprise 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).