Skip to content

Commit b207395

Browse files
update scraping content
1 parent f052778 commit b207395

File tree

1 file changed

+3
-32
lines changed

1 file changed

+3
-32
lines changed

src/content/docs/bots/additional-configurations/detection-ids/scraping-detections.mdx

Lines changed: 3 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -44,42 +44,13 @@ To access scraping detections:
4444

4545
```js title="Rule example"
4646

47-
(any(cf.bot_management.detection_ids[*] eq 50331649) and not cf.bot_management.verified_bot)
47+
(any(cf.bot_management.detection_ids[*] in {50331648 50331649}) and not cf.bot_management.verified_bot)
4848
```
4949

5050
:::tip[Best practice]
51-
If you are choosing to challenge as your rule action, check for any API calls on which you do not want to issue a challenge. To exclude requests to such paths, edit the [WAF custom rule](/waf/custom-rules/) to exclude the relevant paths.
51+
If you are choosing to challenge as your rule action, ensure that you exclude any API calls on which you do not want to issue a challenge. To exclude requests to such paths, edit the [WAF custom rule](/waf/custom-rules/) to exclude the relevant paths.
5252
:::
5353

54-
## Limit scraping requests with scraping detections
55-
56-
Rate limiting rules can limit the number of requests from a particular ASN or JA4 Fingerprint so long as it continues to exhibit suspicious behavior.
57-
58-
To use rate limiting rules with scraping detections:
59-
60-
<Tabs syncKey="dashNewNav">
61-
<TabItem label="Old dashboard">
62-
<Steps>
63-
1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com/), and select your account and domain.
64-
2. Go to **Security** > **WAF**.
65-
3. Under **Rate limiting rules**, select **Create rule**.
66-
4. Fill out the form using the **Custom expression builder** and `cf.bot_management_detection_ids` along with other necessary information.
67-
5. Select **Save as draft** to return to the rule later, or **Deploy** to deploy the rule.
68-
</Steps>
69-
</TabItem>
70-
<TabItem label="New dashboard" icon="rocket">
71-
<Steps>
72-
1. In the Cloudflare dashboard, go to the **Security rules** page.
73-
74-
<DashButton url="/?to=/:account/:zone/security/security-rules" />
75-
2. Select **Create rule** and choose **Rate limiting rule**.
76-
3. Fill out the form using the **Custom expression builder** and `cf.bot_management_detection_ids` along with other necessary information.
77-
4. Select **Save as draft** to return to the rule later, or **Deploy** to deploy the rule.
78-
</Steps>
79-
</TabItem>
80-
</Tabs>
81-
8254
:::note
83-
Detection IDs `50331648` and `50331649` are dynamically recalculated, meaning a single fingerprint would not be permanently rate limited unless it continues to remain suspicious at all times. Rate limiting on these detection IDs allows for more lenient controls, as opposed to immediately challenging or blocking.
84-
55+
The matched traffic for detection IDs `50331648` and `50331649` is dynamically re-calculated, meaning a single fingerprint would not be permanently flagged unless it continues to behave suspiciously at all times.
8556
:::

0 commit comments

Comments
 (0)