Get a list of all your owned IP address ranges filtered by business units and organization handles.
The maximum result limit is 1000 ranges.
Note: You can send a request to retrieve either all or filtered results.
Required license: Cortex Xpanse Expander
curl -X POST \
-H "Accept: application/json" \
-H "Content-Type: application/json" -H "authorization: authorization_example" -H "x-xdr-auth-id: xXdrAuthId_example" \
"https://api-yourfqdn/public_api/v1/assets/get_external_ip_address_ranges" \
-d '{
"request_data" : {
"search_from" : 0,
"next_page_token" : "next_page_token",
"filters" : [ {
"field" : "field",
"value" : [ "", "" ],
"operator" : "operator"
}, {
"field" : "field",
"value" : [ "", "" ],
"operator" : "operator"
} ],
"sort" : {
"field" : "field",
"keyword" : "keyword"
},
"search_to" : 6,
"use_page_token" : true
}
}'
authorization_example
xXdrAuthId_example
{"request_data":{"filters":[{"field":"organization_handles","operator":"contains","value":"irt"}],"search_from":0,"search_to":500}}
A dictionary containing the API request fields.
An empty dictionary returns all results.
Identifies the external IP ranges field the filter is matching. Filters are based on the following case-sensitive keywords:
- business_units_list
- organization_handles
- Ipaddress_version
- has_bu_overrides
- tags
Identifies the comparison operator you want to use for this filter. Valid keywords and values are:
- contains / not_contains
- organization_handles
- in
- business_units_list
- tags
- eq / neq
- ipaddress_version
- has_bu_overrides
Values depend on the filter field used.
- organization_handles — string
- business_units_list — string or list of strings with syntax
“Acme & Co, Inc.”
or“BU:Acme & Co, Inc.”
- tags — list of strings in format “{family alias}:{tag name}”
- ipaddress_version — integer
- has_bu_overrides - boolean (true/false)
An integer representing the start offset index of results. Use this field to specify the number of results on a page when using page token pagination.
Default value - 500 Max value - 1000
Values are:
Id
first_ip
last_ip
Case sensitive. Default isfirst_ip
.
Value are:
ASC
(ascending order)DESC
(descending order). Case sensitive. Default isDESC
.
"use_page_token":true
in the initial request to paginate the response data.
Sort is not supported when using the use_page_token
/next_page_token
fields.
"use_page_token":true
was included in the initial request, the response for that request will include a page token.
Use "next_page_token":"string"
to pass that page token into the next request to paginate the next set of data.