Skip to content

Security Logging

In addition to other logging options, Atfinity logs security relevant actions in a special way to make it easy to detect suspicious activity. Security logging happens via the default logging mechanism.

Logging Format

A typical entry in the log for a security relevant user actions looks like this:

2021-03-16 14:34:31,581 [USER_ACTION] - ACTION update_phone_number USER thorben@atfinity.ch IP 165.5.3.18 PARAMS \ DATA {'phone_number': '+41786167706', 'tenant': 1} PATH /api/1/admin/users/26

As you can see, the date and time (2021-03-16 14:34:31,581), the action (update_phone_number), the performing user (thorben@atfinity.ch), the client IP (165.5.3.18) the query params (if any) the data of the change (so here the new phone number) and the local path are logged. With this information, it's possible to trace back exactly which action happened and what data has been manipulated.

Info

If the request contains sensitive information like a password, this information is displayed with stars, e.g. ********

Logged Actions

At least these security relevant actions are logged:

KeyDescriptionSince version
Login
login_password_change_requiredThe user that made a login requests needs a password change.
login_successSuccessful login.
login_with_password_changeSuccessful login after the user changed the password.
Login Errors
error_login_without_sso_but_sso_requiredThe user that made the login request tried to login with SSO, but is only cleared for login via SSO.
error_login_of_locked_userThe user that made the login request is locked.
error_login_invalid_2fa_codeThe user provided an invalid 2FA code.
error_login_inactive_accountThe given username exists, but the user is marked as inactive.
error_login_wrong_passwordThe given password doesn't match the given username.
error_login_unknown_usernameThe given username is unknown.
Case Manager
download_bookletThe booklet of a case was downloaded as a PDF file.
download_booklet_zipThe booklet of a case was downloaded as a zip file.
send_bookletThe booklet of a case was send via email.
download_uploaded_documentsAll the uploaded files of a case were downloaded as a zip file.
unautorized_case_requestThe user doesn't have access to the requested case
Integrations
get_comply_advantage_hits_for_personA request was sent to ComplyAdvantage.
get_world_check_hits_for_personA request was sent to WorldCheck.
send_custom_api_requestCustom API request was sent.
create_idnow_identA request to IDNow was sent.
send_smsSMS was sent.
send_emailEmail was sent.
external_source_searchA search request to external data source was sent.
external_source_load_valuesA request to load values from external data source was sent.
Avaloq
avaloq_export_createAvaloq xml file was created for a case.
avaloq_export_toogle_email_updatesThe user has toogled the subscription to email updates about Avaloq response for a specific case.
avaloq_export_download_xmlAvaloq xml file of a case was downloaded.
avaloq_export_download_result_xmlAvaloq result xml file of a case was downloaded.
HyperArchive
hyperarchive_export_createCase documents and sidecar files were exported to HyperArchive folder.
hyperarchive_download_rendered_filesHyperArchive sidecar files of a case were downloaded.
Admin
create_userUser was created.
create_users_via_importUsers were created while importing a user list10.3
update_user_rolesRoles of a user were changed.
update_user_groupsGroups of a user were changed.
reset_passwordPassword of a user was reset.
reset_users_password_via_importSome user passwords were reset while importing a user list10.3
update_user_detailsDetails about a user were updated.
delete userA user was deleted10.3
delete_users_via_importUsers were deleted while importing a user list10.3
switch_tenantThe user has switched to a different tenant.