Skip to content

Commit 4b7069a

Browse files
patriciasantaanaranbel
authored andcommitted
[Challenges] New dash (#23366)
* new dash * edits * missing comma * Update src/content/partials/cloudflare-challenges/javascript-detections-enable.mdx Co-authored-by: ranbel <[email protected]> --------- Co-authored-by: ranbel <[email protected]>
1 parent db0220f commit 4b7069a

File tree

3 files changed

+18
-5
lines changed

3 files changed

+18
-5
lines changed

src/content/docs/cloudflare-challenges/challenge-types/challenge-pages/challenge-passage.mdx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ sidebar:
55
order: 3
66
---
77

8-
98
When a visitor solves a [Cloudflare Challenge](/cloudflare-challenges/) - as part of a [WAF custom rule](/waf/custom-rules/) or [IP Access rule](/waf/tools/ip-access-rules/) - you can set the **Challenge Passage** to prevent them from having to solve future Challenges for a specified period of time.
109

1110
### How it works
@@ -25,7 +24,7 @@ To update the Challenge Passage (and the value of the `cf_clearance` cookie):
2524
1. Log into the [Cloudflare dashboard](https://dash.cloudflare.com).
2625
2. Select your account and domain.
2726
3. Go to **Security** > **Settings**.
28-
4. For **Challenge Passage**, select a duration.
27+
4. For **Challenge Passage**, set a duration.
2928

3029
### Limitations
3130

src/content/docs/cloudflare-challenges/challenge-types/javascript-detections.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ sidebar:
77
order: 3
88
---
99

10-
import { Render } from "~/components"
10+
import { Render, Tabs, TabItem } from "~/components"
1111

1212
<Render file="javascript-detections-definition" />
1313

src/content/partials/cloudflare-challenges/javascript-detections-enable.mdx

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,23 @@
33

44
---
55

6-
To enable JavaScript Detections:
6+
import { Tabs, TabItem, Steps } from '~/components';
77

8-
1. Log in to your [Cloudflare dashboard](https://dash.cloudflare.com/) and select your account and domain.
8+
<Tabs syncKey="dashNewNav"> <TabItem label="Old dashboard">
9+
10+
To enable JavaScript detections:
11+
12+
<Steps>
13+
1. Log in to your [Cloudflare dashboard](https://dash.cloudflare.com/), and select your account and domain.
914
2. Go to **Security** > **Bots**.
1015
3. Select **Configure Bot Management**.
1116
4. For **JavaScript Detections**, switch the toggle to **On**.
17+
</Steps>
18+
</TabItem> <TabItem label="New dashboard" icon="rocket">
19+
To enable JavaScript detections using the Bot traffic settings module:
20+
<Steps>
21+
1. Log in to your [Cloudflare dashboard](https://dash.cloudflare.com/), and select your account and domain.
22+
2. Go to **Security** > **Settings**.
23+
3. Under your bot traffic plan configurations, select the edit icon for **JS detections** and switch the **JavaScript Detections** toggle to **On**.
24+
</Steps>
25+
</TabItem> </Tabs>

0 commit comments

Comments
 (0)