Sigma rule: Github Push Protection Disabled

A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-133289381ca6, updated 2024-03-07T00:00:00.000Z.

Rule

Title
Github Push Protection Disabled
Status
test
Level
high
Author
Muhammad Faisal (@faisalusuf)
Date
2024-03-07
File
rules/application/github/audit/github_push_protection_disabled.yml
Commit
ccbb0369507f796db0b0ae6854c8a2be471b9d84

Detects if the push protection feature is disabled for an organization, enterprise, repositories or custom pattern rules.

Log source

product
github
service
audit
definition
Requirements: The audit log streaming feature must be enabled to be able to receive such logs. You can enable following the documentation here: https://docs.github.com/en/enterprise-cloud@latest/admin/monitoring-activity-in-your-enterprise/reviewing-audit-logs-for-your-enterprise/streaming-the-audit-log-for-your-enterprise#setting-up-audit-log-streaming

Detection

selection:
    action:
        - 'business_secret_scanning_custom_pattern_push_protection.disabled'
        - 'business_secret_scanning_push_protection.disable'
        - 'business_secret_scanning_push_protection.disabled_for_new_repos'
        - 'org.secret_scanning_custom_pattern_push_protection_disabled'
        - 'org.secret_scanning_push_protection_disable'
        - 'org.secret_scanning_push_protection_new_repos_disable'
        - 'repository_secret_scanning_custom_pattern_push_protection.disabled'
condition: selection

False positives (as the rule lists them)

  • Allowed administrative activities.

Tags

  • attack.defense-impairment
  • attack.t1685

MITRE ATT&CK ids this rule names

References

Read on 2026-11-03T00:58:21.399Z under licence sigma-drl-1.1@d5f4c36a from https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/application/github/audit/github_push_protection_disabled.yml

Sources and licences

  • SigmaHQ

    "Github Push Protection Disabled" by Muhammad Faisal (@faisalusuf) (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/application/github/audit/github_push_protection_disabled.yml.
    Licensed under the Detection Rule License (DRL) 1.1: https://github.com/SigmaHQ/Detection-Rule-License

    Detection Rule License (DRL) 1.1

Cite this page

Dragons Eye Ransomware Tracker, "Sigma rule: Github Push Protection Disabled",
entity page, dataset version ref-133289381ca6, updated 2024-03-07T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/ccd55945-badd-4bae-936b-823a735d37dd (accessed 2026-11-03).
Underlying source: SigmaHQ rule ccd55945-badd-4bae-936b-823a735d37dd, commit ccbb0369507f796db0b0ae6854c8a2be471b9d84.

Pages change. The dataset version identifies the data, but no archive of old versions is kept, so this citation cannot be replayed later.