domains
Creates, updates, deletes, gets or lists a domains resource.
Overview
| Name | domains |
| Type | Resource |
| Id | cloudflare.intel.domains |
Fields
The following fields are returned by SELECT queries:
- list
Get Domain Details response.
| Name | Datatype | Description |
|---|---|---|
additional_information | object | Additional information related to the host name. |
application | object | Application that the hostname belongs to. |
content_categories | array | |
domain | string | (example: cloudflare.com) |
inherited_content_categories | array | |
inherited_from | string | Domain from which inherited_content_categories and inherited_risk_types are inherited, if applicable. |
inherited_risk_types | array | |
popularity_rank | integer | Global Cloudflare 100k ranking for the last 30 days, if available for the hostname. The top ranked domain is 1, the lowest ranked domain is 100,000. |
resolves_to_refs | array | Specifies a list of references to one or more IP addresses or domain names that the domain name currently resolves to. |
risk_score | number | Hostname risk score, which is a value between 0 (lowest risk) to 1 (highest risk). |
risk_types | array |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list | select | account_id | domain, skip_dns | Gets security details and statistics about a domain. |
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. |
domain | string | |
skip_dns | boolean | Skip DNS resolution lookups for faster response. |
SELECT examples
- list
Gets security details and statistics about a domain.
SELECT
additional_information,
application,
content_categories,
domain,
inherited_content_categories,
inherited_from,
inherited_risk_types,
popularity_rank,
resolves_to_refs,
risk_score,
risk_types
FROM cloudflare.intel.domains
WHERE account_id = '{{ account_id }}' -- required
AND domain = '{{ domain }}'
AND skip_dns = '{{ skip_dns }}'
;