Skip to main content

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.

Responsible use of AI to define regular expressions

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.