ips
Creates, updates, deletes, gets or lists an ips resource.
Overview
| Name | ips |
| Type | Resource |
| Id | cloudflare.intel.ips |
Fields
The following fields are returned by SELECT queries:
- list
Get IP Overview response.
| Name | Datatype | Description |
|---|---|---|
belongs_to_ref | object | Specifies a reference to the autonomous systems (AS) that the IP address belongs to. |
ip | string (ipv4) | (example: 192.0.2.0) |
risk_types | array |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list | select | account_id | ipv4, ipv6 | Gets the geolocation, ASN, infrastructure type of the ASN, and any security threat categories of an IP address. Must provide ip query parameters. For example, /intel/ip?ipv4=1.1.1.1 or /intel/ip?ipv6=2001:db8::1. |
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. |
ipv4 | string | |
ipv6 | string |
SELECT examples
- list
Gets the geolocation, ASN, infrastructure type of the ASN, and any security threat categories of an IP address. Must provide ip query parameters. For example, /intel/ip?ipv4=1.1.1.1 or /intel/ip?ipv6=2001:db8::1.
SELECT
belongs_to_ref,
ip,
risk_types
FROM cloudflare.intel.ips
WHERE account_id = '{{ account_id }}' -- required
AND ipv4 = '{{ ipv4 }}'
AND ipv6 = '{{ ipv6 }}'
;