> For the complete documentation index, see [llms.txt](https://ztrust.gitbook.io/ztrust-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ztrust.gitbook.io/ztrust-documentation/user-manual-ztrust-v4.1/4.-admin-manual/4.18-setup-gdpr-compliant-feature.md).

# 4.18 Setup GDPR Compliant feature

This feature sends email notifications when a user account is deactivated or if there's any brute force activity detected. It ensures that users are kept informed about any actions taken on their data.

To align with GDPR Compliance guidelines, follow the below steps -

1. Click on Realm settings.

   <figure><img src="/files/WupwDKAeeBXgFYdgmVng" alt=""><figcaption><p>Fig. 4.17.a: Navigating to Realm Settings</p></figcaption></figure>
2. Click on the Events tab.

<figure><img src="/files/HkXhPSpiPVRvdlvaBffI" alt=""><figcaption><p>Fig. 4.17.b: Navigating to Events tab in Realm Settings</p></figcaption></figure>

3. For Event Listeners, search for gdpr\_event\_listener and select it.

<figure><img src="/files/w0cXq49OiaGGVZQPbByD" alt=""><figcaption><p>Fig. 4.17.c: Adding 'gdpr_event_listener' to event listeners</p></figcaption></figure>

<figure><img src="/files/UjNpggK5TpDlasNuMInr" alt=""><figcaption><p>Fig. 4.17.d: Saving the configuration</p></figcaption></figure>

4. Click on Save.

This will run once every 5 minutes. In case any brute-force happens or the user account gets deactivated, it will send one notification mail to the User.

<br>
