47 lines
2.5 KiB
Markdown
47 lines
2.5 KiB
Markdown
---
|
|
title: Enabling AI-powered generic secret detection
|
|
shortTitle: Enable generic secret detection
|
|
intro: '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.'
|
|
versions:
|
|
feature: secret-scanning-ai-generic-secret-detection
|
|
type: how_to
|
|
topics:
|
|
- Secret scanning
|
|
- Advanced Security
|
|
- AI
|
|
redirect_from:
|
|
- /code-security/secret-scanning/enabling-ai-powered-generic-secret-detection
|
|
---
|
|
|
|
{% 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 %}
|
|
1. 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 %}
|
|
1. In the "Security" section of the sidebar, click **{% octicon "codescan" aria-hidden="true" %} Code security** then **Global settings**.
|
|
1. 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](/code-security/secret-scanning/managing-alerts-from-secret-scanning)."
|
|
|
|
## Further reading
|
|
|
|
* [AUTOTITLE](/code-security/secret-scanning/using-advanced-secret-scanning-and-push-protection-features/generic-secret-detection/about-the-detection-of-generic-secrets-with-secret-scanning)
|
|
* [AUTOTITLE](/code-security/secret-scanning/about-secret-scanning)
|