Skip to content

Commit 968ff6c

Browse files
committed
Adding more content, matching text to current UI.
1 parent e952c41 commit 968ff6c

File tree

3 files changed

+57
-4
lines changed

3 files changed

+57
-4
lines changed

src/content/docs/ai-audit/features/ai-crawler-detection.mdx renamed to src/content/docs/ai-audit/features/detect-ai-crawlers.mdx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: AI crawler detection
2+
title: Detect AI crawlers
33
pcx_content_type: concept
44
sidebar:
55
order: 2
@@ -17,6 +17,8 @@ AI Audit provides you with the following metrics to help you understand how AI c
1717
| Summary | A list of AI crawlers with the most number of crawl requests |
1818
| Most popular paths by AI crawlers | The most popular pages crawled by AI crawlers, for each AI crawler |
1919

20+
The **Summary** table also enables you to [Direct AI crawlers with managed robots.txt](/bots/additional-configurations/managed-robots-txt/).
21+
2022
## Filter AI crawler data
2123

2224
You can use filters to narrow the scope of your result.
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
---
2+
title: Enforce robots.txt
3+
pcx_content_type: concept
4+
sidebar:
5+
order: 5
6+
---
7+
8+
import { Steps } from "~/components";
9+
10+
AI Audit allows you to enforce [`robots.txt`](/radar/glossary/#robotstxt) which instructs bots which webpages they can and cannot access.
11+
12+
To enforce `robots.txt`:
13+
14+
<Steps>
15+
1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com/), and select your account and domain.
16+
2. Go to **AI Audit**.
17+
3. From the dropdown at the top of the page, select a specific subdomain where you wish you enforce `robots.txt`.
18+
4. From **Summary**, select **Enforce robots.txt policy**.
19+
5. From the **Enforce your robots.txt policy** page, select **Go to WAF custom rules**.
20+
6. From the **New custom rule** page, name your custom rule.
21+
- The page will automatically populate the values for the custom rule.
22+
7. From **Then take action...**:
23+
- For **Choose action**, select **Block**.
24+
- For **With response type**, select **Default Cloudflare WAF block page**.
25+
8. From **Place at**:
26+
- For **Select order**, select **Last**.
27+
9. Select **Deploy**.
28+
</Steps>
29+
30+
This custom rule ensures that bots which do not respect `robots.txt` are blocked.
31+
32+
## Related resources
33+
34+
For more information, refer to the following resources.
35+
36+
- [What is robots.txt? | How a robots.txt file works](https://www.cloudflare.com/en-gb/learning/bots/what-is-robots-txt/)
37+
- [Direct AI crawlers with managed robots.txt](/bots/additional-configurations/managed-robots-txt/)

src/content/docs/ai-audit/get-started.mdx

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,22 +36,36 @@ To use AI Audit:
3636
4. From the **Bot traffic** page, under **Block AI Bots**, select **Enable**.
3737
</Steps>
3838

39-
## 2. Block specific AI crawlers (Enterprise plan only)
39+
## 2. Block specific bot categories (Enterprise plan only)
4040

4141
Customers on the Enterprise plan can choose to only block specific AI crawlers, while allowing others.
4242

4343
{/* prettier-ignore */}
4444
<Steps>
4545
1. Go to the **AI Audit**.
4646
2. From **Most Popular Paths**, select **Block Some**.
47-
3. From the **Security rules** page,
47+
3. From the **Security rules** page, select **Create rule** > **Custom rules**.
48+
4. Provide a name for the custom rule. For example, "Block unwanted AI crawlers".
49+
5. From the **Field** dropdown, select **Verified Bot Category**.
50+
6. From the **Value** dropdown, select the specific bot category you wish to block.
51+
- You can use **And** / **Or** buttons to add additional conditions. For example, you can use multiple **Or** options to include multiple bot categories in the same rule.
52+
7. From the **Then take action...** section:
53+
- For **Choose action**, select **Block**.
54+
- For **With response type**, select **Default Cloudflare WAF block page**.
55+
8. From the **Place at** section:
56+
- For **Select order**, select **First**.
57+
9. Select **Save**.
4858
</Steps>
4959

60+
This custom rule will only block the AI bots which belong to the [verified bot categories](/bots/concepts/bot/verified-bots/categories/) you have included in your rule (in step 6).
61+
62+
For more information on creating a custom WAF rule, refer to [Create a custom rule in the dashboard](/waf/custom-rules/create-dashboard/).
63+
5064
## 3. Review detected AI crawlers
5165

5266
Review the AI crawlers detected on your site in the **Metrics** tab of the Cloudflare dashboard for key metrics.
5367

54-
Refer to [AI crawler detection](/ai-audit/features/ai-crawler-detection/) for more information.
68+
Refer to [Detect AI crawlers](/ai-audit/features/detect-ai-crawlers/) for more information.
5569

5670
## Related resources
5771

0 commit comments

Comments
 (0)