Enhance your secret detection capabilities with Copilot secret scanning
Learn how secret scanning uses AI to detect generic secrets in your code, and generate regular expressions for your custom patterns.
Who can use this feature?
Copilot secret scanning is available for the following repositories:
- Public, private, and internal repositories in organizations using GitHub Enterprise Cloud with GitHub Advanced Security enabled
Responsible detection of generic secrets with Copilot secret scanning
Learn how Copilot secret scanning uses AI responsibly to scan and create alerts for unstructured secrets, such as passwords.
Enabling Copilot secret scanning's generic secret detection
You can enable generic secret detection for your repository or organization. Alerts for generic secrets, such as passwords, are displayed in a separate list on the secret scanning alerts page.
Responsible generation of regular expressions with Copilot secret scanning
Learn about the capabilities and limitations of the regular expression generator in helping you to define custom patterns to extend the capabilities of secret scanning.
Generating regular expressions for custom patterns with Copilot secret scanning
You can use Copilot secret scanning's regular expression generator to write regular expressions for custom patterns. The generator uses an AI model to generate expressions that match your input, and optionally example strings.