Setting up two-factor authentication using behavioural biometrics with Neomia Pulse¶
This article describes the procedure for configuring and activating Neomia Pulse artificial intelligence-based MFA.
This does not require any additional devices for the user to identify themselves based on how they type on their keyboard.
Prerequisites¶
Only four prerequisites are necessary to ensure that Neomia Pulse MFA works:
- Retrieve your Neomia Pulse API key for CyberElements Bastion
- Open
TCP 443access between the Mediation Controllers andapi.neomia.ai - Use user authentication domains of type
localorLDAP, as Neomia Pulse cannot be used with domains of typeanonymeorSAMLon CyberElements Bastion - Apply another type of MFA (OTP, TOTP, or Radius) on the same domain
Neomia Pulse MFA settings and activation¶
To enable Neomia Pulse MFA on CyberElements Bastion, you must edit the authentication domain and:
-
Enable at least one authentication token on the authentication domain
-
Enable the Enable Neomia Pulse authentication option
-
Set the URL for connecting to the Neomia Pulse API, which can be found in the Neomia Pulse Dashboard in
Management>Services. The default value ishttps://api.neomia.ai/pulse -
If the platform uses the first generation of the Pulse interface (
version = v1in the[pulse]section ofdjangosettings.ini), define the URL for connecting to the Neomia Pulse authentication API, which can be found in the Neomia Pulse Dashboard inManagement>Services. The default value ishttps://api.neomia.ai/pulse-auth. With generationv2, the default, this field is not displayed. -
Enter your API key, which can be found in the Neomia Pulse Dashboard in
Management>Services. -
Specify the number of behavioural identification attempts the user will be subjected to,
0indicating that there will be an infinite number of attempts -
Configure how authentication works:
Ignore OTP token: if Neomia Pulse MFA validates the user, no other MFA will be requestedStrengthen the authentication with an additional factor: if Neomia Pulse MFA validates the user, they will still have to validate one of the MFAs configured in step 1
-
Configure how authentication works if Neomia Pulse fails to validate the user:
Block the user: the user's account is immediately blocked on CyberElements BastionRequire an additional authentication factor: the user can still log into CyberElements Bastion if they validate one of the MFAs configured in step 1
-
Choose whether or not to display graphical components when analysing keystrokes (after entering words):
With graphical components Without graphical components 

-
Choose whether or not to display authentication factors and their validity for authentication on the user portal (information visible at the top left of the user portal):
User enrolment¶
Pulse only recognises a user after recording several reference typing patterns. As long as their profile is incomplete, or if a Pulse administrator has requested a new enrolment, the user cannot be verified by Pulse:
- they authenticate with their password, then with the other factor configured on the domain (hence the fourth prerequisite);
- the authentication page then invites them to the neomia Pulse enrollment, which consists of typing a few words.
How the enrolment unfolds depends on the generation of the Pulse interface, set for the whole platform by the
version parameter of the [pulse] section of djangosettings.ini:
| Generation | How the enrolment unfolds |
|---|---|
v2 (default) |
On the authentication page itself: the user types the suggested words, over several rounds, until Pulse has the number of reference patterns it expects. |
v1 |
The user is redirected to a page hosted by Neomia, then returns to the portal once enrolled. |
Enrolment is offered from the user portal as well as from the administration console, depending on the page where the user authenticates.
Pulse unavailable at verification time
If Pulse does not respond when the platform checks the user's enrolment, the behaviour follows the failure setting: authentication is refused with Block the user, and continues with the domain's other factor with Require an additional authentication factor.
More information¶
More information about Neomia Pulse is available on its documentation website: Neomia Pulse Documentation




