Skip to content

Commit 6f44d31

Browse files
api shield labeling service
1 parent 90b0248 commit 6f44d31

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

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

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,39 @@ User-defined labels can also be added to endpoints in API Shield by creating a l
1616

1717
You can sort and filter your endpoints based on the labels.
1818

19+
## Managed labels
20+
21+
`cf-log-in`: Add this label to endpoints that accept user credentials. You may have multiple endpoints if you accept username, password, and MFA across multiple endpoints or requests.
22+
23+
`cf-sign-up`: Add this label to endpoints that are the final step in creating user accounts for your site or application.
24+
25+
`cf-content`: Add this label to endpoints that provide unique content, such as product details, user reviews, pricing or other unique information.
26+
27+
`cf-purchase`: Add this label to endpoints that are the final step in purchasing goods or services online.
28+
29+
`cf-password-reset`: Add this label to endpoints that participate in the user password reset process. This includes initial password reset requests and final password reset submissions.
30+
31+
`cf-add-cart`: Add this label to endpoints that add items to a user’s shopping cart or verify item availability.
32+
33+
`cf-add-payment`: Add this label to endpoints that accept credit card or bank account details where fraudsters may iterate through account numbers to guess valid combinations of payment information.
34+
35+
`cf-check-value`: Add this label to endpoints that check the balance of rewards points, in-game currency, or other stored value products that can be earned, transferred, and redeemed for cash or physical goods.
36+
37+
`cf-add-post`: Add this label to endpoints that post messages in a communication forum or product/merchant review.
38+
39+
`cf-account-update`: Add this label to endpoints that participate in user account/profile updates.
40+
41+
`cf-missing-auth`: Cloudflare will automatically add this label to endpoints where all successful responses are sent back to requests made by unauthenticated users without a session identifier. Refer to the table below for more information.
42+
43+
`cf-mixed-auth`: Cloudflare will automatically add this label to endpoints that respond successfully to requests sent by users who are not required to be authenticated, both with and without session identifiers. Refer to the table below for more information.
44+
45+
`cf-sensitive`: Cloudflare will automatically add this label to endpoints when HTTP responses match the WAF’s [Sensitive Data Detection](/api-shield/management-and-monitoring/#sensitive-data-detection) ruleset.
46+
47+
| Description | 4xx, 5xx responses | 2xx responses |
48+
| --- | --- | --- |
49+
| If _all_ requests are missing authentication, Cloudflare will apply the label: | (no label) | `cf-missing-auth` |
50+
| If only _some_ requests missing authentication, Cloudflare will apply the label: | (no label) | `cf-mixed-auth` |
51+
1952
## Create a label
2053

2154
1. Log in to the [Cloudflare dashboard](https://dash.cloudflare.com/) and select your account and domain.

0 commit comments

Comments
 (0)