1
0
mirror of synced 2026-01-06 06:02:35 -05:00
Files
docs/content/rest/reference/secret-scanning.md

1.2 KiB

title, intro, versions, miniTocMaxHeadingLevel
title intro versions miniTocMaxHeadingLevel
Secret scanning To retrieve and update the secret alerts from a private repository, you can use Secret Scanning API.
fpt ghes ghec ghae
* >=3.1 * *
3

{% data reusables.secret-scanning.api-beta %}

The {% data variables.product.prodname_secret_scanning %} API lets you{% ifversion fpt or ghec or ghes > 3.1 or ghae %}:

  • Enable or disable {% data variables.product.prodname_secret_scanning %} for a repository. For more information, see "Repositories" in the REST API documentation.
  • Retrieve and update {% data variables.product.prodname_secret_scanning %} alerts from a {% ifversion fpt or ghec %}private {% endif %}repository. For futher details, see the sections below. {%- else %} retrieve and update {% data variables.product.prodname_secret_scanning %} alerts from a {% ifversion fpt or ghec %}private {% endif %}repository.{% endif %}

For more information about {% data variables.product.prodname_secret_scanning %}, see "About {% data variables.product.prodname_secret_scanning %}."

{% include rest_operations_at_current_path %}