1
0
mirror of synced 2026-01-07 00:01:39 -05:00
Files
docs/content/rest/secret-scanning.md

1.0 KiB

title, intro, versions, topics, redirect_from, autogenerated
title intro versions topics redirect_from autogenerated
Secret scanning Use the REST API to retrieve and update secret alerts from a repository.
fpt ghae ghec ghes
* * * *
API
/rest/reference/secret-scanning
rest

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

About secret scanning

You can use the API to:

  • Enable or disable {% data variables.product.prodname_secret_scanning %}{% ifversion secret-scanning-push-protection %} and push protection{% endif %} for a repository. For more information, see "AUTOTITLE" and expand the "Properties of the security_and_analysis object" section in the REST API documentation.
  • Retrieve and update {% data variables.secret-scanning.alerts %} from a repository. For further details, see the sections below.

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