Skip to main content

ips

Creates, updates, deletes, gets or lists an ips resource.

Overview

Nameips
TypeResource
Idcloudflare.intel.ips

Fields

The following fields are returned by SELECT queries:

Get IP Overview response.

NameDatatypeDescription
belongs_to_refobjectSpecifies a reference to the autonomous systems (AS) that the IP address belongs to.
ipstring (ipv4) (example: 192.0.2.0)
risk_typesarray

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectaccount_idipv4, ipv6Gets 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.

NameDatatypeDescription
account_idstringThe Cloudflare account ID.
ipv4string
ipv6string

SELECT examples

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 }}'
;