Skip to content
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

Update GCP documentation #6964

Merged
merged 3 commits into from
Jan 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion source/cloud-security/gcp/prerequisites/credentials.rst
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,12 @@ Within the **Service Accounts** section, create a new service account and add th
Creating a private key
----------------------

After creating a service account, add a new key to it. To do this, click **Create Key**, select **JSON**, and click **Create** to complete the action.
After creating a service account, add a new key to it following these steps:

#. Go to the **KEYS** tab.
#. Click on the **ADD KEY** dropdown menu and select **Create new key**.
#. For the key type, select **JSON**.
#. Click on **Create**.

.. thumbnail:: /images/cloud-security/gcp/gcp-account-key.png
:align: center
Expand Down
18 changes: 15 additions & 3 deletions source/cloud-security/gcp/prerequisites/pubsub.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,26 @@ In this section, we see how to create a topic, a subscription, and a sink to ful
Create a topic
--------------

Every publishing application sends messages to topics. Wazuh will retrieve the logs from this topic.
Every publishing application sends messages to topics. To create a topic, follow these steps. Wazuh will retrieve logs from this topic.

#. Go to the **Pub/Sub** service.
#. Click on **CREATE TOPIC**.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The image doesn't show "Create topic" as a clickable option. Do we mean to click on the left side panel option "Topics"?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The "Create topic" button is on the previous window, I didn't add an image because I thought it wasn't necessary for that single step. Should we add it?

topics

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was just making sure we were using the right reference name.

#. Set a **Topic ID** and click **CREATE**.

.. note::

Leave the **Add a default subscription** box checked to create a default subscription associated with this topic. To create a customized one, uncheck it and go to the next section.

.. thumbnail:: /images/cloud-security/gcp/gcp-topic.png
:align: center
:width: 100%

Create a subscription
---------------------
Create a custom subscription
----------------------------

.. note::

If you selected to create a default subscription in the step above, you can skip this section.

Follow the steps below to fill in the **Create subscription** form:

Expand Down
Binary file modified source/images/cloud-security/gcp/gcp-topic.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.