Skip to content

Commit 172f7e7

Browse files
[API Shield] Risk labels (#18876)
* risk labels * Apply suggestions from code review Co-authored-by: ranbel <[email protected]> --------- Co-authored-by: ranbel <[email protected]>
1 parent 2715694 commit 172f7e7

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

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

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,23 @@ You can filter your endpoints based on the labels.
3838

3939
`cf-account-update`: Add this label to endpoints that participate in user account or profile updates.
4040

41+
`cf-rss-feed`: Add this label to endpoints that expect traffic from RSS clients.
42+
43+
`cf-risk-missing-auth`: Automatically added when all successful requests lack a session identifier. Refer to the table below for more information.
44+
45+
`cf-risk-mixed-auth`: Automatically added when some successful requests contain a session identifier and some successful requests lack a session identifier. Refer to the table below for more information.
46+
47+
`cf-risk-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.
48+
49+
:::note
50+
Cloudflare will only add authentication labels to endpoints with successful response codes. Refer to the below table for more details.
51+
:::
52+
53+
| Description | 2xx response codes | 4xx, 5xx response codes |
54+
| --- | --- | --- |
55+
| If all requests are missing authentication, Cloudflare will apply the label: | `cf-missing-auth` | Without successful responses, no label will be added. |
56+
| If only some requests are missing authentication, Cloudflare will apply the label: | `cf-mixed-auth` | Without successful responses, no label will be added. |
57+
4158
## Create a label
4259

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

0 commit comments

Comments
 (0)