Keystroke
- For the ML Engine to collect keystroke data from Kron PAM and evaluate user behavior, the pam-keystroke service must be active. Use the following commands to start and verify its status:
- [root@ml-engine ML-Engine-Installer]# systemctl start pam-keystroke
- [root@ml-engine ML-Engine-Installer]# systemctl status pam-keystroke
- Navigate to /pam/key-stroke/src/config/ folder.
- Open the config.json file with a text editor and edit threshold values if necessary.
- Save the config.json file and restart the keystroke service.
- [root@ml-engine ML-Engine-Installer]# systemctl restart pam-keystroke
The port used for Kron PAM to communicate with the ML Engine is defined in the configuration file. Make sure it aligns with your environment’s network settings.
The ML Engine operates over HTTPS. In Kron PAM, be sure to set the keystroke.api.url parameter as https://ML-ENGINE-URL:port/predict