Get the employee auth logs for an organization
The auth logs are served in batches of less than 100 records at the time and a continuation token.
GET
/api/v1.0/organizations/{organizationGuid}/auth-logs
curl \
-X GET https://setup.adra.com/api/v1.0/organizations/{organizationGuid}/auth-logs
Response examples (200)
{
"responseData": [
{
"id": "2954e17e-bfbb-4150-86b3-beb659957968",
"message": {
"logMessage": "LoginSuccess",
"logMessageKey": "LoginSuccess",
"logMessageParams": null
},
"logLevel": "Info",
"authEvent": "Authentication",
"ipAddress": "175.157.136.231",
"timestamp": "2024-11-04T07:45:06+00:00",
"attributes": {
"sub": "HCY58J-__E2CnN3oYBoS7Q",
"scopes": "openid,profile,setup_api.full_access,login_api.personal_tokens,login_api.resources,integrationhub_api.upload",
"clientId": "setup_app",
"username": "myuser@gmail.com",
"consentShown": false,
"requireConsent": false
},
"authAction": "LoginSuccess",
"operatorId": "f039261c-bf9f-4dfc-829c-dde8601a12ed",
"unknownSub": null,
"organizationId": "15f1e221-37c4-4095-a0de-88583cb5e7aa"
},
{
"id": "69c06977-897c-4f52-9611-e30e209f169e",
"message": {
"logMessage": "ApplicationLoginTimestamp",
"logMessageKey": "ApplicationLoginTimestamp",
"logMessageParams": null
},
"logLevel": "Info",
"authEvent": "Authentication",
"ipAddress": null,
"timestamp": "2024-11-04T07:45:06+00:00",
"attributes": {
"application": "Setup"
},
"authAction": "ApplicationLoginTimestamp",
"operatorId": "f039261c-bf9f-4dfc-829c-dde8601a12ed",
"unknownSub": "myuser@gmail.com",
"organizationId": "15f1e221-37c4-4095-a0de-88583cb5e7aa"
}
],
"continuationToken": "W3sidG9rZW4iOiIrUklEOn56Njk5QUtzeTZMTkJuUkFBQUFBQUFBPT0jUlQ6MSNUUkM6MTAwI1JURDpIUEpKbUtUMXVacWxCQm5HeU5TT0JNSFoxWTExOUE9PSNJU1Y6MiNJRU86NjU1NjcjUUNGOjgiLCJyYW5nZSI6eyJtaW4iOiIiLCJtYXgiOiJGRiJ9fV0"
}
Response examples (404)
{
"type": "string",
"title": "string",
"status": 42,
"detail": "string",
"instance": "string"
}
Response examples (401)
{
"type": "string",
"title": "string",
"status": 42,
"detail": "string",
"instance": "string"
}
Response examples (403)
{
"type": "string",
"title": "string",
"status": 42,
"detail": "string",
"instance": "string"
}
Response examples (400)
{
"type": "string",
"title": "string",
"status": 42,
"detail": "string",
"instance": "string"
}
Response examples (default)
{
"type": "string",
"title": "string",
"status": 42,
"detail": "string",
"instance": "string"
}