GitHub a branch protection requirement was overridden by a repository administrator

github-telemetry

Classification:

attack

Goal

Detect when GitHub branch protection has been overidden by a repository administrator.

Strategy

This rule monitors GitHub audit logs for when GitHub branch protection has been overidden by a repository administrator. By default, the restrictions of a branch protection rule do not apply to users with administrative permissions to the repository or users with custom roles with the “bypass branch protections” permission. Overriding this protection could lead to degradation in the security posture of an 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.