Skip to content
Merged
Changes from 4 commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
2f66afb
Adding help page for switch to Github-native Dependabot
saritai Apr 2, 2021
cca18b1
Merge branch 'main' into dependabot-preview-shutdown
saritai Apr 2, 2021
6fe4f14
updated intro to include more information
saritai Apr 2, 2021
5700462
Merge branch 'dependabot-preview-shutdown' of https://github.com/gith…
saritai Apr 2, 2021
db374e1
Merge branch 'main' into dependabot-preview-shutdown
saritai Apr 2, 2021
3655e0b
added frontmatter regarding title to fix failing test
saritai Apr 2, 2021
99df60b
reconciled filename to url
saritai Apr 2, 2021
bfc80e2
fixed wrong url
saritai Apr 2, 2021
f1833dd
adding suggestion from PR
saritai Apr 2, 2021
a9c2180
Incorporating review suggestions
saritai Apr 5, 2021
bb1ca99
Merge branch 'main' into dependabot-preview-shutdown
saritai Apr 5, 2021
c4be7e0
Merge branch 'main' into dependabot-preview-shutdown
saritai Apr 5, 2021
c79ef79
Fixing PR name and intro error
saritai Apr 5, 2021
284b033
Merge branch 'dependabot-preview-shutdown' of https://github.com/gith…
saritai Apr 5, 2021
3cd22b3
Fixed procedure
saritai Apr 5, 2021
0406fb7
Added links to issues on public roadmap
saritai Apr 5, 2021
6557a30
Removing references to shutdown, will add back in when announcing the…
asciimike Apr 22, 2021
71889bc
Merge branch 'main' into repo-sync
Octomerger Apr 22, 2021
9120b02
Merge pull request #18940 from github/repo-sync
Octomerger Apr 22, 2021
147b1c3
Removed extra period
saritai Apr 22, 2021
3bc6dc8
Merge branch 'main' into dependabot-preview-shutdown
saritai Apr 22, 2021
e205710
Merge branch 'main' into repo-sync
Octomerger Apr 22, 2021
b3f655d
Merge pull request #18568 from github/dependabot-preview-shutdown
saritai Apr 22, 2021
d69c21d
Branch was updated using the 'autoupdate branch' Actions workflow.
Octomerger Apr 22, 2021
462b905
Merge pull request #18941 from github/repo-sync
Octomerger Apr 22, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion content/developers/overview/secret-scanning.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,12 @@ We strongly recommend you implement signature validation in your secret alert se

You can retrieve the {% data variables.product.prodname_dotcom %} secret scanning public key from https://api.github.com/meta/public_keys/secret_scanning and validate the message using the `ECDSA-NIST-P256V1-SHA256` algorithm.

{% note %}

**Note**: When you send a request to the public key endpoint above, you may hit rate limits. To avoid hitting rate limits, you can use a personal access token as suggested below, or use a conditional request. For more information, see "[Getting started with the REST API](/rest/guides/getting-started-with-the-rest-api#conditional-requests)."

{% endnote %}

Assuming you receive the following message, the code snippets below demonstrate how you could perform signature validation.
The code also assumes you've set an environment variable called `GITHUB_PRODUCTION_TOKEN` with a generated PAT (https://github.com/settings/tokens). The token does not need any permissions set.

Expand Down Expand Up @@ -358,4 +364,3 @@ A few important points:
**Note:** Our request timeout is set to be higher (that is, 30 seconds) for partners who provide data about false positives. If you require a timeout higher than 30 seconds, email us at <a href="mailto:[email protected]">[email protected]</a>.

{% endnote %}