Skip to content

Commit

Permalink
Merge pull request #35621 from github/repo-sync
Browse files Browse the repository at this point in the history
Repo sync
  • Loading branch information
docs-bot authored Dec 11, 2024
2 parents dd6df90 + 9136687 commit 3d48e50
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ You can enable push protection:

For information about the secrets and service providers supported by push protection, see "[AUTOTITLE](/code-security/secret-scanning/introduction/supported-secret-scanning-patterns#supported-secrets)."

Push protection has some limitations. For more information, see "[AUTOTITLE](/code-security/secret-scanning/troubleshooting-secret-scanning-and-push-protection/troubleshooting-secret-scanning#push-protection-limitations)."

## How push protection works

Push protection works:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,5 @@ If your secret is in the supported list, there are various reasons why push prot
* The version of your secret may be old. {% data reusables.secret-scanning.push-protection-older-tokens %}
* The push may be too large, for example, if you're trying to push thousands of large files. A push protection scan may time out and not block a user if the push is too large. {% data variables.product.prodname_dotcom %} will still scan and create alerts, if needed, after the push.
* If the push results in the detection of over five new secrets, we will only show you the first five (we will always show you a maximum of five secrets at one time).
* If a push contains over 1,000 existing secrets (that is, secrets for which alerts have already been created), push protection will not block the push.
* If a push contains over 1,000 existing secrets (that is, secrets for which alerts have already been created), push protection will not block the push. {% ifversion fpt or ghec %}
* If a push in a public repository is larger than 50 MB, push protection will skip it and won't scan it.{% endif %}
2 changes: 1 addition & 1 deletion src/audit-logs/lib/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
"apiOnlyEvents": "This event is not available in the web interface, only via the REST API, audit log streaming, or JSON/CSV exports.",
"apiRequestEvent": "This event is only available via audit log streaming."
},
"sha": "2c40dff92f97e4efcefcfd98ed9e6c9f3d69284b"
"sha": "1b079a4c67a6c2eecccbef1d2d465dd62bc2248b"
}

0 comments on commit 3d48e50

Please sign in to comment.