userrisk
List a user identity breaches
Changed onRetrieve a list of identity breaches a user was involved in.
Required API key permissions: UserRisk (select when creating API key in Account Settings)
get/user_risk/users/identity_breaches/list
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
page_sizeinteger
The page size of results to return. If not supplied, default is 100.
page_tokenstring
The page_token from a previous request, use this to get the next page of results.
sort_by'title' | 'breach_date' | 'published_date'
The field to sort results by. Default is title.
sort_dir'asc' | 'desc'
The direction to sort results. Default is asc.
idstring required
The ID of the user to retrieve the identity breaches for
Response
The list of identity breaches the user was involved in
Example response
{
"identity_breaches": [
{
"breach_date": "2023-09-24T15:30:00Z",
"breach_type": "Company",
"description": "Lorem ipsum dolor sit amet",
"domain": "example.com",
"exposed_data_types": [
"passwords",
"usernames"
],
"id": "9b89cba1-daa9-4dc7-9ccc-ffdc8027e3ca",
"name": "Lorem ipsum dolor sit amet",
"published_date": "2023-09-24T15:30:00Z",
"status": "remediated",
"title": "Lorem ipsum dolor sit amet"
}
],
"next_page_token": "acbd18db4cc2f85cedef654fccc4a4d8"
}Changes
- info
added the new optional
queryrequest parametersort_by - info
added the new optional
queryrequest parametersort_dir
- info