/
Get Threats for Time Period
Get Threats for Time Period
Returns threats submitted within the specified time period. Valid time periods are recent (30 minutes), hourly (90 minutes), daily (25 hours), weekly (7 days), and monthly (30 days).
Request
Request Endpoint
GET /data/threats/{type}
Request Body
N/A
Path Parameters | |||
---|---|---|---|
Parameter | Value | Data Type | Description |
type | host, ip, or url | string | Type of threats to return |
age | recent, hourly, daily, weekly, monthly | string | The age of threats to return. recent = 30 minutes, hourly = 90 minutes, daily = 25 hours, weekly = 7 days, monthly = 30 days |
Query Parameters
Response
If the submission is successful, the HTTP code 200 (OK) will be returned with the list of Threat objects.
Example
Request using curl to return host records for the past day:
curl ‘https://csp.infoblox.com/tide/api/data/threats/host/daily?data_format=ndjson' -H 'Authorization:Token token=<MYTOKEN>' |
Response
{ |