Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Co-authored-by: Isaac Brown <101839405+isaacmbrown@users.noreply.github.com> Co-authored-by: mchammer01 <42146119+mchammer01@users.noreply.github.com> Co-authored-by: Anne-Marie <102995847+am-stead@users.noreply.github.com> Co-authored-by: Hector Alfaro <hectorsector@github.com> Co-authored-by: Vanessa <vgrl@github.com> Co-authored-by: Erin Havens <erinhav@github.com> Co-authored-by: Aaron Waggener <73763104+aaronwaggener@users.noreply.github.com> Co-authored-by: Sam Browning <106113886+sabrowning1@users.noreply.github.com> Co-authored-by: Sarah Schneider <sarahs@users.noreply.github.com> Co-authored-by: Sarita Iyer <66540150+saritai@users.noreply.github.com> Co-authored-by: Sarah Schneider <sarahs@github.com>
3.3 KiB
title, shortTitle, intro, allowTitleToDifferFromFilename, permissions, versions, type, topics, redirect_from
| title | shortTitle | intro | allowTitleToDifferFromFilename | permissions | versions | type | topics | redirect_from | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Enabling Copilot secret scanning's generic secret detection | Enable generic secret detection | You can enable {% data variables.secret-scanning.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. | true | {% data reusables.permissions.security-repo-enable %} |
|
how_to |
|
|
Enabling {% data variables.secret-scanning.generic-secret-detection %}
{% data reusables.secret-scanning.generic-secret-detection-policy-note %}
You can enable {% data variables.secret-scanning.generic-secret-detection %} in the security settings page of your repository or organization.
{% data reusables.secret-scanning.copilot-secret-scanning-generic-secrets-subscription-note %}
Enabling {% data variables.secret-scanning.generic-secret-detection %} for your repository
{% data reusables.repositories.navigate-to-repo %} {% data reusables.repositories.sidebar-settings %} {% data reusables.repositories.navigate-to-code-security-and-analysis %}
- Under "{% data variables.product.prodname_secret_protection %}", to the right of "Scan for generic passwords", click Enable.
Enabling {% data variables.secret-scanning.generic-secret-detection %} for your organization
You must configure {% data variables.secret-scanning.generic-secret-detection %} for your organization using a {% data variables.product.prodname_custom_security_configuration %}. You can then apply the {% data variables.product.prodname_security_configuration %} to all (or selected) repositories in your organization.
- Create a new {% data variables.product.prodname_custom_security_configuration %}, or edit an existing one. See AUTOTITLE.
- When creating the custom security configuration, ensure that "{% data variables.product.prodname_secret_protection %}" is set to Enabled, and that the dropdown menu for "Scan for generic secrets" is also set to Enabled.
- Apply the {% data variables.product.prodname_custom_security_configuration %} to one or more repositories. For more information, see Applying a {% data variables.product.prodname_custom_security_configuration %}.
For information on how to view alerts for generic secrets that have been detected using AI, see AUTOTITLE.