Count threats
Returns the total count of Threat Monitoring threats for an organization matching the given filter.
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
Response
A count of threats
Changes
No recorded changes to this operation across all 1 revision of this API.