List threats
Retrieve Threat Monitoring threats for an organization.
Required API key permissions: BreachRisk (select when creating API key in Account Settings)
Request
- Base URLhttps://cyber-risk.upguard.com/api/public
- AuthAPI key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
Limit findings to this threat monitoring module.
The period within which results have been detected.
The timezone for DatePeriod as per the IANA Time Zone database. Default is UTC.
The date the DatePeriod filter applies to. If omitted, the ThreatStatus feed's default date is used. Threats with no value for the selected field are omitted from results.
A list of matching transforms to filter results by. Repeat the parameter to supply multiple values.
A list of matching severities to filter results by. Repeat the parameter to supply multiple values.
A list of matching threat types to filter results by. Repeat the parameter to supply multiple values.
A list of matching source types to filter results by. Repeat the parameter to supply multiple values.
Limits threats to those auto-dismissed by an AI analyst
Limits the set of threat results to those with a remediation status matching at least one entry provided. Repeat the parameter to supply multiple values.
Limits the set of threat results based on their current status
The page size of results to return. If not supplied, default is 50.
The next_page_token from a previous request, use this to get the next page of results.
Include the text snippet in results. Defaults to false.
Field to sort threats by, with optional :asc or :desc suffix. The direction is ascending when no suffix is given. Allowed fields: date_alerted.
Response
A list of threats
Example response
{
"results": [
{
"date_alerted": "2006-01-02T15:04:05.999999Z",
"date_closed": "2006-01-02T15:04:05.999999Z",
"date_detected": "2006-01-02T15:04:05.999999Z",
"date_occurred": "2006-01-02T15:04:05.999999Z",
"date_updated": "2006-01-02T15:04:05.999999Z",
"dismissed_at": "2006-01-02T15:04:05.999999Z",
"remediated_at": "2006-01-02T15:04:05.999999Z",
"remediation_request_last_updated_at": "2006-01-02T15:04:05.999999Z"
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.