Get a list of audit logs
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your API key. Must only be used when using Hanko Cloud.
Query Parameters
The page which should be returned
The number of returned items
Date and time from which the logs are included
"2022-09-12T12:48:48.000Z"
Date and time to which the logs are included
"2022-09-15T12:48:48.000Z"
Only audit logs with the specified user_id are included
"c339547d-e17d-4ba7-8a1d-b3d5a4d17c1c"
Only audit logs with the specified email are included
"example@example.com"
Only audit logs with the specified ip address are included
"127.0.0.1"
Only audit logs are included when the search string matches values in meta_source_ip or actor_user_id or actor_email
"example.com"
Only audit logs with the specified type are included
The type of the audit log
user_created
, password_set_succeeded
, password_set_failed
, password_login_succeeded
, password_login_failed
, passcode_login_init_succeeded
, passcode_login_init_failed
, passcode_login_final_succeeded
, passcode_login_final_failed
, webauthn_registration_init_succeeded
, webauthn_registration_init_failed
, webauthn_registration_final_succeeded
, webauthn_registration_final_failed
, webauthn_authentication_init_succeeded
, webauthn_authentication_init_failed
, webauthn_authentication_final_succeeded
, webauthn_authentication_final_failed
, thirdparty_signup_succeeded
, thirdparty_signin_succeeded
"user_created"
Response
The ID of the audit log
"c339547d-e17d-4ba7-8a1d-b3d5a4d17c1c"
The type of the audit log
user_created
, password_set_succeeded
, password_set_failed
, password_login_succeeded
, password_login_failed
, passcode_login_init_succeeded
, passcode_login_init_failed
, passcode_login_final_succeeded
, passcode_login_final_failed
, webauthn_registration_init_succeeded
, webauthn_registration_init_failed
, webauthn_registration_final_succeeded
, webauthn_registration_final_failed
, webauthn_authentication_init_succeeded
, webauthn_authentication_init_failed
, webauthn_authentication_final_succeeded
, webauthn_authentication_final_failed
, thirdparty_signup_succeeded
, thirdparty_signin_succeeded
The ID of the corresponding http request
"0a2xsrhlhiQv49FIpq8KV8uQVq6ky9Bw"
The IP from where the http request came from
"172.27.0.1"
The user agent from where the http request came from
Time of creation of the audit log
"2022-09-14T12:15:09.788784Z"
A more detailed message why something failed
The userID from the actor
"c339547d-e17d-4ba7-8a1d-b3d5a4d17c1c"
The email from the actor
Was this page helpful?