1
0
mirror of synced 2026-01-05 21:04:17 -05:00
Files
docs/content/rest/secret-scanning.md
Hector Alfaro 95e6f3d3ab Deprecate GHES 3.1 (#28798)
* add 3.1 to deprecated versions

* rewrite img src to use azure blob storage in archive script

Co-authored-by: rachmari <rachmari@users.noreply.github.com>

* remove static files for ghes 3.1

* remove liquid conditionals and content for ghes 3.1

* remove outdated hardware reqs reusable

* Fix liquid conditional uncaught by script

* Close liquid conditionals missed by script

* Apply @mattpollard's suggestions

Co-authored-by: Matt Pollard <mattpollard@users.noreply.github.com>

Co-authored-by: rachmari <rachmari@users.noreply.github.com>
Co-authored-by: Matt Pollard <mattpollard@users.noreply.github.com>
2022-07-11 21:17:09 +00:00

1.1 KiB

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

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

About the Secret scanning API

The {% data variables.product.prodname_secret_scanning %} API lets you:

  • 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 "Repositories" and expand the "Properties of the security_and_analysis object" section in the REST API documentation.
  • Retrieve and update {% data variables.product.prodname_secret_scanning_GHAS %} alerts from a repository. For further details, see the sections below.

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