1
0
mirror of synced 2025-12-23 11:54:18 -05:00
Files
docs/content/code-security/secret-scanning/enabling-ai-powered-generic-secret-detection.md
2024-07-17 18:42:02 +00:00

2.3 KiB

title, shortTitle, intro, versions, type, topics
title shortTitle intro versions type topics
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.
feature
secret-scanning-ai-generic-secret-detection
how_to
Secret scanning
Advanced Security
AI

{% 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.
  2. 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."

Further reading