GitHub branch protection disabled on branch

このページは日本語には対応しておりません。随時翻訳に取り組んでいます。
翻訳に関してご質問やご意見ございましたら、お気軽にご連絡ください

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.