SSO History
To return a log of SSO activity for your organization in ThreatStream.
Request
/api/v1/ssohistory/
Bulk HTTP Method: GET
Response
Format: JSON
Number of rows returned (by default): 20
Attributes: See table below.
Attributes
| Attribute | Description |
|---|---|
| action |
Actions logged by the SSO History API include:
|
| Deployment type |
Type of deployment configured to use SSO. Possible values include |
| id | Unique identifier for the logged action. |
| idp | Name configured for your identity provider. |
| ts | Timestamp of the logged action. |
| user_email | Email address of the ThreatStream user associated with the logged action. |
Example
Request:
Copy
curl "https://api.threatstream.com/api/v1/ssohistory/" -H 'Authorization: apikey <username>:<api_key>'
Response:
Copy
{
"action": "Login Attempt",
"deployment_type": "OnPrem",
"id": 1000000019,
"idp": "adfs-onprem",
"resource_uri": "/api/v1/ssohistory/1000000019/",
"ts": "2020-10-01T10:07:23.916639",
"user_email": "example@test.net"
}