Skip to content

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 AppsUserToken and the property event_userToken hold the user who did it, where one is known
  • Failures Most events have a twin with exception inserted before the last scope and a property exception (a message key or the exception text)

Summary

Every event on this page reaches the provider under the default filter.

Event Meaning Reaches the provider
apps, security, login, LoginWithUsernameAndPassword Password sign-in Yes
apps, security, login, LoginUsingOAuth OAuth sign-in Yes
apps, security, logout, Logout Sign-out Yes
..., user, add, AddUserWithPassword Local user created Yes
..., user, add, AddUsers Directory users added Yes
..., user, remove, RemoveUsers Users removed Yes
..., user, update, AddUserToGroups Users added to groups Yes
..., user, update, RemoveUserFromGroup User removed from a group Yes
..., user, update, ChangeMyPassword Own password changed Yes
..., user, update, AdminChangeUserPassword Password reset by an administrator Yes
..., group, add, AddGroups Directory groups added Yes
..., group, remove, _RemoveGroupsLongRunningTask Group removal finished Yes
..., catalog, add, CreateCatalog Catalog created Yes
..., catalog, remove, RemoveCatalog Catalog deleted Yes
..., catalog, update, UpdateCatalogSettings Catalog settings changed Yes
..., catalog, update, SyncCatalog Catalog synchronized Yes
..., remove, RevokeOAuthAdministrativeConsent OAuth consent revoked Yes
..., remove, RevokeOAuthAccessToken OAuth access token revoked Yes
..., authIdentity, ..., exception, ... Registration failures Yes
..., featurePermission, update, ChangeIdentityFeaturesAsync Features of a user or group changed Yes
..., featurePermission, update, ChangeDefaultFeaturesAsync Default features changed Yes
..., authIdentity, remove, RemoveAuthIdentityAsync Removed from app security Yes
apps, openapi, configuration, token, add, CreateToken Token created Yes
apps, openapi, configuration, token, update, UpdateToken Token changed or refreshed Yes
apps, openapi, configuration, token, remove, RemoveToken Token deleted Yes
apps, attendedautomation, configuration, add, CreateAttendedBotToken Attended automation token Yes

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, LoginWithUsernameAndPassword with catalogId, 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, LoginUsingOAuth with catalogId and exception = 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, Logout with exception = 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 exception can be a message key such as apps_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 accountName or userToken.
  • 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 exception property.
  • 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, registerIdentityWithApps and ..., registerIdentitiesWithApps, and apps, configuration, security, authIdentity, remove, exception, unregisterIdentityWithApps
  • Meaning A user or group could not be registered with, or removed from, the apps.
  • Properties userToken or targetToken, displayName or identities, 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 adds exception.
  • Acting user event_userToken is the administrator.
  • Failures The same scopes with exception before the last scope.
apps, openapi, configuration, token, add, CreateToken
  • Meaning A token was created.
  • Watch out On this event tokenId and 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).