Skip to content

Commit f55848b

Browse files
labels
1 parent e7979db commit f55848b

File tree

1 file changed

+91
-37
lines changed

1 file changed

+91
-37
lines changed

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

Lines changed: 91 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ sidebar:
77
label: Labeling service
88
---
99

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

1212
API Shield's labeling service will help you organize your endpoints and address vulnerabilities in your API. The labeling service comes with managed and user-defined labels.
1313

@@ -81,48 +81,102 @@ Cloudflare will only add authentication labels to endpoints with successful resp
8181

8282
## Create a label
8383

84-
<Steps>
85-
1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com/), and select your account and domain.
86-
2. Go to **Security** > **Settings** > **Labels**.
87-
3. Under **Security labels**, select **Create label**.
88-
4. Name the label and add an optional label description.
89-
5. Apply the label to your selected endpoints.
90-
6. Select **Create label**.
91-
</Steps>
92-
93-
Alternatively, you can create a user-defined label via Endpoint Management in API Shield:
94-
95-
<Steps>
96-
1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com/), and select your account and domain.
97-
2. Go to **Security** > **Settings** > **Labels**.
98-
3. Choose the endpoint that you want to label.
99-
4. Select **Edit labels**.
100-
5. Under **User**, select **Create user label**.
101-
6. Enter the label name.
102-
7. Select **Create**.
103-
</Steps>
84+
<Tabs syncKey="dashNewNav">
85+
<TabItem label="Old dashboard">
86+
<Steps>
87+
1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com/), and select your account and domain.
88+
2. Go to **Security** > **Settings** > **Labels**.
89+
3. Under **Security labels**, select **Create label**.
90+
4. Name the label and add an optional label description.
91+
5. Apply the label to your selected endpoints.
92+
6. Select **Create label**.
93+
</Steps>
94+
95+
Alternatively, you can create a user-defined label via Endpoint Management in API Shield:
96+
97+
<Steps>
98+
1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com/), and select your account and domain.
99+
2. Go to **Security** > **Settings** > **Labels**.
100+
3. Choose the endpoint that you want to label.
101+
4. Select **Edit labels**.
102+
5. Under **User**, select **Create user label**.
103+
6. Enter the label name.
104+
7. Select **Create**.
105+
</Steps>
106+
</TabItem>
107+
<TabItem label="New dashboard" icon="rocket">
108+
<Steps>
109+
1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com/login), and select your account and domain.
110+
2. Go to **Security** > **Settings**.
111+
3. Filter by **API abuse**.
112+
4. Under **Endpoint labels**, select **Manage label**.
113+
5. Name the label and add an optional label description.
114+
6. Apply the label to your selected endpoints.
115+
7. Select Create label.
116+
</Steps>
117+
Alternatively, you can create a user-defined label via **Security** > **Web Assets**.
118+
<Steps>
119+
1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com/login), and select your account and domain.
120+
2. Go to **Security** > **Web assets** > **Endpoints**.
121+
3. Choose the endpoint that you want to label.
122+
4. Select **Edit endpoint labels**.
123+
5. Under **User**, select **Create user label**.
124+
6. Enter the label name.
125+
7. Select **Create**.
126+
</Steps>
127+
</TabItem>
128+
</Tabs>
104129

105130
## Apply a label to an individual endpoint
106131

107-
<Steps>
108-
1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com/), and select your account and domain.
109-
2. Go to **Security** > **API Shield** > **Endpoint Management**.
110-
3. Choose the endpoint that you want to label.
111-
4. Select **Edit labels**.
112-
5. Add the label(s) that you want to use for the endpoint from the list of managed and user-defined labels.
113-
6. Select **Save labels**.
114-
</Steps>
132+
<Tabs syncKey="dashNewNav">
133+
<TabItem label="Old dashboard">
134+
<Steps>
135+
1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com/), and select your account and domain.
136+
2. Go to **Security** > **API Shield** > **Endpoint Management**.
137+
3. Choose the endpoint that you want to label.
138+
4. Select **Edit labels**.
139+
5. Add the label(s) that you want to use for the endpoint from the list of managed and user-defined labels.
140+
6. Select **Save labels**.
141+
</Steps>
142+
</TabItem>
143+
<TabItem label="New dashboard" icon="rocket">
144+
<Steps>
145+
1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com/login), and select your account and domain.
146+
2. Go to **Security** > **Web assets** > **Endpoints**.
147+
3. Choose the endpoint that you want to label.
148+
4. Select **Edit endpoint labels**.
149+
5. Add the label(s) that you want to use for the endpoint from the list of managed and user-defined labels.
150+
6. Select **Save labels**.
151+
</Steps>
152+
</TabItem>
153+
</Tabs>
115154

116155
## Bulk apply labels to multiple endpoints
117156

118-
<Steps>
119-
1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com/), and select your account and domain.
120-
2. Go to **Security** > **Settings** > **Labels**.
121-
3. On the existing label that you want to apply to multiple endpoints, select **Bulk apply**.
122-
4. Choose the endpoints that you want to label by selecting its checkbox.
123-
5. Select **Save label**.
124-
</Steps>
157+
<Tabs syncKey="dashNewNav">
158+
<TabItem label="Old dashboard">
159+
<Steps>
160+
1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com/), and select your account and domain.
161+
2. Go to **Security** > **Settings** > **Labels**.
162+
3. On the existing label that you want to apply to multiple endpoints, select **Bulk apply**.
163+
4. Choose the endpoints that you want to label by selecting its checkbox.
164+
5. Select **Save label**.
165+
</Steps>
166+
</TabItem>
167+
<TabItem label="New dashboard" icon="rocket">
168+
<Steps>
169+
1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com/login), and select your account and domain.
170+
2. Go to **Security** > **Settings**.
171+
3. Filter by **API abuse**.
172+
4. On **Endpoint labels**, select **Manage labels**.
173+
5. On the existing label that you want to apply to multiple endpoints, select Bulk apply.
174+
6. Choose the endpoints that you want to label by selecting its checkbox.
175+
7. Select **Apply label**.
176+
</Steps>
177+
</TabItem>
178+
</Tabs>
125179

126180
## Availability
127181

128-
Endpoint Management's labeling service is available to all customers.
182+
Endpoint labeling is available to all customers.

0 commit comments

Comments
 (0)