Skip to content

Commit

Permalink
Apply suggested changes
Browse files Browse the repository at this point in the history
  • Loading branch information
GGP1 committed May 14, 2024
1 parent 8c17b97 commit 20938ea
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 5 deletions.
8 changes: 4 additions & 4 deletions source/_templates/cloud/pip_installation.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.. Copyright (C) 2024 Wazuh, Inc.
.. Copyright (C) 2015 Wazuh, Inc.
The required modules can be installed with pip, the Python package manager. Most UNIX distributions have this tool available in their software repositories:
You can install the required modules with Pip, the Python package manager. Most UNIX distributions have this tool available in their software repositories.

.. tabs::

Expand All @@ -16,7 +16,7 @@ The required modules can be installed with pip, the Python package manager. Most
# apt-get update && apt-get install python3-pip
It is recommended to use a pip version greater than or equal to 19.3 to ease the installation of the required dependencies.
We recommend to use Pip 19.3 or later to ease the installation of the dependencies.

.. tabs::

Expand All @@ -37,7 +37,7 @@ It is recommended to use a pip version greater than or equal to 19.3 to ease the

This command modifies the default externally managed Python environment. See the `PEP 668 <https://peps.python.org/pep-0668/>`__ description for more information.

To prevent the modification, you can run ``pip3 install --upgrade pip`` within a virtual environment. You must update the module's script shebang with your virtual environment interpreter, for example, ``#!/path/to/your/virtual/environment/bin/python3``.
To prevent the modification, you can run ``pip3 install --upgrade pip`` within a virtual environment. You must update the shebang of the |module_script| Python script with the interpreter in your virtual environment. For example, ``#!/path/to/your/virtual/environment/bin/python3``.


.. End of include file
2 changes: 1 addition & 1 deletion source/_templates/cloud/python_installation.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.. Copyright (C) 2024 Wazuh, Inc.
.. Copyright (C) 2015 Wazuh, Inc.
.. tabs::

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ Python

The AWS module requires `Python 3 <https://www.python.org/>`__. Specifically, it's compatible with `Python |PYTHON_CLOUD_CONTAINERS_MIN|–|PYTHON_CLOUD_CONTAINERS_MAX| <https://www.python.org/downloads/>`_. While later Python versions should work as well, we can't assure they are compatible.

.. |module_script| replace:: ``/var/ossec/wodles/aws/aws-s3``

.. include:: /_templates/cloud/python_installation.rst

.. include:: /_templates/cloud/pip_installation.rst
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ Python

The Azure module requires `Python 3 <https://www.python.org/>`__. Specifically, it's compatible with `Python |PYTHON_CLOUD_CONTAINERS_MIN|–|PYTHON_CLOUD_CONTAINERS_MAX| <https://www.python.org/downloads/>`_. While later Python versions should work as well, we can't assure they are compatible.

.. |module_script| replace:: ``/var/ossec/wodles/azure/azure-logs``

.. include:: /_templates/cloud/python_installation.rst

.. include:: /_templates/cloud/pip_installation.rst
Expand Down
2 changes: 2 additions & 0 deletions source/cloud-security/gcp/prerequisites/dependencies.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ Python

The GCP module requires `Python 3 <https://www.python.org/>`__. It's compatible with `Python |PYTHON_CLOUD_CONTAINERS_MIN|–|PYTHON_CLOUD_CONTAINERS_MAX| <https://www.python.org/downloads/>`_. While later Python versions should work as well, we can't assure they are compatible.

.. |module_script| replace:: ``/var/ossec/wodles/gcloud/gcloud``

.. include:: /_templates/cloud/python_installation.rst

.. include:: /_templates/cloud/pip_installation.rst
Expand Down

0 comments on commit 20938ea

Please sign in to comment.