thank you very much for taking care of my case.
* yes, the alerts have been generated by Wazuh (this is the last line captured with debug enabled)
** Alert 1687210891.4535526: - pam,syslog,pci_dss_10.2.5,gpg13_7.8,gpg13_7.9,gdpr_IV_32.2,hipaa_164.312.b,nist_800_53_AU.14,nist_800_53_AC.7,tsc_CC6.8,tsc_CC7.2,tsc_CC7.3,
2023 Jun 19 21:41:31 curiosity->/var/log/secure
Rule: 5502 (level 3) -> 'PAM: Login session closed.'
User: root
Jun 19 23:41:29 curiosity sudo: pam_unix(sudo:session): session closed for user root
tail /var/ossec/logs/integrations.log
2023-06-19 23:41:32,766 - __main__ - DEBUG - #get alert file location
2023-06-19 23:41:32,766 - __main__ - DEBUG - #get TheHive url
2023-06-19 23:41:32,766 - __main__ - DEBUG - #get TheHive api key
2023-06-19 23:41:32,766 - __main__ - DEBUG - #open alert file
2023-06-19 23:41:32,766 - __main__ - DEBUG - #alert data
2023-06-19 23:41:32,766 - __main__ - DEBUG - {'timestamp': '2023-06-19T21:41:31.631+0000', 'rule': {'level': 3, 'description': 'PAM: Login session closed.', 'id': '5502', 'firedtimes': 1, 'mail': False, 'groups': ['pam', 'syslog'], 'pci_dss': ['10.2.5'], 'gpg13': ['7.8', '7.9'], 'gdpr': ['IV_32.2'], 'hipaa': ['164.312.b'], 'nist_800_53': ['AU.14', 'AC.7'], 'tsc': ['CC6.8', 'CC7.2', 'CC7.3']}, 'agent': {'id': '000', 'name': 'curiosity.cmcc.scc'}, 'manager': {'name': 'curiosity.cmcc.scc'}, 'id': '1687210891.4535526', 'full_log': 'Jun 19 23:41:29 curiosity sudo: pam_unix(sudo:session): session closed for user root', 'predecoder': {'program_name': 'sudo', 'timestamp': 'Jun 19 23:41:29', 'hostname': 'curiosity'}, 'decoder': {'parent': 'pam', 'name': 'pam'}, 'data': {'dstuser': 'root'}, 'location': '/var/log/secure'}
2023-06-19 23:41:32,766 - __main__ - DEBUG - #gen json to dot-key-text
2023-06-19 23:41:32,766 - __main__ - DEBUG - #formatting description
2023-06-19 23:41:32,766 - __main__ - DEBUG - #search artifacts
2023-06-19 23:41:32,767 - __main__ - DEBUG - #threshold filtering
* The Hive server and GUI are up & accessible from Wazuh Manager:
[root@wazuh]# nc -zv thehive 9000
Ncat: Connected to thehive:9000.
Ncat: 0 bytes sent, 0 bytes received in 0.01 seconds.
And this is what I see on the TheHive v.5 web UI (a very poor page) with only the users and organisations :
Thank you for you help and patience.
Mauro