search
Creates, updates, deletes, gets or lists a search resource.
Overview
| Name | search |
| Type | Resource |
| Id | cloudflare.radar.search |
Fields
The following fields are returned by SELECT queries:
- list
Successful response.
| Name | Datatype | Description |
|---|---|---|
name | string | |
code | string | |
type | string |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list | select | limit, limitPerGroup, query, include, exclude, format | Searches for locations, autonomous systems, reports, bots, certificate logs, certificate authorities, industries and verticals. Location names can be localized by sending an Accept-Language HTTP header with a BCP 47 language tag (e.g., Accept-Language: pt-PT). The full quality-value chain is supported (e.g., pt-PT,pt;q=0.9,en;q=0.8). |
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 |
|---|---|---|
exclude | array | Search types excluded from results. |
format | string | Format in which results will be returned. |
include | array | Search types included in results. |
limit | integer | Limits the number of objects returned in the response. |
limitPerGroup | number | Limits the number of objects per search category. |
query | string | String used to perform the search operation. |
SELECT examples
- list
Searches for locations, autonomous systems, reports, bots, certificate logs, certificate authorities, industries and verticals. Location names can be localized by sending an Accept-Language HTTP header with a BCP 47 language tag (e.g., Accept-Language: pt-PT). The full quality-value chain is supported (e.g., pt-PT,pt;q=0.9,en;q=0.8).
SELECT
name,
code,
type
FROM cloudflare.radar.search
WHERE limit = '{{ limit }}'
AND limitPerGroup = '{{ limitPerGroup }}'
AND query = '{{ query }}'
AND include = '{{ include }}'
AND exclude = '{{ exclude }}'
AND format = '{{ format }}'
;