asn_day_report
Creates, updates, deletes, gets or lists an asn_day_report resource.
Overview
| Name | asn_day_report |
| Type | Resource |
| Id | cloudflare.botnet_feed.asn_day_report |
Fields
The following fields are returned by SELECT queries:
- list
Get botnet feed report for day
| Name | Datatype | Description |
|---|---|---|
cidr | string | |
date | string (date-time) | |
offense_count | integer |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list | select | account_id, asn_id | date | Gets all the data the botnet tracking database has for a given ASN registered to user account for given date. If no date is given, it will return results for the previous day. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
account_id | string | The Cloudflare account ID. |
asn_id | integer | |
date | string (date-time) |
SELECT examples
- list
Gets all the data the botnet tracking database has for a given ASN registered to user account for given date. If no date is given, it will return results for the previous day.
SELECT
cidr,
date,
offense_count
FROM cloudflare.botnet_feed.asn_day_report
WHERE account_id = '{{ account_id }}' -- required
AND asn_id = '{{ asn_id }}' -- required
AND date = '{{ date }}'
;