-
Notifications
You must be signed in to change notification settings - Fork 178
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wazuh Google Cloud integration error #886
Comments
Are you running kubernetes perhaps? I ran into this error as well. For me the fix was the location of the credentials file: the guide tells you to put the credentials file in Mount your credentials file in /creds.json or some other location outside of the /var/ossec dir to fix this/have a workaround. Side note: mounting the rules after an initial startup / filling of the storage works too. Not sure if the same can be said for the credentials file. |
Regarding the errors related to Python scripts used by the Gcloud integration, we had a bug in the If you cannot update to Regarding the mounting of the credentails.json file, inside the Wazuh manager image we have the
Mounting the credentials.json file in |
Thank you for this piece of information. Did I miss something in the docs, or is this not documented? |
This bug feels like it predates 4.10.0. I'm on 4.9.0 and have the same issue. |
We don't have any information specifically regarding deployment customization except for information related to communication between Wazuh components, but we are working on that.
You have the same problem, so the solution regarding modifying the build of the images and creating your own images may also be useful for you. |
Thank you, the issue was fixed by updating to |
I have deployed Wazuh based on the kubernetes manifests in this repo (using v4.7.5). I have made some adjustments to the manifests, and everything works as expected. I have been able to integrate Wazuh agents, integrate AWS cloudwatch logs, but am running into an issue for Google cloud integration.
I am trying to integrate Wazuh with Google Cloud Pub/Sub messaging and ingestion service using the Wazuh module for Google Cloud Pub/Sub. I setup everything on Google Cloud and Wazuh's side using the steps mentioned at: pubsub.html.
While looking at logs (after enabling debug logging), I saw the following logs messages:
Since this log didn't show a useful error message, I attached to the running container for wazuh-manager, and ran the following command:
As you can see, it seems that the google cloud module script doesn't have the necessary Python dependencies installed in the wazuh-manager container. Does it seem correct, or am I missing something?
Note: I have also tried with kubernetes manifest versions v4.7.0 and v4.5.0, and gotten same results.
The text was updated successfully, but these errors were encountered: