For AI agents: A markdown version of this page is available at https://docs.datadoghq.com/security/default_rules/def-000-msc.md. A documentation index is available at /llms.txt.

GitHub secret scanning disabled or bypassed

Goal

Detect when a GitHub secret scanning setting has been disabled.

Strategy

This rule monitors GitHub audit logs for when a secret scanning setting has been disabled. GitHub scans repositories for known types of secrets to prevent fraudulent use of secrets that were committed accidentally. Disabling these settings could lead to a degradation in the organization’s security posture.

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.

Changelog

  • 21 February 2024 - Updated detection rule name.
  • 4 September 2024 - Updated detection rule name.
  • 3 January 2025 - update detection rule severity from High to Medium for several cases.