-
Notifications
You must be signed in to change notification settings - Fork 10.4k
[Turnstile] Q4 updates, feature table, ephemeral IDs #18721
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
aa8df8b
feature table
patriciasantaana d1f8738
hostname management
patriciasantaana bc0484d
Merge branch 'production' into patricia/pcx11286-14979-14981
patriciasantaana 57e88df
typo
patriciasantaana 2d650a5
widget
patriciasantaana ca333b3
faq entry
patriciasantaana 1306dbe
ephemeral ids draft
patriciasantaana 5709382
server side validation guidance
patriciasantaana 464ec06
Merge branch 'production' into patricia/pcx11286-14979-14981
patriciasantaana 9a07af6
Merge branch 'production' into patricia/pcx11286-14979-14981
patriciasantaana 2714d53
Merge branch 'production' into patricia/pcx11286-14979-14981
patriciasantaana f0976ef
Merge branch 'production' into patricia/pcx11286-14979-14981
patriciasantaana 427f573
some edits
patriciasantaana 339e24b
Merge branch 'production' into patricia/pcx11286-14979-14981
patriciasantaana b4a42a7
feedback edits
patriciasantaana 8245f9c
any hostname
patriciasantaana 1cb274b
remove aside
patriciasantaana 735cbe8
ephemeral id availability
patriciasantaana 509795c
edits
patriciasantaana dd1f5bc
Merge branch 'production' into patricia/pcx11286-14979-14981
patriciasantaana d5d6fff
feedback again
patriciasantaana File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,23 @@ | ||
| --- | ||
| title: Ephemeral IDs | ||
| pcx_content_type: reference | ||
| sidebar: | ||
| order: 4 | ||
|
|
||
| --- | ||
|
|
||
| Ephemeral IDs generate a unique short-lived ID that can link behavior to a specific client instead of an IP address without relying on setting any cookies or using similar client-side storage. | ||
|
|
||
| When the same visitor interacts with Turnstile widgets from different Cloudflare customers, they receive different Ephemeral IDs for each contact. In attacks where fraudsters attempt to disguise themselves using different IP addresses, Ephemeral IDs detect abuse patterns more accurately than determining whether the visitor is a human or a bot. | ||
|
|
||
| Ephemeral IDs not unique and have a lifespan of up to a few days. They can be useful for identifying a bad actor in acute attacks such as sudden spikes in fake account creations or credential stuffing. | ||
|
|
||
| Refer to the [blog post](https://blog.cloudflare.com/turnstile-ephemeral-ids-for-fraud-detection/) for more information. | ||
|
|
||
| ## Availability | ||
|
|
||
| Ephemeral IDs are available to Enterprise Bot Management customers with the Enterprise Turnstile add-on or standalone Enterprise Turnstile customers. Contact your account team for access to Ephemeral IDs. | ||
|
|
||
| ## Enablement | ||
|
|
||
| After your account team enables the Ephemeral ID entitlement, you must turn it on for the widget that you want the Ephemeral ID on via the [API call](/api/resources/turnstile/subresources/widgets/methods/update/). |
36 changes: 36 additions & 0 deletions
36
src/content/docs/turnstile/concepts/hostname-management.mdx
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,36 @@ | ||
| --- | ||
| title: Hostname management | ||
| pcx_content_type: reference | ||
| sidebar: | ||
| order: 2 | ||
|
|
||
| --- | ||
|
|
||
| By default, all widgets can have up to 10 hostnames associated with a widget. A widget requires at least one hostname to be entered. | ||
|
|
||
| Only Enterprise Bot Management and Enterprise Turnstile customers can have this limit increased. Contact your account team to increase your hostname limit. | ||
|
|
||
| You must specify a list of hostnames when creating a widget. The widget can only be used on these hostnames and will not work on any other hostnames. You can use subdomains to restrict the widgets further. | ||
|
|
||
| The hostname should not contain a scheme `http://` or `https://`, a port `443`, or a path `/`. | ||
|
|
||
| Specifying a subdomain is optional. | ||
|
|
||
| For example, using the `www.example.com` value will allow widgets on the following hostnames: | ||
|
|
||
| - `www.example.com` | ||
| - `abc.www.example.com:8080` | ||
|
|
||
| but not on the following hostnames: | ||
|
|
||
| - `example.com` | ||
| - `dash.example.com` | ||
| - `cloudflare.com` | ||
|
|
||
| When the widget is embedded on a hostname not listed, it will show an error message. | ||
|
|
||
| ## Optional hostname validation | ||
|
|
||
| Customers with Enterprise Bot Management or Enterprise Turnstile can have the optional `any hostname` validation entitlement. | ||
|
|
||
| By default, a widget requires at least one hostname to be entered. With this entitlement, you can create and use a widget without entering any hostnames for the widget. Contact your account team to enable this entitlement. | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.