GitHub a branch protection requirement was overridden by a repository administrator

This page is not yet available in Spanish. We are working on its translation.
If you have any questions or feedback about our current translation project, feel free to reach out to us!

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.