Skip to content

Commit be910cc

Browse files
authored
[Bots] Update feedback report to use ip.src.* fields (#26344)
1 parent 4741b52 commit be910cc

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/content/docs/bots/concepts/feedback-loop.mdx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ curl 'https://api.cloudflare.com/client/v4/zones/{zone_id}/bot_management/feedba
7676
--data '{
7777
"type": "false_positive",
7878
"description": "Legitimate customers having low score",
79-
"expression": "(cf.bot_management.score le 46 and ip.geoip.asnum eq 132892 and http.host eq \"api-discovery.theburritobot.com\" and cf.bot_management.ja3_hash eq \"3fed133de60c35724739b913924b6c24\")",
79+
"expression": "(cf.bot_management.score le 46 and ip.src.asnum eq 132892 and http.host eq \"api-discovery.theburritobot.com\" and cf.bot_management.ja3_hash eq \"3fed133de60c35724739b913924b6c24\")",
8080
"first_request_seen_at": "2022-08-01T00:00:00Z",
8181
"last_request_seen_at": "2022-08-10T00:00:00Z",
8282
"requests": 100,
@@ -119,7 +119,7 @@ curl 'https://api.cloudflare.com/client/v4/zones/{zone_id}/bot_management/feedba
119119
"created_at": "2022-08-19T00:05:24.749712Z",
120120
"type": "false_positive",
121121
"description": "Legitimate customers having low score",
122-
"expression": "(cf.bot_management.score le 46 and ip.geoip.asnum eq 132892 and http.host eq \"api-discovery.theburritobot.com\" and cf.bot_management.ja3_hash eq \"3fed133de60c35724739b913924b6c24\")",
122+
"expression": "(cf.bot_management.score le 46 and ip.src.asnum eq 132892 and http.host eq \"api-discovery.theburritobot.com\" and cf.bot_management.ja3_hash eq \"3fed133de60c35724739b913924b6c24\")",
123123
"first_request_seen_at": "2022-08-01T00:00:00Z",
124124
"last_request_seen_at": "2022-08-10T00:00:00Z",
125125
"requests": 100,
@@ -155,7 +155,7 @@ curl 'https://api.cloudflare.com/client/v4/zones/{zone_id}/bot_management/feedba
155155
| ----------------------- | ------- | --------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
156156
| `type` | string | The feedback report type. | `false_positive` |
157157
| `description` | string | The feedback report description with more details on the issue. | Legitimate customers having low scores. |
158-
| `expression` | string | The wirefilter expression matching reported requests. | `(cf.bot_management.score le 46 and ip.geoip.asnum eq 132892 and http.host eq "app.example.com" and cf.bot_management.ja3_hash eq "3fed133de60c35724739b913924b6c24")` |
158+
| `expression` | string | The wirefilter expression matching reported requests. | `(cf.bot_management.score le 46 and ip.src.asnum eq 132892 and http.host eq "app.example.com" and cf.bot_management.ja3_hash eq "3fed133de60c35724739b913924b6c24")` |
159159
| `first_request_seen_at` | string | The time range start when the first request has been seen, RFC 3339 format. | `2022-08-01T00:00:00Z` |
160160
| `last_request_seen_at` | string | The time range end when the last request has been seen, RFC 3339 format. | `2022-08-10T00:00:00Z` |
161161
| `requests` | integer | The total number of reported requests. | `100` |
@@ -209,8 +209,8 @@ curl 'https://api.cloudflare.com/client/v4/zones/{zone_id}/bot_management/feedba
209209
| `http.host` | string | This represents the hostname used in the full request URI. |
210210
| `http.request.uri.path` | string | This represents the URI path of the request. |
211211
| `http.user_agent` | string | This represents the HTTP user agent which is a request header that contains a characteristic string to allow identification of the client operating system and web browser. |
212-
| `ip.geoip.asnum` | integer | This represents the 16- or 32-bit integer representing the Autonomous System (AS) number associated with client IP address. |
213-
| `ip.geoip.country` | string | This represents the 2-letter country code in ISO 3166-1 Alpha 2 format. |
212+
| `ip.src.asnum` | integer | This represents the 16- or 32-bit integer representing the Autonomous System (AS) number associated with client IP address. |
213+
| `ip.src.country` | string | This represents the 2-letter country code in ISO 3166-1 Alpha 2 format. |
214214
| `ip.src` | string | The source address of the IP. |
215215

216216
## Recommendations when submitting a report

0 commit comments

Comments
 (0)