> Source: https://docs.cyberelements.io/bastion/4.7/bg/Usage/Administration/AdminConsole/MainWorkPanel/AccessPolicies/NotificationProfiles/

# Notification profiles

A **notification profile** sends an email when an event occurs. It is the only mechanism in the console that sends information to a person: elsewhere, information is consulted in the console.

Each profile designates three things: **which events**, **on which objects**, and **who** to write to.

## Notified events

The events covered include the essentials of a platform's life:

- sessions opening and closing;
- an [alert](https://docs.cyberelements.io/bastion/4.7/bg/Usage/Administration/AdminConsole/MainWorkPanel/Alerts/Alerts/) being triggered;
- **logins and logouts** on a domain;
- access to a [site](https://docs.cyberelements.io/bastion/4.7/bg/Usage/Administration/AdminConsole/MainWorkPanel/SitesAndGateways/Sites/);
- a [log](https://docs.cyberelements.io/bastion/4.7/bg/Usage/Administration/AdminConsole/MainWorkPanel/Logs/Logs/) being written;
- Workplace operations.

![](https://docs.cyberelements.io/bastion/4.7/img/cyberelements/CYE_AdminConsole_NotificationProfiles_Module.png)

The events are ticked in the **Settings** tab of the profile form:

![](https://docs.cyberelements.io/bastion/4.7/img/cyberelements/CYE_AdminConsole_NotificationProfiles_Edit_Settings.png)

## Prerequisites

> **SMTP server**
>
> A profile can be created, saved and displayed in the grid without any sending server being declared. It then produces no email: there is no error, no warning, and no trace of failure in the module. The server is declared in [SMTP servers](https://docs.cyberelements.io/bastion/4.7/bg/Usage/Administration/AdminConsole/ConfigurationWorkPanel/SmtpServers/), the first item to check when notifications are not sent.

The server, the reply-to address and the recipients are chosen in the **Email** tab of the profile form:

![](https://docs.cyberelements.io/bastion/4.7/img/cyberelements/CYE_AdminConsole_NotificationProfiles_Edit_Email.png)

## Profile scope

An over-broad profile produces a volume of notifications that is not read: notifying **every** session opening on an active platform leads to the emails being filtered, which also discards the useful notifications.

The scope can be narrowed in two ways:

- restrict the **objects** (one group of privileged users, one sensitive application, one specific site) rather than covering the whole platform;
- prefer an [alert](https://docs.cyberelements.io/bastion/4.7/bg/Usage/Administration/AdminConsole/MainWorkPanel/Alerts/Alerts/) when what matters is a **threshold** or a combination of conditions: the notification profile forwards, the alert detects.

The two combine: an alert is notified through a profile.

## Importing data from a contract

A profile can take over the scope of an existing [access contract](https://docs.cyberelements.io/bastion/4.7/bg/Usage/Administration/AdminConsole/MainWorkPanel/AccessPolicies/AccessContracts/) rather than having it retyped. This serves to be informed of whatever affects this contract: the scope then stays consistent with the rights actually granted.

## Limits

- The profile **only notifies by email**: no webhook, no message, no extra logging. Feeding a SIEM requires enabling [syslog](https://docs.cyberelements.io/bastion/4.7/bg/Usage/Administration/AdminConsole/ConfigurationWorkPanel/GeneralOptions/).
- A profile referencing a [domain](https://docs.cyberelements.io/bastion/4.7/bg/Usage/Administration/AdminConsole/MainWorkPanel/AuthenticationDomains/AuthenticationDomains/) prevents its deletion for as long as it names it.
- Sending is not replayed: an email lost because the SMTP server was unavailable is not re-issued.

---

The details of the fields, of the form and of the import from a contract are in the [module reference](https://docs.cyberelements.io/bastion/4.7/bg/Usage/Reference/AdminConsole/NotificationProfiles/).
