2022/07/27 08:12:20 wazuh-modulesd:gcp-pubsub[15317] wm_gcp.c:119 at wm_gcp_pubsub_main(): DEBUG: Starting fetching of logs.
2022/07/27 08:12:20 wazuh-modulesd:gcp-pubsub[15317] wm_gcp.c:207 at wm_gcp_pubsub_run(): DEBUG: Create argument list
2022/07/27 08:12:20 wazuh-modulesd:gcp-pubsub[15317] wm_gcp.c:259 at wm_gcp_pubsub_run(): DEBUG: Launching command: wodles/gcloud/gcloud --integration_type pubsub --25072021 --subscription_id wazuh-development-subs --credentials_file /etc/25072021-d4148e3ac39a.json --max_messages 100 --num_threads 1 --log_level 1
2022/07/27 08:12:22 wazuh-modulesd:gcp-pubsub[15317] wm_gcp.c:272 at wm_gcp_pubsub_run(): WARNING: Command returned exit code 1
2022/07/27 08:12:22 wazuh-modulesd:gcp-pubsub[15317] wm_gcp.c:276 at wm_gcp_pubsub_run(): WARNING: Unknown error.
2022/07/27 08:12:22 wazuh-modulesd:gcp-pubsub[15317] wm_gcp.c:296 at wm_gcp_pubsub_run(): DEBUG: OUTPUT: gcloud_wodle - DEBUG - Setting 1 thread to pull 100 messages in total
2022/07/27 08:12:22 wazuh-modulesd:gcp-pubsub[15317] wm_gcp.c:309 at wm_gcp_pubsub_run(): DEBUG: gcloud_wodle - DEBUG - Setting 1 thread to pull 100 messages in total
2022/07/27 08:12:22 wazuh-modulesd:gcp-pubsub[15317] wm_gcp.c:123 at wm_gcp_pubsub_main(): DEBUG: Fetching logs finished.
2022/07/27 08:12:22 wazuh-modulesd:gcp-pubsub[15317] wm_gcp.c:115 at wm_gcp_pubsub_main(): DEBUG: Sleeping until: 2022/07/27 08:13:20
I think it is working since the permission message disappeared, but I haven't seen any GCP log within the GCP modules maybe because of the warning message?
2022/07/27 07:41:22 wazuh-modulesd:gcp-pubsub[15317] wm_gcp.c:272 at wm_gcp_pubsub_run(): WARNING: Command returned exit code 1
2022/07/27 07:41:22 wazuh-modulesd:gcp-pubsub[15317] wm_gcp.c:276 at wm_gcp_pubsub_run(): WARNING: Unknown error