GitHub organization was removed from enterprise

Goal

Detect when a GitHub enterprise organization has been removed.

Strategy

This rule monitors GitHub audit logs for when a GitHub enterprise organization has been removed. An enterprise account allows you to manage and enforce policies for all the organizations owned by the enterprise. The removal of an organization from an enterprise could remove existing security controls, reducing the overall security of the organization.

Triage and response

  1. Determine if the change taken by {{@github.actor}} is authorized.
  2. If the change was not authorized or was unexpected, begin your organization’s incident response process and investigate.