Skip to content

Commit 7be827d

Browse files
schema learning
1 parent aa54d46 commit 7be827d

File tree

1 file changed

+21
-9
lines changed

1 file changed

+21
-9
lines changed

src/content/docs/api-shield/management-and-monitoring/endpoint-management/schema-learning.mdx

Lines changed: 21 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,22 +6,34 @@ sidebar:
66
order: 2
77
---
88

9-
import { Steps } from "~/components"
9+
import { Steps, Tabs, TabItem } from "~/components"
1010

1111
Cloudflare learns schema parameters via traffic inspection. For all endpoints saved to Endpoint Management, you can export the learned schema in OpenAPI `v3.0.0` format by hostname.
1212

1313
To protect your API with a learned schema, refer to [Schema validation](/api-shield/security/schema-validation/#add-validation-by-applying-a-learned-schema-to-an-entire-hostname).
1414

1515
## Export a schema
1616

17-
<Steps>
18-
1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com/), and select your account and domain.
19-
2. Select **Security** > **API Shield**.
20-
3. Navigate to **Endpoint Management**.
21-
4. Select **Export schema** and choose a hostname to export.
22-
5. Select whether to include [learned parameters](/api-shield/management-and-monitoring/#learned-schemas-will-always-include) and [rate limit recommendations](/api-shield/security/volumetric-abuse-detection/)
23-
6. Select **Export schema** and choose a location to save the file.
24-
</Steps>
17+
<Tabs syncKey="dashNewNav">
18+
<TabItem label="Old dashboard">
19+
<Steps>
20+
1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com/), and select your account and domain.
21+
2. Select **Security** > **API Shield** > **Endpoint Management**.
22+
4. Select **Export schema** and choose a hostname to export.
23+
5. Select whether to include [learned parameters](/api-shield/management-and-monitoring/#learned-schemas-will-always-include) and [rate limit recommendations](/api-shield/security/volumetric-abuse-detection/)
24+
6. Select **Export schema** and choose a location to save the file.
25+
</Steps>
26+
</TabItem>
27+
<TabItem label="New dashboard" icon="rocket">
28+
<Steps>
29+
1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com/login), and select your account and domain.
30+
2. Go to **Security** > **Web assets** > **Endpoints**.
31+
3. Select **Export schema** and choose a hostname to export.
32+
4. Select whether to include learned parameters and rate limit recommendations
33+
5. Select **Export schema** and choose a location to save the file.
34+
</Steps>
35+
</TabItem>
36+
</Tabs>
2537

2638
:::note
2739
The schema is saved as a JSON file in OpenAPI `v3.0.0` format.

0 commit comments

Comments
 (0)