Hi.
I hope you are doing fine!
Wazuh can use the Google Cloud Pub/Sub messaging and ingestion service. GCP suported services by Wazuh are showed on this
link, you can check if any of supported services alerts were fired on
dashboard, otherwise, it's possible look for them on Wazuh manager side.
If collected events are supported by Wazuh and the configuration is correct, events should be processed by decoders and rules and generates alerts, so look for them on
/var/ossec/logs/alerts/alerts.json file. If you find GCP events as alerts, that means configuration is OK, but there is a problem between
Wazuh Manager - filebeat - Wazuh Indexer. Otherwise if you don't find any GCP log on
alerts.json file, look for then on
/var/ossec/logs/archives/archives.json file.
To enable
archive.json file edit
/var/ossec/etc/ossec.conf in manager side, add
<logall_json>yes</logall_json> <ossec_config>
<global>
<alerts_log>yes</alerts_log>
<logall>yes</logall>
<logall_json>yes</logall_json>
</global>Then restar Wazuh manager. If you find any GCP log on
archives.json file, but they are not on
alert.json file, that means that kind of GCP logs are not supported, if you want trigger an alert from them, it's possible creates custom decoders and custom rules.
Let me know if this information is useful.
Regards.