1. GitHub Docs
"Defining custom patterns for secret scanning." Under the "Prerequisites" section
the documentation explicitly states: "Before you can define a custom pattern for your repository
you must enable secret scanning for your repository." This document also confirms that custom patterns are a feature of GitHub Advanced Security.
2. GitHub Docs
"Configuring secret scanning for your repositories." This page details the process of enabling the feature
which is the necessary first step before any advanced configuration
such as adding custom patterns
can be performed. It establishes enabling the feature as the primary action.
3. GitHub Docs
"About secret scanning." This document provides an overview of the feature
explaining that it is enabled at the repository or organization level. This foundational enablement is a prerequisite for all subsequent configurations
including custom patterns.