2.5 KiB
title, shortTitle, intro, versions, type, topics, redirect_from
| title | shortTitle | intro | versions | type | topics | redirect_from | ||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Enabling AI-powered generic secret detection | Enable generic secret detection | You can enable AI-powered generic secret detection for your repository or organization. Alerts for generic secrets, such as passwords, are displayed in a separate list on the {% data variables.product.prodname_secret_scanning %} alerts page. |
|
how_to |
|
|
{% data reusables.secret-scanning.generic-secret-detection-ai %}
Enabling AI-powered generic secret detection for your repository
To use generic secret detection, an enterprise owner must first set a policy at the enterprise level that controls whether repositories can enable or disable AI detection. This policy is set to "allowed" by default.
You can then enable the feature in the "Code security and analysis" settings page of your repository.
{% data reusables.repositories.navigate-to-repo %} {% data reusables.repositories.sidebar-settings %} {% data reusables.repositories.navigate-to-code-security-and-analysis %} {% data reusables.repositories.navigate-to-ghas-settings %}
- Under "Secret scanning", select the checkbox next to "Use AI detection to find additional secrets".
Enabling AI-powered generic secret detection for your organizations
To use generic secret detection, an enterprise owner must first set a policy at the enterprise level that controls whether repositories in an organization can enable or disable AI detection. This policy is set to "allowed" by default.
You can then enable the feature in the security settings page of your organization.
{% data reusables.profile.access_org %} {% data reusables.profile.org_settings %}
- In the "Security" section of the sidebar, click {% octicon "codescan" aria-hidden="true" %} Code security then Global settings.
- Under "Secret scanning", select the checkbox next to "Use AI detection to find additional secrets".
For information on how to view alerts for generic secrets that have been detected using AI, see "AUTOTITLE."