[PR #1133] Extend activity store with deleted emails #16048

Open
opened 2026-08-05 03:08:50 -04:00 by saavagebueno · 0 comments
Owner

Original Pull Request: https://github.com/netbirdio/netbird/pull/1133

State: closed
Merged: Yes


Describe your changes

Store the email address of the deleted user in activity db.
The information will be encrypted with AES.

Refactor the events API endpoint. In the response the arguments
will be extended with the email of the initiator and if relevant then
the email of the target.

  • Add new store encryption key config parameter to the management config.
    The key must to be 32 byte in base64 format.
  • The user delete handler will store the deleted email address in the activity store
  • The get all events handler map the emails based on the user id from the activity store.

Checklist

  • Is it a bug fix
  • Is a typo/documentation fix
  • Is a feature enhancement
  • It is a refactor
  • Created tests that fail without the change (if possible)
  • Extended the README / documentation, if necessary
**Original Pull Request:** https://github.com/netbirdio/netbird/pull/1133 **State:** closed **Merged:** Yes --- ## Describe your changes Store the email address of the deleted user in activity db. The information will be encrypted with AES. Refactor the events API endpoint. In the response the arguments will be extended with the email of the initiator and if relevant then the email of the target. - Add new store encryption key config parameter to the management config. The key must to be 32 byte in base64 format. - The user delete handler will store the deleted email address in the activity store - The get all events handler map the emails based on the user id from the activity store. ## Issue ticket number and link ### Checklist - [ ] Is it a bug fix - [ ] Is a typo/documentation fix - [x] Is a feature enhancement - [x] It is a refactor - [ ] Created tests that fail without the change (if possible) - [ ] Extended the README / documentation, if necessary
saavagebueno added the pull-request label 2026-08-05 03:08:50 -04:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: DYNR/netbird#16048