Skip to content

Commit

Permalink
Update the redirections and address minor comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
lchico committed May 31, 2024
1 parent 0f36450 commit 01b1fe2
Show file tree
Hide file tree
Showing 7 changed files with 40 additions and 33 deletions.
65 changes: 39 additions & 26 deletions source/_static/js/redirects.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,16 @@ redirections.push(
'4.8': '/deployment-options/offline-installation.html',
'4.9': '/deployment-options/offline-installation/step-by-step.html',
},
{
'target': ['4.8=>4.9'],
'4.8': '/development/packaging/generate-deb-package.html',
'4.9': '/development/packaging/generate-deb-rpm-package.html',
},
{
'target': ['4.8=>4.9'],
'4.8': '/development/packaging/generate-rpm-package.html',
'4.9': '/development/packaging/generate-deb-rpm-package.html',
},
);

/* Pages added in 4.9 */
Expand All @@ -89,12 +99,15 @@ newUrls['4.9'] = [
'/deployment-options/offline-installation/installation-assistant.html',
'/development/coredump.html',
'/development/packaging/generate-indexer-package.html',
'development/packaging/generate-deb-rpm-package.html',
];

/* Pages no longer available in 4.9 */

removedUrls['4.9'] = [
'/deployment-options/offline-installation.html',
'/development/packaging/generate-deb-package.html',
'/development/packaging/generate-rpm-package.html',
];

/* *** RELEASE 4.8 ****/
Expand Down Expand Up @@ -812,7 +825,7 @@ removedUrls['4.6'] = [
'/user-manual/elasticsearch/configure-indices.html',
'/user-manual/elasticsearch/elasticsearch.html',
'/user-manual/elasticsearch/index.html',
'/user-manual/elasticsearch/troubleshooting.html',
'/user-manual/elasticsearch/troubleshooting.html',
'/user-manual/elasticsearch/elastic-tuning.html',
'/user-manual/uninstall/central-components.html',
'/user-manual/uninstall/elastic-stack.html',
Expand Down Expand Up @@ -909,7 +922,7 @@ newUrls['4.5'] = [
'/integrations-guide/elastic-stack/index.html',
'/integrations-guide/opensearch/index.html',
'/integrations-guide/splunk/index.html',
'/user-manual/capabilities/log-data-collection/configuration.html',
'/user-manual/capabilities/log-data-collection/configuration.html',
'/user-manual/capabilities/log-data-collection/log-data-analysis.html',
'/user-manual/capabilities/log-data-collection/monitoring-log-files.html',
'/user-manual/capabilities/log-data-collection/multiple-socket-outputs.html',
Expand Down Expand Up @@ -954,7 +967,7 @@ removedUrls['4.5'] = [
'/user-manual/elasticsearch/elastic-tuning.html',
'/user-manual/elasticsearch/elasticsearch.html',
'/user-manual/elasticsearch/index.html',
'/user-manual/elasticsearch/troubleshooting.html',
'/user-manual/elasticsearch/troubleshooting.html',
];

/* *** RELEASE 4.4 ****/
Expand Down Expand Up @@ -991,12 +1004,12 @@ redirections.push(
'target': ['4.3=>4.4', '4.4=>4.3'],
'4.3': '/user-manual/capabilities/file-integrity/fim-configuration.html',
'4.4': '/user-manual/capabilities/file-integrity/index.html',
},
},
{
'target': ['4.3=>4.4', '4.4=>4.3'],
'4.3': '/user-manual/capabilities/file-integrity/fim-fields-rule-mapping.html',
'4.4': '/user-manual/capabilities/file-integrity/index.html',
},
},
{
'target': ['4.3=>4.4', '4.4=>4.3'],
'4.3': '/user-manual/capabilities/antiflooding.html',
Expand All @@ -1006,7 +1019,7 @@ redirections.push(
'target': ['4.3=>4.4', '4.4=>4.3'],
'4.3': '/user-manual/capabilities/labels.html',
'4.4': '/user-manual/agents/labels.html',
},
},
{
'target': ['4.3=>4.4', '4.4=>4.3'],
'4.3': '/user-manual/capabilities/fluent-forwarder.html',
Expand Down Expand Up @@ -1594,7 +1607,7 @@ newUrls['4.4'] = [
'/compliance/nist/system-inventory.html',
'/compliance/nist/vulnerability-detection.html',
'/compliance/nist/active-response.html',
'/compliance/nist/threat-intelligence.html',
'/compliance/nist/threat-intelligence.html',
'/compliance/tsc/index.html',
'/compliance/tsc/common-criteria/cc2.1.html',
'/compliance/tsc/common-criteria/cc3.1.html',
Expand All @@ -1615,7 +1628,7 @@ newUrls['4.4'] = [
'/user-manual/capabilities/file-integrity/basic-settings.html',
'/user-manual/capabilities/file-integrity/how-to-configure-fim.html',
'/user-manual/capabilities/file-integrity/interpreting-fim-module-analysis.html',
'/user-manual/capabilities/file-integrity/creating-custom-fim-rules.html',
'/user-manual/capabilities/file-integrity/creating-custom-fim-rules.html',
'/user-manual/capabilities/file-integrity/advanced-settings.html',
'/user-manual/capabilities/file-integrity/use-cases/index.html',
'/user-manual/capabilities/file-integrity/use-cases/detecting-malware-persistence-technique.html',
Expand All @@ -1638,7 +1651,7 @@ newUrls['4.4'] = [
'/user-manual/capabilities/system-calls-monitoring/use-cases/privilege-abuse.html',
'/user-manual/capabilities/agentless-monitoring/connection.html',
'/user-manual/capabilities/agentless-monitoring/visualization.html',
'/user-manual/capabilities/agentless-monitoring/use-cases.html',
'/user-manual/capabilities/agentless-monitoring/use-cases.html',
'/user-manual/capabilities/vulnerability-detection/querying-the-vulnerability-database.html',
'/user-manual/files-backup/creating/index.html',
'/user-manual/files-backup/creating/wazuh-central-components.html',
Expand Down Expand Up @@ -1721,8 +1734,8 @@ removedUrls['4.4'] = [
'/user-manual/capabilities/auditing-whodata/index.html',
'/user-manual/capabilities/auditing-whodata/who-linux.html',
'/user-manual/capabilities/auditing-whodata/who-windows.html',
'/user-manual/capabilities/auditing-whodata/who-windows-policies.html',
'/user-manual/capabilities/syscollector.html',
'/user-manual/capabilities/auditing-whodata/who-windows-policies.html',
'/user-manual/capabilities/syscollector.html',
'/user-manual/capabilities/agentless-monitoring/agentless-faq.html',
'/container-security/index.html',
'/container-security/docker-monitor/index.html',
Expand All @@ -1734,7 +1747,7 @@ removedUrls['4.4'] = [
];

/* *** RELEASE 4.3 ****/

/* Pages added in 4.3 */

newUrls['4.3'] = [
Expand All @@ -1755,7 +1768,7 @@ newUrls['4.3'] = [
'/user-manual/elasticsearch/configure-indices.html',
'/user-manual/elasticsearch/elasticsearch.html',
'/user-manual/elasticsearch/index.html',
'/user-manual/elasticsearch/troubleshooting.html',
'/user-manual/elasticsearch/troubleshooting.html',
'/user-manual/wazuh-dashboard/settings.html',
'/user-manual/wazuh-dashboard/config-file.html',
'/user-manual/wazuh-dashboard/index.html',
Expand Down Expand Up @@ -1910,7 +1923,7 @@ newUrls['4.3'] = [
'/deployment-options/deploying-with-puppet/wazuh-puppet-module/reference-wazuh-puppet/wazuh-manager-class.html',
'/deployment-options/amazon-machine-images/amazon-machine-images.html',
'/release-notes/release-4-3-0.html',
'/pci-dss/configuration-assessment.html',
'/pci-dss/configuration-assessment.html',
'/pci-dss/malware-detection.html',
'/pci-dss/vulnerability-detection.html',
'/pci-dss/system-inventory.html',
Expand Down Expand Up @@ -2073,7 +2086,7 @@ removedUrls['4.3'] = [
'/migrating-from-ossec/ossec-server.html',
'/migrating-from-ossec/ossec-agent.html',
'/learning-wazuh/build-lab/access-ec2-instances.html',
'/learning-wazuh/build-lab/build-vpc.html',
'/learning-wazuh/build-lab/build-vpc.html',
'/learning-wazuh/build-lab/launch-ec2-instances.html',
'/learning-wazuh/build-lab/xpack-security-setup.html',
'/learning-wazuh/build-lab/install-elastic-stack.html',
Expand All @@ -2095,7 +2108,7 @@ removedUrls['4.3'] = [
'/pci-dss/policy-monitoring.html',
'/pci-dss/rootkit-detection.html',
'/pci-dss/elastic.html',
'/upgrade-guide/upgrading-agent.html',
'/upgrade-guide/upgrading-agent.html',
'/user-manual/capabilities/anomalies-detection/anomaly-configuration.html',
'/user-manual/capabilities/anomalies-detection/anomaly-faq.html',
'/user-manual/capabilities/anomalies-detection/how-it-works.html',
Expand Down Expand Up @@ -3080,17 +3093,17 @@ newUrls['4.2'] = [
'/upgrade-guide/legacy/upgrading-wazuh-server/restore-alerts-from-2.x-to-3.x.html',
'/user-manual/agent-enrollment/index.html',
'/user-manual/agent-enrollment/via-agent-configuration/index.html',
'/user-manual/agent-enrollment/via-agent-configuration/linux-endpoint.html',
'/user-manual/agent-enrollment/via-agent-configuration/linux-endpoint.html',
'/user-manual/agent-enrollment/via-agent-configuration/windows-endpoint.html',
'/user-manual/agent-enrollment/via-agent-configuration/macos-endpoint.html',
'/user-manual/agent-enrollment/via-manager-API/index.html',
'/user-manual/agent-enrollment/via-manager-API/requesting-the-key.html',
'/user-manual/agent-enrollment/via-manager-API/importing-the-key.html',
'/user-manual/agent-enrollment/security-options/index.html',
'/user-manual/agent-enrollment/security-options/using-password-authentication.html',
'/user-manual/agent-enrollment/security-options/manager-identity-verification.html',
'/user-manual/agent-enrollment/security-options/agent-identity-verification.html',
'/user-manual/agent-enrollment/troubleshooting.html',
'/user-manual/agent-enrollment/security-options/manager-identity-verification.html',
'/user-manual/agent-enrollment/security-options/agent-identity-verification.html',
'/user-manual/agent-enrollment/troubleshooting.html',
];

removedUrls['4.2'] = [
Expand Down Expand Up @@ -3241,7 +3254,7 @@ removedUrls['4.2'] = [
'/user-manual/registering/index.html',
'/user-manual/registering/command-line-registration.html',
'/user-manual/registering/restful-api-registration.html',
'/user-manual/registering/password-authorization-registration.html',
'/user-manual/registering/password-authorization-registration.html',
'/user-manual/registering/host-verification-registration.html',
'/user-manual/registering/registering-agents-theory.html',
'/user-manual/registering/registering-agents-troubleshooting.html',
Expand All @@ -3261,7 +3274,7 @@ redirections.push(
{
'target': ['4.2=>4.1'],
'4.2': '/getting-started/components/kibana.html',
'4.1': '/getting-started/components/elastic-stack.html',
'4.1': '/getting-started/components/elastic-stack.html',
},
{
'target': ['4.1=>4.2', '4.2=>4.1'],
Expand Down Expand Up @@ -3297,7 +3310,7 @@ redirections.push(
'target': ['4.1=>4.2', '4.2=>4.1'],
'4.1': '/user-manual/registering/registering-agents-troubleshooting.html',
'4.2': '/user-manual/agent-enrollment/troubleshooting.html',
},
},
{
'target': ['4.1=>4.2', '4.2=>4.1'],
'4.1': '/deploying-with-ansible/roles/wazuh-elasticsearch.html',
Expand Down Expand Up @@ -4976,9 +4989,9 @@ redirections.push(
);

newUrls['3.13'] = [
'/release-notes/release-3-13-6.html',
'/release-notes/release-3-13-5.html',
'/release-notes/release-3-13-4.html',
'/release-notes/release-3-13-6.html',
'/release-notes/release-3-13-5.html',
'/release-notes/release-3-13-4.html',
'/release-notes/release_3_13_3.html',
'/release-notes/release_3_13_2.html',
'/getting-started/use_cases/index.html',
Expand Down
3 changes: 1 addition & 2 deletions source/development/packaging/generate-aix-package.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,9 @@
.. meta::
:description: Wazuh provides an automated way of building AIX packages. Learn how to build your own Wazuh AIX packages in this section of our documentation.

.. _create-aix:

=========
AIX agent
=========

Expand Down
1 change: 0 additions & 1 deletion source/development/packaging/generate-deb-rpm-package.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@

.. _create-deb-rpm:

===================
Linux manager/agent
===================

Expand Down
1 change: 0 additions & 1 deletion source/development/packaging/generate-hpux-package.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@

.. _create-hpux:

==========
HPUX agent
==========

Expand Down
1 change: 0 additions & 1 deletion source/development/packaging/generate-osx-package.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@

.. _create-osx:

===========
macOS agent
===========

Expand Down
1 change: 0 additions & 1 deletion source/development/packaging/generate-sol-package.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@

.. _create-sol:

=============
Solaris agent
=============

Expand Down
1 change: 0 additions & 1 deletion source/development/packaging/generate-windows-package.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@

.. _create-windows:

=============
Windows agent
=============

Expand Down

0 comments on commit 01b1fe2

Please sign in to comment.