GitHub branch protection disabled on branch

github-telemetry

Classification:

attack

Goal

Detect when GitHub branch protection has been disabled on a branch.

Strategy

This rule monitors GitHub audit logs for when GitHub branch protection has been disabled on a branch. Orgaizations can protect important branches by setting branch protection rules, which define whether collaborators can delete or force push to the branch and set requirements for any pushes to the branch, such as passing status checks or a linear commit history. Disabling 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.