Sign-In and Security Events¶
This page lists the events KnowledgeLake writes when:
- users sign in and out;
- administrators change identity catalogs, users, groups and feature permissions;
- API tokens are created, changed or deleted.
Use them for a sign-in audit, a failed sign-in alert, or a record of who changed whose permissions.
At a glance
- Filter categories Applications > Security (
apps, security) for sign-in, Applications > Configuration (apps, configuration) for security administration, API (apps, openapi) for token changes - Default filter Every event on this page passes
- Acting user
AppsUserTokenand the propertyevent_userTokenhold the user who did it, where one is known - Failures Most events have a twin with
exceptioninserted before the last scope and a propertyexception(a message key or the exception text)
Summary¶
Every event on this page reaches the provider under the default filter.
In the table, ... stands for apps, configuration, security.
Sign-in and sign-out¶
apps, security, login, LoginWithUsernameAndPassword
- Meaning A user signed in with a user name and password on the sign-in page.
- Properties
catalogId,username,rememberMe,userToken,sessionid(a SHA-256 hash, not the session id). - Failure
apps, security, login, exception, LoginWithUsernameAndPasswordwithcatalogId,username,rememberMe,exception=apps_unabletologin, and no user token. A wrong password and an unknown user write the same event. - Default filter passes.
apps, security, login, LoginUsingOAuth
- Meaning A user signed in through an OAuth identity catalog, for example Microsoft Entra ID.
- Properties
catalogId,userToken,sessionid(hashed). - Failure
apps, security, login, exception, LoginUsingOAuthwithcatalogIdandexception=apps_unabletologin. - Default filter passes.
apps, security, logout, Logout
- Meaning A user signed out.
- Properties
userToken,catalogId,logoutUri,sessionid(hashed). - Failure
apps, security, logout, exception, Logoutwithexception=apps_cookienotfound(no session cookie). - Default filter passes.
Users and groups¶
Each event below is written by an administrator's action in the identity catalog pages. The failure twin has exception before the last scope.
apps, configuration, security, user, add, AddUserWithPassword
- Meaning A local user with a password was created in a catalog.
- Properties
catalogId,accountName. - Failure The
exceptioncan be a message key such asapps_password_policy_check_failed. - Default filter passes.
apps, configuration, security, user, add, AddUsers
- Meaning Directory users were added to a catalog.
- Properties
catalogId,accountNames(JSON). - Failure per-user failures carry
accountNameoruserToken. - Default filter passes.
apps, configuration, security, user, remove, RemoveUsers
- Meaning Users were removed from a catalog.
- Properties
catalogId,catalogName,userTokens(JSON). - Default filter passes.
apps, configuration, security, user, update, AddUserToGroups
- Meaning Users were added to groups.
- Properties
catalogId,userTokens(JSON),groupsToJoin(JSON). - Default filter passes.
apps, configuration, security, user, update, RemoveUserFromGroup
- Meaning A user was removed from a group.
- Properties
catalogId,userToken,groupToken. - Default filter passes.
apps, configuration, security, user, update, ChangeMyPassword
- Meaning A user changed their own password.
- Properties
catalogId,userToken. - No event A wrong current password writes no event.
- Default filter passes.
apps, configuration, security, user, update, AdminChangeUserPassword
- Meaning An administrator reset another user's password; that user's sessions end.
- Properties
catalogId,targetUserToken,actionUser. - Default filter passes.
apps, configuration, security, group, add, AddGroups
- Meaning Directory groups were added to a catalog.
- Properties
catalogId,groupNames(JSON). - Default filter passes.
apps, configuration, security, group, remove, _RemoveGroupsLongRunningTask
- Meaning A background task finished removing a group, and its users if chosen, from a catalog.
- Properties
catalogId,catalogName,groupToken,removeUsers,userToken(the administrator who started it). - Start Starting the removal writes no success event.
- Failure A failure to start writes
apps, configuration, security, group, remove, exception, BeginRemoveGroups. - Default filter passes.
Identity catalogs¶
apps, configuration, security, catalog, add, CreateCatalog
- Meaning An identity catalog was created.
- Properties
catalogName,catalogTypeId,parameterList(JSON of the catalog parameters, not censored: it can include connection settings). - Default filter passes.
apps, configuration, security, catalog, remove, RemoveCatalog
- Meaning A catalog was deleted.
- Properties
catalogId,catalogName. - Default filter passes.
apps, configuration, security, catalog, update, UpdateCatalogSettings
- Meaning Catalog settings changed.
- Properties
catalogId,settings(JSON, not censored). - Default filter passes.
apps, configuration, security, catalog, update, SyncCatalog
- Meaning A catalog was synchronized with its directory.
- Properties
catalogId. - Default filter passes.
apps, configuration, security, remove, RevokeOAuthAdministrativeConsent
- Meaning OAuth administrative consent for a catalog was revoked.
- Properties
catalogId,url. - Failure Writes the same scopes with an
exceptionproperty. - Default filter passes.
apps, configuration, security, remove, RevokeOAuthAccessToken
- Meaning The stored OAuth access token for a catalog was revoked.
- Properties
catalogId,url. - Default filter passes.
Registration failures (authIdentity)
- Scopes
apps, configuration, security, authIdentity, add, exception, registerIdentityWithAppsand..., registerIdentitiesWithApps, andapps, configuration, security, authIdentity, remove, exception, unregisterIdentityWithApps - Meaning A user or group could not be registered with, or removed from, the apps.
- Properties
userTokenortargetToken,displayNameoridentities,exception. - Default filter passes.
Feature permissions¶
apps, configuration, security, featurePermission, update, ChangeIdentityFeaturesAsync
- Meaning The app features a user or group may use changed.
- Properties
userToken(the target),catalogId,catalogName,isGroup,features(JSON). - Default filter passes.
apps, configuration, security, featurePermission, update, ChangeDefaultFeaturesAsync
- Meaning The default features for all users changed.
- Properties
features(JSON). - Default filter passes.
apps, configuration, security, authIdentity, remove, RemoveAuthIdentityAsync
- Meaning A user or group was removed from app security on the permissions page.
- Properties
userToken,isGroup. - Default filter passes.
API tokens¶
Written by the token page in Configuration > Services > API Access. All three events share these facts:
- Properties From the request:
tokenId,tokenFriendlyName,tokenAliasExpiration,tokenAllowedFeatures(JSON),identityToken,identityCatalogId,identityFriendlyName. A failure addsexception. - Acting user
event_userTokenis the administrator. - Failures The same scopes with
exceptionbefore the last scope.
apps, openapi, configuration, token, add, CreateToken
- Meaning A token was created.
- Watch out On this event
tokenIdand the identity keys echo the request, so they may not match the saved token exactly. - Default filter passes.
apps, openapi, configuration, token, update, UpdateToken
- Meaning A token was changed or refreshed.
- Default filter passes.
apps, openapi, configuration, token, remove, RemoveToken
- Meaning A token was deleted.
- Default filter passes.
Attended automation tokens¶
apps, attendedautomation, configuration, add, CreateAttendedBotToken
- Meaning An attended automation client created a 12-month API token for the signed-in user.
- Properties
userName,tokenAliasExpiration,tokenAllowedFeatures(JSON). - Default filter Passes (category Applications > RPA).
Related¶
- Events Dictionary
- Configuration Events
- Authentication: how API tokens work.