Add email notifications and audit events for passkey creation & deletion
What does this MR do and why?
Related to #569463 (closed)
This MR adds email notifications and audit events for passkey creation & deletion.
References
Screenshots or screen recordings
| Before | After |
|---|---|
How to set up and validate locally
- Enable
:passkeysfeature flag.
Feature.enable(:passkeys)
- Open
/-/profile/two_factor_auth.
- Add a passkey
- Delete the passkey
- Open
/rails/letter_opener/, you should see messages about the passkey creation & deletion. - Open
/admin/audit_logsas instance administrator, you should see audit events about the passkey creation & deletion.
MR acceptance checklist
Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Edited by Bogdan Denkovych