From 3174a3dd4ab22c3122e361712cea1d3a80955c0b Mon Sep 17 00:00:00 2001 From: Javier Medeot Date: Tue, 24 Dec 2024 08:28:19 -0300 Subject: [PATCH 01/66] Update references in 4.11.0 release notes --- source/release-notes/release-4-11-0.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/release-notes/release-4-11-0.rst b/source/release-notes/release-4-11-0.rst index 59658fc938..a68bc9a31a 100644 --- a/source/release-notes/release-4-11-0.rst +++ b/source/release-notes/release-4-11-0.rst @@ -38,7 +38,7 @@ Auxiliary repositories - `wazuh/wazuh-puppet `__ - `wazuh/wazuh-docker `__ -- `wazuh/wazuh-qa `__ +- wazuh/wazuh-qa-automation - `wazuh/qa-integration-framework `__ - `wazuh/wazuh-documentation `__ From 4cf1ec1e75103b050f5e81810a6fdfb3ad26c64b Mon Sep 17 00:00:00 2001 From: Javier Medeot Date: Thu, 9 Jan 2025 09:02:49 -0300 Subject: [PATCH 02/66] Remove wazuh-qa-automation reference --- source/release-notes/release-4-11-0.rst | 1 - 1 file changed, 1 deletion(-) diff --git a/source/release-notes/release-4-11-0.rst b/source/release-notes/release-4-11-0.rst index a68bc9a31a..15cebc571c 100644 --- a/source/release-notes/release-4-11-0.rst +++ b/source/release-notes/release-4-11-0.rst @@ -38,7 +38,6 @@ Auxiliary repositories - `wazuh/wazuh-puppet `__ - `wazuh/wazuh-docker `__ -- wazuh/wazuh-qa-automation - `wazuh/qa-integration-framework `__ - `wazuh/wazuh-documentation `__ From 3210da8be2586a389e9058a6019255e5060311a3 Mon Sep 17 00:00:00 2001 From: Javier Medeot Date: Thu, 16 Jan 2025 15:51:34 -0300 Subject: [PATCH 03/66] Update components installation steps --- .../installation-assistant.rst | 20 ++++++++++++++++++ .../wazuh-dashboard/step-by-step.rst | 21 +++++++++++++++++++ .../wazuh-indexer/installation-assistant.rst | 21 +++++++++++++++++++ .../wazuh-indexer/step-by-step.rst | 20 ++++++++++++++++++ .../wazuh-server/installation-assistant.rst | 21 +++++++++++++++++++ .../wazuh-server/step-by-step.rst | 21 +++++++++++++++++++ source/quickstart.rst | 21 +++++++++++++++++++ 7 files changed, 145 insertions(+) diff --git a/source/installation-guide/wazuh-dashboard/installation-assistant.rst b/source/installation-guide/wazuh-dashboard/installation-assistant.rst index dfa8b0c28d..4b4bbe58e9 100644 --- a/source/installation-guide/wazuh-dashboard/installation-assistant.rst +++ b/source/installation-guide/wazuh-dashboard/installation-assistant.rst @@ -55,6 +55,26 @@ Wazuh dashboard installation When you access the Wazuh dashboard for the first time, the browser shows a warning message stating that the certificate was not issued by a trusted authority. An exception can be added in the advanced options of the web browser. For increased security, the ``root-ca.pem`` file previously generated can be imported to the certificate manager of the browser instead. Alternatively, a certificate from a trusted authority can be configured. +- **Recommended Action**: Disable Wazuh Updates. + + We recommend disabling the Wazuh package repositories after installation to prevent accidental upgrades that could break the environment. + + Execute the following command to disable the Wazuh repository: + + .. tabs:: + + .. group-tab:: YUM + + .. code-block:: console + + # sed -i "s/^enabled=1/enabled=0/" /etc/yum.repos.d/wazuh.repo + + .. group-tab:: APT (Debian/Ubuntu) + + .. code-block:: console + + # sed -i "s/^deb /#deb /" /etc/apt/sources.list.d/wazuh.list + # apt update Next steps ---------- diff --git a/source/installation-guide/wazuh-dashboard/step-by-step.rst b/source/installation-guide/wazuh-dashboard/step-by-step.rst index aa8984c317..ea3ee8ddc4 100644 --- a/source/installation-guide/wazuh-dashboard/step-by-step.rst +++ b/source/installation-guide/wazuh-dashboard/step-by-step.rst @@ -120,6 +120,27 @@ Starting the Wazuh dashboard service When you access the Wazuh dashboard for the first time, the browser shows a warning message stating that the certificate was not issued by a trusted authority. An exception can be added in the advanced options of the web browser. For increased security, the ``root-ca.pem`` file previously generated can be imported to the certificate manager of the browser. Alternatively, a certificate from a trusted authority can be configured. +- **Recommended Action**: Disable Wazuh Updates. + + We recommend disabling the Wazuh package repositories after installation to prevent accidental upgrades that could break the environment. + + Execute the following command to disable the Wazuh repository: + + .. tabs:: + + .. group-tab:: YUM + + .. code-block:: console + + # sed -i "s/^enabled=1/enabled=0/" /etc/yum.repos.d/wazuh.repo + + .. group-tab:: APT (Debian/Ubuntu) + + .. code-block:: console + + # sed -i "s/^deb /#deb /" /etc/apt/sources.list.d/wazuh.list + # apt update + Securing your Wazuh installation -------------------------------- diff --git a/source/installation-guide/wazuh-indexer/installation-assistant.rst b/source/installation-guide/wazuh-indexer/installation-assistant.rst index ed04a50ec5..a992911533 100644 --- a/source/installation-guide/wazuh-indexer/installation-assistant.rst +++ b/source/installation-guide/wazuh-indexer/installation-assistant.rst @@ -156,6 +156,27 @@ Testing the cluster installation # curl -k -u admin: https://:9200/_cat/nodes?v +- **Recommended Action**: Disable Wazuh Updates. + + We recommend disabling the Wazuh package repositories after installation to prevent accidental upgrades that could break the environment. + + Execute the following command to disable the Wazuh repository: + + .. tabs:: + + .. group-tab:: YUM + + .. code-block:: console + + # sed -i "s/^enabled=1/enabled=0/" /etc/yum.repos.d/wazuh.repo + + .. group-tab:: APT (Debian/Ubuntu) + + .. code-block:: console + + # sed -i "s/^deb /#deb /" /etc/apt/sources.list.d/wazuh.list + # apt update + Next steps ---------- diff --git a/source/installation-guide/wazuh-indexer/step-by-step.rst b/source/installation-guide/wazuh-indexer/step-by-step.rst index 38421a3f46..80bb6b6601 100644 --- a/source/installation-guide/wazuh-indexer/step-by-step.rst +++ b/source/installation-guide/wazuh-indexer/step-by-step.rst @@ -164,6 +164,26 @@ Starting the service Repeat this stage of the installation process for every Wazuh indexer node in your cluster. Then proceed with initializing your single-node or multi-node cluster in the next stage. +- **Recommended Action**: Disable Wazuh Updates. + + We recommend disabling the Wazuh package repositories after installation to prevent accidental upgrades that could break the environment. + + Execute the following command to disable the Wazuh repository: + + .. tabs:: + + .. group-tab:: YUM + + .. code-block:: console + + # sed -i "s/^enabled=1/enabled=0/" /etc/yum.repos.d/wazuh.repo + + .. group-tab:: APT (Debian/Ubuntu) + + .. code-block:: console + + # sed -i "s/^deb /#deb /" /etc/apt/sources.list.d/wazuh.list + # apt update 3. Cluster initialization ------------------------- diff --git a/source/installation-guide/wazuh-server/installation-assistant.rst b/source/installation-guide/wazuh-server/installation-assistant.rst index 3194c02fdc..a46c644473 100644 --- a/source/installation-guide/wazuh-server/installation-assistant.rst +++ b/source/installation-guide/wazuh-server/installation-assistant.rst @@ -32,6 +32,27 @@ Your Wazuh server is now successfully installed. - If you want a Wazuh server multi-node cluster, repeat this process on every Wazuh server node. +- **Recommended Action**: Disable Wazuh Updates. + + We recommend disabling the Wazuh package repositories after installation to prevent accidental upgrades that could break the environment. + + Execute the following command to disable the Wazuh repository: + + .. tabs:: + + .. group-tab:: YUM + + .. code-block:: console + + # sed -i "s/^enabled=1/enabled=0/" /etc/yum.repos.d/wazuh.repo + + .. group-tab:: APT (Debian/Ubuntu) + + .. code-block:: console + + # sed -i "s/^deb /#deb /" /etc/apt/sources.list.d/wazuh.list + # apt update + Next steps ---------- diff --git a/source/installation-guide/wazuh-server/step-by-step.rst b/source/installation-guide/wazuh-server/step-by-step.rst index bc53223762..a3e5163147 100644 --- a/source/installation-guide/wazuh-server/step-by-step.rst +++ b/source/installation-guide/wazuh-server/step-by-step.rst @@ -212,6 +212,27 @@ Starting the Filebeat service Your Wazuh server node is now successfully installed. Repeat this stage of the installation process for every Wazuh server node in your Wazuh cluster, then proceed with configuring the Wazuh cluster. If you want a Wazuh server single-node cluster, everything is set and you can proceed directly with :doc:`../wazuh-dashboard/step-by-step`. +- **Recommended Action**: Disable Wazuh Updates. + + We recommend disabling the Wazuh package repositories after installation to prevent accidental upgrades that could break the environment. + + Execute the following command to disable the Wazuh repository: + + .. tabs:: + + .. group-tab:: YUM + + .. code-block:: console + + # sed -i "s/^enabled=1/enabled=0/" /etc/yum.repos.d/wazuh.repo + + .. group-tab:: APT (Debian/Ubuntu) + + .. code-block:: console + + # sed -i "s/^deb /#deb /" /etc/apt/sources.list.d/wazuh.list + # apt update + 2. Cluster configuration for multi-node deployment -------------------------------------------------- .. raw:: html diff --git a/source/quickstart.rst b/source/quickstart.rst index a1e903fad2..5b10d49ec5 100644 --- a/source/quickstart.rst +++ b/source/quickstart.rst @@ -98,6 +98,27 @@ When you access the Wazuh dashboard for the first time, the browser shows a warn If you want to uninstall the Wazuh central components, run the Wazuh installation assistant using the option ``-u`` or ``–-uninstall``. +- **Recommended Action**: Disable Wazuh Updates. + + We recommend disabling the Wazuh package repositories after installation to prevent accidental upgrades that could break the environment. + + Execute the following command to disable the Wazuh repository: + + .. tabs:: + + .. group-tab:: YUM + + .. code-block:: console + + # sed -i "s/^enabled=1/enabled=0/" /etc/yum.repos.d/wazuh.repo + + .. group-tab:: APT (Debian/Ubuntu) + + .. code-block:: console + + # sed -i "s/^deb /#deb /" /etc/apt/sources.list.d/wazuh.list + # apt update + Next steps ---------- From 4abbc1c3f618626cc0cb8460498f5be9eb122291 Mon Sep 17 00:00:00 2001 From: ayodeko Date: Mon, 20 Jan 2025 13:25:14 +0100 Subject: [PATCH 04/66] add support for Wazuh 4.10.2 --- CHANGELOG.md | 4 +++ source/_static/js/redirects.js | 1 + source/_variables/settings.py | 4 +-- source/release-notes/index-4x.rst | 2 ++ source/release-notes/index.rst | 1 + source/release-notes/release-4-10-2.rst | 42 +++++++++++++++++++++++++ 6 files changed, 52 insertions(+), 2 deletions(-) create mode 100644 source/release-notes/release-4-10-2.rst diff --git a/CHANGELOG.md b/CHANGELOG.md index c858ba5862..f1977b06a4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,10 @@ # Change Log All notable changes to this project will be documented in this file. +# [v4.10.2] + +- Support for Wazuh 4.10.2 + # [v4.10.1] - Support for Wazuh 4.10.1 diff --git a/source/_static/js/redirects.js b/source/_static/js/redirects.js index c48bb4dee6..4fa3f860e0 100644 --- a/source/_static/js/redirects.js +++ b/source/_static/js/redirects.js @@ -111,6 +111,7 @@ redirections.push( newUrls['4.10'] = [ '/release-notes/release-4-10-0.html', '/release-notes/release-4-10-1.html', + '/release-notes/release-4-10-2.html', '/user-manual/reference/ossec-conf/anti-tampering.html', '/user-manual/capabilities/vulnerability-detection/troubleshooting.html', '/user-manual/capabilities/vulnerability-detection/FAQ.html', diff --git a/source/_variables/settings.py b/source/_variables/settings.py index bf2fd9e03d..1cf75c3151 100644 --- a/source/_variables/settings.py +++ b/source/_variables/settings.py @@ -21,7 +21,7 @@ # The full version, including alpha/beta/rc tags # Important: use a valid branch (4.0) or, preferably, tag name (v4.0.0) -release = '4.10.1' -api_tag = 'v4.10.1' +release = '4.10.2' +api_tag = '4.10.2' apiURL = 'https://raw.githubusercontent.com/wazuh/wazuh/'+api_tag+'/api/api/spec/spec.yaml' diff --git a/source/release-notes/index-4x.rst b/source/release-notes/index-4x.rst index e31e0fc6e2..1204a13fc2 100644 --- a/source/release-notes/index-4x.rst +++ b/source/release-notes/index-4x.rst @@ -11,6 +11,7 @@ This section summarizes the most important features of each Wazuh 4.x release. ============================================= ==================== Wazuh version Release date ============================================= ==================== +:doc:`4.10.2 ` TBD :doc:`4.10.1 ` 16 January 2025 :doc:`4.10.0 ` 9 January 2025 :doc:`4.9.2 ` 4 November 2024 @@ -74,6 +75,7 @@ Wazuh version Release date .. toctree:: + 4.10.2 Release notes 4.10.1 Release notes 4.10.0 Release notes 4.9.2 Release notes diff --git a/source/release-notes/index.rst b/source/release-notes/index.rst index c591b415f5..33bc87540e 100644 --- a/source/release-notes/index.rst +++ b/source/release-notes/index.rst @@ -11,6 +11,7 @@ This section summarizes the most important features of each Wazuh release. ============================================== ==================== Wazuh version Release date ============================================== ==================== +:doc:`4.10.1 ` TBD :doc:`4.10.1 ` 16 January 2025 :doc:`4.10.0 ` 9 January 2025 :doc:`4.9.2 ` 4 November 2024 diff --git a/source/release-notes/release-4-10-2.rst b/source/release-notes/release-4-10-2.rst new file mode 100644 index 0000000000..54b37ccbba --- /dev/null +++ b/source/release-notes/release-4-10-2.rst @@ -0,0 +1,42 @@ +.. Copyright (C) 2015, Wazuh, Inc. +.. meta:: + :description: Wazuh 4.10.2 has been released. Check out our release notes to discover the changes and additions of this release. + +4.10.2 Release notes - TBD +========================= + +This section lists the changes in version 4.10.2. Every update of the Wazuh solution is cumulative and includes all enhancements and fixes from previous releases. + +What's new +---------- + +This release includes new features or enhancements as the following: + +Resolved issues +--------------- + +This release resolves known issues as the following: + +Changelogs +---------- + +The repository changelogs provide more details about the changes. + +Product repositories +^^^^^^^^^^^^^^^^^^^^ + +- `wazuh/wazuh `__ +- `wazuh/wazuh-dashboard-plugins `__ + +Auxiliary repositories +^^^^^^^^^^^^^^^^^^^^^^^ + +- `wazuh/wazuh-ansible `__ +- `wazuh/wazuh-kubernetes `__ +- `wazuh/wazuh-puppet `__ +- `wazuh/wazuh-docker `__ + +- `wazuh/wazuh-qa `__ +- `wazuh/qa-integration-framework `__ + +- `wazuh/wazuh-documentation `__ \ No newline at end of file From 11fb0f7f7cda11e963158be6fa9464d5dddd5b4a Mon Sep 17 00:00:00 2001 From: Javier Medeot Date: Mon, 20 Jan 2025 09:47:45 -0300 Subject: [PATCH 05/66] Update components installation steps --- .../installations/disable-wazuh-updates.rst | 26 +++++++++++++++++++ .../installation-assistant.rst | 21 +-------------- .../wazuh-dashboard/step-by-step.rst | 21 +-------------- .../wazuh-indexer/installation-assistant.rst | 21 +-------------- .../wazuh-indexer/step-by-step.rst | 21 +-------------- .../wazuh-server/installation-assistant.rst | 21 +-------------- .../wazuh-server/step-by-step.rst | 21 +-------------- source/quickstart.rst | 21 +-------------- 8 files changed, 33 insertions(+), 140 deletions(-) create mode 100644 source/_templates/installations/disable-wazuh-updates.rst diff --git a/source/_templates/installations/disable-wazuh-updates.rst b/source/_templates/installations/disable-wazuh-updates.rst new file mode 100644 index 0000000000..db1ab4c6d9 --- /dev/null +++ b/source/_templates/installations/disable-wazuh-updates.rst @@ -0,0 +1,26 @@ +.. Copyright (C) 2015, Wazuh, Inc. + +.. note:: + + **Recommended Action**: Disable Wazuh Updates. + + We recommend disabling the Wazuh package repositories after installation to prevent accidental upgrades that could break the environment. + + Execute the following command to disable the Wazuh repository: + + .. tabs:: + + .. group-tab:: YUM + + .. code-block:: console + + # sed -i "s/^enabled=1/enabled=0/" /etc/yum.repos.d/wazuh.repo + + .. group-tab:: APT (Debian/Ubuntu) + + .. code-block:: console + + # sed -i "s/^deb /#deb /" /etc/apt/sources.list.d/wazuh.list + # apt update + +.. End of include file diff --git a/source/installation-guide/wazuh-dashboard/installation-assistant.rst b/source/installation-guide/wazuh-dashboard/installation-assistant.rst index 4b4bbe58e9..811f4e7a18 100644 --- a/source/installation-guide/wazuh-dashboard/installation-assistant.rst +++ b/source/installation-guide/wazuh-dashboard/installation-assistant.rst @@ -55,26 +55,7 @@ Wazuh dashboard installation When you access the Wazuh dashboard for the first time, the browser shows a warning message stating that the certificate was not issued by a trusted authority. An exception can be added in the advanced options of the web browser. For increased security, the ``root-ca.pem`` file previously generated can be imported to the certificate manager of the browser instead. Alternatively, a certificate from a trusted authority can be configured. -- **Recommended Action**: Disable Wazuh Updates. - - We recommend disabling the Wazuh package repositories after installation to prevent accidental upgrades that could break the environment. - - Execute the following command to disable the Wazuh repository: - - .. tabs:: - - .. group-tab:: YUM - - .. code-block:: console - - # sed -i "s/^enabled=1/enabled=0/" /etc/yum.repos.d/wazuh.repo - - .. group-tab:: APT (Debian/Ubuntu) - - .. code-block:: console - - # sed -i "s/^deb /#deb /" /etc/apt/sources.list.d/wazuh.list - # apt update +.. include:: /_templates/installations/disable-wazuh-updates.rst Next steps ---------- diff --git a/source/installation-guide/wazuh-dashboard/step-by-step.rst b/source/installation-guide/wazuh-dashboard/step-by-step.rst index ea3ee8ddc4..643f007cf0 100644 --- a/source/installation-guide/wazuh-dashboard/step-by-step.rst +++ b/source/installation-guide/wazuh-dashboard/step-by-step.rst @@ -120,26 +120,7 @@ Starting the Wazuh dashboard service When you access the Wazuh dashboard for the first time, the browser shows a warning message stating that the certificate was not issued by a trusted authority. An exception can be added in the advanced options of the web browser. For increased security, the ``root-ca.pem`` file previously generated can be imported to the certificate manager of the browser. Alternatively, a certificate from a trusted authority can be configured. -- **Recommended Action**: Disable Wazuh Updates. - - We recommend disabling the Wazuh package repositories after installation to prevent accidental upgrades that could break the environment. - - Execute the following command to disable the Wazuh repository: - - .. tabs:: - - .. group-tab:: YUM - - .. code-block:: console - - # sed -i "s/^enabled=1/enabled=0/" /etc/yum.repos.d/wazuh.repo - - .. group-tab:: APT (Debian/Ubuntu) - - .. code-block:: console - - # sed -i "s/^deb /#deb /" /etc/apt/sources.list.d/wazuh.list - # apt update +.. include:: /_templates/installations/disable-wazuh-updates.rst Securing your Wazuh installation -------------------------------- diff --git a/source/installation-guide/wazuh-indexer/installation-assistant.rst b/source/installation-guide/wazuh-indexer/installation-assistant.rst index a992911533..cc92d62a11 100644 --- a/source/installation-guide/wazuh-indexer/installation-assistant.rst +++ b/source/installation-guide/wazuh-indexer/installation-assistant.rst @@ -156,26 +156,7 @@ Testing the cluster installation # curl -k -u admin: https://:9200/_cat/nodes?v -- **Recommended Action**: Disable Wazuh Updates. - - We recommend disabling the Wazuh package repositories after installation to prevent accidental upgrades that could break the environment. - - Execute the following command to disable the Wazuh repository: - - .. tabs:: - - .. group-tab:: YUM - - .. code-block:: console - - # sed -i "s/^enabled=1/enabled=0/" /etc/yum.repos.d/wazuh.repo - - .. group-tab:: APT (Debian/Ubuntu) - - .. code-block:: console - - # sed -i "s/^deb /#deb /" /etc/apt/sources.list.d/wazuh.list - # apt update +.. include:: /_templates/installations/disable-wazuh-updates.rst Next steps ---------- diff --git a/source/installation-guide/wazuh-indexer/step-by-step.rst b/source/installation-guide/wazuh-indexer/step-by-step.rst index 80bb6b6601..c74116a002 100644 --- a/source/installation-guide/wazuh-indexer/step-by-step.rst +++ b/source/installation-guide/wazuh-indexer/step-by-step.rst @@ -164,26 +164,7 @@ Starting the service Repeat this stage of the installation process for every Wazuh indexer node in your cluster. Then proceed with initializing your single-node or multi-node cluster in the next stage. -- **Recommended Action**: Disable Wazuh Updates. - - We recommend disabling the Wazuh package repositories after installation to prevent accidental upgrades that could break the environment. - - Execute the following command to disable the Wazuh repository: - - .. tabs:: - - .. group-tab:: YUM - - .. code-block:: console - - # sed -i "s/^enabled=1/enabled=0/" /etc/yum.repos.d/wazuh.repo - - .. group-tab:: APT (Debian/Ubuntu) - - .. code-block:: console - - # sed -i "s/^deb /#deb /" /etc/apt/sources.list.d/wazuh.list - # apt update +.. include:: /_templates/installations/disable-wazuh-updates.rst 3. Cluster initialization ------------------------- diff --git a/source/installation-guide/wazuh-server/installation-assistant.rst b/source/installation-guide/wazuh-server/installation-assistant.rst index a46c644473..a8e81cb585 100644 --- a/source/installation-guide/wazuh-server/installation-assistant.rst +++ b/source/installation-guide/wazuh-server/installation-assistant.rst @@ -32,26 +32,7 @@ Your Wazuh server is now successfully installed. - If you want a Wazuh server multi-node cluster, repeat this process on every Wazuh server node. -- **Recommended Action**: Disable Wazuh Updates. - - We recommend disabling the Wazuh package repositories after installation to prevent accidental upgrades that could break the environment. - - Execute the following command to disable the Wazuh repository: - - .. tabs:: - - .. group-tab:: YUM - - .. code-block:: console - - # sed -i "s/^enabled=1/enabled=0/" /etc/yum.repos.d/wazuh.repo - - .. group-tab:: APT (Debian/Ubuntu) - - .. code-block:: console - - # sed -i "s/^deb /#deb /" /etc/apt/sources.list.d/wazuh.list - # apt update +.. include:: /_templates/installations/disable-wazuh-updates.rst Next steps ---------- diff --git a/source/installation-guide/wazuh-server/step-by-step.rst b/source/installation-guide/wazuh-server/step-by-step.rst index a3e5163147..d518a57abc 100644 --- a/source/installation-guide/wazuh-server/step-by-step.rst +++ b/source/installation-guide/wazuh-server/step-by-step.rst @@ -212,26 +212,7 @@ Starting the Filebeat service Your Wazuh server node is now successfully installed. Repeat this stage of the installation process for every Wazuh server node in your Wazuh cluster, then proceed with configuring the Wazuh cluster. If you want a Wazuh server single-node cluster, everything is set and you can proceed directly with :doc:`../wazuh-dashboard/step-by-step`. -- **Recommended Action**: Disable Wazuh Updates. - - We recommend disabling the Wazuh package repositories after installation to prevent accidental upgrades that could break the environment. - - Execute the following command to disable the Wazuh repository: - - .. tabs:: - - .. group-tab:: YUM - - .. code-block:: console - - # sed -i "s/^enabled=1/enabled=0/" /etc/yum.repos.d/wazuh.repo - - .. group-tab:: APT (Debian/Ubuntu) - - .. code-block:: console - - # sed -i "s/^deb /#deb /" /etc/apt/sources.list.d/wazuh.list - # apt update +.. include:: /_templates/installations/disable-wazuh-updates.rst 2. Cluster configuration for multi-node deployment -------------------------------------------------- diff --git a/source/quickstart.rst b/source/quickstart.rst index 5b10d49ec5..90f9ce9927 100644 --- a/source/quickstart.rst +++ b/source/quickstart.rst @@ -98,26 +98,7 @@ When you access the Wazuh dashboard for the first time, the browser shows a warn If you want to uninstall the Wazuh central components, run the Wazuh installation assistant using the option ``-u`` or ``–-uninstall``. -- **Recommended Action**: Disable Wazuh Updates. - - We recommend disabling the Wazuh package repositories after installation to prevent accidental upgrades that could break the environment. - - Execute the following command to disable the Wazuh repository: - - .. tabs:: - - .. group-tab:: YUM - - .. code-block:: console - - # sed -i "s/^enabled=1/enabled=0/" /etc/yum.repos.d/wazuh.repo - - .. group-tab:: APT (Debian/Ubuntu) - - .. code-block:: console - - # sed -i "s/^deb /#deb /" /etc/apt/sources.list.d/wazuh.list - # apt update +.. include:: /_templates/installations/disable-wazuh-updates.rst Next steps ---------- From 2886cc8d8053e7e6123cd59a598003049eb6dfbf Mon Sep 17 00:00:00 2001 From: ayodeko Date: Mon, 20 Jan 2025 14:04:44 +0100 Subject: [PATCH 06/66] add support for Wazuh 4.10.2 extra changes --- source/release-notes/index.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/release-notes/index.rst b/source/release-notes/index.rst index 33bc87540e..1cf20950ab 100644 --- a/source/release-notes/index.rst +++ b/source/release-notes/index.rst @@ -11,7 +11,7 @@ This section summarizes the most important features of each Wazuh release. ============================================== ==================== Wazuh version Release date ============================================== ==================== -:doc:`4.10.1 ` TBD +:doc:`4.10.2 ` TBD :doc:`4.10.1 ` 16 January 2025 :doc:`4.10.0 ` 9 January 2025 :doc:`4.9.2 ` 4 November 2024 From 4380a33ba27452d700ce389e5c6a32f97644fcd2 Mon Sep 17 00:00:00 2001 From: ayodeko Date: Mon, 20 Jan 2025 14:32:10 +0100 Subject: [PATCH 07/66] fixed title underline --- source/release-notes/release-4-10-2.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/release-notes/release-4-10-2.rst b/source/release-notes/release-4-10-2.rst index 54b37ccbba..62762ea893 100644 --- a/source/release-notes/release-4-10-2.rst +++ b/source/release-notes/release-4-10-2.rst @@ -3,7 +3,7 @@ :description: Wazuh 4.10.2 has been released. Check out our release notes to discover the changes and additions of this release. 4.10.2 Release notes - TBD -========================= +========================== This section lists the changes in version 4.10.2. Every update of the Wazuh solution is cumulative and includes all enhancements and fixes from previous releases. From edd5c3c05f381284ae6175fe05a2d09e5419acf6 Mon Sep 17 00:00:00 2001 From: vamera Date: Wed, 22 Jan 2025 10:27:11 +0100 Subject: [PATCH 08/66] Changed the top menu to add the menu item for CTI --- .../_themes/wazuh_doc_theme_v3/template-parts/header.html | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/source/_themes/wazuh_doc_theme_v3/template-parts/header.html b/source/_themes/wazuh_doc_theme_v3/template-parts/header.html index 8d20775814..e1a49c4152 100644 --- a/source/_themes/wazuh_doc_theme_v3/template-parts/header.html +++ b/source/_themes/wazuh_doc_theme_v3/template-parts/header.html @@ -10,6 +10,7 @@
',trigger:"hover focus",title:"",delay:0,html:!1,selector:!1,placement:"top",offset:0,container:!1,fallbackPlacement:"flip",boundary:"scrollParent",customClass:"",sanitize:!0,sanitizeFn:null,whiteList:t,popperConfig:null},Dt="show",At={HIDE:"hide"+k,HIDDEN:"hidden"+k,SHOW:"show"+k,SHOWN:"shown"+k,INSERTED:"inserted"+k,CLICK:"click"+k,FOCUSIN:"focusin"+k,FOCUSOUT:"focusout"+k,MOUSEENTER:"mouseenter"+k,MOUSELEAVE:"mouseleave"+k},Ot="fade",kt="show",It="hover",xt="focus";class I{constructor(e,t){if("undefined"==typeof b)throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");this._isEnabled=!0,this._timeout=0,this._hoverState="",this._activeTrigger={},this._popper=null,this.element=e,this.config=this._getConfig(t),this.tip=null,this._setListeners()}static get VERSION(){return"4.6.0"}static get Default(){return St}static get NAME(){return O}static get DATA_KEY(){return bt}static get Event(){return At}static get EVENT_KEY(){return k}static get DefaultType(){return Ct}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(t){if(this._isEnabled)if(t){var i=this.constructor.DATA_KEY;let e=h(t.currentTarget).data(i);e||(e=new this.constructor(t.currentTarget,this._getDelegateConfig()),h(t.currentTarget).data(i,e)),e._activeTrigger.click=!e._activeTrigger.click,e._isWithActiveTrigger()?e._enter(null,e):e._leave(null,e)}else h(this.getTipElement()).hasClass(kt)?this._leave(null,this):this._enter(null,this)}dispose(){clearTimeout(this._timeout),h.removeData(this.element,this.constructor.DATA_KEY),h(this.element).off(this.constructor.EVENT_KEY),h(this.element).closest(".modal").off("hide.bs.modal",this._hideModalHandler),this.tip&&h(this.tip).remove(),this._isEnabled=null,this._timeout=null,this._hoverState=null,this._activeTrigger=null,this._popper&&this._popper.destroy(),this._popper=null,this.element=null,this.config=null,this.tip=null}show(){if("none"===h(this.element).css("display"))throw new Error("Please use show on visible elements");var e,t,i=h.Event(this.constructor.Event.SHOW);this.isWithContent()&&this._isEnabled&&(h(this.element).trigger(i),t=a.findShadowRoot(this.element),t=h.contains(null!==t?t:this.element.ownerDocument.documentElement,this.element),!i.isDefaultPrevented())&&t&&(i=this.getTipElement(),t=a.getUID(this.constructor.NAME),i.setAttribute("id",t),this.element.setAttribute("aria-describedby",t),this.setContent(),this.config.animation&&h(i).addClass(Ot),t="function"==typeof this.config.placement?this.config.placement.call(this,i,this.element):this.config.placement,t=this._getAttachment(t),this.addAttachmentClass(t),e=this._getContainer(),h(i).data(this.constructor.DATA_KEY,this),h.contains(this.element.ownerDocument.documentElement,this.tip)||h(i).appendTo(e),h(this.element).trigger(this.constructor.Event.INSERTED),this._popper=new b(this.element,i,this._getPopperConfig(t)),h(i).addClass(kt),h(i).addClass(this.config.customClass),"ontouchstart"in document.documentElement&&h(document.body).children().on("mouseover",null,h.noop),e=()=>{this.config.animation&&this._fixTransition();var e=this._hoverState;this._hoverState=null,h(this.element).trigger(this.constructor.Event.SHOWN),"out"===e&&this._leave(null,this)},h(this.tip).hasClass(Ot)?(t=a.getTransitionDurationFromElement(this.tip),h(this.tip).one(a.TRANSITION_END,e).emulateTransitionEnd(t)):e())}hide(e){let t=this.getTipElement();var i=h.Event(this.constructor.Event.HIDE),n=()=>{this._hoverState!==Dt&&t.parentNode&&t.parentNode.removeChild(t),this._cleanTipClass(),this.element.removeAttribute("aria-describedby"),h(this.element).trigger(this.constructor.Event.HIDDEN),null!==this._popper&&this._popper.destroy(),e&&e()};h(this.element).trigger(i),i.isDefaultPrevented()||(h(t).removeClass(kt),"ontouchstart"in document.documentElement&&h(document.body).children().off("mouseover",null,h.noop),this._activeTrigger.click=!1,this._activeTrigger[xt]=!1,this._activeTrigger[It]=!1,h(this.tip).hasClass(Ot)?(i=a.getTransitionDurationFromElement(t),h(t).one(a.TRANSITION_END,n).emulateTransitionEnd(i)):n(),this._hoverState="")}update(){null!==this._popper&&this._popper.scheduleUpdate()}isWithContent(){return Boolean(this.getTitle())}addAttachmentClass(e){h(this.getTipElement()).addClass(wt+"-"+e)}getTipElement(){return this.tip=this.tip||h(this.config.template)[0],this.tip}setContent(){var e=this.getTipElement();this.setElementContent(h(e.querySelectorAll(".tooltip-inner")),this.getTitle()),h(e).removeClass("fade show")}setElementContent(e,t){"object"==typeof t&&(t.nodeType||t.jquery)?this.config.html?h(t).parent().is(e)||e.empty().append(t):e.text(h(t).text()):this.config.html?(this.config.sanitize&&(t=vt(t,this.config.whiteList,this.config.sanitizeFn)),e.html(t)):e.text(t)}getTitle(){let e=this.element.getAttribute("data-original-title");return e=e||("function"==typeof this.config.title?this.config.title.call(this.element):this.config.title)}_getPopperConfig(e){return{...{placement:e,modifiers:{offset:this._getOffset(),flip:{behavior:this.config.fallbackPlacement},arrow:{element:".arrow"},preventOverflow:{boundariesElement:this.config.boundary}},onCreate:e=>{e.originalPlacement!==e.placement&&this._handlePopperPlacementChange(e)},onUpdate:e=>this._handlePopperPlacementChange(e)},...this.config.popperConfig}}_getOffset(){var e={};return"function"==typeof this.config.offset?e.fn=e=>(e.offsets={...e.offsets,...this.config.offset(e.offsets,this.element)||{}},e):e.offset=this.config.offset,e}_getContainer(){return!1===this.config.container?document.body:a.isElement(this.config.container)?h(this.config.container):h(document).find(this.config.container)}_getAttachment(e){return Nt[e.toUpperCase()]}_setListeners(){this.config.trigger.split(" ").forEach(e=>{var t;"click"===e?h(this.element).on(this.constructor.Event.CLICK,this.config.selector,e=>this.toggle(e)):"manual"!==e&&(t=e===It?this.constructor.Event.MOUSEENTER:this.constructor.Event.FOCUSIN,e=e===It?this.constructor.Event.MOUSELEAVE:this.constructor.Event.FOCUSOUT,h(this.element).on(t,this.config.selector,e=>this._enter(e)).on(e,this.config.selector,e=>this._leave(e)))}),this._hideModalHandler=()=>{this.element&&this.hide()},h(this.element).closest(".modal").on("hide.bs.modal",this._hideModalHandler),this.config.selector?this.config={...this.config,trigger:"manual",selector:""}:this._fixTitle()}_fixTitle(){var e=typeof this.element.getAttribute("data-original-title");!this.element.getAttribute("title")&&"string"==e||(this.element.setAttribute("data-original-title",this.element.getAttribute("title")||""),this.element.setAttribute("title",""))}_enter(e,t){var i=this.constructor.DATA_KEY;(t=t||h(e.currentTarget).data(i))||(t=new this.constructor(e.currentTarget,this._getDelegateConfig()),h(e.currentTarget).data(i,t)),e&&(t._activeTrigger["focusin"===e.type?xt:It]=!0),h(t.getTipElement()).hasClass(kt)||t._hoverState===Dt?t._hoverState=Dt:(clearTimeout(t._timeout),t._hoverState=Dt,t.config.delay&&t.config.delay.show?t._timeout=setTimeout(()=>{t._hoverState===Dt&&t.show()},t.config.delay.show):t.show())}_leave(e,t){var i=this.constructor.DATA_KEY;(t=t||h(e.currentTarget).data(i))||(t=new this.constructor(e.currentTarget,this._getDelegateConfig()),h(e.currentTarget).data(i,t)),e&&(t._activeTrigger["focusout"===e.type?xt:It]=!1),t._isWithActiveTrigger()||(clearTimeout(t._timeout),t._hoverState="out",t.config.delay&&t.config.delay.hide?t._timeout=setTimeout(()=>{"out"===t._hoverState&&t.hide()},t.config.delay.hide):t.hide())}_isWithActiveTrigger(){for(var e in this._activeTrigger)if(this._activeTrigger[e])return!0;return!1}_getConfig(e){let t=h(this.element).data();return Object.keys(t).forEach(e=>{-1!==Tt.indexOf(e)&&delete t[e]}),"number"==typeof(e={...this.constructor.Default,...t,..."object"==typeof e&&e?e:{}}).delay&&(e.delay={show:e.delay,hide:e.delay}),"number"==typeof e.title&&(e.title=e.title.toString()),"number"==typeof e.content&&(e.content=e.content.toString()),a.typeCheckConfig(O,e,this.constructor.DefaultType),e.sanitize&&(e.template=vt(e.template,e.whiteList,e.sanitizeFn)),e}_getDelegateConfig(){var e={};if(this.config)for(var t in this.config)this.constructor.Default[t]!==this.config[t]&&(e[t]=this.config[t]);return e}_cleanTipClass(){var e=h(this.getTipElement()),t=e.attr("class").match(Et);null!==t&&t.length&&e.removeClass(t.join(""))}_handlePopperPlacementChange(e){this.tip=e.instance.popper,this._cleanTipClass(),this.addAttachmentClass(this._getAttachment(e.placement))}_fixTransition(){var e=this.getTipElement(),t=this.config.animation;null===e.getAttribute("x-placement")&&(h(e).removeClass(Ot),this.config.animation=!1,this.hide(),this.show(),this.config.animation=t)}static _jQueryInterface(n){return this.each(function(){var e=h(this);let t=e.data(bt);var i="object"==typeof n&&n;if((t||!/dispose|hide/.test(n))&&(t||(t=new I(this,i),e.data(bt,t)),"string"==typeof n)){if("undefined"==typeof t[n])throw new TypeError(`No method named "${n}"`);t[n]()}})}}h.fn[O]=I._jQueryInterface,h.fn[O].Constructor=I,h.fn[O].noConflict=()=>(h.fn[O]=yt,I._jQueryInterface);let x="popover",Lt="bs.popover",L="."+Lt,jt=h.fn[x],Ft="bs-popover",Pt=new RegExp(`(^|\\s)${Ft}\\S+`,"g"),Rt={...I.Default,placement:"right",trigger:"click",content:"",template:''},Ht={...I.DefaultType,content:"(string|element|function)"},Mt={HIDE:"hide"+L,HIDDEN:"hidden"+L,SHOW:"show"+L,SHOWN:"shown"+L,INSERTED:"inserted"+L,CLICK:"click"+L,FOCUSIN:"focusin"+L,FOCUSOUT:"focusout"+L,MOUSEENTER:"mouseenter"+L,MOUSELEAVE:"mouseleave"+L};class Bt extends I{static get VERSION(){return"4.6.0"}static get Default(){return Rt}static get NAME(){return x}static get DATA_KEY(){return Lt}static get Event(){return Mt}static get EVENT_KEY(){return L}static get DefaultType(){return Ht}isWithContent(){return this.getTitle()||this._getContent()}addAttachmentClass(e){h(this.getTipElement()).addClass(Ft+"-"+e)}getTipElement(){return this.tip=this.tip||h(this.config.template)[0],this.tip}setContent(){var e=h(this.getTipElement());this.setElementContent(e.find(".popover-header"),this.getTitle());let t=this._getContent();"function"==typeof t&&(t=t.call(this.element)),this.setElementContent(e.find(".popover-body"),t),e.removeClass("fade show")}_getContent(){return this.element.getAttribute("data-content")||this.config.content}_cleanTipClass(){var e=h(this.getTipElement()),t=e.attr("class").match(Pt);null!==t&&0(h.fn[x]=jt,Bt._jQueryInterface);let j="scrollspy",qt="bs.scrollspy",Wt="."+qt;let Qt=h.fn[j],Ut={offset:10,method:"auto",target:""},$t={offset:"number",method:"string",target:"(string|element)"};Wt,Wt;Wt;let F="active",Vt=".nav, .list-group",Yt=".nav-link",zt=".list-group-item",Kt="position";class Gt{constructor(e,t){this._element=e,this._scrollElement="BODY"===e.tagName?window:e,this._config=this._getConfig(t),this._selector=`${this._config.target} ${Yt},`+`${this._config.target} ${zt},`+this._config.target+" .dropdown-item",this._offsets=[],this._targets=[],this._activeTarget=null,this._scrollHeight=0,h(this._scrollElement).on("scroll.bs.scrollspy",e=>this._process(e)),this.refresh(),this._process()}static get VERSION(){return"4.6.0"}static get Default(){return Ut}refresh(){var e=this._scrollElement===this._scrollElement.window?"offset":Kt;let n="auto"===this._config.method?e:this._config.method,o=n===Kt?this._getScrollTop():0;this._offsets=[],this._targets=[],this._scrollHeight=this._getScrollHeight(),[].slice.call(document.querySelectorAll(this._selector)).map(e=>{let t;e=a.getSelectorFromElement(e);if(t=e?document.querySelector(e):t){var i=t.getBoundingClientRect();if(i.width||i.height)return[h(t)[n]().top+o,e]}return null}).filter(e=>e).sort((e,t)=>e[0]-t[0]).forEach(e=>{this._offsets.push(e[0]),this._targets.push(e[1])})}dispose(){h.removeData(this._element,qt),h(this._scrollElement).off(Wt),this._element=null,this._scrollElement=null,this._config=null,this._selector=null,this._offsets=null,this._targets=null,this._activeTarget=null,this._scrollHeight=null}_getConfig(t){if("string"!=typeof(t={...Ut,..."object"==typeof t&&t?t:{}}).target&&a.isElement(t.target)){let e=h(t.target).attr("id");e||(e=a.getUID(j),h(t.target).attr("id",e)),t.target="#"+e}return a.typeCheckConfig(j,t,$t),t}_getScrollTop(){return this._scrollElement===window?this._scrollElement.pageYOffset:this._scrollElement.scrollTop}_getScrollHeight(){return this._scrollElement.scrollHeight||Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)}_getOffsetHeight(){return this._scrollElement===window?window.innerHeight:this._scrollElement.getBoundingClientRect().height}_process(){var t=this._getScrollTop()+this._config.offset,e=this._getScrollHeight(),i=this._config.offset+e-this._getOffsetHeight();if(this._scrollHeight!==e&&this.refresh(),i<=t)e=this._targets[this._targets.length-1],this._activeTarget!==e&&this._activate(e);else if(this._activeTarget&&t=this._offsets[e]&&("undefined"==typeof this._offsets[e+1]||te+`[data-target="${t}"],${e}[href="${t}"]`),e=h([].slice.call(document.querySelectorAll(e.join(","))));(e.hasClass("dropdown-item")?(e.closest(".dropdown").find(".dropdown-toggle").addClass(F),e):(e.addClass(F),e.parents(Vt).prev(Yt+", "+zt).addClass(F),e.parents(Vt).prev(".nav-item").children(Yt))).addClass(F),h(this._scrollElement).trigger("activate.bs.scrollspy",{relatedTarget:t})}_clear(){[].slice.call(document.querySelectorAll(this._selector)).filter(e=>e.classList.contains(F)).forEach(e=>e.classList.remove(F))}static _jQueryInterface(i){return this.each(function(){let e=h(this).data(qt);var t="object"==typeof i&&i;if(e||(e=new Gt(this,t),h(this).data(qt,e)),"string"==typeof i){if("undefined"==typeof e[i])throw new TypeError(`No method named "${i}"`);e[i]()}})}}h(window).on("load.bs.scrollspy.data-api",()=>{var t=[].slice.call(document.querySelectorAll('[data-spy="scroll"]'));for(let e=t.length;e--;){var i=h(t[e]);Gt._jQueryInterface.call(i,i.data())}}),h.fn[j]=Gt._jQueryInterface,h.fn[j].Constructor=Gt,h.fn[j].noConflict=()=>(h.fn[j]=Qt,Gt._jQueryInterface);let Jt="bs.tab";Jt;let Xt=h.fn.tab;let Zt="active",ei=".active",ti="> li > .active";class ii{constructor(e){this._element=e}static get VERSION(){return"4.6.0"}show(){if(!(this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE&&h(this._element).hasClass(Zt)||h(this._element).hasClass("disabled"))){let e,i;var t=h(this._element).closest(".nav, .list-group")[0],n=a.getSelectorFromElement(this._element),o=(t&&(o="UL"===t.nodeName||"OL"===t.nodeName?ti:ei,i=(i=h.makeArray(h(t).find(o)))[i.length-1]),h.Event("hide.bs.tab",{relatedTarget:this._element})),s=h.Event("show.bs.tab",{relatedTarget:i});i&&h(i).trigger(o),h(this._element).trigger(s),s.isDefaultPrevented()||o.isDefaultPrevented()||(n&&(e=document.querySelector(n)),this._activate(this._element,t),s=()=>{var e=h.Event("hidden.bs.tab",{relatedTarget:this._element}),t=h.Event("shown.bs.tab",{relatedTarget:i});h(i).trigger(e),h(this._element).trigger(t)},e?this._activate(e,e.parentNode,s):s())}}dispose(){h.removeData(this._element,Jt),this._element=null}_activate(e,t,i){let n=(!t||"UL"!==t.nodeName&&"OL"!==t.nodeName?h(t).children(ei):h(t).find(ti))[0];var t=i&&n&&h(n).hasClass("fade"),o=()=>this._transitionComplete(e,n,i);n&&t?(t=a.getTransitionDurationFromElement(n),h(n).removeClass("show").one(a.TRANSITION_END,o).emulateTransitionEnd(t)):o()}_transitionComplete(e,t,i){var n;t&&(h(t).removeClass(Zt),(n=h(t.parentNode).find("> .dropdown-menu .active")[0])&&h(n).removeClass(Zt),"tab"===t.getAttribute("role"))&&t.setAttribute("aria-selected",!1),h(e).addClass(Zt),"tab"===e.getAttribute("role")&&e.setAttribute("aria-selected",!0),a.reflow(e),e.classList.contains("fade")&&e.classList.add("show"),e.parentNode&&h(e.parentNode).hasClass("dropdown-menu")&&((n=h(e).closest(".dropdown")[0])&&(t=[].slice.call(n.querySelectorAll(".dropdown-toggle")),h(t).addClass(Zt)),e.setAttribute("aria-expanded",!0)),i&&i()}static _jQueryInterface(i){return this.each(function(){var e=h(this);let t=e.data(Jt);if(t||(t=new ii(this),e.data(Jt,t)),"string"==typeof i){if("undefined"==typeof t[i])throw new TypeError(`No method named "${i}"`);t[i]()}})}}h(document).on("click.bs.tab.data-api",'[data-toggle="tab"], [data-toggle="pill"], [data-toggle="list"]',function(e){e.preventDefault(),ii._jQueryInterface.call(h(this),"show")}),h.fn.tab=ii._jQueryInterface,h.fn.tab.Constructor=ii,h.fn.tab.noConflict=()=>(h.fn.tab=Xt,ii._jQueryInterface);let ni="toast",oi="bs.toast";v="."+oi;let si=h.fn[ni],ri="click.dismiss"+v,ai="show",li="showing",hi={animation:"boolean",autohide:"boolean",delay:"number"},ci={animation:!0,autohide:!0,delay:500};class di{constructor(e,t){this._element=e,this._config=this._getConfig(t),this._timeout=null,this._setListeners()}static get VERSION(){return"4.6.0"}static get DefaultType(){return hi}static get Default(){return ci}show(){var e,t=h.Event("show.bs.toast");h(this._element).trigger(t),t.isDefaultPrevented()||(this._clearTimeout(),this._config.animation&&this._element.classList.add("fade"),t=()=>{this._element.classList.remove(li),this._element.classList.add(ai),h(this._element).trigger("shown.bs.toast"),this._config.autohide&&(this._timeout=setTimeout(()=>{this.hide()},this._config.delay))},this._element.classList.remove("hide"),a.reflow(this._element),this._element.classList.add(li),this._config.animation?(e=a.getTransitionDurationFromElement(this._element),h(this._element).one(a.TRANSITION_END,t).emulateTransitionEnd(e)):t())}hide(){var e;this._element.classList.contains(ai)&&(e=h.Event("hide.bs.toast"),h(this._element).trigger(e),e.isDefaultPrevented()||this._close())}dispose(){this._clearTimeout(),this._element.classList.contains(ai)&&this._element.classList.remove(ai),h(this._element).off(ri),h.removeData(this._element,oi),this._element=null,this._config=null}_getConfig(e){return e={...ci,...h(this._element).data(),..."object"==typeof e&&e?e:{}},a.typeCheckConfig(ni,e,this.constructor.DefaultType),e}_setListeners(){h(this._element).on(ri,'[data-dismiss="toast"]',()=>this.hide())}_close(){var e,t=()=>{this._element.classList.add("hide"),h(this._element).trigger("hidden.bs.toast")};this._element.classList.remove(ai),this._config.animation?(e=a.getTransitionDurationFromElement(this._element),h(this._element).one(a.TRANSITION_END,t).emulateTransitionEnd(e)):t()}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static _jQueryInterface(n){return this.each(function(){var e=h(this);let t=e.data(oi);var i="object"==typeof n&&n;if(t||(t=new di(this,i),e.data(oi,t)),"string"==typeof n){if("undefined"==typeof t[n])throw new TypeError(`No method named "${n}"`);t[n](this)}})}}h.fn[ni]=di._jQueryInterface,h.fn[ni].Constructor=di,h.fn[ni].noConflict=()=>(h.fn[ni]=si,di._jQueryInterface),e.Alert=n,e.Button=o,e.Collapse=l,e.Dropdown=C,e.Modal=A,e.Popover=Bt,e.Scrollspy=Gt,e.Tab=ii,e.Toast=di,e.Tooltip=I,e.Util=a}); diff --git a/source/_themes/wazuh_doc_theme_v3/static/js/min/index.min.js b/source/_themes/wazuh_doc_theme_v3/static/js/min/index.min.js index b32d1598c3..1144ad33bc 100644 --- a/source/_themes/wazuh_doc_theme_v3/static/js/min/index.min.js +++ b/source/_themes/wazuh_doc_theme_v3/static/js/min/index.min.js @@ -1,2 +1,2 @@ -if($(document).ready(function(){if(window.matchMedia){let n=$('head > link[rel="icon"][media]');$.each(n,function(e,t){let o=window.matchMedia(t.media);function a(){o.matches&&(n.remove(),n=$(t).appendTo("head"))}o.addListener(a),a()})}}),"undefined"==typeof versions){let e=[]}!function(o){window.matchMedia("(hover: hover)").matches&&(o(".navbar-nav .dropdown-toggle").on("mouseenter",function(e){o(this).closest(".dropdown").hasClass("show")||(e.stopPropagation(),o(this).trigger("click"))}),o(".navbar-nav .dropdown-toggle").on("mouseleave",function(e){var t=e.toElement||e.relatedTarget;o(this).closest(".dropdown").hasClass("show")&&t!==o(this).siblings()[0]&&(e.stopPropagation(),o(this).trigger("click"))}),o(".navbar-nav .dropdown-menu").on("mouseleave",function(e){e=e.toElement||e.relatedTarget;o(this).closest(".dropdown").hasClass("show")&&e!==o(this).siblings()[0]&&o(this).siblings().trigger("click")}))}(jQuery),function(o){window.matchMedia("(hover: hover)").matches&&(o("#toggle-full-footer").on("mouseenter",function(e){o(".website-links").hasClass("show")||(e.stopPropagation(),o("#toggle-full-footer").trigger("click"))}),o("#toggle-full-footer-wrapper").on("mouseleave",function(e){var t=e.toElement||e.relatedTarget;o(".website-links").hasClass("show")&&t!==o(this).siblings()[0]&&(e.stopPropagation(),o("#toggle-full-footer").trigger("click"))}))}(jQuery);let searchbar=$(".nav-top .desktop-search-form .header-search"),mainmenu=$(".nav-top .main-menu"),querystr=$(".desktop-search-form .header-search .form-control"),nav=$(".nav-top nav");function checkScroll(){60<$(document).scrollTop()?($(".nav-top").addClass("d-none"),$(".inner-body").addClass("not-top")):($(".nav-top").removeClass("d-none"),$(".inner-body").removeClass("not-top"))}$(".desktop-search-form .header-search form").on("submit",function(e){""!==querystr.val()&&"Search"!==querystr.val()||e.preventDefault()}),$(".desktop-search-form .header-search .form-control").on("focus",function(e){searchbar.hasClass("expanded")||($(".nav-top nav").addClass("d-none"),$(".desktop-search-form .header-search svg").addClass("d-none"),$(".desktop-search-form .header-search .btn-close").removeClass("d-none"),searchbar.addClass("expanded").removeClass("collapsed"),mainmenu.addClass("collapsed").removeClass("expanded"),setTimeout(()=>{$(this).attr("autocomplete","on")},500))}),$(".desktop-search-form .header-search .btn-close").on("click",function(e){$(".desktop-search-form .header-search .btn-close").addClass("d-none"),$(".desktop-search-form .header-search svg").removeClass("d-none"),searchbar.removeClass("expanded").addClass("collapsed"),mainmenu.removeClass("collapsed").addClass("expanded"),nav.removeClass("d-none"),querystr.val(""),$(".desktop-search-form .header-search .form-control").attr("autocomplete","off")}),checkScroll(),$(window).on("scroll",function(){checkScroll()});let minVersionRedoc="4.0",useApiRedoc=0<=compareVersion(DOCUMENTATION_OPTIONS.VERSION,minVersionRedoc),newTabNodes=["user-manual/api/reference","cloud-service/apis/reference"],oursHost=["documentation.wazuh.com"];function compareVersion(o,a){let n=!1;if("string"==typeof o&&"string"==typeof a){let e=o.split("."),t=a.split(".");2<=e.length&&2<=t.length&&(e=e.map(e=>parseInt(e)),t=t.map(e=>parseInt(e)),n=e[0]>t[0]?1:e[0]t[1]?1:e[1]=.5*jQuery(window).height()?$(".appear-on-scroll").fadeIn("slow"):$(".appear-on-scroll").fadeOut("slow")}),$(".appear-on-scroll.init-hidden").hide(),$(".appear-on-scroll.init-hidden").removeClass("init-hidden")});let BLACKLISTED_KEY_CONTROL_ELEMENTS=new Set(["TEXTAREA","INPUT","SELECT","BUTTON"]),_ready=e=>{"loading"!==document.readyState?e():document.addEventListener("DOMContentLoaded",e)},Documentation={init:()=>{Documentation.initDomainIndexTable(),Documentation.initOnKeyListeners()},TRANSLATIONS:{},PLURAL_EXPR:e=>1===e?0:1,LOCALE:"unknown",gettext:e=>{var t=Documentation.TRANSLATIONS[e];switch(typeof t){case"undefined":return e;case"string":return t;default:return t[0]}},ngettext:(e,t,o)=>{var a=Documentation.TRANSLATIONS[e];return"undefined"!=typeof a?a[Documentation.PLURAL_EXPR(o)]:1===o?e:t},addTranslations:e=>{Object.assign(Documentation.TRANSLATIONS,e.messages),Documentation.PLURAL_EXPR=new Function("n",`return (${e.plural_expr})`),Documentation.LOCALE=e.locale},focusSearchBar:()=>{document.querySelectorAll("input[name=q]")[0]?.focus()},initDomainIndexTable:()=>{let t=e=>{var t=e.id.substr(7),t=document.querySelectorAll("tr.cg-"+t);"minus.png"===e.src.substr(-9)?(e.src=e.src.substr(0,e.src.length-9)+"plus.png",t.forEach(e=>e.style.display="none")):(e.src=e.src.substr(0,e.src.length-8)+"minus.png",t.forEach(e=>e.style.display=""))};var e=document.querySelectorAll("img.toggler");e.forEach(e=>e.addEventListener("click",e=>t(e.currentTarget))),e.forEach(e=>e.style.display=""),DOCUMENTATION_OPTIONS.COLLAPSE_INDEX&&e.forEach(t)},initOnKeyListeners:()=>{(DOCUMENTATION_OPTIONS.NAVIGATION_WITH_KEYS||DOCUMENTATION_OPTIONS.ENABLE_SEARCH_SHORTCUTS)&&document.addEventListener("keydown",e=>{if(!BLACKLISTED_KEY_CONTROL_ELEMENTS.has(document.activeElement.tagName)&&!(e.altKey||e.ctrlKey||e.metaKey)){if(!e.shiftKey)switch(e.key){case"ArrowLeft":DOCUMENTATION_OPTIONS.NAVIGATION_WITH_KEYS&&(t=document.querySelector('link[rel="prev"]'))&&t.href&&(window.location.href=t.href,e.preventDefault());break;case"ArrowRight":var t;DOCUMENTATION_OPTIONS.NAVIGATION_WITH_KEYS&&(t=document.querySelector('link[rel="next"]'))&&t.href&&(window.location.href=t.href,e.preventDefault())}"/"===e.key&&DOCUMENTATION_OPTIONS.ENABLE_SEARCH_SHORTCUTS&&(Documentation.focusSearchBar(),e.preventDefault())}})}},_=Documentation.gettext,maxShowItems=(_ready(Documentation.init),3);if($(".index")){$(".loading").removeClass("loading");let e=document.createElement("span"),t=document.createElement("use"),o=(e.setAttribute("class","ico-long-arrow-right"),$(".toctree-wrapper:last-of-type .toctree-l1:last-of-type .toctree-l2:first-of-type > a").text("More").append(e),$('.index [href*="release-notes/index.html"]').closest(".toctree-l1").addClass("release-notes-card"),$('[href="quickstart.html"]').parent()),a=(o.attr("id","quickstart"),o.parent().prepend(o),$("#get-wazuh-card").detach().appendTo("#index .toctree-wrapper:last-of-type > ul"),$("#index aside").remove(),[]);function hideSectionsFromIndex(t){for(let e=0;emaxShowItems&&(e.addClass("collapsible").addClass("collapsed"),e.append(t.cloneNode(!0)))})}$(document).delegate(".toctree-l1 .toggle","click",function(e){e.preventDefault();var e=$(e.target).closest(".collapsible"),t=e.hasClass("collapsed");$(".collapsible").addClass("collapsed"),$(".collapsed .toggle").attr("aria-label","Expand section"),t&&(e.removeClass("collapsed"),e.find(".toggle").attr("aria-label","Collapse section"))}),setCollapsibleIndexBlocks()} +if($(document).ready(function(){if(window.matchMedia){let n=$('head > link[rel="icon"][media]');$.each(n,function(e,t){let o=window.matchMedia(t.media);function a(){o.matches&&(n.remove(),n=$(t).appendTo("head"))}o.addListener(a),a()})}}),"undefined"==typeof versions){let e=[]}!function(o){window.matchMedia("(hover: hover)").matches&&(o(".navbar-nav .dropdown-toggle").on("mouseenter",function(e){o(this).closest(".dropdown").hasClass("show")||(e.stopPropagation(),o(this).trigger("click"))}),o(".navbar-nav .dropdown-toggle").on("mouseleave",function(e){var t=e.toElement||e.relatedTarget;o(this).closest(".dropdown").hasClass("show")&&t!==o(this).siblings()[0]&&(e.stopPropagation(),o(this).trigger("click").trigger("blur"))}),o(".navbar-nav .dropdown-menu").on("mouseleave",function(e){e=e.toElement||e.relatedTarget;o(this).closest(".dropdown").hasClass("show")&&e!==o(this).siblings()[0]&&o(this).siblings().trigger("click").trigger("blur")}))}(jQuery),function(o){window.matchMedia("(hover: hover)").matches&&(o("#toggle-full-footer").on("mouseenter",function(e){o(".website-links").hasClass("show")||(e.stopPropagation(),o("#toggle-full-footer").trigger("click"))}),o("#toggle-full-footer-wrapper").on("mouseleave",function(e){var t=e.toElement||e.relatedTarget;o(".website-links").hasClass("show")&&t!==o(this).siblings()[0]&&(e.stopPropagation(),o("#toggle-full-footer").trigger("click"))}))}(jQuery);let searchbar=$(".nav-top .desktop-search-form .header-search"),mainmenu=$(".nav-top .main-menu"),querystr=$(".desktop-search-form .header-search .form-control"),nav=$(".nav-top nav");function checkScroll(){60<$(document).scrollTop()?($(".nav-top").addClass("d-none"),$(".inner-body").addClass("not-top")):($(".nav-top").removeClass("d-none"),$(".inner-body").removeClass("not-top"))}$(".desktop-search-form .header-search form").on("submit",function(e){""!==querystr.val()&&"Search"!==querystr.val()||e.preventDefault()}),$(".desktop-search-form .header-search .form-control").on("focus",function(e){searchbar.hasClass("expanded")||($(".nav-top nav").addClass("d-none"),$(".desktop-search-form .header-search svg").addClass("d-none"),$(".desktop-search-form .header-search .btn-close").removeClass("d-none"),searchbar.addClass("expanded").removeClass("collapsed"),mainmenu.addClass("collapsed").removeClass("expanded"),setTimeout(()=>{$(this).attr("autocomplete","on")},500))}),$(".desktop-search-form .header-search .btn-close").on("click",function(e){$(".desktop-search-form .header-search .btn-close").addClass("d-none"),$(".desktop-search-form .header-search svg").removeClass("d-none"),searchbar.removeClass("expanded").addClass("collapsed"),mainmenu.removeClass("collapsed").addClass("expanded"),nav.removeClass("d-none"),querystr.val(""),$(".desktop-search-form .header-search .form-control").attr("autocomplete","off")}),checkScroll(),$(window).on("scroll",function(){checkScroll()});let minVersionRedoc="4.0",useApiRedoc=0<=compareVersion(DOCUMENTATION_OPTIONS.VERSION,minVersionRedoc),newTabNodes=["user-manual/api/reference","cloud-service/apis/reference"],oursHost=["documentation.wazuh.com"];function compareVersion(o,a){let n=!1;if("string"==typeof o&&"string"==typeof a){let e=o.split("."),t=a.split(".");2<=e.length&&2<=t.length&&(e=e.map(e=>parseInt(e)),t=t.map(e=>parseInt(e)),n=e[0]>t[0]?1:e[0]t[1]?1:e[1]=.5*jQuery(window).height()?$(".appear-on-scroll").fadeIn("slow"):$(".appear-on-scroll").fadeOut("slow")}),$(".appear-on-scroll.init-hidden").hide(),$(".appear-on-scroll.init-hidden").removeClass("init-hidden")});let BLACKLISTED_KEY_CONTROL_ELEMENTS=new Set(["TEXTAREA","INPUT","SELECT","BUTTON"]),_ready=e=>{"loading"!==document.readyState?e():document.addEventListener("DOMContentLoaded",e)},Documentation={init:()=>{Documentation.initDomainIndexTable(),Documentation.initOnKeyListeners()},TRANSLATIONS:{},PLURAL_EXPR:e=>1===e?0:1,LOCALE:"unknown",gettext:e=>{var t=Documentation.TRANSLATIONS[e];switch(typeof t){case"undefined":return e;case"string":return t;default:return t[0]}},ngettext:(e,t,o)=>{var a=Documentation.TRANSLATIONS[e];return"undefined"!=typeof a?a[Documentation.PLURAL_EXPR(o)]:1===o?e:t},addTranslations:e=>{Object.assign(Documentation.TRANSLATIONS,e.messages),Documentation.PLURAL_EXPR=new Function("n",`return (${e.plural_expr})`),Documentation.LOCALE=e.locale},focusSearchBar:()=>{document.querySelectorAll("input[name=q]")[0]?.focus()},initDomainIndexTable:()=>{let t=e=>{var t=e.id.substr(7),t=document.querySelectorAll("tr.cg-"+t);"minus.png"===e.src.substr(-9)?(e.src=e.src.substr(0,e.src.length-9)+"plus.png",t.forEach(e=>e.style.display="none")):(e.src=e.src.substr(0,e.src.length-8)+"minus.png",t.forEach(e=>e.style.display=""))};var e=document.querySelectorAll("img.toggler");e.forEach(e=>e.addEventListener("click",e=>t(e.currentTarget))),e.forEach(e=>e.style.display=""),DOCUMENTATION_OPTIONS.COLLAPSE_INDEX&&e.forEach(t)},initOnKeyListeners:()=>{(DOCUMENTATION_OPTIONS.NAVIGATION_WITH_KEYS||DOCUMENTATION_OPTIONS.ENABLE_SEARCH_SHORTCUTS)&&document.addEventListener("keydown",e=>{if(!BLACKLISTED_KEY_CONTROL_ELEMENTS.has(document.activeElement.tagName)&&!(e.altKey||e.ctrlKey||e.metaKey)){if(!e.shiftKey)switch(e.key){case"ArrowLeft":DOCUMENTATION_OPTIONS.NAVIGATION_WITH_KEYS&&(t=document.querySelector('link[rel="prev"]'))&&t.href&&(window.location.href=t.href,e.preventDefault());break;case"ArrowRight":var t;DOCUMENTATION_OPTIONS.NAVIGATION_WITH_KEYS&&(t=document.querySelector('link[rel="next"]'))&&t.href&&(window.location.href=t.href,e.preventDefault())}"/"===e.key&&DOCUMENTATION_OPTIONS.ENABLE_SEARCH_SHORTCUTS&&(Documentation.focusSearchBar(),e.preventDefault())}})}},_=Documentation.gettext,maxShowItems=(_ready(Documentation.init),3);if($(".index")){$(".loading").removeClass("loading");let e=document.createElement("span"),t=document.createElement("use"),o=(e.setAttribute("class","ico-long-arrow-right"),$(".toctree-wrapper:last-of-type .toctree-l1:last-of-type .toctree-l2:first-of-type > a").text("More").append(e),$('.index [href*="release-notes/index.html"]').closest(".toctree-l1").addClass("release-notes-card"),$('[href="quickstart.html"]').parent()),a=(o.attr("id","quickstart"),o.parent().prepend(o),$("#get-wazuh-card").detach().appendTo("#index .toctree-wrapper:last-of-type > ul"),$("#index aside").remove(),[]);function hideSectionsFromIndex(t){for(let e=0;emaxShowItems&&(e.addClass("collapsible").addClass("collapsed"),e.append(t.cloneNode(!0)))})}$(document).delegate(".toctree-l1 .toggle","click",function(e){e.preventDefault();var e=$(e.target).closest(".collapsible"),t=e.hasClass("collapsed");$(".collapsible").addClass("collapsed"),$(".collapsed .toggle").attr("aria-label","Expand section"),t&&(e.removeClass("collapsed"),e.find(".toggle").attr("aria-label","Collapse section"))}),setCollapsibleIndexBlocks()} //# sourceMappingURL=index.min.js.map \ No newline at end of file diff --git a/source/_themes/wazuh_doc_theme_v3/static/js/min/not-found.min.js b/source/_themes/wazuh_doc_theme_v3/static/js/min/not-found.min.js index 9400d7a0b3..bafe67b92c 100644 --- a/source/_themes/wazuh_doc_theme_v3/static/js/min/not-found.min.js +++ b/source/_themes/wazuh_doc_theme_v3/static/js/min/not-found.min.js @@ -1,2 +1,2 @@ -if($(document).ready(function(){if(window.matchMedia){let n=$('head > link[rel="icon"][media]');$.each(n,function(e,t){let o=window.matchMedia(t.media);function r(){o.matches&&(n.remove(),n=$(t).appendTo("head"))}o.addListener(r),r()})}}),"undefined"==typeof versions){let e=[]}!function(o){window.matchMedia("(hover: hover)").matches&&(o(".navbar-nav .dropdown-toggle").on("mouseenter",function(e){o(this).closest(".dropdown").hasClass("show")||(e.stopPropagation(),o(this).trigger("click"))}),o(".navbar-nav .dropdown-toggle").on("mouseleave",function(e){var t=e.toElement||e.relatedTarget;o(this).closest(".dropdown").hasClass("show")&&t!==o(this).siblings()[0]&&(e.stopPropagation(),o(this).trigger("click"))}),o(".navbar-nav .dropdown-menu").on("mouseleave",function(e){e=e.toElement||e.relatedTarget;o(this).closest(".dropdown").hasClass("show")&&e!==o(this).siblings()[0]&&o(this).siblings().trigger("click")}))}(jQuery),function(o){window.matchMedia("(hover: hover)").matches&&(o("#toggle-full-footer").on("mouseenter",function(e){o(".website-links").hasClass("show")||(e.stopPropagation(),o("#toggle-full-footer").trigger("click"))}),o("#toggle-full-footer-wrapper").on("mouseleave",function(e){var t=e.toElement||e.relatedTarget;o(".website-links").hasClass("show")&&t!==o(this).siblings()[0]&&(e.stopPropagation(),o("#toggle-full-footer").trigger("click"))}))}(jQuery);let searchbar=$(".nav-top .desktop-search-form .header-search"),mainmenu=$(".nav-top .main-menu"),querystr=$(".desktop-search-form .header-search .form-control"),nav=$(".nav-top nav");function checkScroll(){60<$(document).scrollTop()?($(".nav-top").addClass("d-none"),$(".inner-body").addClass("not-top")):($(".nav-top").removeClass("d-none"),$(".inner-body").removeClass("not-top"))}$(".desktop-search-form .header-search form").on("submit",function(e){""!==querystr.val()&&"Search"!==querystr.val()||e.preventDefault()}),$(".desktop-search-form .header-search .form-control").on("focus",function(e){searchbar.hasClass("expanded")||($(".nav-top nav").addClass("d-none"),$(".desktop-search-form .header-search svg").addClass("d-none"),$(".desktop-search-form .header-search .btn-close").removeClass("d-none"),searchbar.addClass("expanded").removeClass("collapsed"),mainmenu.addClass("collapsed").removeClass("expanded"),setTimeout(()=>{$(this).attr("autocomplete","on")},500))}),$(".desktop-search-form .header-search .btn-close").on("click",function(e){$(".desktop-search-form .header-search .btn-close").addClass("d-none"),$(".desktop-search-form .header-search svg").removeClass("d-none"),searchbar.removeClass("expanded").addClass("collapsed"),mainmenu.removeClass("collapsed").addClass("expanded"),nav.removeClass("d-none"),querystr.val(""),$(".desktop-search-form .header-search .form-control").attr("autocomplete","off")}),checkScroll(),$(window).on("scroll",function(){checkScroll()});let minVersionRedoc="4.0",useApiRedoc=0<=compareVersion(DOCUMENTATION_OPTIONS.VERSION,minVersionRedoc),newTabNodes=["user-manual/api/reference","cloud-service/apis/reference"],oursHost=["documentation.wazuh.com"];function compareVersion(o,r){let n=!1;if("string"==typeof o&&"string"==typeof r){let e=o.split("."),t=r.split(".");2<=e.length&&2<=t.length&&(e=e.map(e=>parseInt(e)),t=t.map(e=>parseInt(e)),n=e[0]>t[0]?1:e[0]t[1]?1:e[1]=.5*jQuery(window).height()?$(".appear-on-scroll").fadeIn("slow"):$(".appear-on-scroll").fadeOut("slow")}),$(".appear-on-scroll.init-hidden").hide(),$(".appear-on-scroll.init-hidden").removeClass("init-hidden")}),jQuery(function(u){let f=DOCUMENTATION_OPTIONS.VERSION,p="undefined"==typeof versions?[]:versions;s=u("#version-selector .current"),a=DOCUMENTATION_OPTIONS.VERSION,0=parseInt(k))&&delete l[r]}return l}(d,f,s,newUrls,redirections,removedUrls);d=d.reverse();for(let e=0;e"),a=parseInt(C(s[0],o)),l=parseInt(C(s[1],o)),e.page==i[s[0]])&&("toBottom"!=e.direction&&a=a&&r.push({release:s[1],direction:"toBottom",url:i[s[1]]})}return r}function T(e,t,o,r){var n,s=[];for(forVersions in r)({}).hasOwnProperty.call(r,forVersions)&&(forVersions=parseInt(forVersions),"toBottom"==e&&forVersionse&&null!=o[t[i]]&&-1==r&&(r=i);return r}(forVersions,r,t))&&(s[r[forVersions]]=t[r[n]]):s[r[forVersions]]=t[r[forVersions]]),"toTop"==e)&&forVersions>=o&&(null==t[r[forVersions]]?0!=forVersions&&-1!=(n=function(e,t,o){let r=-1;for(i in t)({}).hasOwnProperty.call(t,i)&&(i=parseInt(i))>=e&&null!=o[t[i-1]]&&-1==r&&(r=i-1);return r}(forVersions,r,s))&&(s[r[forVersions]]=s[r[n]]):s[r[forVersions]]=t[r[forVersions]]);return s}e==p[0]&&(e="current"),document.querySelector("link[rel='canonical']")||((s=document.createElement("link")).setAttribute("rel","canonical"),s.setAttribute("href",document.location.protocol+"//"+document.location.host+"/"+e+a),document.head.appendChild(s)),u('#version-selector [data-toggle="tooltip"]').tooltip({container:"header",placement:"left",boundary:"window"})}),$("#version-selector a.disable").click(function(e){return e.preventDefault(),e.stopPropagation(),!1}),0<$("#global-toc").length){function completelyHideMenuItems(){$("#global-toc li ul").each(function(){$(this).closest("li").hasClass("show")?(this.hidden=!1,$(this).slideDown(300)):$(this).slideUp(300,function(){this.hidden=!0})})}$("#global-toc .toctree-l1 a").each(function(e){$(this).siblings("ul").length&&($(this).closest("li").addClass("toc-toggle"),$(this).append($('')))}),$("#global-toc .current-toc-node").each(function(){$(this).on("click",function(e){e.preventDefault(),$("html, body").animate({scrollTop:0},"500")})}),$("#global-toc a .toc-toggle-btn").on("click",function(e){return $("#global-toc a .toc-toggle-btn .sr-only").text("Expand submenu"),$(this).find(".sr-only").text("Close submenu"),!(li=$(e.target).closest("li"))||0==li.children("ul").length||(e.stopPropagation(),e.preventDefault(),li.hasClass("show")?li.removeClass("show"):(li.siblings("li").removeClass("show"),li.addClass("show")),li.parents().hasClass("show")||$(".globaltoc li.show").addClass("show"),$(".globaltoc li.initial").removeClass("initial"),completelyHideMenuItems(),!1)}),emptyTocNodes&&(markTocNodesWithClass(emptyTocNodes,"empty-toc-node","#global-toc"),$("#global-toc .current-toc-node").addClass("empty-toc-node")),$("#global-toc .empty-toc-node").each(function(){$(this).on("click",function(e){e.preventDefault(),$(this).find(".toc-toggle-btn").click()})}),useApiRedoc&&(markTocNodesWithClass(newTabNodes,"js-new-tab",""),$(".js-new-tab").attr("target","_blank"));let e=["Install Wazuh manager on Linux","Install Wazuh agent on Linux"].map(function(e){return e.toLowerCase()});function hideSubtree(e){$("#global-toc a").each(function(){-1!==jQuery.inArray($(this).text().toLowerCase(),e)&&($(this).siblings().hide(),$(this).children("button").hide())})}hideSubtree(e)} +if($(document).ready(function(){if(window.matchMedia){let n=$('head > link[rel="icon"][media]');$.each(n,function(e,t){let o=window.matchMedia(t.media);function r(){o.matches&&(n.remove(),n=$(t).appendTo("head"))}o.addListener(r),r()})}}),"undefined"==typeof versions){let e=[]}!function(o){window.matchMedia("(hover: hover)").matches&&(o(".navbar-nav .dropdown-toggle").on("mouseenter",function(e){o(this).closest(".dropdown").hasClass("show")||(e.stopPropagation(),o(this).trigger("click"))}),o(".navbar-nav .dropdown-toggle").on("mouseleave",function(e){var t=e.toElement||e.relatedTarget;o(this).closest(".dropdown").hasClass("show")&&t!==o(this).siblings()[0]&&(e.stopPropagation(),o(this).trigger("click").trigger("blur"))}),o(".navbar-nav .dropdown-menu").on("mouseleave",function(e){e=e.toElement||e.relatedTarget;o(this).closest(".dropdown").hasClass("show")&&e!==o(this).siblings()[0]&&o(this).siblings().trigger("click").trigger("blur")}))}(jQuery),function(o){window.matchMedia("(hover: hover)").matches&&(o("#toggle-full-footer").on("mouseenter",function(e){o(".website-links").hasClass("show")||(e.stopPropagation(),o("#toggle-full-footer").trigger("click"))}),o("#toggle-full-footer-wrapper").on("mouseleave",function(e){var t=e.toElement||e.relatedTarget;o(".website-links").hasClass("show")&&t!==o(this).siblings()[0]&&(e.stopPropagation(),o("#toggle-full-footer").trigger("click"))}))}(jQuery);let searchbar=$(".nav-top .desktop-search-form .header-search"),mainmenu=$(".nav-top .main-menu"),querystr=$(".desktop-search-form .header-search .form-control"),nav=$(".nav-top nav");function checkScroll(){60<$(document).scrollTop()?($(".nav-top").addClass("d-none"),$(".inner-body").addClass("not-top")):($(".nav-top").removeClass("d-none"),$(".inner-body").removeClass("not-top"))}$(".desktop-search-form .header-search form").on("submit",function(e){""!==querystr.val()&&"Search"!==querystr.val()||e.preventDefault()}),$(".desktop-search-form .header-search .form-control").on("focus",function(e){searchbar.hasClass("expanded")||($(".nav-top nav").addClass("d-none"),$(".desktop-search-form .header-search svg").addClass("d-none"),$(".desktop-search-form .header-search .btn-close").removeClass("d-none"),searchbar.addClass("expanded").removeClass("collapsed"),mainmenu.addClass("collapsed").removeClass("expanded"),setTimeout(()=>{$(this).attr("autocomplete","on")},500))}),$(".desktop-search-form .header-search .btn-close").on("click",function(e){$(".desktop-search-form .header-search .btn-close").addClass("d-none"),$(".desktop-search-form .header-search svg").removeClass("d-none"),searchbar.removeClass("expanded").addClass("collapsed"),mainmenu.removeClass("collapsed").addClass("expanded"),nav.removeClass("d-none"),querystr.val(""),$(".desktop-search-form .header-search .form-control").attr("autocomplete","off")}),checkScroll(),$(window).on("scroll",function(){checkScroll()});let minVersionRedoc="4.0",useApiRedoc=0<=compareVersion(DOCUMENTATION_OPTIONS.VERSION,minVersionRedoc),newTabNodes=["user-manual/api/reference","cloud-service/apis/reference"],oursHost=["documentation.wazuh.com"];function compareVersion(o,r){let n=!1;if("string"==typeof o&&"string"==typeof r){let e=o.split("."),t=r.split(".");2<=e.length&&2<=t.length&&(e=e.map(e=>parseInt(e)),t=t.map(e=>parseInt(e)),n=e[0]>t[0]?1:e[0]t[1]?1:e[1]=.5*jQuery(window).height()?$(".appear-on-scroll").fadeIn("slow"):$(".appear-on-scroll").fadeOut("slow")}),$(".appear-on-scroll.init-hidden").hide(),$(".appear-on-scroll.init-hidden").removeClass("init-hidden")}),jQuery(function(u){let f=DOCUMENTATION_OPTIONS.VERSION,p="undefined"==typeof versions?[]:versions;s=u("#version-selector .current"),a=DOCUMENTATION_OPTIONS.VERSION,0=parseInt(k))&&delete l[r]}return l}(d,f,s,newUrls,redirections,removedUrls);d=d.reverse();for(let e=0;e"),a=parseInt(C(s[0],o)),l=parseInt(C(s[1],o)),e.page==i[s[0]])&&("toBottom"!=e.direction&&a=a&&r.push({release:s[1],direction:"toBottom",url:i[s[1]]})}return r}function T(e,t,o,r){var n,s=[];for(forVersions in r)({}).hasOwnProperty.call(r,forVersions)&&(forVersions=parseInt(forVersions),"toBottom"==e&&forVersionse&&null!=o[t[i]]&&-1==r&&(r=i);return r}(forVersions,r,t))&&(s[r[forVersions]]=t[r[n]]):s[r[forVersions]]=t[r[forVersions]]),"toTop"==e)&&forVersions>=o&&(null==t[r[forVersions]]?0!=forVersions&&-1!=(n=function(e,t,o){let r=-1;for(i in t)({}).hasOwnProperty.call(t,i)&&(i=parseInt(i))>=e&&null!=o[t[i-1]]&&-1==r&&(r=i-1);return r}(forVersions,r,s))&&(s[r[forVersions]]=s[r[n]]):s[r[forVersions]]=t[r[forVersions]]);return s}e==p[0]&&(e="current"),document.querySelector("link[rel='canonical']")||((s=document.createElement("link")).setAttribute("rel","canonical"),s.setAttribute("href",document.location.protocol+"//"+document.location.host+"/"+e+a),document.head.appendChild(s)),u('#version-selector [data-toggle="tooltip"]').tooltip({container:"header",placement:"left",boundary:"window"})}),$("#version-selector a.disable").click(function(e){return e.preventDefault(),e.stopPropagation(),!1}),0<$("#global-toc").length){function completelyHideMenuItems(){$("#global-toc li ul").each(function(){$(this).closest("li").hasClass("show")?(this.hidden=!1,$(this).slideDown(300)):$(this).slideUp(300,function(){this.hidden=!0})})}$("#global-toc .toctree-l1 a").each(function(e){$(this).siblings("ul").length&&($(this).closest("li").addClass("toc-toggle"),$(this).append($('')))}),$("#global-toc .current-toc-node").each(function(){$(this).on("click",function(e){e.preventDefault(),$("html, body").animate({scrollTop:0},"500")})}),$("#global-toc a .toc-toggle-btn").on("click",function(e){return $("#global-toc a .toc-toggle-btn .sr-only").text("Expand submenu"),$(this).find(".sr-only").text("Close submenu"),!(li=$(e.target).closest("li"))||0==li.children("ul").length||(e.stopPropagation(),e.preventDefault(),li.hasClass("show")?li.removeClass("show"):(li.siblings("li").removeClass("show"),li.addClass("show")),li.parents().hasClass("show")||$(".globaltoc li.show").addClass("show"),$(".globaltoc li.initial").removeClass("initial"),completelyHideMenuItems(),!1)}),emptyTocNodes&&(markTocNodesWithClass(emptyTocNodes,"empty-toc-node","#global-toc"),$("#global-toc .current-toc-node").addClass("empty-toc-node")),$("#global-toc .empty-toc-node").each(function(){$(this).on("click",function(e){e.preventDefault(),$(this).find(".toc-toggle-btn").click()})}),useApiRedoc&&(markTocNodesWithClass(newTabNodes,"js-new-tab",""),$(".js-new-tab").attr("target","_blank"));let e=["Install Wazuh manager on Linux","Install Wazuh agent on Linux"].map(function(e){return e.toLowerCase()});function hideSubtree(e){$("#global-toc a").each(function(){-1!==jQuery.inArray($(this).text().toLowerCase(),e)&&($(this).siblings().hide(),$(this).children("button").hide())})}hideSubtree(e)} //# sourceMappingURL=not-found.min.js.map \ No newline at end of file diff --git a/source/_themes/wazuh_doc_theme_v3/static/js/min/search-results.min.js b/source/_themes/wazuh_doc_theme_v3/static/js/min/search-results.min.js index bd69bbc2f0..b9ccfbc1e1 100644 --- a/source/_themes/wazuh_doc_theme_v3/static/js/min/search-results.min.js +++ b/source/_themes/wazuh_doc_theme_v3/static/js/min/search-results.min.js @@ -1,2 +1,2 @@ -if($(document).ready(function(){if(window.matchMedia){let o=$('head > link[rel="icon"][media]');$.each(o,function(e,t){let r=window.matchMedia(t.media);function n(){r.matches&&(o.remove(),o=$(t).appendTo("head"))}r.addListener(n),n()})}}),"undefined"==typeof versions){let e=[]}!function(r){window.matchMedia("(hover: hover)").matches&&(r(".navbar-nav .dropdown-toggle").on("mouseenter",function(e){r(this).closest(".dropdown").hasClass("show")||(e.stopPropagation(),r(this).trigger("click"))}),r(".navbar-nav .dropdown-toggle").on("mouseleave",function(e){var t=e.toElement||e.relatedTarget;r(this).closest(".dropdown").hasClass("show")&&t!==r(this).siblings()[0]&&(e.stopPropagation(),r(this).trigger("click"))}),r(".navbar-nav .dropdown-menu").on("mouseleave",function(e){e=e.toElement||e.relatedTarget;r(this).closest(".dropdown").hasClass("show")&&e!==r(this).siblings()[0]&&r(this).siblings().trigger("click")}))}(jQuery),function(r){window.matchMedia("(hover: hover)").matches&&(r("#toggle-full-footer").on("mouseenter",function(e){r(".website-links").hasClass("show")||(e.stopPropagation(),r("#toggle-full-footer").trigger("click"))}),r("#toggle-full-footer-wrapper").on("mouseleave",function(e){var t=e.toElement||e.relatedTarget;r(".website-links").hasClass("show")&&t!==r(this).siblings()[0]&&(e.stopPropagation(),r("#toggle-full-footer").trigger("click"))}))}(jQuery);let searchbar=$(".nav-top .desktop-search-form .header-search"),mainmenu=$(".nav-top .main-menu"),querystr=$(".desktop-search-form .header-search .form-control"),nav=$(".nav-top nav");function checkScroll(){60<$(document).scrollTop()?($(".nav-top").addClass("d-none"),$(".inner-body").addClass("not-top")):($(".nav-top").removeClass("d-none"),$(".inner-body").removeClass("not-top"))}$(".desktop-search-form .header-search form").on("submit",function(e){""!==querystr.val()&&"Search"!==querystr.val()||e.preventDefault()}),$(".desktop-search-form .header-search .form-control").on("focus",function(e){searchbar.hasClass("expanded")||($(".nav-top nav").addClass("d-none"),$(".desktop-search-form .header-search svg").addClass("d-none"),$(".desktop-search-form .header-search .btn-close").removeClass("d-none"),searchbar.addClass("expanded").removeClass("collapsed"),mainmenu.addClass("collapsed").removeClass("expanded"),setTimeout(()=>{$(this).attr("autocomplete","on")},500))}),$(".desktop-search-form .header-search .btn-close").on("click",function(e){$(".desktop-search-form .header-search .btn-close").addClass("d-none"),$(".desktop-search-form .header-search svg").removeClass("d-none"),searchbar.removeClass("expanded").addClass("collapsed"),mainmenu.removeClass("collapsed").addClass("expanded"),nav.removeClass("d-none"),querystr.val(""),$(".desktop-search-form .header-search .form-control").attr("autocomplete","off")}),checkScroll(),$(window).on("scroll",function(){checkScroll()});let minVersionRedoc="4.0",useApiRedoc=0<=compareVersion(DOCUMENTATION_OPTIONS.VERSION,minVersionRedoc),newTabNodes=["user-manual/api/reference","cloud-service/apis/reference"],oursHost=["documentation.wazuh.com"];function compareVersion(r,n){let o=!1;if("string"==typeof r&&"string"==typeof n){let e=r.split("."),t=n.split(".");2<=e.length&&2<=t.length&&(e=e.map(e=>parseInt(e)),t=t.map(e=>parseInt(e)),o=e[0]>t[0]?1:e[0]t[1]?1:e[1]=.5*jQuery(window).height()?$(".appear-on-scroll").fadeIn("slow"):$(".appear-on-scroll").fadeOut("slow")}),$(".appear-on-scroll.init-hidden").hide(),$(".appear-on-scroll.init-hidden").removeClass("init-hidden")}),jQuery(function(u){let p=DOCUMENTATION_OPTIONS.VERSION,f="undefined"==typeof versions?[]:versions;a=u("#version-selector .current"),s=DOCUMENTATION_OPTIONS.VERSION,0=parseInt(S))&&delete l[r]}return l}(h,p,a,newUrls,redirections,removedUrls);h=h.reverse();for(let e=0;e"),s=parseInt(E(a[0],r)),l=parseInt(E(a[1],r)),e.page==i[a[0]])&&("toBottom"!=e.direction&&s=s&&n.push({release:a[1],direction:"toBottom",url:i[a[1]]})}return n}function I(e,t,r,n){var o,a=[];for(forVersions in n)({}).hasOwnProperty.call(n,forVersions)&&(forVersions=parseInt(forVersions),"toBottom"==e&&forVersionse&&null!=r[t[i]]&&-1==n&&(n=i);return n}(forVersions,n,t))&&(a[n[forVersions]]=t[n[o]]):a[n[forVersions]]=t[n[forVersions]]),"toTop"==e)&&forVersions>=r&&(null==t[n[forVersions]]?0!=forVersions&&-1!=(o=function(e,t,r){let n=-1;for(i in t)({}).hasOwnProperty.call(t,i)&&(i=parseInt(i))>=e&&null!=r[t[i-1]]&&-1==n&&(n=i-1);return n}(forVersions,n,a))&&(a[n[forVersions]]=a[n[o]]):a[n[forVersions]]=t[n[forVersions]]);return a}e==f[0]&&(e="current"),document.querySelector("link[rel='canonical']")||((a=document.createElement("link")).setAttribute("rel","canonical"),a.setAttribute("href",document.location.protocol+"//"+document.location.host+"/"+e+s),document.head.appendChild(a)),u('#version-selector [data-toggle="tooltip"]').tooltip({container:"header",placement:"left",boundary:"window"})}),$("#version-selector a.disable").click(function(e){return e.preventDefault(),e.stopPropagation(),!1}),0<$("#global-toc").length){function completelyHideMenuItems(){$("#global-toc li ul").each(function(){$(this).closest("li").hasClass("show")?(this.hidden=!1,$(this).slideDown(300)):$(this).slideUp(300,function(){this.hidden=!0})})}$("#global-toc .toctree-l1 a").each(function(e){$(this).siblings("ul").length&&($(this).closest("li").addClass("toc-toggle"),$(this).append($('')))}),$("#global-toc .current-toc-node").each(function(){$(this).on("click",function(e){e.preventDefault(),$("html, body").animate({scrollTop:0},"500")})}),$("#global-toc a .toc-toggle-btn").on("click",function(e){return $("#global-toc a .toc-toggle-btn .sr-only").text("Expand submenu"),$(this).find(".sr-only").text("Close submenu"),!(li=$(e.target).closest("li"))||0==li.children("ul").length||(e.stopPropagation(),e.preventDefault(),li.hasClass("show")?li.removeClass("show"):(li.siblings("li").removeClass("show"),li.addClass("show")),li.parents().hasClass("show")||$(".globaltoc li.show").addClass("show"),$(".globaltoc li.initial").removeClass("initial"),completelyHideMenuItems(),!1)}),emptyTocNodes&&(markTocNodesWithClass(emptyTocNodes,"empty-toc-node","#global-toc"),$("#global-toc .current-toc-node").addClass("empty-toc-node")),$("#global-toc .empty-toc-node").each(function(){$(this).on("click",function(e){e.preventDefault(),$(this).find(".toc-toggle-btn").click()})}),useApiRedoc&&(markTocNodesWithClass(newTabNodes,"js-new-tab",""),$(".js-new-tab").attr("target","_blank"));let e=["Install Wazuh manager on Linux","Install Wazuh agent on Linux"].map(function(e){return e.toLowerCase()});function hideSubtree(e){$("#global-toc a").each(function(){-1!==jQuery.inArray($(this).text().toLowerCase(),e)&&($(this).siblings().hide(),$(this).children("button").hide())})}hideSubtree(e)}let BLACKLISTED_KEY_CONTROL_ELEMENTS=new Set(["TEXTAREA","INPUT","SELECT","BUTTON"]),_ready=e=>{"loading"!==document.readyState?e():document.addEventListener("DOMContentLoaded",e)},Documentation={init:()=>{Documentation.initDomainIndexTable(),Documentation.initOnKeyListeners()},TRANSLATIONS:{},PLURAL_EXPR:e=>1===e?0:1,LOCALE:"unknown",gettext:e=>{var t=Documentation.TRANSLATIONS[e];switch(typeof t){case"undefined":return e;case"string":return t;default:return t[0]}},ngettext:(e,t,r)=>{var n=Documentation.TRANSLATIONS[e];return"undefined"!=typeof n?n[Documentation.PLURAL_EXPR(r)]:1===r?e:t},addTranslations:e=>{Object.assign(Documentation.TRANSLATIONS,e.messages),Documentation.PLURAL_EXPR=new Function("n",`return (${e.plural_expr})`),Documentation.LOCALE=e.locale},focusSearchBar:()=>{document.querySelectorAll("input[name=q]")[0]?.focus()},initDomainIndexTable:()=>{let t=e=>{var t=e.id.substr(7),t=document.querySelectorAll("tr.cg-"+t);"minus.png"===e.src.substr(-9)?(e.src=e.src.substr(0,e.src.length-9)+"plus.png",t.forEach(e=>e.style.display="none")):(e.src=e.src.substr(0,e.src.length-8)+"minus.png",t.forEach(e=>e.style.display=""))};var e=document.querySelectorAll("img.toggler");e.forEach(e=>e.addEventListener("click",e=>t(e.currentTarget))),e.forEach(e=>e.style.display=""),DOCUMENTATION_OPTIONS.COLLAPSE_INDEX&&e.forEach(t)},initOnKeyListeners:()=>{(DOCUMENTATION_OPTIONS.NAVIGATION_WITH_KEYS||DOCUMENTATION_OPTIONS.ENABLE_SEARCH_SHORTCUTS)&&document.addEventListener("keydown",e=>{if(!BLACKLISTED_KEY_CONTROL_ELEMENTS.has(document.activeElement.tagName)&&!(e.altKey||e.ctrlKey||e.metaKey)){if(!e.shiftKey)switch(e.key){case"ArrowLeft":DOCUMENTATION_OPTIONS.NAVIGATION_WITH_KEYS&&(t=document.querySelector('link[rel="prev"]'))&&t.href&&(window.location.href=t.href,e.preventDefault());break;case"ArrowRight":var t;DOCUMENTATION_OPTIONS.NAVIGATION_WITH_KEYS&&(t=document.querySelector('link[rel="next"]'))&&t.href&&(window.location.href=t.href,e.preventDefault())}"/"===e.key&&DOCUMENTATION_OPTIONS.ENABLE_SEARCH_SHORTCUTS&&(Documentation.focusSearchBar(),e.preventDefault())}})}},_=Documentation.gettext,SPHINX_HIGHLIGHT_ENABLED=(_ready(Documentation.init),!0),_highlight=(t,r,n,o)=>{if(t.nodeType===Node.TEXT_NODE){var a=t.nodeValue,s=t.parentNode,l=a.toLowerCase().indexOf(n);if(0<=l&&!s.classList.contains(o)&&!s.classList.contains("nohighlight")){let e;var i=s.closest("body, svg, foreignObject"),i=i&&i.matches("svg");i?e=document.createElementNS("http://www.w3.org/2000/svg","tspan"):(e=document.createElement("span")).classList.add(o),e.appendChild(document.createTextNode(a.substr(l,n.length))),s.insertBefore(e,s.insertBefore(document.createTextNode(a.substr(l+n.length)),t.nextSibling)),t.nodeValue=a.substr(0,l),i&&(a=document.createElementNS("http://www.w3.org/2000/svg","rect"),l=s.getBBox(),a.x.baseVal.value=l.x,a.y.baseVal.value=l.y,a.width.baseVal.value=l.width,a.height.baseVal.value=l.height,a.setAttribute("class",o),r.push({parent:s,target:a}))}}else t.matches&&!t.matches("button, select, textarea")&&t.childNodes.forEach(e=>_highlight(e,r,n,o))},_highlightText=(e,t,r)=>{var n=[];_highlight(e,n,t,r),n.forEach(e=>e.parent.insertAdjacentElement("beforebegin",e.target))},SphinxHighlight={highlightSearchWords:()=>{if(SPHINX_HIGHLIGHT_ENABLED){var r=new URL(window.location),n=localStorage.getItem("sphinx_highlight_terms")||r.searchParams.get("highlight")||"";localStorage.removeItem("sphinx_highlight_terms"),r.searchParams.delete("highlight"),window.history.replaceState({},"",r);let e=n.toLowerCase().split(/\s+/).filter(e=>e);if(0!==e.length){r=document.querySelectorAll("main>section");let t=r.length?r[0]:document.querySelector("body");window.setTimeout(()=>{e.forEach(e=>_highlightText(t,e,"highlighted"))},10);n=document.getElementById("searchbox");null!==n&&n.appendChild(document.createRange().createContextualFragment('"))}}},hideSearchWords:()=>{document.querySelectorAll("#searchbox .highlight-link").forEach(e=>e.remove()),document.querySelectorAll("span.highlighted").forEach(e=>e.classList.remove("highlighted")),localStorage.removeItem("sphinx_highlight_terms")},initEscapeListener:()=>{DOCUMENTATION_OPTIONS.ENABLE_SEARCH_SHORTCUTS&&document.addEventListener("keydown",e=>{BLACKLISTED_KEY_CONTROL_ELEMENTS.has(document.activeElement.tagName)||e.shiftKey||e.altKey||e.ctrlKey||e.metaKey||DOCUMENTATION_OPTIONS.ENABLE_SEARCH_SHORTCUTS&&"Escape"===e.key&&(SphinxHighlight.hideSearchWords(),e.preventDefault())})}},excludedSearchFolders=(_ready(SphinxHighlight.highlightSearchWords),_ready(SphinxHighlight.initEscapeListener),["release-notes"]),pagefindUrl="file:"===location.protocol?"":location.href.split("search.html")[0]+"pagefind/pagefind.js";function loadSphinxSearch(){getScript(DOCUMENTATION_OPTIONS.URL_ROOT+"_static/js/min/sphinx-search-ui.min.js"),getScript(DOCUMENTATION_OPTIONS.URL_ROOT+"searchindex.js")}function getScript(e){(loadScript=document.createElement("SCRIPT")).setAttribute("charset","utf-8"),loadScript.setAttribute("type","text/javascript"),loadScript.setAttribute("src",e),document.getElementsByTagName("head")[0].appendChild(loadScript)}function createResultBreadcrumb(e){let r=[],t=e.attr("href").split("?")[0],n=$("#global-toc").find('[href="'+t+'"]');0===n.length&&"/"===t.substring(t.length-1)&&(t+="index.html",n=$("#global-toc").find('[href="'+t+'"]')),n.parents("li").each(function(){tocNodeLink=$(this).find(">a"),r.push({url:tocNodeLink.attr("href"),text:tocNodeLink.contents()[0].nodeValue})});var o=$(document.createElement("span")),a=(o.addClass("breadcrumb-separator").attr("aria-hidden","true"),$(document.createElement("nav")));a.addClass("breadcrumbs");for(let t=0;tPlease make sure that all words are spelled correctly.

").appendTo(t);else{let e="";e=0'+(r-n)+' page(s) matching the search query. Include Release Notes results':'Found '+r+" page(s) matching the search query.",t.html(e)}}function sanitizeHTML(e){return e.replace(/[^\w. ]/gi,function(e){return"&#"+e.charCodeAt(0)+";"})}function processExcerpt(e,t){e="... "+htmlDec(e.replace("¶",""))+" ...",excerptArray=e.split(""),t.text(excerptArray.shift());for(let e=0;e"),r.textContent=excerptArray[e][0],t.get(0).appendChild(r),t.get(0).appendChild(document.createTextNode(excerptArray[e][1]))}}function htmlEnc(e){return e.replace(/&/g,"&").replace(//g,">").replace(/'/g,"'").replace(/"/g,""")}function htmlDec(e){return e.replace(/</g,"<").replace(/>/g,">").replace(/'/g,"'").replace(/"/g,'"')}$(function(){if($(".search")){let a=new URLSearchParams(window.location.search),T="#search-results";pagefindUrl.length?fetch(pagefindUrl,{method:"HEAD"}).then(e=>{if(200!==e.status||!0===e.redirected)loadSphinxSearch();else{window.pagefind=import(pagefindUrl);let g,m=0;pagefind.then(function(e){let t={ranking:{termFrequency:0,pageLength:1,termSaturation:.2},highlightParam:"highlight"},r=(e.options(t),e.search);var n,e=a.get("q");if("string"==typeof e){let f=new Set;function o(i,e,t){g=i.length;var r=$(T),n=document.createElement("h1");$(n).text("Search results for: "),$('').appendTo(n).text(t),r.append(n);let o=$('').appendTo(r);r.append('