Hi,
I try to use virustotal but i don't have any wazuh alert when i try some debugging i get this error:
# /var/ossec/bin/wazuh-integratord -fdd
2023/01/25 19:26:24 wazuh-integratord[9652] integrator.c:133 at OS_IntegratorD(): DEBUG: sending new alert.
2023/01/25 19:26:24 wazuh-integratord[9652] integrator.c:244 at OS_IntegratorD(): DEBUG: skipping: rule doesn't match.
2023/01/25 19:26:24 wazuh-integratord[9652] integrator.c:126 at OS_IntegratorD(): DEBUG: jqueue_next()
2023/01/25 19:26:24 wazuh-integratord[9652] integrator.c:133 at OS_IntegratorD(): DEBUG: sending new alert.
2023/01/25 19:26:24 wazuh-integratord[9652] integrator.c:267 at OS_IntegratorD(): DEBUG: file /tmp/virustotal-1674671184-1953432986.alert was written.
2023/01/25 19:26:24 wazuh-integratord[9652] integrator.c:394 at OS_IntegratorD(): DEBUG: Running: integrations /tmp/virustotal-1674671184-1953432986.alert 94e298694ac4a58c323839dcb1ef4cfe36b48bd6beb8a5c7c3aee587117865cf debug
2023/01/25 19:26:24 wazuh-integratord[9652] integrator.c:403 at OS_IntegratorD(): DEBUG: integratord: Wed Jan 25 19:26:24 CET 2023: # Starting
2023/01/25 19:26:24 wazuh-integratord[9652] integrator.c:403 at OS_IntegratorD(): DEBUG: integratord:
2023/01/25 19:26:24 wazuh-integratord[9652] integrator.c:403 at OS_IntegratorD(): DEBUG: integratord: Wed Jan 25 19:26:24 CET 2023: # API Key
2023/01/25 19:26:24 wazuh-integratord[9652] integrator.c:403 at OS_IntegratorD(): DEBUG: integratord:
2023/01/25 19:26:24 wazuh-integratord[9652] integrator.c:403 at OS_IntegratorD(): DEBUG: integratord: Wed Jan 25 19:26:24 CET 2023: 94e298694ac4a58c323839dcb1ef4cfe36b48bd6beb8a5c7c3aee587117865cf
2023/01/25 19:26:24 wazuh-integratord[9652] integrator.c:403 at OS_IntegratorD(): DEBUG: integratord:
2023/01/25 19:26:24 wazuh-integratord[9652] integrator.c:403 at OS_IntegratorD(): DEBUG: integratord: Wed Jan 25 19:26:24 CET 2023: # File location
2023/01/25 19:26:24 wazuh-integratord[9652] integrator.c:403 at OS_IntegratorD(): DEBUG: integratord:
2023/01/25 19:26:24 wazuh-integratord[9652] integrator.c:403 at OS_IntegratorD(): DEBUG: integratord: Wed Jan 25 19:26:24 CET 2023: /tmp/virustotal-1674671184-1953432986.alert
2023/01/25 19:26:24 wazuh-integratord[9652] integrator.c:403 at OS_IntegratorD(): DEBUG: integratord:
2023/01/25 19:26:24 wazuh-integratord[9652] integrator.c:403 at OS_IntegratorD(): DEBUG: integratord: Wed Jan 25 19:26:24 CET 2023: 'utf-8' codec can't decode byte 0xe8 in position 878: invalid continuation byte
2023/01/25 19:26:24 wazuh-integratord[9652] integrator.c:403 at OS_IntegratorD(): DEBUG: integratord:
2023/01/25 19:26:24 wazuh-integratord[9652] integrator.c:403 at OS_IntegratorD(): DEBUG: integratord: Traceback (most recent call last):
2023/01/25 19:26:24 wazuh-integratord[9652] integrator.c:403 at OS_IntegratorD(): DEBUG: integratord: File "/var/ossec/integrations/virustotal.py", line 208, in <module>
2023/01/25 19:26:24 wazuh-integratord[9652] integrator.c:403 at OS_IntegratorD(): DEBUG: integratord: main(sys.argv)
2023/01/25 19:26:24 wazuh-integratord[9652] integrator.c:403 at OS_IntegratorD(): DEBUG: integratord: File "/var/ossec/integrations/virustotal.py", line 59, in main
2023/01/25 19:26:24 wazuh-integratord[9652] integrator.c:403 at OS_IntegratorD(): DEBUG: integratord: json_alert = json.load(alert_file)
2023/01/25 19:26:24 wazuh-integratord[9652] integrator.c:403 at OS_IntegratorD(): DEBUG: integratord: File "/var/ossec/framework/python/lib/python3.9/json/__init__.py", line 293, in load
2023/01/25 19:26:24 wazuh-integratord[9652] integrator.c:403 at OS_IntegratorD(): DEBUG: integratord: return loads(fp.read(),
2023/01/25 19:26:24 wazuh-integratord[9652] integrator.c:403 at OS_IntegratorD(): DEBUG: integratord: File "/var/ossec/framework/python/lib/python3.9/codecs.py", line 322, in decode
2023/01/25 19:26:24 wazuh-integratord[9652] integrator.c:403 at OS_IntegratorD(): DEBUG: integratord: (result, consumed) = self._buffer_decode(data, self.errors, final)
2023/01/25 19:26:24 wazuh-integratord[9652] integrator.c:403 at OS_IntegratorD(): DEBUG: integratord: UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe8 in position 878: invalid continuation byte
2023/01/25 19:26:24 wazuh-integratord[9652] integrator.c:412 at OS_IntegratorD(): ERROR: Unable to run integration for virustotal -> integrations
2023/01/25 19:26:24 wazuh-integratord[9652] integrator.c:413 at OS_IntegratorD(): ERROR: While running virustotal -> integrations. Output: UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe8 in position 878: invalid continuation byte
2023/01/25 19:26:24 wazuh-integratord[9652] integrator.c:414 at OS_IntegratorD(): ERROR: Exit status was: 1
i use wazuh 4.3 on centos 7
thanks,