Request Samples
Request Path Parameters
The Umbrella Reporting v2 API endpoints require various path parameters.
Parameter |
Example |
Description |
organizationId |
1234567 |
An organization ID. |
type |
dns |
Specifies the type of traffic, for example: dns, proxy, firewall, ip, or intrusion. Note: The type of traffic values vary by endpoint. |
identityId |
42 |
An identity ID. |
threatTypeId |
Ransomware |
A string that represents a threat type. |
threatNameId |
WannaCry |
A string that represents a threat name. |
mspOrganizationId |
1234456 |
A Managed Service Provider (MSP) organization ID. |
Request Query Parameters
You can customize and filter the Umbrella Reporting v2 API requests with query parameters. Each Reporting v2 API endpoint defines its required query parameters.
Note: Umbrella uses the timestamp of the events to sort the /activity
, /activity/dns
, /activity/proxy
, /activity/firewall
, and /activity/amp-retrospective
collections. If multiple events occur in the same second, the order of the collection is not guaranteed to be consistent.
Parameter |
Example |
Description |
from |
1639146300000 |
A timestamp or relative time string (for example: '-1days'). Filter for data that appears after this time. For more information, see Timestamp and Relative Time Strings. Required |
to |
1640010300000 |
A timestamp or relative time string (for example: 'now'). Filter for data that appears before this time. For more information, see Timestamp and Relative Time Strings. Required |
offset |
0 |
A number that represents an index into the collection. |
limit |
100 |
The maximum number of records to return from the collection. Required |
domains |
cisco.com |
A domain name or comma-delimited list of domain name. |
urls |
https://google.com,facebook.com/help |
A URL or comma-delimited list of URL. |
categories |
148,151,66 |
A category ID or comma-delimited list of category ID. |
policycategories |
67,69 |
A category ID or comma-delimited list of category ID. Filter request by the categories that trigger a policy. |
ip |
10.10.10.10 |
An IP address. |
order |
desc |
A string that describes how to order the results (for example: 'asc' or 'desc'). |
ports |
7351,80 |
A port number or comma-delimited list of port number. |
identityids |
1,2,3 |
An identity ID or comma-delimited list of identity ID. |
identitytypes |
network,roaming |
An identity type or comma-delimited list of identity type. |
applicationid |
1 |
An application ID. |
verdict |
allowed,blocked,proxied |
A verdict string or comma-delimited list of verdict string. |
ruleid |
1 |
A firewall policy rule ID. |
filename |
myfilename_* |
A string that identifies a filename. Filter request by the filename. Supports globbing or use of the wildcard character (*). The asterisk (*) matches zero or more occurrences of any character. |
securityoverridden |
true |
A boolean value. If set to 'true', filter for requests that override security. |
bundleid |
1 |
A proxy bundle ID. |
threats |
|
A threat name or comma-delimited list of threat name. |
threattypes |
|
A threat type or comma-delimited list of threat type. |
ampdisposition |
clean,malicious,unknown |
An AMP disposition string or a comma-delimited list of AMP disposition string. |
isolatedstate |
isolated |
A string that describes the remote browser isolation (RBI) isolation type (for example: 'isolated' or 'not-isolated'. |
isolatedFileAction |
downloaded-safe-pdf |
A string that describes the remote browser isolation (RBI) file action type (for example: 'viewed', 'downloaded-original-file', or 'downloaded-safe-pdf'). |
datalosspreventionstate |
blocked |
A string that describes the status of a destination (for example: 'blocked'). Filter data for requests that were blocked to protect data. |
sha256 |
|
A SHA-256 hash. |
antivirusthreats |
Trojan.Linux.Generic.144075 |
A threat name or comma-delimited list of threat name. |
tenantcontrols |
true |
A boolean value. If set to 'true', filter data for requests that are part of a tenant control policy. |
search |
somelabel |
A string that represents a search parameter. Filter data for requests in which the search string appears in the endpoint data. |
application |
Games |
An application name. |
filternoisydomains |
true |
A boolean value. If set to 'true', filter request on domains that generate high volume of insignificant traffic (noise). |
httperrors |
certificateerror |
A string that represents a TLS or certificate error (for example: 'certificateerror' or 'tlserror'). Filter data for requests that resulted in a TLS or certificate error. |
exists |
'categories,destinationlistids' |
Specify a comma-separated list of attributes to filter the Activity Report. Valid values are: categories, policycategories, applicationid, nbarapplicationid, nbarapplicationtypeids, privateapplicationid, applicationgroupids, sha256, filename, threats, threattypes, antivirusthreats, destinationlistids, httperrors. |
connectionevent |
connected |
Specify the type of connection event. Valid values: connected, disconnected, failed. |
osversions |
linux-64-Ubuntu 20.04.5 LTS (Focal Fossa) |
Specify a comma-separated list of OS versions. |
anyconnectversions |
4.10.05095 |
Specify a comma-separated list of AnyConnect Roaming Security module versions. |
Request Data by Time Range
Many Umbrella Reporting v2 endpoints require that you set a time range to filter the data. You can define a time range with the to
and from
request query parameters.
Additionally, some Umbrella Reporting v2 endpoints enable a timerange
header.
The timerange
header describes how to group data within a 24 hour period. This header accepts the following strings:
- minute
- hour (default value)
- day
Umbrella Reporting v2 resources that group data by hourly intervals do not enable the timerange
header. These resources include:
- Bandwidth by Hour
- Requests by Hour
- Requests by Hour and Category
Time Range Example
The Requests by Timerange
resource accepts the timerange
header as well as the to
and from
query parameters. For example, you can set the timerange
header to minute
, the to
query parameter to now
, and the from
query parameter to -1days
.
Timestamp and Relative Time Strings
The to
and from
query parameters accept a timestamp string defined in milliseconds from the Unix epoch. For example: 1619007756000
(converted from 2021-04-21:08:22:36 GMT-04:00
).
You can also set other time range string values for these parameters.
Examples of to
query parameter values:
Examples of from
query parameter values:
-2days
-10minutes
-2weeks
Note: The time range set by the to
and from
query parameters cannot exceed 30 days.
HTTP Redirects and Request Authorization Header
Umbrella stores the reporting data in geolocated data warehouses.
- EU:
api.eu.reports.umbrella.com
- US:
api.us.reports.umbrella.com
Note: If an HTTP client request does not originate from the same continent as the location of the Umbrella data warehouse, the Umbrella server responds with 302 Found
.
To automatically redirect HTTP requests and preserve the HTTP Authorization header, you can set additional flags or enable a redirect setting.
curl
: You must pass the -L
or --location
, and --location-trusted
flags to redirect the curl
HTTP request and retain the Authorization header.
Postman
: Within the Postman client environment, choose a GET
method in an API. Navigate to Settings. Enable Follow Authorization header
to preserve the Authorization header for redirect requests.
List Activities
List DNS, proxy, firewall, and IP activities within a time range.
GET /organizations/{organizationId}/activity
Set the required query parameters:
MSP Child Organizations
Note: For MSP child organizations, you must include the MSP organization ID using the mspId
query parameter.
For example:
Request
Response
Click to view the sample response
List DNS Activities
Find the DNS activities.
GET /activity/dns
Request
Response
Click to view the sample response
Get Network Identities
List the network identities for the organization.
GET /organizations/{organizationId}/identities
Request
Specify the limit
query parameter.
Response
If successful, the server returns the list of identity information.
Click to view the sample response
Get Categories
The Umbrella Reporting v2 API includes utility endpoints. Utility endpoints provide
access to labels and numerical identifiers for:
- Applications
- Identities
- Threat types and names
- Content and security categories
You can use these identifiers to filter API requests.
GET /organizations/{organizationId}/categories
Request
Response
The following sample response shows a partial list of category information:
Click to view the response
Find Top Destinations
List the top requested destinations by type.
GET /organizations/{organizationId}/top-destinations/{type}
The accepted type
path parameter values are:
Set the required query parameters:
Request
Response
The sample response describes the top requested domains.
Find Top Files
List the top requested files (proxy data).
GET /organizations/{organizationId}/top-files
Request
Response
Click to view the response
Find Top IPs
List the top internal IP addresses.
GET /organizations/{organizationId}/top-ips/internal
Request
Response
Sample response (200
, OK):
Get Total Requests
Find the total number of requests.
GET /organizations/{organizationId}/total-requests
Request
Response
Sample response (200
, OK):
Find Top Identities
List the top identity information.
GET /organizations/{organizationId}/top-identities
Request
Response
Click to view the sample response
Get Identity Distribution
List the identity distribution information.
GET /organizations/{organizationId}/identity-distribution
Request
Response
Click to view the sample response
Get Summary
Find a summarized report of activities, events, and identities.
GET /organizations/{organizationId}/summary
Request
Response
Sample response (200
, OK):