diff --git a/.idea/.gitignore b/.idea/.gitignore
new file mode 100644
index 0000000000000000000000000000000000000000..13566b81b018ad684f3a35fee301741b2734c8f4
--- /dev/null
+++ b/.idea/.gitignore
@@ -0,0 +1,8 @@
+# Default ignored files
+/shelf/
+/workspace.xml
+# Editor-based HTTP Client requests
+/httpRequests/
+# Datasource local storage ignored files
+/dataSources/
+/dataSources.local.xml
diff --git a/.idea/misc.xml b/.idea/misc.xml
new file mode 100644
index 0000000000000000000000000000000000000000..639900d13c6182e452e33a3bd638e70a0146c785
--- /dev/null
+++ b/.idea/misc.xml
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project version="4">
+  <component name="ProjectRootManager">
+    <output url="file://$PROJECT_DIR$/out" />
+  </component>
+</project>
\ No newline at end of file
diff --git a/.idea/modules.xml b/.idea/modules.xml
new file mode 100644
index 0000000000000000000000000000000000000000..5921a4f9f5462d520c4f6be7c666da05782e6963
--- /dev/null
+++ b/.idea/modules.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project version="4">
+  <component name="ProjectModuleManager">
+    <modules>
+      <module fileurl="file://$PROJECT_DIR$/.idea/scaleway-wazuh.iml" filepath="$PROJECT_DIR$/.idea/scaleway-wazuh.iml" />
+    </modules>
+  </component>
+</project>
\ No newline at end of file
diff --git a/.idea/scaleway-wazuh.iml b/.idea/scaleway-wazuh.iml
new file mode 100644
index 0000000000000000000000000000000000000000..d6ebd4805981b8400db3e3291c74a743fef9a824
--- /dev/null
+++ b/.idea/scaleway-wazuh.iml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<module type="JAVA_MODULE" version="4">
+  <component name="NewModuleRootManager" inherit-compiler-output="true">
+    <exclude-output />
+    <content url="file://$MODULE_DIR$" />
+    <orderEntry type="inheritedJdk" />
+    <orderEntry type="sourceFolder" forTests="false" />
+  </component>
+</module>
\ No newline at end of file
diff --git a/.idea/vcs.xml b/.idea/vcs.xml
new file mode 100644
index 0000000000000000000000000000000000000000..35eb1ddfbbc029bcab630581847471d7f238ec53
--- /dev/null
+++ b/.idea/vcs.xml
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project version="4">
+  <component name="VcsDirectoryMappings">
+    <mapping directory="" vcs="Git" />
+  </component>
+</project>
\ No newline at end of file
diff --git a/CHANGELOG.md b/CHANGELOG.md
new file mode 100644
index 0000000000000000000000000000000000000000..6d6ad0ce2ecefe7d4defb1bc40fe10810527883f
--- /dev/null
+++ b/CHANGELOG.md
@@ -0,0 +1,342 @@
+# Change Log
+
+All notable changes to this project will be documented in this file.
+
+## [4.3.10]
+
+### Added
+
+- Update to Wazuh version [4.3.10](https://github.com/wazuh/wazuh/blob/v4.3.10/CHANGELOG.md#v4310)
+
+## [4.3.9]
+
+### Added
+
+- Update to Wazuh version [4.3.9](https://github.com/wazuh/wazuh/blob/v4.3.9/CHANGELOG.md#v439)
+
+## [4.3.8]
+
+### Added
+
+- Update to Wazuh version [4.3.8](https://github.com/wazuh/wazuh/blob/v4.3.8/CHANGELOG.md#v438)
+
+## [4.3.7]
+
+### Added
+
+- Update to Wazuh version [4.3.7](https://github.com/wazuh/wazuh/blob/v4.3.7/CHANGELOG.md#v437)
+
+## [4.3.6]
+
+### Added
+
+- Update to Wazuh version [4.3.6](https://github.com/wazuh/wazuh/blob/v4.3.6/CHANGELOG.md#v436)
+
+## [4.3.5]
+
+### Added
+
+- Update to Wazuh version [4.3.5](https://github.com/wazuh/wazuh/blob/v4.3.5/CHANGELOG.md#v435)
+
+## [4.3.4]
+
+### Added
+
+- Update to Wazuh version [4.3.4](https://github.com/wazuh/wazuh/blob/v4.3.4/CHANGELOG.md#v434)
+
+## [4.3.3]
+
+### Added
+
+- Update to Wazuh version [4.3.3](https://github.com/wazuh/wazuh/blob/v4.3.3/CHANGELOG.md#v433)
+
+## [4.3.2]
+
+### Added
+
+- Update to Wazuh version [4.3.2](https://github.com/wazuh/wazuh/blob/v4.3.2/CHANGELOG.md#v432)
+
+## [4.3.1]
+
+### Added
+
+- Update to Wazuh version [4.3.1](https://github.com/wazuh/wazuh/blob/v4.3.1/CHANGELOG.md#v431)
+
+## [4.3.0]
+
+### Added
+
+- Update to Wazuh version [4.3.0](https://github.com/wazuh/wazuh/blob/v4.3.0/CHANGELOG.md#v430)
+
+## [4.2.7]
+
+### Added
+
+- Update to Wazuh version [4.2.7](https://github.com/wazuh/wazuh/blob/v4.2.7/CHANGELOG.md#v427)
+
+## [4.2.6]
+
+### Added
+
+- Update to Wazuh version [4.2.6](https://github.com/wazuh/wazuh/blob/v4.2.6/CHANGELOG.md#v426)
+
+## [4.2.5]
+
+### Added
+
+- Update to Wazuh version [4.2.5](https://github.com/wazuh/wazuh/blob/v4.2.5/CHANGELOG.md#v425)
+
+## [4.2.4]
+
+### Added
+
+- Update to Wazuh version [4.2.4](https://github.com/wazuh/wazuh/blob/v4.2.4/CHANGELOG.md#v424)
+
+## [4.2.3]
+
+### Added
+
+- Update to Wazuh version [4.2.3](https://github.com/wazuh/wazuh/blob/v4.2.3/CHANGELOG.md#v423)
+
+## [4.2.2]
+
+### Added
+
+- Update to Wazuh version [4.2.2](https://github.com/wazuh/wazuh/blob/v4.2.2/CHANGELOG.md#v422)
+
+## [4.2.1]
+
+### Added
+
+- Update to Wazuh version [4.2.1](https://github.com/wazuh/wazuh/blob/v4.2.1/CHANGELOG.md#v421)
+
+## [4.2.0]
+
+### Added
+
+- Update to Wazuh version [4.2.0](https://github.com/wazuh/wazuh/blob/v4.2.0/CHANGELOG.md#v420)
+
+## [4.1.5]
+
+### Added
+
+- Update to Wazuh version [4.1.5](https://github.com/wazuh/wazuh/blob/v4.1.5/CHANGELOG.md#v415)
+
+## [4.1.1]
+
+### Added
+
+- Update to Wazuh version [4.1.1](https://github.com/wazuh/wazuh/blob/v4.1.1/CHANGELOG.md#v411)
+
+## [4.1.0]
+
+### Added
+
+- Update to Wazuh version [4.1.0](https://github.com/wazuh/wazuh/blob/v4.1.0/CHANGELOG.md#v410)
+- Use overlays to create multiple envs ([@xr09](https://github.com/xr09)) [PR#142](https://github.com/wazuh/wazuh-kubernetes/pull/142)
+
+## Fixed
+
+- Set DISABLE_INSTALL_DEMO_CONFIG ([@xr09](https://github.com/xr09)) [PR#146](https://github.com/wazuh/wazuh-kubernetes/pull/146)
+
+## [4.0.4]
+
+### Added
+
+- Update to Wazuh version [4.0.4_1.11.0](https://github.com/wazuh/wazuh/blob/v4.0.4/CHANGELOG.md#v404)
+
+## [4.0.3]
+
+### Added
+
+- Update to Wazuh version 4.0.3_1.11.0
+
+### Fixed
+
+- Specify `volumeBindingMode` on the storage class  ([@gwvandesteeg](https://github.com/gwvandesteeg)  [#116](https://github.com/wazuh/wazuh-kubernetes/issues/116))
+
+## [4.0.2]
+
+### Added
+
+- Update to Wazuh version 4.0.2_1.11.0
+- Support Opendistro for Elasticsearch v1.11.0
+
+## [4.0.1]
+
+### Added
+
+- Update to Wazuh version 4.0.1_1.11.0
+- Support Opendistro for Elasticsearch v1.11.0
+
+## [4.0.0]
+
+### Added
+
+- Update to Wazuh version 4.0.0_1.10.1
+- Support Opendistro for Elasticsearch v1.10.1
+- Use a single wazuh-manager-worker StatefulSet ([@rjmoseley](https://github.com/rjmoseley) [#106](https://github.com/wazuh/wazuh-kubernetes/pull/106))
+- Using Kubernetes secrets to store credentials ([@1stOfHisGame](https://github.com/1stOfHisGame) [#108](https://github.com/wazuh/wazuh-kubernetes/pull/108))
+
+## [v3.13.2]
+
+### Added
+
+- Update to Wazuh version 3.13.2_7.9.1
+
+### Fixed
+
+- Increased Kibana max-old-space-size ([@DFolchA](https://github.com/DFolchA)) [#98](https://github.com/wazuh/wazuh-kubernetes/pull/98)
+
+## [v3.13.1]
+
+### Added
+
+- Update to Wazuh version 3.13.1_7.8.0
+
+## [v3.13.0]
+
+### Added
+
+- Update to Wazuh version 3.13.0_7.7.1
+
+## [v3.12.3]
+
+### Added
+
+- Update to Wazuh version 3.12.3_7.6.2
+
+## [v3.12.2]
+
+### Added
+
+- Update to Wazuh version 3.12.2_7.6.2
+- Add reference to local-env branch on the readme ([@xr09](https://github.com/xr09)) [PR#82](https://github.com/wazuh/wazuh-kubernetes/pull/82)
+
+### Fixed
+
+- Path to elasticearch deployment yamls was outdated ([@jctello](https://github.com/jctello)) [PR#82](https://github.com/wazuh/wazuh-kubernetes/pull/84/commits/927b7dabc96d5c1c9f63981858661bba6206b6ef)
+
+## [v3.12.0]
+
+### Added
+
+- Update to Wazuh version 3.12.0_7.6.1
+
+## [v3.11.4]
+
+### Added
+
+- Update to Wazuh version 3.11.4_7.6.1
+
+## [v3.11.3]
+
+### Added
+
+- Update to Wazuh version 3.11.4_7.6.1
+
+## [v3.11.2]
+
+### Added
+
+- Update to Wazuh version 3.11.2_7.5.2
+
+## [v3.11.1]
+
+### Added
+
+- Update to Wazuh version 3.11.1_7.5.1
+
+## [v3.11.0]
+
+### Added
+
+- Update to Wazuh version 3.11.0_7.5.1
+
+## [v3.10.2]
+
+### Added
+
+- Update to Wazuh version 3.10.2_7.3.2
+
+## [v3.10.0]
+
+### Added
+
+- Update to Wazuh version 3.10.0_7.3.2
+
+## [v3.9.5]
+
+### Added
+
+- Update to Wazuh version 3.9.5_7.2.1
+
+### Changed
+
+- Changed default Nginx login credentials ([jm404](https://github.com/jm404)) [#8b5ec11](https://github.com/wazuh/wazuh-kubernetes/commit/8b5ec111354cc71deae33fbc7182275a29272024)
+
+- Changed resources limit for Wazuh Manager containers ([jm404](https://github.com/jm404)) [#ec6bc40](https://github.com/wazuh/wazuh-kubernetes/commit/ec6bc4020f8a4cfd3268a9947421bbe92a5808f1)
+
+### Removed
+
+- Deleted Logstash from repository ([jm404](https://github.com/jm404)) [#dae6c2f](https://github.com/wazuh/wazuh-kubernetes/commit/dae6c2f169b06d8c2534713bd8ec80b7ececc4dd)
+
+- Deleted Postfix volume from Wazuh Managers ([jm404](https://github.com/jm404)) [#29fdf65](https://github.com/wazuh/wazuh-kubernetes/commit/29fdf652e6a4306e76035ade2d89d018ca008226)
+
+## [v3.9.4]
+
+### Added
+
+- Update to Wazuh version 3.9.1_7.1.0
+
+### Removed
+
+- Deleted Logstash from repository ([jm404](https://github.com/jm404)) [#dae6c2f](https://github.com/wazuh/wazuh-kubernetes/commit/dae6c2f169b06d8c2534713bd8ec80b7ececc4dd)
+
+## [v3.9.1]
+
+- Update to Wazuh version 3.9.1_6.8.0
+
+## [v3.9.0]
+
+- Update to Wazuh version 3.9.0 ([#40](https://github.com/wazuh/wazuh-kubernetes/pull/38))
+
+### Changed
+
+- Use of Wazuh elasticsearch images ([manuasir](https://github.com/manuasir)) [#40](https://github.com/wazuh/wazuh-kubernetes/pull/40)
+
+### Fixed
+
+- Fix broken links of instructions.md ([#34](https://github.com/wazuh/wazuh-kubernetes/pull/34))
+
+
+## [v3.8.1]
+
+### Changed
+
+- Update to Wazuh v3.8.1. ([#25](https://github.com/wazuh/wazuh-kubernetes/pull/25))
+
+
+## [v3.8.0]
+
+### Changed
+
+- Upgrade Wazuh version 3.8.0. ([#23](https://github.com/wazuh/wazuh-kubernetes/pull/23))
+
+## [v3.7.2]
+
+### Added
+
+- Add directory structre. ([#15](https://github.com/wazuh/wazuh-kubernetes/pull/15))
+
+### Changed
+
+- Update wazuh images to 3.7.2 6.5.4. ([#15](https://github.com/wazuh/wazuh-kubernetes/pull/15))
+
+## [v3.7.1]
+
+## [v3.7.0]
+
+### Added
+
+- Initial version
diff --git a/LICENSE b/LICENSE
new file mode 100644
index 0000000000000000000000000000000000000000..d159169d1050894d3ea3b98e1c965c4058208fe1
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,339 @@
+                    GNU GENERAL PUBLIC LICENSE
+                       Version 2, June 1991
+
+ Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+                            Preamble
+
+  The licenses for most software are designed to take away your
+freedom to share and change it.  By contrast, the GNU General Public
+License is intended to guarantee your freedom to share and change free
+software--to make sure the software is free for all its users.  This
+General Public License applies to most of the Free Software
+Foundation's software and to any other program whose authors commit to
+using it.  (Some other Free Software Foundation software is covered by
+the GNU Lesser General Public License instead.)  You can apply it to
+your programs, too.
+
+  When we speak of free software, we are referring to freedom, not
+price.  Our General Public Licenses are designed to make sure that you
+have the freedom to distribute copies of free software (and charge for
+this service if you wish), that you receive source code or can get it
+if you want it, that you can change the software or use pieces of it
+in new free programs; and that you know you can do these things.
+
+  To protect your rights, we need to make restrictions that forbid
+anyone to deny you these rights or to ask you to surrender the rights.
+These restrictions translate to certain responsibilities for you if you
+distribute copies of the software, or if you modify it.
+
+  For example, if you distribute copies of such a program, whether
+gratis or for a fee, you must give the recipients all the rights that
+you have.  You must make sure that they, too, receive or can get the
+source code.  And you must show them these terms so they know their
+rights.
+
+  We protect your rights with two steps: (1) copyright the software, and
+(2) offer you this license which gives you legal permission to copy,
+distribute and/or modify the software.
+
+  Also, for each author's protection and ours, we want to make certain
+that everyone understands that there is no warranty for this free
+software.  If the software is modified by someone else and passed on, we
+want its recipients to know that what they have is not the original, so
+that any problems introduced by others will not reflect on the original
+authors' reputations.
+
+  Finally, any free program is threatened constantly by software
+patents.  We wish to avoid the danger that redistributors of a free
+program will individually obtain patent licenses, in effect making the
+program proprietary.  To prevent this, we have made it clear that any
+patent must be licensed for everyone's free use or not licensed at all.
+
+  The precise terms and conditions for copying, distribution and
+modification follow.
+
+                    GNU GENERAL PUBLIC LICENSE
+   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
+
+  0. This License applies to any program or other work which contains
+a notice placed by the copyright holder saying it may be distributed
+under the terms of this General Public License.  The "Program", below,
+refers to any such program or work, and a "work based on the Program"
+means either the Program or any derivative work under copyright law:
+that is to say, a work containing the Program or a portion of it,
+either verbatim or with modifications and/or translated into another
+language.  (Hereinafter, translation is included without limitation in
+the term "modification".)  Each licensee is addressed as "you".
+
+Activities other than copying, distribution and modification are not
+covered by this License; they are outside its scope.  The act of
+running the Program is not restricted, and the output from the Program
+is covered only if its contents constitute a work based on the
+Program (independent of having been made by running the Program).
+Whether that is true depends on what the Program does.
+
+  1. You may copy and distribute verbatim copies of the Program's
+source code as you receive it, in any medium, provided that you
+conspicuously and appropriately publish on each copy an appropriate
+copyright notice and disclaimer of warranty; keep intact all the
+notices that refer to this License and to the absence of any warranty;
+and give any other recipients of the Program a copy of this License
+along with the Program.
+
+You may charge a fee for the physical act of transferring a copy, and
+you may at your option offer warranty protection in exchange for a fee.
+
+  2. You may modify your copy or copies of the Program or any portion
+of it, thus forming a work based on the Program, and copy and
+distribute such modifications or work under the terms of Section 1
+above, provided that you also meet all of these conditions:
+
+    a) You must cause the modified files to carry prominent notices
+    stating that you changed the files and the date of any change.
+
+    b) You must cause any work that you distribute or publish, that in
+    whole or in part contains or is derived from the Program or any
+    part thereof, to be licensed as a whole at no charge to all third
+    parties under the terms of this License.
+
+    c) If the modified program normally reads commands interactively
+    when run, you must cause it, when started running for such
+    interactive use in the most ordinary way, to print or display an
+    announcement including an appropriate copyright notice and a
+    notice that there is no warranty (or else, saying that you provide
+    a warranty) and that users may redistribute the program under
+    these conditions, and telling the user how to view a copy of this
+    License.  (Exception: if the Program itself is interactive but
+    does not normally print such an announcement, your work based on
+    the Program is not required to print an announcement.)
+
+These requirements apply to the modified work as a whole.  If
+identifiable sections of that work are not derived from the Program,
+and can be reasonably considered independent and separate works in
+themselves, then this License, and its terms, do not apply to those
+sections when you distribute them as separate works.  But when you
+distribute the same sections as part of a whole which is a work based
+on the Program, the distribution of the whole must be on the terms of
+this License, whose permissions for other licensees extend to the
+entire whole, and thus to each and every part regardless of who wrote it.
+
+Thus, it is not the intent of this section to claim rights or contest
+your rights to work written entirely by you; rather, the intent is to
+exercise the right to control the distribution of derivative or
+collective works based on the Program.
+
+In addition, mere aggregation of another work not based on the Program
+with the Program (or with a work based on the Program) on a volume of
+a storage or distribution medium does not bring the other work under
+the scope of this License.
+
+  3. You may copy and distribute the Program (or a work based on it,
+under Section 2) in object code or executable form under the terms of
+Sections 1 and 2 above provided that you also do one of the following:
+
+    a) Accompany it with the complete corresponding machine-readable
+    source code, which must be distributed under the terms of Sections
+    1 and 2 above on a medium customarily used for software interchange; or,
+
+    b) Accompany it with a written offer, valid for at least three
+    years, to give any third party, for a charge no more than your
+    cost of physically performing source distribution, a complete
+    machine-readable copy of the corresponding source code, to be
+    distributed under the terms of Sections 1 and 2 above on a medium
+    customarily used for software interchange; or,
+
+    c) Accompany it with the information you received as to the offer
+    to distribute corresponding source code.  (This alternative is
+    allowed only for noncommercial distribution and only if you
+    received the program in object code or executable form with such
+    an offer, in accord with Subsection b above.)
+
+The source code for a work means the preferred form of the work for
+making modifications to it.  For an executable work, complete source
+code means all the source code for all modules it contains, plus any
+associated interface definition files, plus the scripts used to
+control compilation and installation of the executable.  However, as a
+special exception, the source code distributed need not include
+anything that is normally distributed (in either source or binary
+form) with the major components (compiler, kernel, and so on) of the
+operating system on which the executable runs, unless that component
+itself accompanies the executable.
+
+If distribution of executable or object code is made by offering
+access to copy from a designated place, then offering equivalent
+access to copy the source code from the same place counts as
+distribution of the source code, even though third parties are not
+compelled to copy the source along with the object code.
+
+  4. You may not copy, modify, sublicense, or distribute the Program
+except as expressly provided under this License.  Any attempt
+otherwise to copy, modify, sublicense or distribute the Program is
+void, and will automatically terminate your rights under this License.
+However, parties who have received copies, or rights, from you under
+this License will not have their licenses terminated so long as such
+parties remain in full compliance.
+
+  5. You are not required to accept this License, since you have not
+signed it.  However, nothing else grants you permission to modify or
+distribute the Program or its derivative works.  These actions are
+prohibited by law if you do not accept this License.  Therefore, by
+modifying or distributing the Program (or any work based on the
+Program), you indicate your acceptance of this License to do so, and
+all its terms and conditions for copying, distributing or modifying
+the Program or works based on it.
+
+  6. Each time you redistribute the Program (or any work based on the
+Program), the recipient automatically receives a license from the
+original licensor to copy, distribute or modify the Program subject to
+these terms and conditions.  You may not impose any further
+restrictions on the recipients' exercise of the rights granted herein.
+You are not responsible for enforcing compliance by third parties to
+this License.
+
+  7. If, as a consequence of a court judgment or allegation of patent
+infringement or for any other reason (not limited to patent issues),
+conditions are imposed on you (whether by court order, agreement or
+otherwise) that contradict the conditions of this License, they do not
+excuse you from the conditions of this License.  If you cannot
+distribute so as to satisfy simultaneously your obligations under this
+License and any other pertinent obligations, then as a consequence you
+may not distribute the Program at all.  For example, if a patent
+license would not permit royalty-free redistribution of the Program by
+all those who receive copies directly or indirectly through you, then
+the only way you could satisfy both it and this License would be to
+refrain entirely from distribution of the Program.
+
+If any portion of this section is held invalid or unenforceable under
+any particular circumstance, the balance of the section is intended to
+apply and the section as a whole is intended to apply in other
+circumstances.
+
+It is not the purpose of this section to induce you to infringe any
+patents or other property right claims or to contest validity of any
+such claims; this section has the sole purpose of protecting the
+integrity of the free software distribution system, which is
+implemented by public license practices.  Many people have made
+generous contributions to the wide range of software distributed
+through that system in reliance on consistent application of that
+system; it is up to the author/donor to decide if he or she is willing
+to distribute software through any other system and a licensee cannot
+impose that choice.
+
+This section is intended to make thoroughly clear what is believed to
+be a consequence of the rest of this License.
+
+  8. If the distribution and/or use of the Program is restricted in
+certain countries either by patents or by copyrighted interfaces, the
+original copyright holder who places the Program under this License
+may add an explicit geographical distribution limitation excluding
+those countries, so that distribution is permitted only in or among
+countries not thus excluded.  In such case, this License incorporates
+the limitation as if written in the body of this License.
+
+  9. The Free Software Foundation may publish revised and/or new versions
+of the General Public License from time to time.  Such new versions will
+be similar in spirit to the present version, but may differ in detail to
+address new problems or concerns.
+
+Each version is given a distinguishing version number.  If the Program
+specifies a version number of this License which applies to it and "any
+later version", you have the option of following the terms and conditions
+either of that version or of any later version published by the Free
+Software Foundation.  If the Program does not specify a version number of
+this License, you may choose any version ever published by the Free Software
+Foundation.
+
+  10. If you wish to incorporate parts of the Program into other free
+programs whose distribution conditions are different, write to the author
+to ask for permission.  For software which is copyrighted by the Free
+Software Foundation, write to the Free Software Foundation; we sometimes
+make exceptions for this.  Our decision will be guided by the two goals
+of preserving the free status of all derivatives of our free software and
+of promoting the sharing and reuse of software generally.
+
+                            NO WARRANTY
+
+  11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
+FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW.  EXCEPT WHEN
+OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
+PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
+OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK AS
+TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE
+PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
+REPAIR OR CORRECTION.
+
+  12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
+WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
+REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
+INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
+OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
+TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
+YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
+PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
+POSSIBILITY OF SUCH DAMAGES.
+
+                     END OF TERMS AND CONDITIONS
+
+            How to Apply These Terms to Your New Programs
+
+  If you develop a new program, and you want it to be of the greatest
+possible use to the public, the best way to achieve this is to make it
+free software which everyone can redistribute and change under these terms.
+
+  To do so, attach the following notices to the program.  It is safest
+to attach them to the start of each source file to most effectively
+convey the exclusion of warranty; and each file should have at least
+the "copyright" line and a pointer to where the full notice is found.
+
+    <one line to give the program's name and a brief idea of what it does.>
+    Copyright (C) <year>  <name of author>
+
+    This program is free software; you can redistribute it and/or modify
+    it under the terms of the GNU General Public License as published by
+    the Free Software Foundation; either version 2 of the License, or
+    (at your option) any later version.
+
+    This program is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+    GNU General Public License for more details.
+
+    You should have received a copy of the GNU General Public License along
+    with this program; if not, write to the Free Software Foundation, Inc.,
+    51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+
+Also add information on how to contact you by electronic and paper mail.
+
+If the program is interactive, make it output a short notice like this
+when it starts in an interactive mode:
+
+    Gnomovision version 69, Copyright (C) year name of author
+    Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
+    This is free software, and you are welcome to redistribute it
+    under certain conditions; type `show c' for details.
+
+The hypothetical commands `show w' and `show c' should show the appropriate
+parts of the General Public License.  Of course, the commands you use may
+be called something other than `show w' and `show c'; they could even be
+mouse-clicks or menu items--whatever suits your program.
+
+You should also get your employer (if you work as a programmer) or your
+school, if any, to sign a "copyright disclaimer" for the program, if
+necessary.  Here is a sample; alter the names:
+
+  Yoyodyne, Inc., hereby disclaims all copyright interest in the program
+  `Gnomovision' (which makes passes at compilers) written by James Hacker.
+
+  <signature of Ty Coon>, 1 April 1989
+  Ty Coon, President of Vice
+
+This General Public License does not permit incorporating your program into
+proprietary programs.  If your program is a subroutine library, you may
+consider it more useful to permit linking proprietary applications with the
+library.  If this is what you want to do, use the GNU Lesser General
+Public License instead of this License.
diff --git a/README.md b/README.md
index 5990695440a5393344b2b4b7269daff3f1f242e9..8616fedce4fa67a3f9dd3f3319ffee98cc61a221 100644
--- a/README.md
+++ b/README.md
@@ -1,92 +1,175 @@
-# Scaleway Wazuh EDR
+# Scaleway implementation for Wazuh Kubernetes
 
+# Quick start
 
+## Setup the kubernetes cluster
 
-## Getting started
+Aller sur https://console.scaleway.com/kapsule/clusters, créer un cluster avec 1 noeuds "Development" (DEV1-L).
+Ne pas installer de contrôleur "ingress".
 
-To make it easy for you to get started with GitLab, here's a list of recommended next steps.
+## Connect to the kubernetes cluster
 
-Already a pro? Just edit this README.md and make it your own. Want to make it easy? [Use the template at the bottom](#editing-this-readme)!
+Enregistrer le fichier "Kubeconfig" propre à votre cluster avec le chemin $HOME/.kube/config (config est le nom du fichier, pas un dossier), ainsi les commandes kubectl et helm permettront de manipuler votre cluster directement.
 
-## Add your files
+`export KUBECONFIG=/home/nathan/Downloads/kubeconfig-k8s-wazuh.yaml`
 
-- [ ] [Create](https://docs.gitlab.com/ee/user/project/repository/web_editor.html#create-a-file) or [upload](https://docs.gitlab.com/ee/user/project/repository/web_editor.html#upload-a-file) files
-- [ ] [Add files using the command line](https://docs.gitlab.com/ee/gitlab-basics/add-file.html#add-a-file-using-the-command-line) or push an existing Git repository with the following command:
+## Install traefik  loadbalancer and certificate manager
 
-```
-cd existing_repo
-git remote add origin https://forge.grandlyon.com/systemes-dinformation/alpha/pocs/scaleway-wazuh-edr.git
-git branch -M main
-git push -uf origin main
-```
-
-## Integrate with your tools
-
-- [ ] [Set up project integrations](https://forge.grandlyon.com/systemes-dinformation/alpha/pocs/scaleway-wazuh-edr/-/settings/integrations)
-
-## Collaborate with your team
-
-- [ ] [Invite team members and collaborators](https://docs.gitlab.com/ee/user/project/members/)
-- [ ] [Create a new merge request](https://docs.gitlab.com/ee/user/project/merge_requests/creating_merge_requests.html)
-- [ ] [Automatically close issues from merge requests](https://docs.gitlab.com/ee/user/project/issues/managing_issues.html#closing-issues-automatically)
-- [ ] [Enable merge request approvals](https://docs.gitlab.com/ee/user/project/merge_requests/approvals/)
-- [ ] [Automatically merge when pipeline succeeds](https://docs.gitlab.com/ee/user/project/merge_requests/merge_when_pipeline_succeeds.html)
-
-## Test and Deploy
+The configuration allowing to use Let's Encrypt :
 
-Use the built-in continuous integration in GitLab.
-
-- [ ] [Get started with GitLab CI/CD](https://docs.gitlab.com/ee/ci/quick_start/index.html)
-- [ ] [Analyze your code for known vulnerabilities with Static Application Security Testing(SAST)](https://docs.gitlab.com/ee/user/application_security/sast/)
-- [ ] [Deploy to Kubernetes, Amazon EC2, or Amazon ECS using Auto Deploy](https://docs.gitlab.com/ee/topics/autodevops/requirements.html)
-- [ ] [Use pull-based deployments for improved Kubernetes management](https://docs.gitlab.com/ee/user/clusters/agent/)
-- [ ] [Set up protected environments](https://docs.gitlab.com/ee/ci/environments/protected_environments.html)
-
-***
-
-# Editing this README
-
-When you're ready to make this README your own, just edit this file and use the handy template below (or feel free to structure it however you want - this is just a starting point!). Thank you to [makeareadme.com](https://www.makeareadme.com/) for this template.
-
-## Suggestions for a good README
-Every project is different, so consider which of these sections apply to yours. The sections used in the template are suggestions for most open source projects. Also keep in mind that while a README can be too long and detailed, too long is better than too short. If you think your README is too long, consider utilizing another form of documentation rather than cutting out information.
+```bash
+helm install --namespace kube-system 
+helm install traefik traefik/traefik
+```
 
-## Name
-Choose a self-explaining name for your project.
+## Expose the kubernetes cluster with Traefik
 
-## Description
-Let people know what your project can do specifically. Provide context and add a link to any reference visitors might be unfamiliar with. A list of Features or a Background subsection can also be added here. If there are alternatives to your project, this is a good place to list differentiating factors.
+`kubectl apply -f https://github.com/cert-manager/cert-manager/releases/download/v1.10.1/cert-manager.yaml`
 
-## Badges
-On some READMEs, you may see small images that convey metadata, such as whether or not all the tests are passing for the project. You can use Shields to add some to your README. Many services also have instructions for adding a badge.
+## Create 2 domain records in Scaleway
 
-## Visuals
-Depending on what you are making, it can be a good idea to include screenshots or even a video (you'll frequently see GIFs rather than actual videos). Tools like ttygif can help, but check out Asciinema for a more sophisticated method.
+- Name    : *.wazuh
+- Type    : A
+- Dynamic : None
+- TTL     : 3600
+- Data    : 51.158.56.33   <--- Use the command : `kubectl get svc -n kube-system`
 
-## Installation
-Within a particular ecosystem, there may be a common way of installing things, such as using Yarn, NuGet, or Homebrew. However, consider the possibility that whoever is reading your README is a novice and would like more guidance. Listing specific steps helps remove ambiguity and gets people to using your project as quickly as possible. If it only runs in a specific context like a particular programming language version or operating system or has dependencies that have to be installed manually, also add a Requirements subsection.
+- Name    : *.wazuh
+- Type    : A
+- Dynamic : None
+- TTL     : 3600
+- Data    : 51.158.56.33   <--- Use the command : `kubectl get svc -n kube-system`
 
-## Usage
-Use examples liberally, and show the expected output if you can. It's helpful to have inline the smallest example of usage that you can demonstrate, while providing links to more sophisticated examples if they are too long to reasonably include in the README.
+## Deploy your configuration
 
-## Support
-Tell people where they can go to for help. It can be any combination of an issue tracker, a chat room, an email address, etc.
+`kubectl apply -k envs/kapsule/`
 
-## Roadmap
-If you have ideas for releases in the future, it is a good idea to list them in the README.
+## Useful commands 
 
-## Contributing
-State if you are open to contributions and what your requirements are for accepting them.
+- kubectl get pods --namespace wazuh
+- kubectl replace -k envs/kapsule
 
-For people who want to make changes to your project, it's helpful to have some documentation on how to get started. Perhaps there is a script that they should run or some environment variables that they need to set. Make these steps explicit. These instructions could also be useful to your future self.
+## Useful links
 
-You can also document commands to lint the code or run tests. These steps help to ensure high code quality and reduce the likelihood that the changes inadvertently break something. Having instructions for running tests is especially helpful if it requires external setup, such as starting a Selenium server for testing in a browser.
+- https://cert-manager.io/docs/troubleshooting/
 
-## Authors and acknowledgment
-Show your appreciation to those who have contributed to the project.
+## Script
 
-## License
-For open source projects, say how it is licensed.
+```bash
+export KUBECONFIG=/home/nathan/Downloads/kubeconfig-k8s-wazuh.yaml
+helm install traefik traefik/traefik
+kubectl apply -f https://github.com/cert-manager/cert-manager/releases/download/v1.10.1/cert-manager.yaml
+./wazuh/certs/indexer_cluster/generate_certs.sh 
+./wazuh/certs/dashboard_http/generate_certs.sh 
+kubectl get svc -n kube-system
+kubectl get svc -n wazuh
+```
 
-## Project status
-If you have run out of energy or time for your project, put a note at the top of the README saying that development has slowed down or stopped completely. Someone may choose to fork your project or volunteer to step in as a maintainer or owner, allowing your project to keep going. You can also make an explicit request for maintainers.
+# Wazuh Kubernetes - Default product documentation
+
+[![Slack](https://img.shields.io/badge/slack-join-blue.svg)](https://wazuh.com/community/join-us-on-slack/)
+[![Email](https://img.shields.io/badge/email-join-blue.svg)](https://groups.google.com/forum/#!forum/wazuh)
+[![Documentation](https://img.shields.io/badge/docs-view-green.svg)](https://documentation.wazuh.com)
+[![Documentation](https://img.shields.io/badge/web-view-green.svg)](https://wazuh.com)
+
+Deploy a Wazuh cluster with a basic indexer and dashboard stack on Kubernetes.
+
+## Branches
+
+* `master` branch contains the latest code, be aware of possible bugs on this branch.
+* `stable` branch on correspond to the last Wazuh stable version.
+
+
+## Documentation
+
+The [instructions.md](instructions.md) file describes how to deploy Wazuh on Kubernetes.
+
+## Directory structure
+
+    ├── CHANGELOG.md
+    ├── cleanup.md
+    ├── envs
+    │   ├── eks
+    │   │   ├── dashboard-resources.yaml
+    │   │   ├── indexer-resources.yaml
+    │   │   ├── kustomization.yml
+    │   │   ├── storage-class.yaml
+    │   │   ├── wazuh-master-resources.yaml
+    │   │   └── wazuh-worker-resources.yaml
+    │   └── local-env
+    │       ├── indexer-resources.yaml
+    │       ├── kustomization.yml
+    │       ├── storage-class.yaml
+    │       └── wazuh-resources.yaml
+    ├── instructions.md
+    ├── LICENSE
+    ├── local-environment.md
+    ├── README.md
+    ├── upgrade.md
+    ├── VERSION
+    └── wazuh
+        ├── base
+        │   ├── storage-class.yaml
+        │   └── wazuh-ns.yaml
+        ├── certs
+        │   ├── dashboard_http
+        │   │   └── generate_certs.sh
+        │   └── indexer_cluster
+        │       └── generate_certs.sh
+        ├── indexer_stack
+        │   ├── wazuh-dashboard
+        │   │   ├── dashboard_conf
+        │   │   │   └── opensearch_dashboards.yml
+        │   │   ├── dashboard-deploy.yaml
+        │   │   └── dashboard-svc.yaml
+        │   └── wazuh-indexer
+        │       ├── cluster
+        │       │   ├── indexer-api-svc.yaml
+        │       │   └── indexer-sts.yaml
+        │       ├── indexer_conf
+        │       │   ├── internal_users.yml
+        │       │   └── opensearch.yml
+        │       └── indexer-svc.yaml
+        ├── kustomization.yml
+        ├── secrets
+        │   ├── dashboard-cred-secret.yaml
+        │   ├── indexer-cred-secret.yaml
+        │   ├── wazuh-api-cred-secret.yaml
+        │   ├── wazuh-authd-pass-secret.yaml
+        │   └── wazuh-cluster-key-secret.yaml
+        └── wazuh_managers
+            ├── wazuh-cluster-svc.yaml
+            ├── wazuh_conf
+            │   ├── master.conf
+            │   └── worker.conf
+            ├── wazuh-master-sts.yaml
+            ├── wazuh-master-svc.yaml
+            ├── wazuh-workers-svc.yaml
+            └── wazuh-worker-sts.yaml
+
+
+## Branches
+
+* `master` branch contains the latest code, be aware of possible bugs on this branch.
+* `stable` branch on correspond to the last Wazuh stable version.
+
+## Local development
+
+To deploy a cluster on your local environment (like Minikube, Kind or Microk8s) read the instructions on [local-environment.md](local-environment.md).
+
+## Contribute
+
+If you want to contribute to our project please don't hesitate to send a pull request. You can also join our users [mailing list](https://groups.google.com/d/forum/wazuh) or the [Wazuh Slack community channel](https://wazuh.com/community/join-us-on-slack/) to ask questions and participate in discussions.
+
+## Credits and Thank you
+
+Based on the previous work from JPLachance [coveo/wazuh-kubernetes](https://github.com/coveo/wazuh-kubernetes) (2018/11/22).
+
+## License and copyright
+
+WAZUH
+Copyright (C) 2016, Wazuh Inc.  (License GPLv2)
+
+## References
+
+* [Wazuh website](http://wazuh.com)
diff --git a/VERSION b/VERSION
new file mode 100644
index 0000000000000000000000000000000000000000..95f1da399229b14863a2d21378ad76c992e7c3b6
--- /dev/null
+++ b/VERSION
@@ -0,0 +1,2 @@
+VERSION="4.3.10"
+REVISION="40323"
diff --git a/cleanup.md b/cleanup.md
new file mode 100644
index 0000000000000000000000000000000000000000..ef741e250588f6bc76bf88dd74dd9df6f1491ae4
--- /dev/null
+++ b/cleanup.md
@@ -0,0 +1,27 @@
+# Clean up
+
+Steps to perform a clean up of our deployments, services and volumes used in our environment.
+
+## Delete the cluster
+
+To delete your Wazuh cluster just use `kubectl delete -k envs/<ENVIRONMENT>` from this repository directory. (being <ENVIRONMENT> one of `EKS` or `local-env`)
+
+## Delete the persistent volumes manually.
+
+Since we use `reclaimPolicy: Retain` in the storage class definition you must delete volumes manually if you want to clean these as well.
+
+
+```
+ubuntu@k8s-control-server:~$ kubectl get persistentvolume
+NAME                                       CAPACITY   ACCESS MODES   RECLAIM POLICY   STATUS        CLAIM                                                         STORAGECLASS             REASON    AGE
+pvc-024466da-f7c5-11e8-b9b8-022ada63b4ac   10Gi       RWO            Retain           Released      wazuh/wazuh-manager-worker-wazuh-manager-worker-1             wazuh-storage                      6d
+pvc-b3226ad3-f7c4-11e8-b9b8-022ada63b4ac   30Gi       RWO            Retain           Bound         wazuh/wazuh-elasticsearch-wazuh-elasticsearch-0               wazuh-storage                      6d
+pvc-fb821971-f7c4-11e8-b9b8-022ada63b4ac   10Gi       RWO            Retain           Released      wazuh/wazuh-manager-master-wazuh-manager-master-0             wazuh-storage                      6d
+pvc-ffe7bf66-f7c4-11e8-b9b8-022ada63b4ac   10Gi       RWO            Retain           Released      wazuh/wazuh-manager-worker-wazuh-manager-worker-0             wazuh-storage                      6d
+```
+
+```
+ubuntu@k8s-control-server:~$ kubectl delete persistentvolume pvc-b3226ad3-f7c4-11e8-b9b8-022ada63b4ac
+```
+
+Once these steps are completed, our Wazuh deployment will have been removed from the Kubernetes environment.
diff --git a/envs/eks/dashboard-resources.yaml b/envs/eks/dashboard-resources.yaml
new file mode 100644
index 0000000000000000000000000000000000000000..afff95ae2cf0c035a95371e74755e782de3eea56
--- /dev/null
+++ b/envs/eks/dashboard-resources.yaml
@@ -0,0 +1,24 @@
+# Copyright (C) 2019, Wazuh Inc.
+#
+# This program is a free software; you can redistribute it
+# and/or modify it under the terms of the GNU General Public
+# License (version 2) as published by the FSF - Free Software
+# Foundation.
+
+apiVersion: apps/v1
+kind: Deployment
+metadata:
+  name: wazuh-dashboard
+  namespace: wazuh
+spec:
+  template:
+    spec:
+      containers:
+        - name: wazuh-dashboard
+          resources:
+            requests:
+              cpu: 200m
+              memory: 512Mi
+            limits:
+              cpu: 400m
+              memory: 2Gi
diff --git a/envs/eks/indexer-resources.yaml b/envs/eks/indexer-resources.yaml
new file mode 100644
index 0000000000000000000000000000000000000000..85ee2fde10c71c330286e7833f03365944493479
--- /dev/null
+++ b/envs/eks/indexer-resources.yaml
@@ -0,0 +1,35 @@
+# Copyright (C) 2019, Wazuh Inc.
+#
+# This program is a free software; you can redistribute it
+# and/or modify it under the terms of the GNU General Public
+# License (version 2) as published by the FSF - Free Software
+# Foundation.
+
+apiVersion: apps/v1
+kind: StatefulSet
+metadata:
+  name: wazuh-indexer
+  namespace: wazuh
+spec:
+  template:
+    spec:
+      containers:
+        - name: wazuh-indexer
+          resources:
+            requests:
+              cpu: 500m
+              memory: 1Gi
+            limits:
+              cpu: 1
+              memory: 2Gi
+  volumeClaimTemplates:
+    - metadata:
+        name: wazuh-indexer
+        namespace: indexer-cluster
+      spec:
+        accessModes:
+          - ReadWriteOnce
+        storageClassName: wazuh-storage
+        resources:
+          requests:
+            storage: 10Gi
diff --git a/envs/eks/kustomization.yml b/envs/eks/kustomization.yml
new file mode 100644
index 0000000000000000000000000000000000000000..cb0470526008c27473da72fda7ae221d0abac6c8
--- /dev/null
+++ b/envs/eks/kustomization.yml
@@ -0,0 +1,15 @@
+# Copyright (C) 2019, Wazuh Inc.
+#
+# This program is a free software; you can redistribute it
+# and/or modify it under the terms of the GNU General Public
+# License (version 2) as published by the FSF - Free Software
+# Foundation.
+
+bases:
+  - ../../wazuh
+patches:
+  - storage-class.yaml
+  - indexer-resources.yaml
+  - dashboard-resources.yaml
+  - wazuh-master-resources.yaml
+  - wazuh-worker-resources.yaml
diff --git a/envs/eks/storage-class.yaml b/envs/eks/storage-class.yaml
new file mode 100644
index 0000000000000000000000000000000000000000..4842281912ba8e0ff806d9ec0325a04ffccd27c7
--- /dev/null
+++ b/envs/eks/storage-class.yaml
@@ -0,0 +1,19 @@
+# Copyright (C) 2019, Wazuh Inc.
+#
+# This program is a free software; you can redistribute it
+# and/or modify it under the terms of the GNU General Public
+# License (version 2) as published by the FSF - Free Software
+# Foundation.
+
+# Wazuh StorageClass
+
+apiVersion: storage.k8s.io/v1
+kind: StorageClass
+metadata:
+  name: wazuh-storage
+provisioner: kubernetes.io/aws-ebs
+parameters:
+  encrypted: 'true'
+  type: gp2
+volumeBindingMode: WaitForFirstConsumer
+reclaimPolicy: Retain  # Useful in case you delete the PersistentVolumeClaim
diff --git a/envs/eks/wazuh-master-resources.yaml b/envs/eks/wazuh-master-resources.yaml
new file mode 100644
index 0000000000000000000000000000000000000000..54ac774ff900524ecb328eff3685f32350e71558
--- /dev/null
+++ b/envs/eks/wazuh-master-resources.yaml
@@ -0,0 +1,35 @@
+# Copyright (C) 2019, Wazuh Inc.
+#
+# This program is a free software; you can redistribute it
+# and/or modify it under the terms of the GNU General Public
+# License (version 2) as published by the FSF - Free Software
+# Foundation.
+
+apiVersion: apps/v1
+kind: StatefulSet
+metadata:
+  name: wazuh-manager-master
+  namespace: wazuh
+spec:
+  template:
+    spec:
+      containers:
+        - name: wazuh-manager
+          resources:
+            requests:
+              cpu: 1
+              memory: 1Gi
+            limits:
+              cpu: 2
+              memory: 2Gi
+  volumeClaimTemplates:
+    - metadata:
+        name: wazuh-manager-master
+        namespace: wazuh
+      spec:
+        accessModes:
+          - ReadWriteOnce
+        storageClassName: wazuh-storage
+        resources:
+          requests:
+            storage: 50Gi
diff --git a/envs/eks/wazuh-worker-resources.yaml b/envs/eks/wazuh-worker-resources.yaml
new file mode 100644
index 0000000000000000000000000000000000000000..668c3ff57d6e31f27eaba103d4e49f3d1d253747
--- /dev/null
+++ b/envs/eks/wazuh-worker-resources.yaml
@@ -0,0 +1,35 @@
+# Copyright (C) 2019, Wazuh Inc.
+#
+# This program is a free software; you can redistribute it
+# and/or modify it under the terms of the GNU General Public
+# License (version 2) as published by the FSF - Free Software
+# Foundation.
+
+apiVersion: apps/v1
+kind: StatefulSet
+metadata:
+  name: wazuh-manager-worker
+  namespace: wazuh
+spec:
+  template:
+    spec:
+      containers:
+        - name: wazuh-manager
+          resources:
+            requests:
+              cpu: 1
+              memory: 1Gi
+            limits:
+              cpu: 2
+              memory: 2Gi
+  volumeClaimTemplates:
+    - metadata:
+        name: wazuh-manager-worker
+        namespace: wazuh
+      spec:
+        accessModes:
+          - ReadWriteOnce
+        storageClassName: wazuh-storage
+        resources:
+          requests:
+            storage: 50Gi
diff --git a/envs/kapsule/dashboard-resources.yaml b/envs/kapsule/dashboard-resources.yaml
new file mode 100644
index 0000000000000000000000000000000000000000..afff95ae2cf0c035a95371e74755e782de3eea56
--- /dev/null
+++ b/envs/kapsule/dashboard-resources.yaml
@@ -0,0 +1,24 @@
+# Copyright (C) 2019, Wazuh Inc.
+#
+# This program is a free software; you can redistribute it
+# and/or modify it under the terms of the GNU General Public
+# License (version 2) as published by the FSF - Free Software
+# Foundation.
+
+apiVersion: apps/v1
+kind: Deployment
+metadata:
+  name: wazuh-dashboard
+  namespace: wazuh
+spec:
+  template:
+    spec:
+      containers:
+        - name: wazuh-dashboard
+          resources:
+            requests:
+              cpu: 200m
+              memory: 512Mi
+            limits:
+              cpu: 400m
+              memory: 2Gi
diff --git a/envs/kapsule/indexer-resources.yaml b/envs/kapsule/indexer-resources.yaml
new file mode 100644
index 0000000000000000000000000000000000000000..85ee2fde10c71c330286e7833f03365944493479
--- /dev/null
+++ b/envs/kapsule/indexer-resources.yaml
@@ -0,0 +1,35 @@
+# Copyright (C) 2019, Wazuh Inc.
+#
+# This program is a free software; you can redistribute it
+# and/or modify it under the terms of the GNU General Public
+# License (version 2) as published by the FSF - Free Software
+# Foundation.
+
+apiVersion: apps/v1
+kind: StatefulSet
+metadata:
+  name: wazuh-indexer
+  namespace: wazuh
+spec:
+  template:
+    spec:
+      containers:
+        - name: wazuh-indexer
+          resources:
+            requests:
+              cpu: 500m
+              memory: 1Gi
+            limits:
+              cpu: 1
+              memory: 2Gi
+  volumeClaimTemplates:
+    - metadata:
+        name: wazuh-indexer
+        namespace: indexer-cluster
+      spec:
+        accessModes:
+          - ReadWriteOnce
+        storageClassName: wazuh-storage
+        resources:
+          requests:
+            storage: 10Gi
diff --git a/envs/kapsule/kustomization.yml b/envs/kapsule/kustomization.yml
new file mode 100644
index 0000000000000000000000000000000000000000..cb0470526008c27473da72fda7ae221d0abac6c8
--- /dev/null
+++ b/envs/kapsule/kustomization.yml
@@ -0,0 +1,15 @@
+# Copyright (C) 2019, Wazuh Inc.
+#
+# This program is a free software; you can redistribute it
+# and/or modify it under the terms of the GNU General Public
+# License (version 2) as published by the FSF - Free Software
+# Foundation.
+
+bases:
+  - ../../wazuh
+patches:
+  - storage-class.yaml
+  - indexer-resources.yaml
+  - dashboard-resources.yaml
+  - wazuh-master-resources.yaml
+  - wazuh-worker-resources.yaml
diff --git a/envs/kapsule/storage-class.yaml b/envs/kapsule/storage-class.yaml
new file mode 100644
index 0000000000000000000000000000000000000000..e1b40181ffcdf7c655c9245002bb17cf6297ebbd
--- /dev/null
+++ b/envs/kapsule/storage-class.yaml
@@ -0,0 +1,17 @@
+# Copyright (C) 2019, Wazuh Inc.
+#
+# This program is a free software; you can redistribute it
+# and/or modify it under the terms of the GNU General Public
+# License (version 2) as published by the FSF - Free Software
+# Foundation.
+
+# Wazuh StorageClass
+
+apiVersion: storage.k8s.io/v1
+kind: StorageClass
+metadata:
+  name: wazuh-storage
+  annotations:
+    storageclass.kubernetes.io/is-default-class: "true"
+provisioner: csi.scaleway.com
+reclaimPolicy: Delete
diff --git a/envs/kapsule/wazuh-master-resources.yaml b/envs/kapsule/wazuh-master-resources.yaml
new file mode 100644
index 0000000000000000000000000000000000000000..f8d3b8436ee82a7e84699f6de274bb6cb88935a3
--- /dev/null
+++ b/envs/kapsule/wazuh-master-resources.yaml
@@ -0,0 +1,35 @@
+# Copyright (C) 2019, Wazuh Inc.
+#
+# This program is a free software; you can redistribute it
+# and/or modify it under the terms of the GNU General Public
+# License (version 2) as published by the FSF - Free Software
+# Foundation.
+
+apiVersion: apps/v1
+kind: StatefulSet
+metadata:
+  name: wazuh-manager-master
+  namespace: wazuh
+spec:
+  template:
+    spec:
+      containers:
+        - name: wazuh-manager
+          resources:
+            requests:
+              cpu: 1
+              memory: 1Gi
+            limits:
+              cpu: 2
+              memory: 2Gi
+  volumeClaimTemplates:
+    - metadata:
+        name: wazuh-manager-master
+        namespace: wazuh
+      spec:
+        accessModes:
+          - ReadWriteOnce
+        storageClassName: wazuh-storage
+        resources:
+          requests:
+            storage: 30Gi
diff --git a/envs/kapsule/wazuh-worker-resources.yaml b/envs/kapsule/wazuh-worker-resources.yaml
new file mode 100644
index 0000000000000000000000000000000000000000..851198f240e18903c802705cfafea9b857f6a8ad
--- /dev/null
+++ b/envs/kapsule/wazuh-worker-resources.yaml
@@ -0,0 +1,35 @@
+# Copyright (C) 2019, Wazuh Inc.
+#
+# This program is a free software; you can redistribute it
+# and/or modify it under the terms of the GNU General Public
+# License (version 2) as published by the FSF - Free Software
+# Foundation.
+
+apiVersion: apps/v1
+kind: StatefulSet
+metadata:
+  name: wazuh-manager-worker
+  namespace: wazuh
+spec:
+  template:
+    spec:
+      containers:
+        - name: wazuh-manager
+          resources:
+            requests:
+              cpu: 1
+              memory: 1Gi
+            limits:
+              cpu: 2
+              memory: 2Gi
+  volumeClaimTemplates:
+    - metadata:
+        name: wazuh-manager-worker
+        namespace: wazuh
+      spec:
+        accessModes:
+          - ReadWriteOnce
+        storageClassName: wazuh-storage
+        resources:
+          requests:
+            storage: 30Gi
diff --git a/envs/local-env/indexer-resources.yaml b/envs/local-env/indexer-resources.yaml
new file mode 100644
index 0000000000000000000000000000000000000000..74964950e7116eccfb6fb897f6c2dd40bd50d24f
--- /dev/null
+++ b/envs/local-env/indexer-resources.yaml
@@ -0,0 +1,25 @@
+# Copyright (C) 2019, Wazuh Inc.
+#
+# This program is a free software; you can redistribute it
+# and/or modify it under the terms of the GNU General Public
+# License (version 2) as published by the FSF - Free Software
+# Foundation.
+
+apiVersion: apps/v1
+kind: StatefulSet
+metadata:
+  name: wazuh-indexer
+  namespace: wazuh
+spec:
+  replicas: 1
+  template:
+    spec:
+      containers:
+        - name: wazuh-indexer
+          resources:
+            requests:
+              cpu: 500m
+              memory: 1Gi
+            limits:
+              cpu: 1
+              memory: 2Gi
diff --git a/envs/local-env/kustomization.yml b/envs/local-env/kustomization.yml
new file mode 100644
index 0000000000000000000000000000000000000000..6936c4846479c3b2c50a4be491327dc37369046e
--- /dev/null
+++ b/envs/local-env/kustomization.yml
@@ -0,0 +1,13 @@
+# Copyright (C) 2019, Wazuh Inc.
+#
+# This program is a free software; you can redistribute it
+# and/or modify it under the terms of the GNU General Public
+# License (version 2) as published by the FSF - Free Software
+# Foundation.
+
+bases:
+  - ../../wazuh
+patches:
+  - storage-class.yaml
+  - indexer-resources.yaml
+  - wazuh-resources.yaml
\ No newline at end of file
diff --git a/envs/local-env/storage-class.yaml b/envs/local-env/storage-class.yaml
new file mode 100644
index 0000000000000000000000000000000000000000..e1e62398b576708e9a1a8e12adb8c3f39259194c
--- /dev/null
+++ b/envs/local-env/storage-class.yaml
@@ -0,0 +1,22 @@
+# Copyright (C) 2019, Wazuh Inc.
+#
+# This program is a free software; you can redistribute it
+# and/or modify it under the terms of the GNU General Public
+# License (version 2) as published by the FSF - Free Software
+# Foundation.
+
+# Wazuh StorageClass
+
+apiVersion: storage.k8s.io/v1
+kind: StorageClass
+metadata:
+  name: wazuh-storage
+
+# Microk8s is our standard for local development
+provisioner: microk8s.io/hostpath
+
+# In case you're running Minikube you can comment the line above and use this one
+# provisioner: k8s.io/minikube-hostpath
+
+# If you're using a different provider you can list storage classes
+# with: "kubectl get sc" and look for the column "Provisioner"
diff --git a/envs/local-env/wazuh-resources.yaml b/envs/local-env/wazuh-resources.yaml
new file mode 100644
index 0000000000000000000000000000000000000000..586f2ec823b1bd923b2c9e05210d6e16adc12aa3
--- /dev/null
+++ b/envs/local-env/wazuh-resources.yaml
@@ -0,0 +1,14 @@
+# Copyright (C) 2019, Wazuh Inc.
+#
+# This program is a free software; you can redistribute it
+# and/or modify it under the terms of the GNU General Public
+# License (version 2) as published by the FSF - Free Software
+# Foundation.
+
+apiVersion: apps/v1
+kind: StatefulSet
+metadata:
+  name: wazuh-manager-worker
+  namespace: wazuh
+spec:
+  replicas: 1
diff --git a/instructions.md b/instructions.md
new file mode 100644
index 0000000000000000000000000000000000000000..6e357387cf3bfd7ee3d56f671e3c9fa7cdcd2ce3
--- /dev/null
+++ b/instructions.md
@@ -0,0 +1,213 @@
+# Usage
+
+This guide describes the necessary steps to deploy Wazuh on Kubernetes.
+
+## Pre-requisites
+
+- Kubernetes cluster already deployed.
+- Kubernetes can run on a wide range of Cloud providers and bare-metal environments, this repository focuses on [AWS](https://aws.amazon.com/). It was tested using [Amazon EKS](https://docs.aws.amazon.com/eks). You should be able to:
+    - Create Persistent Volumes on top of AWS EBS when using a volumeClaimTemplates
+    - Create a record set in AWS Route 53 from a Kubernetes LoadBalancer.
+- Having at least two Kubernetes nodes in order to meet the *podAntiAffinity* policy.
+
+
+## Overview
+
+### StateFulSet and Deployments Controllers
+
+Like a Deployment, a StatefulSet manages Pods that are based on an identical container specification, but it maintains an identity attached to each of its pods. These pods are created from the same specification, but they are not interchangeable: each one has a persistent identifier maintained across any rescheduling.
+
+It is useful for stateful applications like databases that save the data to a persistent storage. The states of each Wazuh manager as well as Wazuh indexer are desirable to maintain, so we declare them using StatefulSet to ensure that they maintain their states in every startup.
+
+Deployments are intended for stateless use and are quite lightweight and seem to be appropriate for Wazuh dashboard and Nginx, where it is not necessary to maintain the states.
+
+### Pods
+
+#### Wazuh master
+
+This pod contains the master node of the Wazuh cluster. The master node centralizes and coordinates worker nodes, making sure the critical and required data is consistent across all nodes.
+The management is performed only in this node, so the agent registration service (authd) and the API are placed here.
+
+Details:
+- Image: Docker Hub 'wazuh/wazuh-manager'
+- Controller: StatefulSet
+
+#### Wazuh worker 0 / 1
+
+These pods contain a worker node of the Wazuh cluster. They will receive the agent events.
+
+Details:
+- Image: Docker Hub 'wazuh/wazuh-manager'
+- Controller: StatefulSet
+
+
+#### Wazuh indexer
+
+Wazuh indexer pod. Used to build an Wazuh indexer cluster.
+
+Details:
+- Image: wazuh/wazuh-indexer
+- Controller: StatefulSet
+
+#### Wazuh dashboard
+
+Wazuh dashboard pod. It lets you visualize your Wazuh indexer data, along with other features as the Wazuh app.
+
+Details:
+- image: Docker Hub 'wazuh/wazuh-dashboard'
+- Controller: Deployment
+
+### Services
+
+#### Indexer stack
+
+- wazuh-indexer:
+  - Communication for Wazuh indexer nodes.
+- indexer:
+  - Wazuh indexer API. Used by Wazuh dashboard to write/read alerts.
+- dashboard:
+  - Wazuh dashboard service. https://wazuh.your-domain.com:443
+
+#### Wazuh
+
+- wazuh:
+  - Wazuh API: wazuh-master.your-domain.com:55000
+  - Agent registration service (authd): wazuh-master.your-domain.com:1515
+- wazuh-workers:
+  - Reporting service: wazuh-manager.your-domain.com:1514
+- wazuh-cluster:
+  - Communication for Wazuh manager nodes.
+
+
+## Deploy
+
+
+### Step 1: Deploy Kubernetes
+
+Deploying the Kubernetes cluster is out of the scope of this guide.
+
+This repository focuses on [AWS](https://aws.amazon.com/) but it should be easy to adapt it to another Cloud provider. In case you are using AWS, we recommend [EKS](https://docs.aws.amazon.com/en_us/eks/latest/userguide/getting-started.html).
+
+
+### Step 2: Create domains to access the services
+
+We recommend creating domains and certificates to access the services. Examples:
+
+- wazuh-master.your-domain.com: Wazuh API and authd registration service.
+- wazuh-manager.your-domain.com: Reporting service.
+- wazuh.your-domain.com: Wazuh dashboard app.
+
+Note: You can skip this step and the services will be accessible using the Load balancer DNS from the VPC.
+
+### Step 3: Deployment
+
+Clone this repository to deploy the necessary services and pods.
+
+```BASH
+$ git clone https://github.com/wazuh/wazuh-kubernetes.git
+$ cd wazuh-kubernetes
+```
+
+### Step 3.1: Setup SSL certificates
+
+You can generate self-signed certificates for the Wazuh indexer cluster using the script at `wazuh/certs/indexer_cluster/generate_certs.sh` or provide your own.
+
+Since Wazuh dashboard has HTTPS enabled it will require its own certificates, these may be generated with: `openssl req -x509 -batch -nodes -days 365 -newkey rsa:2048 -keyout key.pem -out cert.pem`, there is an utility script at `wazuh/certs/dashboard_http/generate_certs.sh` to help with this.
+
+The required certificates are imported via secretGenerator on the `kustomization.yml` file:
+
+    secretGenerator:
+    - name: indexer-certs
+        files:
+        - certs/indexer_cluster/root-ca.pem
+        - certs/indexer_cluster/node.pem
+        - certs/indexer_cluster/node-key.pem
+        - certs/indexer_cluster/dashboard.pem
+        - certs/indexer_cluster/dashboard-key.pem
+        - certs/indexer_cluster/admin.pem
+        - certs/indexer_cluster/admin-key.pem
+        - certs/indexer_cluster/filebeat.pem
+        - certs/indexer_cluster/filebeat-key.pem
+    - name: dashboard-certs
+        files:
+        - certs/dashboard_http/cert.pem
+        - certs/dashboard_http/key.pem
+
+### Step 3.2: Apply all manifests using kustomize
+
+We are using the overlay feature of kustomize to create two variants: `eks` and `local-env`, in this guide we're using `eks`. (For a deployment on a local environment check the guide on [local-environment.md](local-environment.md))
+
+You can adjust resources for the cluster on `envs/eks/`, you can tune cpu, memory as well as storage for persistent volumes of each of the cluster objects.
+
+
+By using the kustomization file on the `eks` variant we can now deploy the whole cluster with a single command:
+
+```BASH
+$ kubectl apply -k envs/eks/
+```
+
+### Verifying the deployment
+
+#### Namespace
+
+```BASH
+$ kubectl get namespaces | grep wazuh
+wazuh         Active    12m
+```
+
+#### Services
+
+```BASH
+$ kubectl get services -n wazuh
+NAME            TYPE           CLUSTER-IP       EXTERNAL-IP             PORT(S)                          AGE
+dashboard       LoadBalancer   10.100.55.244    <entrypoint_assigned>   443:31670/TCP                    4h13m
+indexer         LoadBalancer   10.100.199.148   <entrypoint_assigned>   9200:32270/TCP                   4h13m
+wazuh           LoadBalancer   10.100.176.82    <entrypoint_assigned>   1515:32602/TCP,55000:32116/TCP   4h13m
+wazuh-cluster   ClusterIP      None             <none>                  1516/TCP                         4h13m
+wazuh-indexer   ClusterIP      None             <none>                  9300/TCP                         4h13m
+wazuh-workers   LoadBalancer   10.100.165.20    <entrypoint_assigned>   1514:30128/TCP                   4h13m
+```
+
+#### Deployments
+
+```BASH
+$ kubectl get deployments -n wazuh
+NAME              READY   UP-TO-DATE   AVAILABLE   AGE
+wazuh-dashboard   1/1     1            1           4h16m
+```
+
+#### Statefulsets
+
+```BASH
+$ kubectl get statefulsets -n wazuh
+NAME                   READY   AGE
+wazuh-indexer          3/3     4h17m
+wazuh-manager-master   1/1     4h17m
+wazuh-manager-worker   2/2     4h17m
+```
+
+#### Pods
+
+```BASH
+$ kubectl get pods -n wazuh
+NAME                               READY   STATUS    RESTARTS   AGE
+wazuh-dashboard-57d455f894-ffwsk   1/1     Running   0          4h17m
+wazuh-indexer-0                    1/1     Running   0          4h17m
+wazuh-indexer-1                    1/1     Running   0          4h17m
+wazuh-indexer-2                    1/1     Running   0          4h17m
+wazuh-manager-master-0             1/1     Running   0          4h17m
+wazuh-manager-worker-0             1/1     Running   0          4h17m
+wazuh-manager-worker-1             1/1     Running   0          4h17m
+```
+
+#### Accessing Wazuh dashboard
+
+In case you created domain names for the services, you should be able to access Wazuh dashboard using the proposed domain name: https://wazuh.your-domain.com.
+
+Also, you can access using the External-IP (from the VPC): https://internal-xxx-yyy.us-east-1.elb.amazonaws.com:443
+
+```BASH
+$ kubectl get services -o wide -n wazuh
+NAME        TYPE           CLUSTER-IP       EXTERNAL-IP                                                              PORT(S)        AGE     SELECTOR
+dashboard   LoadBalancer   10.100.55.244    a91dadfdf2d33493dad0a267eb85b352-1129724810.us-west-1.elb.amazonaws.com  443:31670/TCP  4h19m   app=wazuh-dashboard
+```
diff --git a/local-environment.md b/local-environment.md
new file mode 100644
index 0000000000000000000000000000000000000000..98ff3de086e1532ada3d1f02eec7ad9257d37f57
--- /dev/null
+++ b/local-environment.md
@@ -0,0 +1,91 @@
+# Usage
+
+This guide describes the necessary steps to deploy Wazuh on a local Kubernetes environment (Microk8s, Minikube, Kind).
+
+Here we will describe the steps unique for a deployment on a local development scenario. For general knowledge read [instructions.md](instructions.md) as well which describes a deployment in more detail using an EKS cluster.
+
+## Pre-requisites
+
+- Kubernetes cluster already deployed.
+
+### Resource requirements
+
+To deploy the `local-env` variant the Kubernetes cluster should have at least the following resources **available**:
+
+- 2 CPU units
+- 3 Gi of memory
+- 2 Gi of storage
+
+## Deployment
+
+### Clone this repository.
+
+```BASH
+$ git clone https://github.com/wazuh/wazuh-kubernetes.git
+$ cd wazuh-kubernetes
+```
+
+### Setup SSL certificates
+
+You can generate self-signed certificates for the ODFE cluster using the script at `wazuh/certs/indexer_cluster/generate_certs.sh` or provide your own.
+
+Since Dashboard has HTTPS enabled it will require its own certificates, these may be generated with: `openssl req -x509 -batch -nodes -days 365 -newkey rsa:2048 -keyout key.pem -out cert.pem`, there is an utility script at `wazuh/certs/dashboard_http/generate_certs.sh` to help with this.
+
+The required certificates are imported via secretGenerator on the `kustomization.yml` file:
+
+    secretGenerator:
+    - name: indexer-ssl-certs
+        files:
+        - certs/indexer_cluster/root-ca.pem
+        - certs/indexer_cluster/root-ca-key.pem
+        - certs/indexer_cluster/node.pem
+        - certs/indexer_cluster/node-key.pem
+        - certs/indexer_cluster/dashboard.pem
+        - certs/indexer_cluster/dashboard-key.pem
+        - certs/indexer_cluster/admin.pem
+        - certs/indexer_cluster/admin-key.pem
+        - certs/indexer_cluster/filebeat.pem
+        - certs/indexer_cluster/filebeat-key.pem
+    - name: dashboard-certs
+        files:
+        - certs/dashboard_http/cert.pem
+        - certs/dashboard_http/key.pem
+
+### Tune storage class with custom provisioner
+
+Depending on the type of cluster you're running for local development the Storage Class may have a different provisioner.
+
+You can check yours by running `kubectl get sc`. You will see something like this:
+
+
+```BASH
+~> kubectl get sc
+NAME                          PROVISIONER            RECLAIMPOLICY   VOLUMEBINDINGMODE   ALLOWVOLUMEEXPANSION   AGE
+elk-gp2                       microk8s.io/hostpath   Delete          Immediate           false                  67d
+microk8s-hostpath (default)   microk8s.io/hostpath   Delete          Immediate           false                  54d
+
+```
+
+The provisioner column displays `microk8s.io/hostpath`, you must edit the file `envs/local-env/storage-class.yaml` and setup this provisioner.
+
+### Apply all manifests using kustomize
+
+We are using the overlay feature of kustomize two create two variants: `eks` and `local-env`, in this guide we're using `local-env`. (For a production deployment on EKS check the guide on [instructions.md](instructions.md))
+
+It is possible to adjust resources for the cluster by editing patches on `envs/local-env/`, the number of replicas for Elasticsearch nodes and Wazuh workers are reduced on the `local-env` variant to save resources. This could be undone by removing these patches from the `kustomization.yaml` or alter the patches themselves with different values.
+
+By using the kustomization file on the `local-env` variant we can now deploy the whole cluster with a single command:
+
+```BASH
+$ kubectl apply -k envs/local-env/
+```
+
+#### Accessing Dashboard
+
+To access the Dashboard interface you can use port-forward:
+
+```bash
+$ kubectl -n wazuh port-forward service/dashboard 8443:443
+```
+
+Dashboard will be accesible on ``https://localhost:8443``.
diff --git a/upgrade.md b/upgrade.md
new file mode 100644
index 0000000000000000000000000000000000000000..0a611d95e7baf3b94faf3cc317c5e89bd6b9479e
--- /dev/null
+++ b/upgrade.md
@@ -0,0 +1,204 @@
+# Wazuh Upgrade
+
+When upgrading our version of Wazuh installed in Kubernetes we must follow the following steps.
+
+## Check which files are exported to the volume
+
+Our Kubernetes deployment uses our Wazuh images from Docker. If we look at the following code extracted from the Wazuh configuration using Docker we can see which directories and files are used in the upgrades.
+
+```
+DATA_DIRS[((i++))]="api/configuration"
+DATA_DIRS[((i++))]="etc"
+DATA_DIRS[((i++))]="logs"
+DATA_DIRS[((i++))]="queue/db"
+DATA_DIRS[((i++))]="queue/rootcheck"
+DATA_DIRS[((i++))]="queue/agent-groups"
+DATA_DIRS[((i++))]="queue/agent-info"
+DATA_DIRS[((i++))]="queue/agents-timestamp"
+DATA_DIRS[((i++))]="queue/agentless"
+DATA_DIRS[((i++))]="queue/cluster"
+DATA_DIRS[((i++))]="queue/rids"
+DATA_DIRS[((i++))]="queue/fts"
+DATA_DIRS[((i++))]="var/multigroups"
+
+```
+
+Any file that we modify referring to the files previously mentioned, will be changed also the corresponding volume. When the corresponding Wazuh pod is created again, it will get the cited files from the volume, thus keeping the changes made previously.
+
+To better understand it, we will give an example:
+
+We have our newly created Kubernetes environment following our instructions. In this example, the image of Wazuh used has been `wazuh/wazuh:3.13.1_7.8.0`.
+
+```
+containers:
+- name: wazuh-manager
+  image: 'wazuh/wazuh:3.13.2_7.9.1'
+```
+
+Let's proceed by creating a set of rules in our `local_rules.xml` file at location `/var/ossec/etc/rules` in our wazuh manager master pod.
+
+```
+root@wazuh-manager-master-0:/# vim /var/ossec/etc/rules/local_rules.xml
+root@wazuh-manager-master-0:/# cat /var/ossec/etc/rules/local_rules.xml
+<!-- Local rules -->
+
+<!-- Modify it at your will. -->
+
+<!-- Example -->
+<group name="local,syslog,sshd,">
+
+  <!--
+  Dec 10 01:02:02 host sshd[1234]: Failed none for root from 1.1.1.1 port 1066 ssh2
+  -->
+  <rule id="100001" level="5">
+    <if_sid>5716</if_sid>
+    <srcip>1.1.1.1</srcip>
+    <description>sshd: authentication failed from IP 1.1.1.1.</description>
+    <group>authentication_failed,pci_dss_10.2.4,pci_dss_10.2.5,</group>
+  </rule>
+
+  <rule id="100002" level="5">
+    <if_sid>5716</if_sid>
+    <srcip>2.1.1.1</srcip>
+    <description>sshd: authentication failed from IP 2.1.1.1.</description>
+    <group>authentication_failed,pci_dss_10.2.4,pci_dss_10.2.5,</group>
+  </rule>
+
+  <rule id="100003" level="7">
+    <if_sid>5716</if_sid>
+    <srcip>3.1.1.1</srcip>
+    <description>sshd: authentication failed from IP 3.1.1.1.</description>
+    <group>authentication_failed,pci_dss_10.2.4,pci_dss_10.2.5,</group>
+  </rule>
+
+</group>
+
+```
+
+This action has modified the `local_rules.xml` file in the `/var/ossec/data/etc/rules` path and in the `/etc/postfix/etc/` rules path due these routes reference our volume assembly points.
+
+```
+volumeMounts:
+- name: config
+  mountPath: /wazuh-config-mount/etc/ossec.conf
+  subPath: ossec.conf
+  readOnly: true
+- name: wazuh-manager-master
+  mountPath: /var/ossec/data
+- name: wazuh-manager-master
+  mountPath: /etc/postfix
+```
+
+We can see their content.
+
+```
+root@wazuh-manager-master-0:/# cat /var/ossec/data/etc/rules/local_rules.xml
+<!-- Local rules -->
+
+<!-- Modify it at your will. -->
+
+<!-- Example -->
+<group name="local,syslog,sshd,">
+
+  <!--
+  Dec 10 01:02:02 host sshd[1234]: Failed none for root from 1.1.1.1 port 1066 ssh2
+  -->
+  <rule id="100001" level="5">
+    <if_sid>5716</if_sid>
+    <srcip>1.1.1.1</srcip>
+    <description>sshd: authentication failed from IP 1.1.1.1.</description>
+    <group>authentication_failed,pci_dss_10.2.4,pci_dss_10.2.5,</group>
+  </rule>
+
+  <rule id="100002" level="5">
+    <if_sid>5716</if_sid>
+    <srcip>2.1.1.1</srcip>
+    <description>sshd: authentication failed from IP 2.1.1.1.</description>
+    <group>authentication_failed,pci_dss_10.2.4,pci_dss_10.2.5,</group>
+  </rule>
+
+  <rule id="100003" level="7">
+    <if_sid>5716</if_sid>
+    <srcip>3.1.1.1</srcip>
+    <description>sshd: authentication failed from IP 3.1.1.1.</description>
+    <group>authentication_failed,pci_dss_10.2.4,pci_dss_10.2.5,</group>
+  </rule>
+
+</group>
+root@wazuh-manager-master-0:/# cat /etc/postfix/etc/rules/local_rules.xml
+<!-- Local rules -->
+
+<!-- Modify it at your will. -->
+
+<!-- Example -->
+<group name="local,syslog,sshd,">
+
+  <!--
+  Dec 10 01:02:02 host sshd[1234]: Failed none for root from 1.1.1.1 port 1066 ssh2
+  -->
+  <rule id="100001" level="5">
+    <if_sid>5716</if_sid>
+    <srcip>1.1.1.1</srcip>
+    <description>sshd: authentication failed from IP 1.1.1.1.</description>
+    <group>authentication_failed,pci_dss_10.2.4,pci_dss_10.2.5,</group>
+  </rule>
+
+  <rule id="100002" level="5">
+    <if_sid>5716</if_sid>
+    <srcip>2.1.1.1</srcip>
+    <description>sshd: authentication failed from IP 2.1.1.1.</description>
+    <group>authentication_failed,pci_dss_10.2.4,pci_dss_10.2.5,</group>
+  </rule>
+
+  <rule id="100003" level="7">
+    <if_sid>5716</if_sid>
+    <srcip>3.1.1.1</srcip>
+    <description>sshd: authentication failed from IP 3.1.1.1.</description>
+    <group>authentication_failed,pci_dss_10.2.4,pci_dss_10.2.5,</group>
+  </rule>
+
+</group>
+
+```
+
+At this point, if the pod was dropped or updated, Kubernetes would be in charge of creating a replica of it that would link to the volumes created and would maintain any changes referenced in the files and directories that we export to those volumes.
+
+Once explained the operation regarding the volumes, we proceed to update Wazuh in two simple steps.
+
+## 1. Change the image of the container
+
+The first step is to change the image of the pod in each file that deploys each node of the Wazuh cluster.
+
+These files are the statefulSet files:
+- wazuh-master-sts.yaml
+- wazuh-worker-sts.yaml
+
+For example we had this version before:
+
+```
+containers:
+- name: wazuh-manager
+  image: 'wazuh/wazuh:3.13.1_7.8.0'
+```
+
+And now we're going to upgrade to the next version:
+
+```
+containers:
+- name: wazuh-manager
+  image: 'wazuh/wazuh:3.13.2_7.9.1'
+```
+
+
+## 2. Apply the new configuration
+
+The second and last step is to apply the new configuration of each pod. For example for the wazuh manager master:
+
+```
+ubuntu@k8s-control-server:~/wazuh-kubernetes/manager_cluster$ kubectl apply -f wazuh-manager-master-sts.yaml
+statefulset.apps "wazuh-manager-master" configured
+```
+
+This process will end the old pod while creating a new one with the new version, linked to the same volume. Once the Pods are booted, we will have our update ready and we can check the new version of Wazuh installed, the cluster and the changes that have been maintained through the use of the volumes.
+
+### Note: It is important to update all Wazuh node pods, because the cluster only works when all nodes have the same version.
diff --git a/wazuh/base/storage-class.yaml b/wazuh/base/storage-class.yaml
new file mode 100644
index 0000000000000000000000000000000000000000..9f675b0b83cb4494292ff958fd5bb98ec827876c
--- /dev/null
+++ b/wazuh/base/storage-class.yaml
@@ -0,0 +1,14 @@
+# Copyright (C) 2019, Wazuh Inc.
+#
+# This program is a free software; you can redistribute it
+# and/or modify it under the terms of the GNU General Public
+# License (version 2) as published by the FSF - Free Software
+# Foundation.
+
+# Wazuh StorageClass
+
+apiVersion: storage.k8s.io/v1
+kind: StorageClass
+metadata:
+  name: wazuh-storage
+# provisioner: k8s.io/minikube-hostpath
\ No newline at end of file
diff --git a/wazuh/base/wazuh-ns.yaml b/wazuh/base/wazuh-ns.yaml
new file mode 100644
index 0000000000000000000000000000000000000000..0063ab851a2141e67e86a20fd5dad87ee7e5e2c5
--- /dev/null
+++ b/wazuh/base/wazuh-ns.yaml
@@ -0,0 +1,13 @@
+# Copyright (C) 2019, Wazuh Inc.
+#
+# This program is a free software; you can redistribute it
+# and/or modify it under the terms of the GNU General Public
+# License (version 2) as published by the FSF - Free Software
+# Foundation.
+
+# Wazuh namespace
+
+apiVersion: v1
+kind: Namespace
+metadata:
+  name: wazuh
diff --git a/wazuh/certs/dashboard_http/cert.pem b/wazuh/certs/dashboard_http/cert.pem
new file mode 100644
index 0000000000000000000000000000000000000000..585da310f7f79a39c0e1867d22f42aa39aba2e94
--- /dev/null
+++ b/wazuh/certs/dashboard_http/cert.pem
@@ -0,0 +1,21 @@
+-----BEGIN CERTIFICATE-----
+MIIDazCCAlOgAwIBAgIUbWMt4VhkK9YI49TjxkWNNKVvRcgwDQYJKoZIhvcNAQEL
+BQAwRTELMAkGA1UEBhMCQVUxEzARBgNVBAgMClNvbWUtU3RhdGUxITAfBgNVBAoM
+GEludGVybmV0IFdpZGdpdHMgUHR5IEx0ZDAeFw0yMzAzMTcwOTA3MzlaFw0yNDAz
+MTYwOTA3MzlaMEUxCzAJBgNVBAYTAkFVMRMwEQYDVQQIDApTb21lLVN0YXRlMSEw
+HwYDVQQKDBhJbnRlcm5ldCBXaWRnaXRzIFB0eSBMdGQwggEiMA0GCSqGSIb3DQEB
+AQUAA4IBDwAwggEKAoIBAQC5+KxrxX8/X3040KEeNKhQrcGjQEKlhWMtyG21ISxt
+6/dVgzX1912/PGUANUlQO2l0TXszeX5sf2Xa9pfsZv/VPY3GSE14SgCLw4FpT/Ky
+sginZyh8ybrFPoYZyF5VT4ZIf0CynWYSy7dcEIUvrs3eE/l0fWqbDoPG81yzmD5Y
+VCkb5jaO5jfxeLKkUUFcSuAS4G65hTfyc+r00Gp0FVaNTD8zfZgn+3j0dNe/xtMQ
+WS1PJs2ZJzz5FjwvEljVuC2sxzwJ2YZUs3ZIpdZKSwFlr8hQnFq05YqIXWSa4Tsb
+YgP2lhK9PzNnP3+DLIRoEU+HCjaYjcTgH1PPDNbf0mLRAgMBAAGjUzBRMB0GA1Ud
+DgQWBBSSlkADrwSfbkCGb3/jdPYrMW3PdjAfBgNVHSMEGDAWgBSSlkADrwSfbkCG
+b3/jdPYrMW3PdjAPBgNVHRMBAf8EBTADAQH/MA0GCSqGSIb3DQEBCwUAA4IBAQAO
+GJZUvLNLasv3Zv6RZUdV0LC8p0hUk1mabI1NlRUSod2kkF+uIVV9k9bwNJcj877e
+lz2MA0nbCKRmss69epNa7+kz5Knwva9SBGLEgvQmJ76eiZbU6JmCBnNpNG9uF5u7
+XhXL5qAFt/9XLMWhKH61GVh0nlNjw1qGm7Nd9WS1gpBhPjfMQfQ/lRFj7BMaos//
+MTDlEbRVpwyupYymGdwRWpuLx665Dz6/DbMrS2deM8hbxapwZ+qgRk2494AfznPi
+1Wm84d1SGBoIeBgXLFc9qZdS8eb7iK1yu/todzKAGkzVncHpPbzgHXOVsGifNd1d
+dEm9NfZgqkdXGhAog/Ht
+-----END CERTIFICATE-----
diff --git a/wazuh/certs/dashboard_http/generate_certs.sh b/wazuh/certs/dashboard_http/generate_certs.sh
new file mode 100755
index 0000000000000000000000000000000000000000..6e847249668de8fcb4c6e357104087ddbbdcb8a2
--- /dev/null
+++ b/wazuh/certs/dashboard_http/generate_certs.sh
@@ -0,0 +1,6 @@
+#!/bin/bash
+
+DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
+cd $DIR
+
+openssl req -x509 -batch -nodes -days 365 -newkey rsa:2048 -keyout key.pem -out cert.pem
diff --git a/wazuh/certs/dashboard_http/key.pem b/wazuh/certs/dashboard_http/key.pem
new file mode 100644
index 0000000000000000000000000000000000000000..389199596534f5bc9d00fb8f6b45e67fd5602b99
--- /dev/null
+++ b/wazuh/certs/dashboard_http/key.pem
@@ -0,0 +1,28 @@
+-----BEGIN PRIVATE KEY-----
+MIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQC5+KxrxX8/X304
+0KEeNKhQrcGjQEKlhWMtyG21ISxt6/dVgzX1912/PGUANUlQO2l0TXszeX5sf2Xa
+9pfsZv/VPY3GSE14SgCLw4FpT/KysginZyh8ybrFPoYZyF5VT4ZIf0CynWYSy7dc
+EIUvrs3eE/l0fWqbDoPG81yzmD5YVCkb5jaO5jfxeLKkUUFcSuAS4G65hTfyc+r0
+0Gp0FVaNTD8zfZgn+3j0dNe/xtMQWS1PJs2ZJzz5FjwvEljVuC2sxzwJ2YZUs3ZI
+pdZKSwFlr8hQnFq05YqIXWSa4TsbYgP2lhK9PzNnP3+DLIRoEU+HCjaYjcTgH1PP
+DNbf0mLRAgMBAAECggEACdAHOQCIwE1HjDHl7nQU1Xz1lKmVWqp5GzdSIpaHg51J
+xadQt5O/zJFhOuuU3LjlzY8xCvxEIXFvbGhKh9y/bv76dhXmkIxHDxjXwTjIs4kV
+T8/voPX79uBfrwiVgabajQS54zLO6fr5x8/PVz6/+hHPvcfIUjon1d2NbKSB1aMz
+4rJ+gisVaj/CHn0VR6KcrOd/R7FPPv+Ap20dT5WYvFDytcdt7sDgB6e7v0m1YyfE
+4VYLPoiKtOI8ZQafQqQzyiaTv0pT4zsKtpW/IpGICpReFVJoB0pqgQFacUPEClS6
+s93HI1PYdZ1u3enPyJdL0VS3G7eH6UP4LIoaSv+QyQKBgQC66E4L+l0Q9J4Ovqpy
+jjH2r+1hVyf4mh0DkiX0B7sc5oWtFMwlNTTqF+KSXAr0jj+mSKpiMOeBLR6nkh7S
+OSTWRyMcXU8fPSMWzsJFLyRfw2yGeRVUF/JISz2EjH1zzdRwSUMCjyvQNgzHKQhy
+prdsUBTGxTTIHaND6XMob0U91wKBgQD+t8k72r9fvrqhqGms2Hg9q3y8miPgtdwJ
+qsoX6FySDRw5FJ1VeGqNo0npqc7Fa/PqvNSfL7R2i8lKVyN6FLGpi6p/eu8lYpAU
+u3JR3CzOC1tXoUziqAWiOeCxhNMGXtHB1BTNeFSM/FkIWq7Tigs8cy5ConCOitJs
+i9qeg/U/lwKBgAnGCgbAUcuILxewSrNw0hYHPw9/Aj0Suf+szcVD/jnVqBnT45Ty
+glDXbOagX4ZIRfXJCPfXfNOZa2fx0SDHEjEOSTy7eF620LXpm+kIPQuw6WTiwgXC
+ts2m+ZGL0yeSFNDGU/W3TOA3Y1WqxKFSLHdCfMOkHk10l0v+0iHEJ8fDAoGBAPbo
+4MCMgwYktHUP86ABFk1xdjC8mhqxLuKQE+ao71MEMl+ChCDd4Sv7JSLD4BOvWXoq
+IVFNxPlE95KAdXtZo/5dzKBWYosyx8fRDDgd3bC9gYWobgcoKI3g3NY3kveR4nKp
+SqECC7O+ye83OFEGd23ZmPYu0DzchK2DxB/0ej9xAoGAAT2dy6onSa4IrWinu6dC
+LtNKNLGxB3eDnASNQNCqxvNDm3/IYsJ+f7MdUDhKcGA9tHILU6a5Tvp0+x4eWkxG
+qe2siyeMXzavrOToFfpXLP5Us1S0HHKy3jaFQGpDjT5AyeeE1B6KTvE9CfTL39xV
+IHXy0zl4eDMP+Zm3NVWNyYo=
+-----END PRIVATE KEY-----
diff --git a/wazuh/certs/indexer_cluster/admin-key-temp.pem b/wazuh/certs/indexer_cluster/admin-key-temp.pem
new file mode 100644
index 0000000000000000000000000000000000000000..6aaeabe8133e8022ff1e67ca6765eab1a6c0b274
--- /dev/null
+++ b/wazuh/certs/indexer_cluster/admin-key-temp.pem
@@ -0,0 +1,28 @@
+-----BEGIN PRIVATE KEY-----
+MIIEvwIBADANBgkqhkiG9w0BAQEFAASCBKkwggSlAgEAAoIBAQC+udNlleNrDbbz
+v9znEpi8dhS32wlzMIKLXMoyPIwELc6iVbbZ+vDPWYMpp8npNqch3NzL/b9Wr79w
+guqcqN/BUb/fCCmtRuPXcKGY4j9QxEpV4Ic5NmWIp7a8e62dOS3HFh/0XYt1AgyS
+wage+gz1NVNCYeV9sUIem8JmkJ3BetZOwh8poq/5T3E3Iz5vQbVxTrzzIOkhtccV
+Elmby/IoeHYslqXOpuJ8GfSO8DGLK16CI+G50NRjnIyOXa1e7gMPQr20jyBrlsaD
+I/M/TuHGbnaxqO1fezWaIL0j49sXo/HafQiGAtstfLcCivv1CdK002dhrUYUBsR3
+5vG4s3kFAgMBAAECggEAW99FfmyqRLoxg87LCSADJN04c6v2LF+Usq760yIpTCYI
+oFfroarobukublVdxJJIBd7PGRBdJ9O2wuq9OsN6LTRE2ZmkAczhGbkujmeFmlFD
+gYSLfrq+RAqN0tM8uTx+2aTFtb+N2som5laUtn862K9cMODZXCeTswzSovdMlpLR
+UjADekmZVRZikAr+9kq4kWJGLexxCnVsAc7htHndb1ZLObZoNCz1Iob3lXOulVHh
+/FrGhW98UXRJ0dx+zxKdcZLpO098mmkbWOkWktadLU9+/+RaVmzMEjHKjhZ0295C
+7QOomb2IBB7E06bA5Ye9WKlsEhSjs2fei2s0GAhMzQKBgQDiQc7kN6qi2ZZS1jB+
+Pa1oJb8x4w54MnjjhwwBWy9HDKelbsieAfxUk+3s0zuyWN+yEauE0tlcWC+mzhyL
+loAaI7I3lEo/91LrlsdW2E5rVHEQS2AKox3ciBGdPV39vvJ5z5Exp2X1KyE2I/sx
+j7Zwl1/Xcpqovf+RtKJWxbtcvwKBgQDXzErm2aHvNifP95jJefTogTqUDebe3z4i
+SS2rmJeoWZHRgwIAzfqGYsAJ738a/7kEDrtONvbOU8Vb1hT2tdLGuNi64gI8Y6S8
+7Vj5Xfd0BW8xtfaK9I1mLueaMEKM6JDpfQmemLGxRxvxmbGHVIrmZcNiK2IiqM1r
+pYiUqZwnOwKBgQCXt50uN426icFdZrc5z8356mXc4+6N9vpNR/9q4WRAdmHscu8f
+1SEI7fE7PyHmo+XMmEC1XlXWsGOzrL5Dc/YOkSUuU8e+QPBffcnJmF5tZkAytvh9
+6Ydam/uDvuTKBELAH8myzBd4YSVyEoqcX0vtD/R6miTPRiib4c6B9TGALQKBgQDL
+zx5OuOy/yB4BxI6AerZbgPGaMycBB0bfis2faxaQ4Ude4KRbri4WDd3hhFg/X5WV
+x3QPgsnGREf5XE+gUkkndhz7I8mIz3MfG+sUWTMEWL2T7Y9T3XRONa53aWzxOBTk
+8DrNltj73XT+0XFhpu8oeqP1a5PbuCGKsWQ1Q5s/UQKBgQCvjnZcXXuXjtDQqtiv
+gPx1CxeqY0jw4wPcItzXNUlqyAW2OE9ITEJlL7pS7zObSCDS2yZswmwyQd1DLbqO
+2Ad6VAkxr/DkzfSrfOuuKbMrW0Ri8BNGmWPmKALJ/x/A3FRLKX5CuuOdusRf3uXf
+oPnNzXK0PwzcgxdAVcVlyWwgxA==
+-----END PRIVATE KEY-----
diff --git a/wazuh/certs/indexer_cluster/admin-key.pem b/wazuh/certs/indexer_cluster/admin-key.pem
new file mode 100644
index 0000000000000000000000000000000000000000..6aaeabe8133e8022ff1e67ca6765eab1a6c0b274
--- /dev/null
+++ b/wazuh/certs/indexer_cluster/admin-key.pem
@@ -0,0 +1,28 @@
+-----BEGIN PRIVATE KEY-----
+MIIEvwIBADANBgkqhkiG9w0BAQEFAASCBKkwggSlAgEAAoIBAQC+udNlleNrDbbz
+v9znEpi8dhS32wlzMIKLXMoyPIwELc6iVbbZ+vDPWYMpp8npNqch3NzL/b9Wr79w
+guqcqN/BUb/fCCmtRuPXcKGY4j9QxEpV4Ic5NmWIp7a8e62dOS3HFh/0XYt1AgyS
+wage+gz1NVNCYeV9sUIem8JmkJ3BetZOwh8poq/5T3E3Iz5vQbVxTrzzIOkhtccV
+Elmby/IoeHYslqXOpuJ8GfSO8DGLK16CI+G50NRjnIyOXa1e7gMPQr20jyBrlsaD
+I/M/TuHGbnaxqO1fezWaIL0j49sXo/HafQiGAtstfLcCivv1CdK002dhrUYUBsR3
+5vG4s3kFAgMBAAECggEAW99FfmyqRLoxg87LCSADJN04c6v2LF+Usq760yIpTCYI
+oFfroarobukublVdxJJIBd7PGRBdJ9O2wuq9OsN6LTRE2ZmkAczhGbkujmeFmlFD
+gYSLfrq+RAqN0tM8uTx+2aTFtb+N2som5laUtn862K9cMODZXCeTswzSovdMlpLR
+UjADekmZVRZikAr+9kq4kWJGLexxCnVsAc7htHndb1ZLObZoNCz1Iob3lXOulVHh
+/FrGhW98UXRJ0dx+zxKdcZLpO098mmkbWOkWktadLU9+/+RaVmzMEjHKjhZ0295C
+7QOomb2IBB7E06bA5Ye9WKlsEhSjs2fei2s0GAhMzQKBgQDiQc7kN6qi2ZZS1jB+
+Pa1oJb8x4w54MnjjhwwBWy9HDKelbsieAfxUk+3s0zuyWN+yEauE0tlcWC+mzhyL
+loAaI7I3lEo/91LrlsdW2E5rVHEQS2AKox3ciBGdPV39vvJ5z5Exp2X1KyE2I/sx
+j7Zwl1/Xcpqovf+RtKJWxbtcvwKBgQDXzErm2aHvNifP95jJefTogTqUDebe3z4i
+SS2rmJeoWZHRgwIAzfqGYsAJ738a/7kEDrtONvbOU8Vb1hT2tdLGuNi64gI8Y6S8
+7Vj5Xfd0BW8xtfaK9I1mLueaMEKM6JDpfQmemLGxRxvxmbGHVIrmZcNiK2IiqM1r
+pYiUqZwnOwKBgQCXt50uN426icFdZrc5z8356mXc4+6N9vpNR/9q4WRAdmHscu8f
+1SEI7fE7PyHmo+XMmEC1XlXWsGOzrL5Dc/YOkSUuU8e+QPBffcnJmF5tZkAytvh9
+6Ydam/uDvuTKBELAH8myzBd4YSVyEoqcX0vtD/R6miTPRiib4c6B9TGALQKBgQDL
+zx5OuOy/yB4BxI6AerZbgPGaMycBB0bfis2faxaQ4Ude4KRbri4WDd3hhFg/X5WV
+x3QPgsnGREf5XE+gUkkndhz7I8mIz3MfG+sUWTMEWL2T7Y9T3XRONa53aWzxOBTk
+8DrNltj73XT+0XFhpu8oeqP1a5PbuCGKsWQ1Q5s/UQKBgQCvjnZcXXuXjtDQqtiv
+gPx1CxeqY0jw4wPcItzXNUlqyAW2OE9ITEJlL7pS7zObSCDS2yZswmwyQd1DLbqO
+2Ad6VAkxr/DkzfSrfOuuKbMrW0Ri8BNGmWPmKALJ/x/A3FRLKX5CuuOdusRf3uXf
+oPnNzXK0PwzcgxdAVcVlyWwgxA==
+-----END PRIVATE KEY-----
diff --git a/wazuh/certs/indexer_cluster/admin.csr b/wazuh/certs/indexer_cluster/admin.csr
new file mode 100644
index 0000000000000000000000000000000000000000..1a43b762761fefe727165fd5313c9db3c0453be2
--- /dev/null
+++ b/wazuh/certs/indexer_cluster/admin.csr
@@ -0,0 +1,16 @@
+-----BEGIN CERTIFICATE REQUEST-----
+MIICiTCCAXECAQAwRDELMAkGA1UEBhMCVVMxEzARBgNVBAcMCkNhbGlmb3JuaWEx
+EDAOBgNVBAoMB0NvbXBhbnkxDjAMBgNVBAMMBWFkbWluMIIBIjANBgkqhkiG9w0B
+AQEFAAOCAQ8AMIIBCgKCAQEAvrnTZZXjaw2287/c5xKYvHYUt9sJczCCi1zKMjyM
+BC3OolW22frwz1mDKafJ6TanIdzcy/2/Vq+/cILqnKjfwVG/3wgprUbj13ChmOI/
+UMRKVeCHOTZliKe2vHutnTktxxYf9F2LdQIMksGoHvoM9TVTQmHlfbFCHpvCZpCd
+wXrWTsIfKaKv+U9xNyM+b0G1cU688yDpIbXHFRJZm8vyKHh2LJalzqbifBn0jvAx
+iytegiPhudDUY5yMjl2tXu4DD0K9tI8ga5bGgyPzP07hxm52sajtX3s1miC9I+Pb
+F6Px2n0IhgLbLXy3Aor79QnStNNnYa1GFAbEd+bxuLN5BQIDAQABoAAwDQYJKoZI
+hvcNAQELBQADggEBABb2rgku7Ef3jqQd51oGBrrTYYQfyA3Uck/pGY2sRtOgIfI8
+NXKEW7GwjNSV+bW3uE76PEWLjfMvcPwsIlNzVVpb/O0cVDSSJrHdfeCbfx4ZfUbF
+jNFSklqyAZB3FtypHOH32b4PP5trTmOwEiNCO0FkfXg2C9zf+48IMb8cHzIJ4Ntf
+K0C8uNVR1vISEk7EbcrLQffb/ITjp5hmM21Jsd7Mu5PhmAdTLowOpvWKM63V//Zi
+mmwlSNqxi88YeqQXKe1Chl00JPFszDXEViw6r1o94zEvattTZevqneup4wUF4Z9c
+hhjyJcaSGS4TN6PMKkDiVuOdMXpo8NpU8U0T2Ew=
+-----END CERTIFICATE REQUEST-----
diff --git a/wazuh/certs/indexer_cluster/admin.pem b/wazuh/certs/indexer_cluster/admin.pem
new file mode 100644
index 0000000000000000000000000000000000000000..8d9dfc30397c4b4add150dfc4cdc151fffc58bd6
--- /dev/null
+++ b/wazuh/certs/indexer_cluster/admin.pem
@@ -0,0 +1,19 @@
+-----BEGIN CERTIFICATE-----
+MIIDETCCAfkCFAMv5J5URpRVl2SqhU0+qCBPMfypMA0GCSqGSIb3DQEBCwUAMEYx
+CzAJBgNVBAYTAlVTMRMwEQYDVQQHDApDYWxpZm9ybmlhMRAwDgYDVQQKDAdDb21w
+YW55MRAwDgYDVQQDDAdyb290LWNhMB4XDTIzMDMxNzA5MDczOFoXDTMzMDMxNDA5
+MDczOFowRDELMAkGA1UEBhMCVVMxEzARBgNVBAcMCkNhbGlmb3JuaWExEDAOBgNV
+BAoMB0NvbXBhbnkxDjAMBgNVBAMMBWFkbWluMIIBIjANBgkqhkiG9w0BAQEFAAOC
+AQ8AMIIBCgKCAQEAvrnTZZXjaw2287/c5xKYvHYUt9sJczCCi1zKMjyMBC3OolW2
+2frwz1mDKafJ6TanIdzcy/2/Vq+/cILqnKjfwVG/3wgprUbj13ChmOI/UMRKVeCH
+OTZliKe2vHutnTktxxYf9F2LdQIMksGoHvoM9TVTQmHlfbFCHpvCZpCdwXrWTsIf
+KaKv+U9xNyM+b0G1cU688yDpIbXHFRJZm8vyKHh2LJalzqbifBn0jvAxiytegiPh
+udDUY5yMjl2tXu4DD0K9tI8ga5bGgyPzP07hxm52sajtX3s1miC9I+PbF6Px2n0I
+hgLbLXy3Aor79QnStNNnYa1GFAbEd+bxuLN5BQIDAQABMA0GCSqGSIb3DQEBCwUA
+A4IBAQA8M2Kl0QW1rrxl8vc3dQgZqRfWCWz5lJu4W9CB2yFma/vkjsRhBQI9Z1vy
+gVJLhjaAAujbm+09Ew7bwty3cPfanOnQrKTFzgDqqyCGc4v+J6HBUSk7BpiyHZ/S
+mz0p4a04CvJjSh9ZdYDDo5bvZI4Y/a2+nOFYm5LPatqEYIHRC++oYymhzFBeZeHb
+HoTzt6jhMcWUifYxhWfqJMAGrtpZEnjOo6EXJ3SAdAO0uNpsLjsTu/kkA5+2czKh
+JRpwi1HcVoLxtfbc2FQmHFJO35c6nDGt0T5Y0Y0WmYKWFFHTyBYRbzzKfs9atmJA
+VGlN7OnCgyl7cclNS9x33SqWZwax
+-----END CERTIFICATE-----
diff --git a/wazuh/certs/indexer_cluster/dashboard-key-temp.pem b/wazuh/certs/indexer_cluster/dashboard-key-temp.pem
new file mode 100644
index 0000000000000000000000000000000000000000..aea9f630f5a7a316f857bcf99026880655c6dc1c
--- /dev/null
+++ b/wazuh/certs/indexer_cluster/dashboard-key-temp.pem
@@ -0,0 +1,28 @@
+-----BEGIN PRIVATE KEY-----
+MIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQDIAYQiQWvLprlH
+Nn9ZUK378DifvU3ca6MXudSao43GGcwJ/aTx80PXx7ZPFJQJJFtYMGAwAxdi0Gqh
+bLWGE//i2XQJiKlNCZopjyfo6SasOaa//Yx+kFa2ABWtj5GtCTkWsTJg7lurzbe9
+abxWaZUWrVCSfGVz4ATsg6xgyxQtlbYxisMIg3s47N3orFxdcts7uJAuwyzCUtdi
+WIYvhWaNCMDEM5QUGtSqd4RpCvngj8RKCc60EDQzGFDlLswxXP6NNLFX6h3BxA20
+HC1PLvpQZHaziU4ImZOTyUEmLLXbnqXk6XmN8xH4j3twITX9f7kN2q14AVX4lLf1
+u7C5s2VxAgMBAAECggEABJBgSwXSJ2YJEVJxioC4T6j2KdMAjViZcqenbdXwnMYm
+7U1v76N891YT128hR6ogOX11HHNdm8AkxsU7yTD4pF0Q9Ey9jEf9UBh3sS1s1/5C
+y1vGUncJu4J5/ClsChZNSrLFcwfNaLi7iiN5DEHBiLBwx77187R3eEwy6UyJC9c1
+6tw2fHwXr1Y1S84YaAeeDHgM1hUsLRbphOHywuKzoTEASs2G4c+hG5gsYLqqjnDX
+X4Gt48j/Ssf07HNfIY0tyykvFiOwQ/r+YwwoNa4DQx1Jn9r8/kNnM6cGZ4fOOI4T
+RYFvGMpGJJG2LVcS2c/A/N38DO+IZiDBJZYcHDHtZwKBgQDjZUV1bZdMvxESkjRY
+SIxmG+l5fNnwo2WTiNuvOPRGHVhsO3v0BsPli+w+z/NZdQHdOxB8NlFNoeR1ak9G
+AifsWU7bh9pRQeokYvQ07m2ogD/LWVFKHl3rUCHTDTamCawBJvdzhp5rii0qu9Jp
+CjB94jcgzBapijUO9L2mRUJuewKBgQDhKjnyKT7VIc391WribF6G6YckBjc/q7UZ
+bpdZFqtmd6BT4gTLuxXmQ+YWdF3Y5CsT7wozg3/kovZ0Ri9Ht3/RWlTjiZLwaxgS
+kHw7gi7MnPOrwYG7+ensuhJocGX4elakeKr3WreweNnXq8qd5UE6jPWk/ieOcnSr
+FdUYWpYuAwKBgQCGSC59Sss3EfmV+uqYW7c1MTRtfpIAraz1M7NvRPXTVc76kyH+
+l+Qk8L0A1rJA2HzSVOfGQhk+++Q6hh3sHKfQxWhw8Ue2BnOrKxhFDauJ/rotbkA3
+wbj6laZzyHDGGh4NzCICgbOZk85aVvHI/7BlFiox3vNfCPOOMm6v+mRhcwKBgBf3
+prNgMI//SS37yaTQZD94HCp5fugIHv7WBsY044nEsgw7wsbs4yffkl5RhKvRncRB
+bZSOKs7ridBWqDG6FqDyPJb7zehJfgZ72r163gBptIZT0rtvnrbUF6GGVVRdsVtQ
+fOJXhbYDJy0N3ENyY78Xwg4N/6fqBwEvEb/F5LaBAoGAMh3gTqgFhfrJIKkDGO8i
+K/BepQn2Jl5hhQrVQJ8JH/xTRyo4Efx5o0lwOjPeNAcuUTxfcFtkZJmfnILj2VdJ
+zZohs0yS83OJ84D9Ur4zD+/bxxyywbCx6QQbzwAvSlU4lPMfQUBuEpZv56JF+ZA+
+yr2PZlv+Q5k05HSLcuFdfEU=
+-----END PRIVATE KEY-----
diff --git a/wazuh/certs/indexer_cluster/dashboard-key.pem b/wazuh/certs/indexer_cluster/dashboard-key.pem
new file mode 100644
index 0000000000000000000000000000000000000000..aea9f630f5a7a316f857bcf99026880655c6dc1c
--- /dev/null
+++ b/wazuh/certs/indexer_cluster/dashboard-key.pem
@@ -0,0 +1,28 @@
+-----BEGIN PRIVATE KEY-----
+MIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQDIAYQiQWvLprlH
+Nn9ZUK378DifvU3ca6MXudSao43GGcwJ/aTx80PXx7ZPFJQJJFtYMGAwAxdi0Gqh
+bLWGE//i2XQJiKlNCZopjyfo6SasOaa//Yx+kFa2ABWtj5GtCTkWsTJg7lurzbe9
+abxWaZUWrVCSfGVz4ATsg6xgyxQtlbYxisMIg3s47N3orFxdcts7uJAuwyzCUtdi
+WIYvhWaNCMDEM5QUGtSqd4RpCvngj8RKCc60EDQzGFDlLswxXP6NNLFX6h3BxA20
+HC1PLvpQZHaziU4ImZOTyUEmLLXbnqXk6XmN8xH4j3twITX9f7kN2q14AVX4lLf1
+u7C5s2VxAgMBAAECggEABJBgSwXSJ2YJEVJxioC4T6j2KdMAjViZcqenbdXwnMYm
+7U1v76N891YT128hR6ogOX11HHNdm8AkxsU7yTD4pF0Q9Ey9jEf9UBh3sS1s1/5C
+y1vGUncJu4J5/ClsChZNSrLFcwfNaLi7iiN5DEHBiLBwx77187R3eEwy6UyJC9c1
+6tw2fHwXr1Y1S84YaAeeDHgM1hUsLRbphOHywuKzoTEASs2G4c+hG5gsYLqqjnDX
+X4Gt48j/Ssf07HNfIY0tyykvFiOwQ/r+YwwoNa4DQx1Jn9r8/kNnM6cGZ4fOOI4T
+RYFvGMpGJJG2LVcS2c/A/N38DO+IZiDBJZYcHDHtZwKBgQDjZUV1bZdMvxESkjRY
+SIxmG+l5fNnwo2WTiNuvOPRGHVhsO3v0BsPli+w+z/NZdQHdOxB8NlFNoeR1ak9G
+AifsWU7bh9pRQeokYvQ07m2ogD/LWVFKHl3rUCHTDTamCawBJvdzhp5rii0qu9Jp
+CjB94jcgzBapijUO9L2mRUJuewKBgQDhKjnyKT7VIc391WribF6G6YckBjc/q7UZ
+bpdZFqtmd6BT4gTLuxXmQ+YWdF3Y5CsT7wozg3/kovZ0Ri9Ht3/RWlTjiZLwaxgS
+kHw7gi7MnPOrwYG7+ensuhJocGX4elakeKr3WreweNnXq8qd5UE6jPWk/ieOcnSr
+FdUYWpYuAwKBgQCGSC59Sss3EfmV+uqYW7c1MTRtfpIAraz1M7NvRPXTVc76kyH+
+l+Qk8L0A1rJA2HzSVOfGQhk+++Q6hh3sHKfQxWhw8Ue2BnOrKxhFDauJ/rotbkA3
+wbj6laZzyHDGGh4NzCICgbOZk85aVvHI/7BlFiox3vNfCPOOMm6v+mRhcwKBgBf3
+prNgMI//SS37yaTQZD94HCp5fugIHv7WBsY044nEsgw7wsbs4yffkl5RhKvRncRB
+bZSOKs7ridBWqDG6FqDyPJb7zehJfgZ72r163gBptIZT0rtvnrbUF6GGVVRdsVtQ
+fOJXhbYDJy0N3ENyY78Xwg4N/6fqBwEvEb/F5LaBAoGAMh3gTqgFhfrJIKkDGO8i
+K/BepQn2Jl5hhQrVQJ8JH/xTRyo4Efx5o0lwOjPeNAcuUTxfcFtkZJmfnILj2VdJ
+zZohs0yS83OJ84D9Ur4zD+/bxxyywbCx6QQbzwAvSlU4lPMfQUBuEpZv56JF+ZA+
+yr2PZlv+Q5k05HSLcuFdfEU=
+-----END PRIVATE KEY-----
diff --git a/wazuh/certs/indexer_cluster/dashboard.csr b/wazuh/certs/indexer_cluster/dashboard.csr
new file mode 100644
index 0000000000000000000000000000000000000000..a9006b353e36c78f9eba072e842bda62667bcebb
--- /dev/null
+++ b/wazuh/certs/indexer_cluster/dashboard.csr
@@ -0,0 +1,16 @@
+-----BEGIN CERTIFICATE REQUEST-----
+MIICjTCCAXUCAQAwSDELMAkGA1UEBhMCVVMxEzARBgNVBAcMCkNhbGlmb3JuaWEx
+EDAOBgNVBAoMB0NvbXBhbnkxEjAQBgNVBAMMCWRhc2hib2FyZDCCASIwDQYJKoZI
+hvcNAQEBBQADggEPADCCAQoCggEBAMgBhCJBa8umuUc2f1lQrfvwOJ+9Tdxroxe5
+1JqjjcYZzAn9pPHzQ9fHtk8UlAkkW1gwYDADF2LQaqFstYYT/+LZdAmIqU0JmimP
+J+jpJqw5pr/9jH6QVrYAFa2Pka0JORaxMmDuW6vNt71pvFZplRatUJJ8ZXPgBOyD
+rGDLFC2VtjGKwwiDezjs3eisXF1y2zu4kC7DLMJS12JYhi+FZo0IwMQzlBQa1Kp3
+hGkK+eCPxEoJzrQQNDMYUOUuzDFc/o00sVfqHcHEDbQcLU8u+lBkdrOJTgiZk5PJ
+QSYstduepeTpeY3zEfiPe3AhNf1/uQ3arXgBVfiUt/W7sLmzZXECAwEAAaAAMA0G
+CSqGSIb3DQEBCwUAA4IBAQCRPJJ5xNUxiRKu32Op68PtxgGt5H/Qrl+epD3mryhR
+4jb1yTOpZfuioso/qGr9t77DRLc5AbIfTetQZ5sbf8fbfvdpXD4072aBiBCsawsI
+JqyRQPgM5GOPC0dBpH/dtb2HdxFe5NPITsdGixSezs71gOSiHE+iBvw+HMKGSVay
+th4wYgTwrh/UWy7M+8kC1g8CDZ13Qs17CBkLV8IKI0FANCkgkpiBMaRgRxFZY5Xe
+qHQMz+HJvPiNZVhi8uKqNSq7UUx+g9SBAG537jUleK3xWpsJUaAwx7MdixDWZAG5
+o9tP6Ml2SM1ywL1FUoQ854Vjeg/UqP0CXhBkX8R9vciU
+-----END CERTIFICATE REQUEST-----
diff --git a/wazuh/certs/indexer_cluster/dashboard.pem b/wazuh/certs/indexer_cluster/dashboard.pem
new file mode 100644
index 0000000000000000000000000000000000000000..c534a3b8f2f0a43dadc35235575a9de508bd40ae
--- /dev/null
+++ b/wazuh/certs/indexer_cluster/dashboard.pem
@@ -0,0 +1,19 @@
+-----BEGIN CERTIFICATE-----
+MIIDFTCCAf0CFCFTbfdvbAi7B9zScQg8hnv/q4v2MA0GCSqGSIb3DQEBCwUAMEYx
+CzAJBgNVBAYTAlVTMRMwEQYDVQQHDApDYWxpZm9ybmlhMRAwDgYDVQQKDAdDb21w
+YW55MRAwDgYDVQQDDAdyb290LWNhMB4XDTIzMDMxNzA5MDczOVoXDTMzMDMxNDA5
+MDczOVowSDELMAkGA1UEBhMCVVMxEzARBgNVBAcMCkNhbGlmb3JuaWExEDAOBgNV
+BAoMB0NvbXBhbnkxEjAQBgNVBAMMCWRhc2hib2FyZDCCASIwDQYJKoZIhvcNAQEB
+BQADggEPADCCAQoCggEBAMgBhCJBa8umuUc2f1lQrfvwOJ+9Tdxroxe51JqjjcYZ
+zAn9pPHzQ9fHtk8UlAkkW1gwYDADF2LQaqFstYYT/+LZdAmIqU0JmimPJ+jpJqw5
+pr/9jH6QVrYAFa2Pka0JORaxMmDuW6vNt71pvFZplRatUJJ8ZXPgBOyDrGDLFC2V
+tjGKwwiDezjs3eisXF1y2zu4kC7DLMJS12JYhi+FZo0IwMQzlBQa1Kp3hGkK+eCP
+xEoJzrQQNDMYUOUuzDFc/o00sVfqHcHEDbQcLU8u+lBkdrOJTgiZk5PJQSYstdue
+peTpeY3zEfiPe3AhNf1/uQ3arXgBVfiUt/W7sLmzZXECAwEAATANBgkqhkiG9w0B
+AQsFAAOCAQEA0LOp3gfcfeYxlS8TgS8s00x91ZH4LqJhZFIOJIxIuBigE7DYfbZc
+Csy3ZjwXL8UorcP0Fgfo/BHVyr37a+iRTDjob841EhIdd5Rq5VxCTPl8uQxS3NGN
+tHhyOEiZbjMoPEGL/z+iAH9CQLy5xRFRxb0CxShwztIkslSLKA0RBnSJAXy4UyqM
+T9Enlb0aPZ6YBOLlm4Pj7u8za9vhgK5p0w+T+uzg+PtZqV0De55Wrc2Ujt/aGq9g
+tcvMSb+ORLJeuKWYg2cxTbDMP5ugKt4qCl00UgIq14SxCt6+Hvc8oxV5aBZiIhji
+t4NuKeYflUl3mBljf2ym0f/vMcXa2QC8lg==
+-----END CERTIFICATE-----
diff --git a/wazuh/certs/indexer_cluster/filebeat-key-temp.pem b/wazuh/certs/indexer_cluster/filebeat-key-temp.pem
new file mode 100644
index 0000000000000000000000000000000000000000..d24dd2cf22fa3c54f3fa52f201eaafc4c5387cb3
--- /dev/null
+++ b/wazuh/certs/indexer_cluster/filebeat-key-temp.pem
@@ -0,0 +1,28 @@
+-----BEGIN PRIVATE KEY-----
+MIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQC8lI65mdMaQrQL
+0UJgSMPIIGj5gLvXHSLKF1F5edgGLWkhc6wMVHv6XZ2oQNc0MzX2jCRYUoaQdbSP
+fT60DYrZK9JfyuATEXiz8eqKMqxhiPw2X3JCAL4iuZe1r/utE9IEcjf10OJKGlQe
+QB6ShopdW+wYx5bN1WiEqALSyzFRgVGLzm1c1t0g7xX8OSv8zbz/UA3aaxkFZV3N
+OEL5EzGL0mNUVfJol9Yt6LNcqCZX8s23xl/ZDwjk9IslW5Cjj0+4qDomlbc9/yph
+7La0VRBl1I99AZRRSGmUE6tMNiug7dlYG7qjGtQDIum57DPPVPe8dEGy1OzkS/qx
+arpyjkjLAgMBAAECggEAAoRUrIgWJ+h4moKS/IT/TYyWyhaC3oA7JomNvIc44zA4
+K7DT1lN98IQCWcYJX6viGv9lo5Yj/KNnIwkjADU0EFAqhFb8izsCKoJE+DSf7124
+/AkySOY71p8Cgtn6WNkfkvaeGS/noHr3rdjhb5Q2UY1FOlMKB+118fTqGlUi73lt
+keIpca9TxMSF0S2eRl6yFwJdS5ZNArHZN4a3JGswJZuT12T4T07UAbr8sk6kDBUv
+hh/Devu+slcypF+jXFb2OxCtiwYukS/soMGz+V3CRbj/JzdYz7LlMwjPeV/A4etx
+oe7YJRlzyhG81YgM//iW4hhlahP1ynbroxmOuiZ5GQKBgQD4+JLFHqrrSUNGowvz
+zNITy2KF8jfKVvvoAqnzxe0BSQCq6clXuJxWaPV4atSrWbfOReP/xJTJADVrulkN
+1fo8lZHVlGL/WXFGjnGyU7Xyk9Q2WYPrzKKnMrskOPyLnd7Bou9VAOB/GpGxmTDT
+3dSRxBegE6OJPwFVt++/vRRH0wKBgQDB54NiC+Yn9X82E2wv2YlTa1gP5YJM1rmP
+nL5JmYvQcQZjDVR39CnxGp3wFLOfMI92ANur/Dyl5NYDxNYpQIIHzYH6Ajm+uJjy
+0QNVqU/DCfghlfRqms0B0qLdIAk619pWfhlwNzLXsnk/mZwbtxZgcXI6SXoRmkEp
+UJTBfUEYKQKBgC8cUiFsoSjubwWBurRCUIogVR9FaxslhHstbd1L2YIBv1eX71pi
++2o6aCCGDoHx8x7cCL2QBBtYp8MfutQsZjJqlvLUJjttQEr6jzcQMgCZynESVS0c
+RrbemZzMD7WXhNwdKa5rAQ/sBh+V/jBI7H08nr/Sl4JT4rvGl14vuBOzAoGBAIbB
+BsxXqp5wfPSusMvcKRSBEBUUEeamfxSwAIoTnFfChIbH18D5PUCil8omCOKDk9+V
+HxS52cgMbTL3U0Id43/asQ53B3xku15cJS4d2SGZRwjINrDzXa97m9WCkweCxOjA
+/5q9saa3EI5DiXq1VWa20IRzVdLv2YMFzitdiaRpAoGBAIlvYk31fwI2rcgtzdwb
+VsSXxJhvcCVl3vNjPyjxACieUAVmAQKuL0bUV753UcUIY8tWpcqKNoW2m86yBqPc
+qzOTzc2ADqV2fdrPyCT6ZN5GDjpCNZ3zIKSYJadBRBb0l+PdLfDd6aOp3B5cuOyq
+ScVG2OzEEVhppA4yzNWpXdu9
+-----END PRIVATE KEY-----
diff --git a/wazuh/certs/indexer_cluster/filebeat-key.pem b/wazuh/certs/indexer_cluster/filebeat-key.pem
new file mode 100644
index 0000000000000000000000000000000000000000..d24dd2cf22fa3c54f3fa52f201eaafc4c5387cb3
--- /dev/null
+++ b/wazuh/certs/indexer_cluster/filebeat-key.pem
@@ -0,0 +1,28 @@
+-----BEGIN PRIVATE KEY-----
+MIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQC8lI65mdMaQrQL
+0UJgSMPIIGj5gLvXHSLKF1F5edgGLWkhc6wMVHv6XZ2oQNc0MzX2jCRYUoaQdbSP
+fT60DYrZK9JfyuATEXiz8eqKMqxhiPw2X3JCAL4iuZe1r/utE9IEcjf10OJKGlQe
+QB6ShopdW+wYx5bN1WiEqALSyzFRgVGLzm1c1t0g7xX8OSv8zbz/UA3aaxkFZV3N
+OEL5EzGL0mNUVfJol9Yt6LNcqCZX8s23xl/ZDwjk9IslW5Cjj0+4qDomlbc9/yph
+7La0VRBl1I99AZRRSGmUE6tMNiug7dlYG7qjGtQDIum57DPPVPe8dEGy1OzkS/qx
+arpyjkjLAgMBAAECggEAAoRUrIgWJ+h4moKS/IT/TYyWyhaC3oA7JomNvIc44zA4
+K7DT1lN98IQCWcYJX6viGv9lo5Yj/KNnIwkjADU0EFAqhFb8izsCKoJE+DSf7124
+/AkySOY71p8Cgtn6WNkfkvaeGS/noHr3rdjhb5Q2UY1FOlMKB+118fTqGlUi73lt
+keIpca9TxMSF0S2eRl6yFwJdS5ZNArHZN4a3JGswJZuT12T4T07UAbr8sk6kDBUv
+hh/Devu+slcypF+jXFb2OxCtiwYukS/soMGz+V3CRbj/JzdYz7LlMwjPeV/A4etx
+oe7YJRlzyhG81YgM//iW4hhlahP1ynbroxmOuiZ5GQKBgQD4+JLFHqrrSUNGowvz
+zNITy2KF8jfKVvvoAqnzxe0BSQCq6clXuJxWaPV4atSrWbfOReP/xJTJADVrulkN
+1fo8lZHVlGL/WXFGjnGyU7Xyk9Q2WYPrzKKnMrskOPyLnd7Bou9VAOB/GpGxmTDT
+3dSRxBegE6OJPwFVt++/vRRH0wKBgQDB54NiC+Yn9X82E2wv2YlTa1gP5YJM1rmP
+nL5JmYvQcQZjDVR39CnxGp3wFLOfMI92ANur/Dyl5NYDxNYpQIIHzYH6Ajm+uJjy
+0QNVqU/DCfghlfRqms0B0qLdIAk619pWfhlwNzLXsnk/mZwbtxZgcXI6SXoRmkEp
+UJTBfUEYKQKBgC8cUiFsoSjubwWBurRCUIogVR9FaxslhHstbd1L2YIBv1eX71pi
++2o6aCCGDoHx8x7cCL2QBBtYp8MfutQsZjJqlvLUJjttQEr6jzcQMgCZynESVS0c
+RrbemZzMD7WXhNwdKa5rAQ/sBh+V/jBI7H08nr/Sl4JT4rvGl14vuBOzAoGBAIbB
+BsxXqp5wfPSusMvcKRSBEBUUEeamfxSwAIoTnFfChIbH18D5PUCil8omCOKDk9+V
+HxS52cgMbTL3U0Id43/asQ53B3xku15cJS4d2SGZRwjINrDzXa97m9WCkweCxOjA
+/5q9saa3EI5DiXq1VWa20IRzVdLv2YMFzitdiaRpAoGBAIlvYk31fwI2rcgtzdwb
+VsSXxJhvcCVl3vNjPyjxACieUAVmAQKuL0bUV753UcUIY8tWpcqKNoW2m86yBqPc
+qzOTzc2ADqV2fdrPyCT6ZN5GDjpCNZ3zIKSYJadBRBb0l+PdLfDd6aOp3B5cuOyq
+ScVG2OzEEVhppA4yzNWpXdu9
+-----END PRIVATE KEY-----
diff --git a/wazuh/certs/indexer_cluster/filebeat.csr b/wazuh/certs/indexer_cluster/filebeat.csr
new file mode 100644
index 0000000000000000000000000000000000000000..03120990b3f32f8065bd4e8126247f45da3d2354
--- /dev/null
+++ b/wazuh/certs/indexer_cluster/filebeat.csr
@@ -0,0 +1,16 @@
+-----BEGIN CERTIFICATE REQUEST-----
+MIICjDCCAXQCAQAwRzELMAkGA1UEBhMCVVMxEzARBgNVBAcMCkNhbGlmb3JuaWEx
+EDAOBgNVBAoMB0NvbXBhbnkxETAPBgNVBAMMCGZpbGViZWF0MIIBIjANBgkqhkiG
+9w0BAQEFAAOCAQ8AMIIBCgKCAQEAvJSOuZnTGkK0C9FCYEjDyCBo+YC71x0iyhdR
+eXnYBi1pIXOsDFR7+l2dqEDXNDM19owkWFKGkHW0j30+tA2K2SvSX8rgExF4s/Hq
+ijKsYYj8Nl9yQgC+IrmXta/7rRPSBHI39dDiShpUHkAekoaKXVvsGMeWzdVohKgC
+0ssxUYFRi85tXNbdIO8V/Dkr/M28/1AN2msZBWVdzThC+RMxi9JjVFXyaJfWLeiz
+XKgmV/LNt8Zf2Q8I5PSLJVuQo49PuKg6JpW3Pf8qYey2tFUQZdSPfQGUUUhplBOr
+TDYroO3ZWBu6oxrUAyLpuewzz1T3vHRBstTs5Ev6sWq6co5IywIDAQABoAAwDQYJ
+KoZIhvcNAQELBQADggEBAGioSPchA+wsTE8LqUVkcxLCvF+qoMC7pg3SRwTS2DO9
+h51av7HBsrSuQ+nygi8NsxnWKO56qCUMi9gY+/rQZ5hTGZuC7ECeQGIY/+2RfDLq
+XULBs4I+dvUtC4B2TF4L7QNpXQQ/swukOFpWjbZ8rYiEFK5X/i9zi/dHC2dJPead
+ZoZ8hewiMpp8ZCq5PZN/vdEJf2ik0Wo8V+RKCEALB9zzzch5Zk9DDDCVS8If5XKo
+docPn0a3gdNUr2bYUd8FvytjbqFxQNYZOFdGHLif/I3UvDTu25Gyd+ejKCPSSxAK
+BbZzuuG7RY6427qi7Z2sM+MXpeG4HYKIsUqR+eI0xtI=
+-----END CERTIFICATE REQUEST-----
diff --git a/wazuh/certs/indexer_cluster/filebeat.pem b/wazuh/certs/indexer_cluster/filebeat.pem
new file mode 100644
index 0000000000000000000000000000000000000000..fbb3db40c2edc4e5d4db130742c996a2bd0bec74
--- /dev/null
+++ b/wazuh/certs/indexer_cluster/filebeat.pem
@@ -0,0 +1,19 @@
+-----BEGIN CERTIFICATE-----
+MIIDFDCCAfwCFH9mB8ZPHLPUseVJH06XtkcdGye9MA0GCSqGSIb3DQEBCwUAMEYx
+CzAJBgNVBAYTAlVTMRMwEQYDVQQHDApDYWxpZm9ybmlhMRAwDgYDVQQKDAdDb21w
+YW55MRAwDgYDVQQDDAdyb290LWNhMB4XDTIzMDMxNzA5MDczOVoXDTMzMDMxNDA5
+MDczOVowRzELMAkGA1UEBhMCVVMxEzARBgNVBAcMCkNhbGlmb3JuaWExEDAOBgNV
+BAoMB0NvbXBhbnkxETAPBgNVBAMMCGZpbGViZWF0MIIBIjANBgkqhkiG9w0BAQEF
+AAOCAQ8AMIIBCgKCAQEAvJSOuZnTGkK0C9FCYEjDyCBo+YC71x0iyhdReXnYBi1p
+IXOsDFR7+l2dqEDXNDM19owkWFKGkHW0j30+tA2K2SvSX8rgExF4s/HqijKsYYj8
+Nl9yQgC+IrmXta/7rRPSBHI39dDiShpUHkAekoaKXVvsGMeWzdVohKgC0ssxUYFR
+i85tXNbdIO8V/Dkr/M28/1AN2msZBWVdzThC+RMxi9JjVFXyaJfWLeizXKgmV/LN
+t8Zf2Q8I5PSLJVuQo49PuKg6JpW3Pf8qYey2tFUQZdSPfQGUUUhplBOrTDYroO3Z
+WBu6oxrUAyLpuewzz1T3vHRBstTs5Ev6sWq6co5IywIDAQABMA0GCSqGSIb3DQEB
+CwUAA4IBAQBbfVW7dg02RA+WKcM1TSefIH3HD62BpmnCgf3UI3zzs8t+Kcd7v3IO
+aNPQli+ndvoVMJ6W4VHAMjXgBX2mPatz3oyAyB2pfi40MrKv0jD5+sCOi2pIy31n
+If73e9ZnGHhamUJhLxUPAV+5oCRcjbcB5TlbR95VlKdXm5ixNC24kflTrCicj8Ds
++YUPiGLLbIzhNLzzbpqQfbPbtaTs0Uihs+9MAuQ+PV1lqVewxj6xkhxeLc1c7r5q
+qlTj6AL8u6uIOnRtloZzutm+YkYCEvnLvLzblk+PdxnslJhmdLSMtSdX1v1zsUof
+QB6tfVGtyZboYhAYpvbx3OTyZW2V2Q1t
+-----END CERTIFICATE-----
diff --git a/wazuh/certs/indexer_cluster/generate_certs.sh b/wazuh/certs/indexer_cluster/generate_certs.sh
new file mode 100755
index 0000000000000000000000000000000000000000..84175ce52375d80338b562a2073b92ac7ae51952
--- /dev/null
+++ b/wazuh/certs/indexer_cluster/generate_certs.sh
@@ -0,0 +1,85 @@
+#!/bin/bash
+
+DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
+cd $DIR
+
+echo "Root CA"
+
+openssl genrsa -out root-ca-key.pem 2048
+
+openssl req -days 3650 -new -x509 -sha256 -key root-ca-key.pem -out root-ca.pem -subj "/C=US/L=California/O=Company/CN=root-ca"
+
+echo "Admin cert"
+
+echo "create: admin-key-temp.pem"
+
+openssl genrsa -out admin-key-temp.pem 2048
+
+echo "create: admin-key.pem"
+
+openssl pkcs8 -inform PEM -outform PEM -in admin-key-temp.pem -topk8 -nocrypt -v1 PBE-SHA1-3DES -out admin-key.pem
+
+echo "create: admin.csr"
+
+openssl req -days 3650 -new -key admin-key.pem -out admin.csr -subj "/C=US/L=California/O=Company/CN=admin"
+
+echo "create: admin.pem"
+
+openssl x509 -req -days 3650 -in admin.csr -CA root-ca.pem -CAkey root-ca-key.pem -CAcreateserial -sha256 -out admin.pem
+
+
+echo "* Node cert"
+
+echo "create: node-key-temp.pem"
+
+openssl genrsa -out node-key-temp.pem 2048
+
+echo "create: node-key.pem"
+
+openssl pkcs8 -inform PEM -outform PEM -in node-key-temp.pem -topk8 -nocrypt -v1 PBE-SHA1-3DES -out node-key.pem
+
+echo "create: node.csr"
+
+openssl req -days 3650 -new -key node-key.pem -out node.csr -subj "/C=US/L=California/O=Company/CN=*.wazuh-indexer"
+
+echo "create: node.pem"
+
+openssl x509 -req -days 3650 -in node.csr -CA root-ca.pem -CAkey root-ca-key.pem -CAcreateserial -sha256 -out node.pem
+
+echo "* dashboard cert"
+
+echo "create: dashboard-key-temp.pem"
+
+openssl genrsa -out dashboard-key-temp.pem 2048
+
+echo "create: dashboard-key.pem"
+
+openssl pkcs8 -inform PEM -outform PEM -in dashboard-key-temp.pem -topk8 -nocrypt -v1 PBE-SHA1-3DES -out dashboard-key.pem
+
+echo "create: dashboard.csr"
+
+openssl req -days 3650 -new -key dashboard-key.pem -out dashboard.csr -subj "/C=US/L=California/O=Company/CN=dashboard"
+
+echo "create: dashboard.pem"
+
+openssl x509 -req -days 3650 -in dashboard.csr -CA root-ca.pem -CAkey root-ca-key.pem -CAcreateserial -sha256 -out dashboard.pem
+
+
+
+echo "* Filebeat cert"
+
+echo "create: filebeat-key-temp.pem"
+
+openssl genrsa -out filebeat-key-temp.pem 2048
+
+echo "create: filebeat-key.pem"
+
+openssl pkcs8 -inform PEM -outform PEM -in filebeat-key-temp.pem -topk8 -nocrypt -v1 PBE-SHA1-3DES -out filebeat-key.pem
+
+echo "create: filebeat.csr"
+
+openssl req -days 3650 -new -key filebeat-key.pem -out filebeat.csr -subj "/C=US/L=California/O=Company/CN=filebeat"
+
+echo "create: filebeat.pem"
+
+openssl x509 -req -days 3650 -in filebeat.csr -CA root-ca.pem -CAkey root-ca-key.pem -CAcreateserial -sha256 -out filebeat.pem
diff --git a/wazuh/certs/indexer_cluster/node-key-temp.pem b/wazuh/certs/indexer_cluster/node-key-temp.pem
new file mode 100644
index 0000000000000000000000000000000000000000..0106dbabee0ad34e5615a005cc4ce47ca34c1e89
--- /dev/null
+++ b/wazuh/certs/indexer_cluster/node-key-temp.pem
@@ -0,0 +1,28 @@
+-----BEGIN PRIVATE KEY-----
+MIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQC+HogUfB3tDlnq
+e0KFA8Y3Ozj1Yrz5CtdvtfjjqGM07vC3vm2LTtGJC/15Ax2at8gB7sZb/CmEvYzN
+5pQ/EwXLeCw3HoP9m+QbZDyvsVQ+OXWoWzSeP4iDpLejV7N0HWoajapDZfr+bT7W
+7ctmvkA1+O6aABW50qnBeN4yAWI7+57uAk2tzP7MJfedAwSqTypcRQLUan/C7DxX
+ja5/cL+OoCOCrq/EibR5vFrxVueMO2ueLoyvZ6WcJWjQITb8lPLYTDXa+mstFt/B
+9RiaPJsK6yIpnVZ+ifYdOLJMR9Pc0IhTYC5cSn5MG4mUk6Elj66KBPDha21g33Oe
+n50/9foVAgMBAAECggEAFJCW5ahbUFYaEcwNcPfsi/LjAWAR0tqCXToQ1wdS29nw
+vd9iWAxJjAp4+4sDu8WfY94hJLgNAafDQE5twLjdCppQJhIt8tPXA8N+8P48f5KV
+kIV1Fp0Gtj6uAoQtDCVWYdLrFOlGEhldD8CfHNj9dxkbLhtOPlB0PlJFrqEJsDUi
+hkeCW5PMU1rStDKoDjJ/XzE/S3o8xXE4Z80lE9RfxtmZSGdqD+rF62DWgFn5uQzt
+xiqLOsX4VaQBzapCHT33mJ6IVI/2aWgs7b163lcwuRF1L7BOctNA6QUx7b3R+trL
+gGo7ppEYpGn26r8zUVTT6VUigmpnc7S3EGXBEZNDgQKBgQDGLQiNjg7I3DF0Y2ZI
+FT5hbro7FYd9m4H92kvdE3VDE2npsgsTBMI9EAG4r7hS18h6ijQM0q7x/ajfWVz1
+5VLLNg4UvDbaiTMD/+aLwI+qGdK5vC26FUWdISXSC1eHwz45ntdtqs9d9SdJvo+1
+jtIlq4kOdkscClKaKr5C6R0ENQKBgQD1l7Kx0gYT4L8ZtEXOI102yuyXQb0LoH/z
+/SWeZWTEjabRtANUQoL3pGuWnw+S03tl+FdUcZrw86m7x7pnUNGGxLmr3DLKsgZe
+ocs3BJMnmz/6UNp2WBaaVof9b0egeE1bMUaOd+QY4dHuRM22oQbxMRIwgmv6TbJX
+n/reEKIaYQKBgQDCUH3GbrhIcr97I8uyekIEPxITxPRpUQWQ527jgqTD9FExeAYr
+y8q5HOzTLllJwZMttD19JUest8/R0Em6QfWAk6wS4MnYVhbToSNpfJJhc5iPzdf4
+UctEWrA+2CgnUmW9Eeah/Y3+ztaLFHLMzxF3Jk7pA0x6XhTIXYjZCsIM0QKBgGa4
+OzpawMYBo4xJtUShz/QB7fDZwwsg50OSpvBYMkxvfs2JADd21jZj48gM4UOlBqDA
+vS4JkiejkmODBzj9OZWnpIz4PZo/2aAtBcUOOcpACgNVW/pRn6qP9LMQnyHED37L
+3lnqVVH+6YJB7tSrBy9MOfJmKml3o9c4h4Hn7RUhAoGBALM66CA5mmoRgn8Nx/vq
+GOtHuSD09wkfLZl1DWbtruEJGL83/HUnkZ6goTEYzvrqd5nbtzEtvPbKHDPCvIm4
+44BT/QvIo453MDdsVRzHEPGCYcM1N2Nj8/O9TiGqU6Ylt0Z48wrjWcSp4Z1OQroJ
+Tb4EY99u+/lyrYivLWUj3jho
+-----END PRIVATE KEY-----
diff --git a/wazuh/certs/indexer_cluster/node-key.pem b/wazuh/certs/indexer_cluster/node-key.pem
new file mode 100644
index 0000000000000000000000000000000000000000..0106dbabee0ad34e5615a005cc4ce47ca34c1e89
--- /dev/null
+++ b/wazuh/certs/indexer_cluster/node-key.pem
@@ -0,0 +1,28 @@
+-----BEGIN PRIVATE KEY-----
+MIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQC+HogUfB3tDlnq
+e0KFA8Y3Ozj1Yrz5CtdvtfjjqGM07vC3vm2LTtGJC/15Ax2at8gB7sZb/CmEvYzN
+5pQ/EwXLeCw3HoP9m+QbZDyvsVQ+OXWoWzSeP4iDpLejV7N0HWoajapDZfr+bT7W
+7ctmvkA1+O6aABW50qnBeN4yAWI7+57uAk2tzP7MJfedAwSqTypcRQLUan/C7DxX
+ja5/cL+OoCOCrq/EibR5vFrxVueMO2ueLoyvZ6WcJWjQITb8lPLYTDXa+mstFt/B
+9RiaPJsK6yIpnVZ+ifYdOLJMR9Pc0IhTYC5cSn5MG4mUk6Elj66KBPDha21g33Oe
+n50/9foVAgMBAAECggEAFJCW5ahbUFYaEcwNcPfsi/LjAWAR0tqCXToQ1wdS29nw
+vd9iWAxJjAp4+4sDu8WfY94hJLgNAafDQE5twLjdCppQJhIt8tPXA8N+8P48f5KV
+kIV1Fp0Gtj6uAoQtDCVWYdLrFOlGEhldD8CfHNj9dxkbLhtOPlB0PlJFrqEJsDUi
+hkeCW5PMU1rStDKoDjJ/XzE/S3o8xXE4Z80lE9RfxtmZSGdqD+rF62DWgFn5uQzt
+xiqLOsX4VaQBzapCHT33mJ6IVI/2aWgs7b163lcwuRF1L7BOctNA6QUx7b3R+trL
+gGo7ppEYpGn26r8zUVTT6VUigmpnc7S3EGXBEZNDgQKBgQDGLQiNjg7I3DF0Y2ZI
+FT5hbro7FYd9m4H92kvdE3VDE2npsgsTBMI9EAG4r7hS18h6ijQM0q7x/ajfWVz1
+5VLLNg4UvDbaiTMD/+aLwI+qGdK5vC26FUWdISXSC1eHwz45ntdtqs9d9SdJvo+1
+jtIlq4kOdkscClKaKr5C6R0ENQKBgQD1l7Kx0gYT4L8ZtEXOI102yuyXQb0LoH/z
+/SWeZWTEjabRtANUQoL3pGuWnw+S03tl+FdUcZrw86m7x7pnUNGGxLmr3DLKsgZe
+ocs3BJMnmz/6UNp2WBaaVof9b0egeE1bMUaOd+QY4dHuRM22oQbxMRIwgmv6TbJX
+n/reEKIaYQKBgQDCUH3GbrhIcr97I8uyekIEPxITxPRpUQWQ527jgqTD9FExeAYr
+y8q5HOzTLllJwZMttD19JUest8/R0Em6QfWAk6wS4MnYVhbToSNpfJJhc5iPzdf4
+UctEWrA+2CgnUmW9Eeah/Y3+ztaLFHLMzxF3Jk7pA0x6XhTIXYjZCsIM0QKBgGa4
+OzpawMYBo4xJtUShz/QB7fDZwwsg50OSpvBYMkxvfs2JADd21jZj48gM4UOlBqDA
+vS4JkiejkmODBzj9OZWnpIz4PZo/2aAtBcUOOcpACgNVW/pRn6qP9LMQnyHED37L
+3lnqVVH+6YJB7tSrBy9MOfJmKml3o9c4h4Hn7RUhAoGBALM66CA5mmoRgn8Nx/vq
+GOtHuSD09wkfLZl1DWbtruEJGL83/HUnkZ6goTEYzvrqd5nbtzEtvPbKHDPCvIm4
+44BT/QvIo453MDdsVRzHEPGCYcM1N2Nj8/O9TiGqU6Ylt0Z48wrjWcSp4Z1OQroJ
+Tb4EY99u+/lyrYivLWUj3jho
+-----END PRIVATE KEY-----
diff --git a/wazuh/certs/indexer_cluster/node.csr b/wazuh/certs/indexer_cluster/node.csr
new file mode 100644
index 0000000000000000000000000000000000000000..8f12db02746e0a5a6611ae7f1af340dac6656dc6
--- /dev/null
+++ b/wazuh/certs/indexer_cluster/node.csr
@@ -0,0 +1,16 @@
+-----BEGIN CERTIFICATE REQUEST-----
+MIICkzCCAXsCAQAwTjELMAkGA1UEBhMCVVMxEzARBgNVBAcMCkNhbGlmb3JuaWEx
+EDAOBgNVBAoMB0NvbXBhbnkxGDAWBgNVBAMMDyoud2F6dWgtaW5kZXhlcjCCASIw
+DQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAL4eiBR8He0OWep7QoUDxjc7OPVi
+vPkK12+1+OOoYzTu8Le+bYtO0YkL/XkDHZq3yAHuxlv8KYS9jM3mlD8TBct4LDce
+g/2b5BtkPK+xVD45dahbNJ4/iIOkt6NXs3QdahqNqkNl+v5tPtbty2a+QDX47poA
+FbnSqcF43jIBYjv7nu4CTa3M/swl950DBKpPKlxFAtRqf8LsPFeNrn9wv46gI4Ku
+r8SJtHm8WvFW54w7a54ujK9npZwlaNAhNvyU8thMNdr6ay0W38H1GJo8mwrrIimd
+Vn6J9h04skxH09zQiFNgLlxKfkwbiZSToSWProoE8OFrbWDfc56fnT/1+hUCAwEA
+AaAAMA0GCSqGSIb3DQEBCwUAA4IBAQBfr3MeoiH1sr/0BEXa3SySIEsYRbMgpbte
+xQKZB4npU0jirv8emi8RRq9sRQVcAYOajJUDeKW6js5oX6sMBM//UPKdbmDwd5R9
+0UvqdUsaB9Ld6Vqs+Zfye5+eZBGSJwJ0nyLPZxHrMLPTl5qFvppV9p8WWdkF6A9F
+/e/SsPDp3VC8c7KA7vMLGQ/gDDJbaiFaPZFs1tKLIqKRSonerIrpFpsS4wMn51QQ
+uUXopMEYG2Ok9gif/IBTMDKcdpgLqscuqWi6Hjj3BArX0eaKXjuB7SXoKoPZZfza
+g6Nbas8eis1ol/E9/2unP24Ht82AUBYHtbvSV3fZxAV/VU+n3wZW
+-----END CERTIFICATE REQUEST-----
diff --git a/wazuh/certs/indexer_cluster/node.pem b/wazuh/certs/indexer_cluster/node.pem
new file mode 100644
index 0000000000000000000000000000000000000000..85fb0633cb94b2860d0ea9685e50ceb4d84a98ac
--- /dev/null
+++ b/wazuh/certs/indexer_cluster/node.pem
@@ -0,0 +1,19 @@
+-----BEGIN CERTIFICATE-----
+MIIDGzCCAgMCFEijp0CEsWJEvsqbKe2w47JFMOnZMA0GCSqGSIb3DQEBCwUAMEYx
+CzAJBgNVBAYTAlVTMRMwEQYDVQQHDApDYWxpZm9ybmlhMRAwDgYDVQQKDAdDb21w
+YW55MRAwDgYDVQQDDAdyb290LWNhMB4XDTIzMDMxNzA5MDczOVoXDTMzMDMxNDA5
+MDczOVowTjELMAkGA1UEBhMCVVMxEzARBgNVBAcMCkNhbGlmb3JuaWExEDAOBgNV
+BAoMB0NvbXBhbnkxGDAWBgNVBAMMDyoud2F6dWgtaW5kZXhlcjCCASIwDQYJKoZI
+hvcNAQEBBQADggEPADCCAQoCggEBAL4eiBR8He0OWep7QoUDxjc7OPVivPkK12+1
++OOoYzTu8Le+bYtO0YkL/XkDHZq3yAHuxlv8KYS9jM3mlD8TBct4LDceg/2b5Btk
+PK+xVD45dahbNJ4/iIOkt6NXs3QdahqNqkNl+v5tPtbty2a+QDX47poAFbnSqcF4
+3jIBYjv7nu4CTa3M/swl950DBKpPKlxFAtRqf8LsPFeNrn9wv46gI4Kur8SJtHm8
+WvFW54w7a54ujK9npZwlaNAhNvyU8thMNdr6ay0W38H1GJo8mwrrIimdVn6J9h04
+skxH09zQiFNgLlxKfkwbiZSToSWProoE8OFrbWDfc56fnT/1+hUCAwEAATANBgkq
+hkiG9w0BAQsFAAOCAQEAG5PMNpdiH9CGPz9Kye9CRkTuUGa+uE5cdH+pFN0+22zf
++SSQ5ir5WfdLmAS1+nXt6k0uEl4J+crKEHrMbAnfn6liHVbX5RfbTt3AdKHOwG8k
++4/ET2L9nyPXP+j35lR+3KiZvTpu9Jph3FqXMBZkO+xgrG0CQIBO05umG5Gku9AK
+SgN8DRp9dz1E8XY9jooL0jWDDh+p6QBdeaU2keSzQaNvEBRD6uPHCv0EfJUMh4UV
+WJEiZyG3+X45sL1/8RcAWa1gMBjxHUd//yvR/5/qkHdfgDSSiFrJbit7jVy3zjP1
+Sf2+0OQ8n72QkWmdAaPLJvQTbFedmNTLS/rA3Hkd9Q==
+-----END CERTIFICATE-----
diff --git a/wazuh/certs/indexer_cluster/root-ca-key.pem b/wazuh/certs/indexer_cluster/root-ca-key.pem
new file mode 100644
index 0000000000000000000000000000000000000000..0972bb1a7556cb8136a3c49e11ff70a31c897581
--- /dev/null
+++ b/wazuh/certs/indexer_cluster/root-ca-key.pem
@@ -0,0 +1,28 @@
+-----BEGIN PRIVATE KEY-----
+MIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQDUBGjd4npmpewz
+BflBBNk7rAOur0IOafSjKi8aEZIQaLlxMlZSgZHfaUVD05iWrQ9BisPXGdszmiuU
+imTA/4n6NAmGub2z4Ks+QiH4/GOHJLsqFWI2kMIpuV9lMI/26gE8k7FYcpJZH9PU
+xAa4h2N2H1vzK97Tx2GhUYtDP174O+oq50UfU3/PgEMz3wLY68r1hUcmg5ULwDFR
+luEclJt2XW6aEw12oFuvM/Iuwf9f9X1oekfBvR0EO/Zt0PkedeR4wj1qSKrvCG23
+v0FJjnkKv/C1bg/PTQEaGi8cZyEYza5YFgZkJmTbxmsc2zObYuUvuA/UCxe9flHl
+uvkdj1yVAgMBAAECggEAL3GrK9f17wl7MTHJhMC6ge1sx4blf8c7HNYgQzOiXXSp
+5shOY9kl1PpAKzzq/PDOJKsSRwy8ri/2R5+uizfD3w8NAK6I4ntIpr5yzr5f4UqZ
+bYHqf+5l3KNkUwcKeEUGMNGWEoZU9Ie4Rfj1zg5R9glvcJulGfwYf1p5kPtZ269Y
+SLVQr3uggN98K3p4ZICwlylqHRUGk1yfvgLU3RePUgVe21Wcj42P/O64uMb4lppl
+KSCEwutMbuNmI3OAAJ7NnWiQyfYW5sKVwnj/XV9ZSPm01sUa2Xstig9fUKfFJcrv
+ooxyj1LmdW3hvbCluhYO47oko/xRCjgVluCRzmRq4QKBgQDzmFLas9bMLsvl/g92
+yjGcgC4jflPifEYQuU+qqxj9yJVrLEATLvUc6Od2vbtmz7ykHI711d1UR2E1+kPP
+yuLu2RVRbNXzU2DOJTBIzqEMjvxEVKR3A7B21lfqPQ9Kg7hDwGHXmWriAPQ++UsC
+8wwC8dfEq9jLxr5H8yUOShaghQKBgQDe0Gpo7BRb66AoeflE32lZo2FdGIWEUBvI
+8ABuWOXEWd4HB7LgxiKQhVU1HI/WO+AScmgLav72h7RAkmKI6/n68+xjXuXimIxA
+iFwW5ARknShfA4e3UMhGjIjBAEfuOa7UQO3PyIQphK3BoVpHY81rL+/gFH+J7osv
+hazeXzYQ0QKBgQDXiTwmj2HLoMyBYF9GeHmVREWO2kRW7icAvTckh+fBBi5PegPn
+9XCkd9/2TML4oW8EttA37Ve9LrtxC1PdFGPfeu1F8ssMVgYd4QHsKgiOGCZWP56W
+QAlv3RBFDmntQMdWC2+HWRQdjUKQRfx9S5ihMmP8fSGCjQPondd34U5MEQKBgDeo
+klxBVNidZHWX+oeU02k74c9yl6+0nywzn7fw5vyEgmz5JFr3w5ycYeuRhfC7Jj8V
+ax4nDSeiQIm8x3ZylBB3LD6qbvyKpMZeCbsCHILRq0sIw7csK8tLwcGMg2tj52NI
+EN/NtA33AbyTxMx+hsrWv7IXDMD04LnvR36JBCVxAoGAWd/ykg0hAK18HUm98aAA
+8s9M0F9+oY6HobfTxVrycocUg+nUtjdO9YvZMtyqT5RaS93s2KPr3hrQmAu19nGF
+61jiBEULN6CHU3Hjb7jcjHvfK8slIVOxx+ZxX8IG69uiRIJNFGH16dEVbhQXKSxS
+DcV60d2Iejaim6HXqwnYYYQ=
+-----END PRIVATE KEY-----
diff --git a/wazuh/certs/indexer_cluster/root-ca.pem b/wazuh/certs/indexer_cluster/root-ca.pem
new file mode 100644
index 0000000000000000000000000000000000000000..528335fed84b7468e98d64c2d971d50febc3e479
--- /dev/null
+++ b/wazuh/certs/indexer_cluster/root-ca.pem
@@ -0,0 +1,21 @@
+-----BEGIN CERTIFICATE-----
+MIIDbTCCAlWgAwIBAgIUE+dcNkyJkBkij7lyDiZi2k07N7cwDQYJKoZIhvcNAQEL
+BQAwRjELMAkGA1UEBhMCVVMxEzARBgNVBAcMCkNhbGlmb3JuaWExEDAOBgNVBAoM
+B0NvbXBhbnkxEDAOBgNVBAMMB3Jvb3QtY2EwHhcNMjMwMzE3MDkwNzM4WhcNMzMw
+MzE0MDkwNzM4WjBGMQswCQYDVQQGEwJVUzETMBEGA1UEBwwKQ2FsaWZvcm5pYTEQ
+MA4GA1UECgwHQ29tcGFueTEQMA4GA1UEAwwHcm9vdC1jYTCCASIwDQYJKoZIhvcN
+AQEBBQADggEPADCCAQoCggEBANQEaN3iemal7DMF+UEE2TusA66vQg5p9KMqLxoR
+khBouXEyVlKBkd9pRUPTmJatD0GKw9cZ2zOaK5SKZMD/ifo0CYa5vbPgqz5CIfj8
+Y4ckuyoVYjaQwim5X2Uwj/bqATyTsVhyklkf09TEBriHY3YfW/Mr3tPHYaFRi0M/
+Xvg76irnRR9Tf8+AQzPfAtjryvWFRyaDlQvAMVGW4RyUm3ZdbpoTDXagW68z8i7B
+/1/1fWh6R8G9HQQ79m3Q+R515HjCPWpIqu8Ibbe/QUmOeQq/8LVuD89NARoaLxxn
+IRjNrlgWBmQmZNvGaxzbM5ti5S+4D9QLF71+UeW6+R2PXJUCAwEAAaNTMFEwHQYD
+VR0OBBYEFLPwP6R9Rt2UKCYArkda7tNVYGWHMB8GA1UdIwQYMBaAFLPwP6R9Rt2U
+KCYArkda7tNVYGWHMA8GA1UdEwEB/wQFMAMBAf8wDQYJKoZIhvcNAQELBQADggEB
+AAykeUgzf2Gh1qQytYyGhftMtxmzVPSS59xuA0uiN4EqB+EKXJXBtWpucqYpOwHd
+47f/lIhslPu7XnU5Bq494fm+VNTucKa8ozWr363YzPj8ODja745XkljDcBw7PKGd
+jvGvokZzDCxbGnrx7InWy64z4Yh4I0/Rcih8BHhCHTGPvXgc8LoyUGjW0Wzfhdwu
+6qDrJrGmnxXifRk/+iJUn5ayc9SO6V/6fn244InxVKb2PnAywufq600kGwyKPOc2
+v5YM1+bCIPJ3hn9K3aueYkZo7oT9kzHUzZNPVufRGwMkyY12IOuvgrDTfNFpopn4
+aTWWzjn33nmnqy7RlARNgFU=
+-----END CERTIFICATE-----
diff --git a/wazuh/indexer_stack/wazuh-dashboard/dashboard-deploy.yaml b/wazuh/indexer_stack/wazuh-dashboard/dashboard-deploy.yaml
new file mode 100644
index 0000000000000000000000000000000000000000..099ea7aeefc62d0451fe64996fe591501c4e84ad
--- /dev/null
+++ b/wazuh/indexer_stack/wazuh-dashboard/dashboard-deploy.yaml
@@ -0,0 +1,100 @@
+# Copyright (C) 2019, Wazuh Inc.
+#
+# This program is a free software; you can redistribute it
+# and/or modify it under the terms of the GNU General Public
+# License (version 2) as published by the FSF - Free Software
+# Foundation.
+
+# Dashboard Deployment
+
+apiVersion: apps/v1
+kind: Deployment
+metadata:
+  name: wazuh-dashboard
+  namespace: wazuh
+spec:
+  replicas: 1
+  selector:
+    matchLabels:
+      app: wazuh-dashboard
+  template:
+    metadata:
+      labels:
+        app: wazuh-dashboard
+      name: wazuh-dashboard
+    spec:
+      volumes:
+        - name: config
+          configMap:
+            name: dashboard-conf
+        - name: dashboard-certs
+          secret:
+            secretName: dashboard-certs
+      containers:
+        - name: wazuh-dashboard
+          image: 'wazuh/wazuh-dashboard:4.3.10'
+          resources:
+            limits:
+              cpu: 500m
+              memory: 1Gi
+          volumeMounts:
+            - name: config
+              mountPath: /usr/share/wazuh-dashboard/config/opensearch_dashboards.yml
+              subPath: opensearch_dashboards.yml
+              readOnly: false
+            - name: dashboard-certs
+              mountPath: /usr/share/wazuh-dashboard/config/certs/cert.pem
+              readOnly: true
+              subPath: cert.pem
+            - name: dashboard-certs
+              mountPath: /usr/share/wazuh-dashboard/config/certs/key.pem
+              readOnly: true
+              subPath: key.pem
+            - name: dashboard-certs
+              mountPath: /usr/share/wazuh-dashboard/config/certs/root-ca.pem
+              subPath: root-ca.pem
+              readOnly: true
+          ports:
+            - containerPort: 5601
+              name: dashboard
+          env:
+            - name: INDEXER_URL
+              value: 'https://wazuh-indexer-0.wazuh-indexer:9200'
+            - name: INDEXER_USERNAME
+              valueFrom:
+                secretKeyRef:
+                  name: indexer-cred
+                  key: username
+            - name: INDEXER_PASSWORD
+              valueFrom:
+                secretKeyRef:
+                  name: indexer-cred
+                  key: password
+            - name: DASHBOARD_USERNAME
+              valueFrom:
+                secretKeyRef:
+                  name: dashboard-cred
+                  key: username
+            - name: DASHBOARD_PASSWORD
+              valueFrom:
+                secretKeyRef:
+                  name: dashboard-cred
+                  key: password
+            - name: SERVER_SSL_ENABLED
+              value: "false"
+            - name: SERVER_SSL_CERTIFICATE
+              value: /usr/share/wazuh-dashboard/config/certs/cert.pem
+            - name: SERVER_SSL_KEY
+              value: /usr/share/wazuh-dashboard/config/certs/key.pem
+            - name: WAZUH_API_URL
+              value: https://wazuh-manager-master-0.wazuh-cluster
+            - name: API_USERNAME
+              valueFrom:
+                secretKeyRef:
+                  name: wazuh-api-cred
+                  key: username
+            - name: API_PASSWORD
+              valueFrom:
+                secretKeyRef:
+                  name: wazuh-api-cred
+                  key: password
diff --git a/wazuh/indexer_stack/wazuh-dashboard/dashboard-ingress.yaml b/wazuh/indexer_stack/wazuh-dashboard/dashboard-ingress.yaml
new file mode 100644
index 0000000000000000000000000000000000000000..b9e344a9dc234ebcbaad6ba31b0fb92214f083db
--- /dev/null
+++ b/wazuh/indexer_stack/wazuh-dashboard/dashboard-ingress.yaml
@@ -0,0 +1,43 @@
+---
+apiVersion: cert-manager.io/v1
+kind: Issuer
+metadata:
+  name: letsencrypt-http
+  namespace: wazuh
+spec:
+  acme:
+    email: nrodet@alpha.grandlyon.com
+    server: https://acme-v02.api.letsencrypt.org/directory
+    privateKeySecretRef:
+      # if not existing, it will register a new account and stores it
+      name: issuer-account-key
+    solvers:
+      - http01:
+          # The ingressClass used to create the necessary ingress routes
+          ingress:
+            class: traefik
+---
+apiVersion: networking.k8s.io/v1
+kind: Ingress
+metadata:
+  name: wazuh-https
+  namespace: wazuh
+  annotations:
+    cert-manager.io/issuer: "letsencrypt-http"
+spec:
+  tls:
+    - hosts:
+        - wazuh.alpha.grandlyon.com
+      secretName: tls-wazuh-ingress-http
+  rules:
+    - host: wazuh.alpha.grandlyon.com
+      http:
+        paths:
+          - path: /
+            pathType: Prefix
+            backend:
+              service:
+                name: wazuh-dashboard
+                port:
+                  name: dashboard-https
+
diff --git a/wazuh/indexer_stack/wazuh-dashboard/dashboard-svc.yaml b/wazuh/indexer_stack/wazuh-dashboard/dashboard-svc.yaml
new file mode 100644
index 0000000000000000000000000000000000000000..73137992d1f2426d9ceb15c3bbfe20305662e86e
--- /dev/null
+++ b/wazuh/indexer_stack/wazuh-dashboard/dashboard-svc.yaml
@@ -0,0 +1,23 @@
+# Copyright (C) 2019, Wazuh Inc.
+#
+# This program is a free software; you can redistribute it
+# and/or modify it under the terms of the GNU General Public
+# License (version 2) as published by the FSF - Free Software
+# Foundation.
+
+# Dashboard service
+
+apiVersion: v1
+kind: Service
+metadata:
+  name: dashboard
+  namespace: wazuh
+  labels:
+    app: wazuh-dashboard
+spec:
+  selector:
+    app: wazuh-dashboard
+  ports:
+    - name: dashboard
+      port: 80
+      targetPort: 5601
diff --git a/wazuh/indexer_stack/wazuh-dashboard/dashboard_conf/opensearch_dashboards.yml b/wazuh/indexer_stack/wazuh-dashboard/dashboard_conf/opensearch_dashboards.yml
new file mode 100644
index 0000000000000000000000000000000000000000..86ab25cf82967327d6c774ecd38fda73626b76dd
--- /dev/null
+++ b/wazuh/indexer_stack/wazuh-dashboard/dashboard_conf/opensearch_dashboards.yml
@@ -0,0 +1,13 @@
+
+server.host: 0.0.0.0
+server.port: 5601
+opensearch.hosts: https://indexer:9200
+opensearch.ssl.verificationMode: none
+opensearch.requestHeadersWhitelist: [ authorization,securitytenant ]
+opensearch_security.multitenancy.enabled: false
+opensearch_security.readonly_mode.roles: ["kibana_read_only"]
+server.ssl.enabled: true
+server.ssl.key: "/usr/share/wazuh-dashboard/config/certs/key.pem"
+server.ssl.certificate: "/usr/share/wazuh-dashboard/config/certs/cert.pem"
+opensearch.ssl.certificateAuthorities: ["/usr/share/wazuh-dashboard/config/certs/root-ca.pem"]
+uiSettings.overrides.defaultRoute: /app/wazuh
\ No newline at end of file
diff --git a/wazuh/indexer_stack/wazuh-indexer/cluster/indexer-api-svc.yaml b/wazuh/indexer_stack/wazuh-indexer/cluster/indexer-api-svc.yaml
new file mode 100644
index 0000000000000000000000000000000000000000..7f25f61cba0406eeb3200bf39350110e60826b47
--- /dev/null
+++ b/wazuh/indexer_stack/wazuh-indexer/cluster/indexer-api-svc.yaml
@@ -0,0 +1,24 @@
+# Copyright (C) 2019, Wazuh Inc.
+#
+# This program is a free software; you can redistribute it
+# and/or modify it under the terms of the GNU General Public
+# License (version 2) as published by the FSF - Free Software
+# Foundation.
+
+# Indexer service: API
+
+apiVersion: v1
+kind: Service
+metadata:
+  name: indexer
+  namespace: wazuh
+  labels:
+    app: wazuh-indexer
+spec:
+  type: LoadBalancer
+  selector:
+    app: wazuh-indexer
+  ports:
+    - name: indexer-rest
+      port: 9200
+      targetPort: 9200
diff --git a/wazuh/indexer_stack/wazuh-indexer/cluster/indexer-sts.yaml b/wazuh/indexer_stack/wazuh-indexer/cluster/indexer-sts.yaml
new file mode 100644
index 0000000000000000000000000000000000000000..98495e4cd3af31a3521c943ec6fcf254373d9308
--- /dev/null
+++ b/wazuh/indexer_stack/wazuh-indexer/cluster/indexer-sts.yaml
@@ -0,0 +1,135 @@
+# Copyright (C) 2019, Wazuh Inc.
+#
+# This program is a free software; you can redistribute it
+# and/or modify it under the terms of the GNU General Public
+# License (version 2) as published by the FSF - Free Software
+# Foundation.
+
+# Indexer StatefulSet: 3 master nodes.
+
+apiVersion: apps/v1
+kind: StatefulSet
+metadata:
+  name: wazuh-indexer
+  namespace: wazuh
+spec:
+  replicas: 3
+  selector:
+    matchLabels:
+      app: wazuh-indexer
+  serviceName: wazuh-indexer
+  template:
+    metadata:
+      labels:
+        app: wazuh-indexer
+      name: wazuh-indexer
+    spec:
+      # Set the wazuh-indexer volume permissions so the wazuh-indexer user can use it
+      volumes:
+        - name: indexer-certs
+          secret:
+            secretName: indexer-certs
+        - name: indexer-conf
+          configMap:
+            name: indexer-conf
+      initContainers:
+        - name: volume-mount-hack
+          image: busybox
+          resources:
+            requests:
+              cpu: 50m
+              memory: 128Mi
+            limits:
+              cpu: 100m
+              memory: 256Mi
+          command:
+            - sh
+            - '-c'
+            - 'chown -R 1000:1000 /var/lib/wazuh-indexer'
+          volumeMounts:
+            - name: wazuh-indexer
+              mountPath: /var/lib/wazuh-indexer
+        - name: increase-the-vm-max-map-count
+          image: busybox
+          command:
+            - sysctl
+            - -w
+            - vm.max_map_count=262144
+          securityContext:
+            privileged: true
+      containers:
+        - name: wazuh-indexer
+          image: 'wazuh/wazuh-indexer:4.3.10'
+          resources:
+            limits:
+              cpu: 500m
+              memory: 1564Mi
+          env:
+            - name: ES_JAVA_OPTS
+              value: '-Xms1g -Xmx1g -Dlog4j2.formatMsgNoLookups=true'
+            - name: CLUSTER_NAME
+              value: wazuh
+            - name: NETWORK_HOST
+              value: "0.0.0.0"
+            - name: NODE_NAME
+              valueFrom:
+                fieldRef:
+                  fieldPath: metadata.name
+            - name: DISCOVERY_SERVICE
+              value: wazuh-indexer
+            - name: KUBERNETES_NAMESPACE
+              valueFrom:
+                fieldRef:
+                  fieldPath: metadata.namespace
+            - name: DISABLE_INSTALL_DEMO_CONFIG
+              value: 'true'
+          securityContext:
+            capabilities:
+              add: ["SYS_CHROOT"]
+          volumeMounts:
+            - name: wazuh-indexer
+              mountPath: /var/lib/wazuh-indexer
+            - name: indexer-certs
+              mountPath: /usr/share/wazuh-indexer/config/certs/node-key.pem
+              subPath: node-key.pem
+              readOnly: true
+            - name: indexer-certs
+              mountPath: /usr/share/wazuh-indexer/config/certs/node.pem
+              subPath: node.pem
+              readOnly: true
+            - name: indexer-certs
+              mountPath: /usr/share/wazuh-indexer/config/certs/root-ca.pem
+              subPath: root-ca.pem
+              readOnly: true
+            - name: indexer-certs
+              mountPath: /usr/share/wazuh-indexer/config/certs/admin.pem
+              subPath: admin.pem
+              readOnly: true
+            - name: indexer-certs
+              mountPath: /usr/share/wazuh-indexer/config/certs/admin-key.pem
+              subPath: admin-key.pem
+              readOnly: true
+            - name: indexer-conf
+              mountPath: /usr/share/wazuh-indexer/config/opensearch.yml
+              subPath: opensearch.yml
+              readOnly: true
+            - name: indexer-conf
+              mountPath: /usr/share/wazuh-indexer/plugins/opensearch-security/securityconfig/internal_users.yml
+              subPath: internal_users.yml
+              readOnly: true
+          ports:
+            - containerPort: 9200
+              name: indexer-rest
+            - containerPort: 9300
+              name: indexer-nodes
+  volumeClaimTemplates:
+    - metadata:
+        name: wazuh-indexer
+        namespace: indexer-cluster
+      spec:
+        accessModes:
+          - ReadWriteOnce
+        storageClassName: wazuh-storage
+        resources:
+          requests:
+            storage: 500Mi
diff --git a/wazuh/indexer_stack/wazuh-indexer/indexer-svc.yaml b/wazuh/indexer_stack/wazuh-indexer/indexer-svc.yaml
new file mode 100644
index 0000000000000000000000000000000000000000..d9d0f191c0f302c6f8777f08e58b8d9f69b57de8
--- /dev/null
+++ b/wazuh/indexer_stack/wazuh-indexer/indexer-svc.yaml
@@ -0,0 +1,24 @@
+# Copyright (C) 2019, Wazuh Inc.
+#
+# This program is a free software; you can redistribute it
+# and/or modify it under the terms of the GNU General Public
+# License (version 2) as published by the FSF - Free Software
+# Foundation.
+
+# Indexer service: Communications
+
+apiVersion: v1
+kind: Service
+metadata:
+  name: wazuh-indexer
+  namespace: wazuh
+  labels:
+    app: wazuh-indexer
+spec:
+  selector:
+    app: wazuh-indexer
+  ports:
+    - name: indexer-nodes
+      port: 9300
+      targetPort: 9300
+  clusterIP: None
diff --git a/wazuh/indexer_stack/wazuh-indexer/indexer_conf/internal_users.yml b/wazuh/indexer_stack/wazuh-indexer/indexer_conf/internal_users.yml
new file mode 100644
index 0000000000000000000000000000000000000000..d9f05b343b5a6b017f619781822272211a6487eb
--- /dev/null
+++ b/wazuh/indexer_stack/wazuh-indexer/indexer_conf/internal_users.yml
@@ -0,0 +1,56 @@
+---
+# This is the internal user database
+# The hash value is a bcrypt hash and can be generated with plugin/tools/hash.sh
+
+_meta:
+  type: "internalusers"
+  config_version: 2
+
+# Define your internal users here
+
+## Demo users
+
+admin:
+  hash: "$2y$12$K/SpwjtB.wOHJ/Nc6GVRDuc1h0rM1DfvziFRNPtk27P.c4yDr9njO"
+  reserved: true
+  backend_roles:
+  - "admin"
+  description: "Demo admin user"
+
+kibanaserver:
+  hash: "$2a$12$4AcgAt3xwOWadA5s5blL6ev39OXDNhmOesEoo33eZtrq2N0YrU3H."
+  reserved: true
+  description: "Demo kibanaserver user"
+
+kibanaro:
+  hash: "$2a$12$JJSXNfTowz7Uu5ttXfeYpeYE0arACvcwlPBStB1F.MI7f0U9Z4DGC"
+  reserved: false
+  backend_roles:
+  - "kibanauser"
+  - "readall"
+  attributes:
+    attribute1: "value1"
+    attribute2: "value2"
+    attribute3: "value3"
+  description: "Demo kibanaro user"
+
+logstash:
+  hash: "$2a$12$u1ShR4l4uBS3Uv59Pa2y5.1uQuZBrZtmNfqB3iM/.jL0XoV9sghS2"
+  reserved: false
+  backend_roles:
+  - "logstash"
+  description: "Demo logstash user"
+
+readall:
+  hash: "$2a$12$ae4ycwzwvLtZxwZ82RmiEunBbIPiAmGZduBAjKN0TXdwQFtCwARz2"
+  reserved: false
+  backend_roles:
+  - "readall"
+  description: "Demo readall user"
+
+snapshotrestore:
+  hash: "$2y$12$DpwmetHKwgYnorbgdvORCenv4NAK8cPUg8AI6pxLCuWf/ALc0.v7W"
+  reserved: false
+  backend_roles:
+  - "snapshotrestore"
+  description: "Demo snapshotrestore user"
diff --git a/wazuh/indexer_stack/wazuh-indexer/indexer_conf/opensearch.yml b/wazuh/indexer_stack/wazuh-indexer/indexer_conf/opensearch.yml
new file mode 100644
index 0000000000000000000000000000000000000000..8ea656d41f0132248e7212e0ede04096b0fc3ad2
--- /dev/null
+++ b/wazuh/indexer_stack/wazuh-indexer/indexer_conf/opensearch.yml
@@ -0,0 +1,31 @@
+cluster.name: ${CLUSTER_NAME}
+node.name: ${NODE_NAME}
+network.host: ${NETWORK_HOST}
+discovery.seed_hosts: wazuh-indexer-0.wazuh-indexer
+cluster.initial_master_nodes:
+  - wazuh-indexer-0
+
+node.max_local_storage_nodes: "3"
+path.data: /var/lib/wazuh-indexer
+path.logs: /var/log/wazuh-indexer
+plugins.security.ssl.http.pemcert_filepath: /usr/share/wazuh-indexer/config/certs/node.pem
+plugins.security.ssl.http.pemkey_filepath: /usr/share/wazuh-indexer/config/certs/node-key.pem
+plugins.security.ssl.http.pemtrustedcas_filepath: /usr/share/wazuh-indexer/config/certs/root-ca.pem
+plugins.security.ssl.transport.pemcert_filepath: /usr/share/wazuh-indexer/config/certs/node.pem
+plugins.security.ssl.transport.pemkey_filepath: /usr/share/wazuh-indexer/config/certs/node-key.pem
+plugins.security.ssl.transport.pemtrustedcas_filepath: /usr/share/wazuh-indexer/config/certs/root-ca.pem
+plugins.security.ssl.http.enabled: true
+plugins.security.ssl.transport.enforce_hostname_verification: false
+plugins.security.ssl.transport.resolve_hostname: false
+plugins.security.authcz.admin_dn:
+  - CN=admin,O=Company,L=California,C=US
+plugins.security.check_snapshot_restore_write_privileges: true
+plugins.security.enable_snapshot_restore_privilege: true
+plugins.security.nodes_dn:
+  - CN=*.wazuh-indexer,O=Company,L=California,C=US
+plugins.security.restapi.roles_enabled:
+- "all_access"
+- "security_rest_api_access"
+plugins.security.allow_default_init_securityindex: true
+cluster.routing.allocation.disk.threshold_enabled: false
+compatibility.override_main_response_version: true
\ No newline at end of file
diff --git a/wazuh/kustomization.yml b/wazuh/kustomization.yml
new file mode 100644
index 0000000000000000000000000000000000000000..d0f8a680dbe0f3951ef9d2c8ed5f2dafd5f04b36
--- /dev/null
+++ b/wazuh/kustomization.yml
@@ -0,0 +1,67 @@
+# Copyright (C) 2019, Wazuh Inc.
+#
+# This program is a free software; you can redistribute it
+# and/or modify it under the terms of the GNU General Public
+# License (version 2) as published by the FSF - Free Software
+# Foundation.
+
+apiVersion: kustomize.config.k8s.io/v1beta1
+kind: Kustomization
+
+# Adds wazuh namespace to all resources.
+namespace: wazuh
+
+secretGenerator:
+  - name: indexer-certs
+    files:
+      - certs/indexer_cluster/root-ca.pem
+      - certs/indexer_cluster/node.pem
+      - certs/indexer_cluster/node-key.pem
+      - certs/indexer_cluster/dashboard.pem
+      - certs/indexer_cluster/dashboard-key.pem
+      - certs/indexer_cluster/admin.pem
+      - certs/indexer_cluster/admin-key.pem
+      - certs/indexer_cluster/filebeat.pem
+      - certs/indexer_cluster/filebeat-key.pem
+  - name: dashboard-certs
+    files:
+      - certs/dashboard_http/cert.pem
+      - certs/dashboard_http/key.pem
+      - certs/indexer_cluster/root-ca.pem
+
+configMapGenerator:
+  - name: indexer-conf
+    files:
+      - indexer_stack/wazuh-indexer/indexer_conf/opensearch.yml
+      - indexer_stack/wazuh-indexer/indexer_conf/internal_users.yml
+  - name: wazuh-conf
+    files:
+      - wazuh_managers/wazuh_conf/master.conf
+      - wazuh_managers/wazuh_conf/worker.conf
+  - name: dashboard-conf
+    files:
+      - indexer_stack/wazuh-dashboard/dashboard_conf/opensearch_dashboards.yml
+
+resources:
+  - base/wazuh-ns.yaml
+  - base/storage-class.yaml
+
+  - secrets/wazuh-api-cred-secret.yaml
+  - secrets/wazuh-authd-pass-secret.yaml
+  - secrets/wazuh-cluster-key-secret.yaml
+  - secrets/dashboard-cred-secret.yaml
+  - secrets/indexer-cred-secret.yaml
+
+  - wazuh_managers/wazuh-cluster-svc.yaml
+  - wazuh_managers/wazuh-master-svc.yaml
+  - wazuh_managers/wazuh-workers-svc.yaml
+  - wazuh_managers/wazuh-master-sts.yaml
+  - wazuh_managers/wazuh-worker-sts.yaml
+
+  - indexer_stack/wazuh-indexer/indexer-svc.yaml
+  - indexer_stack/wazuh-indexer/cluster/indexer-api-svc.yaml
+  - indexer_stack/wazuh-indexer/cluster/indexer-sts.yaml
+
+  - indexer_stack/wazuh-dashboard/dashboard-svc.yaml
+  - indexer_stack/wazuh-dashboard/dashboard-deploy.yaml
+  - indexer_stack/wazuh-dashboard/dashboard-ingress.yaml
diff --git a/wazuh/secrets/dashboard-cred-secret.yaml b/wazuh/secrets/dashboard-cred-secret.yaml
new file mode 100644
index 0000000000000000000000000000000000000000..078f87761507a55a71c8c71d32f9c5291c1658bb
--- /dev/null
+++ b/wazuh/secrets/dashboard-cred-secret.yaml
@@ -0,0 +1,16 @@
+# Copyright (C) 2022 Wazuh Inc.
+#
+# This program is a free software; you can redistribute it
+# and/or modify it under the terms of the GNU General Public
+# License (version 2) as published by the FSF - Free Software
+# Foundation.
+
+# Wazuh dashboard API credentials secret
+
+apiVersion: v1
+kind: Secret
+metadata:
+  name: dashboard-cred
+data:
+  username: a2liYW5hc2VydmVy  # string "kibanaserver" base64 encoded
+  password: a2liYW5hc2VydmVy  # string "kibanaserver" base64 encoded
diff --git a/wazuh/secrets/indexer-cred-secret.yaml b/wazuh/secrets/indexer-cred-secret.yaml
new file mode 100644
index 0000000000000000000000000000000000000000..3f159c5a5227e685163cd18ed23659a629ae0ff3
--- /dev/null
+++ b/wazuh/secrets/indexer-cred-secret.yaml
@@ -0,0 +1,16 @@
+# Copyright (C) 2019, Wazuh Inc.
+#
+# This program is a free software; you can redistribute it
+# and/or modify it under the terms of the GNU General Public
+# License (version 2) as published by the FSF - Free Software
+# Foundation.
+
+# Wazuh API credentials secret
+
+apiVersion: v1
+kind: Secret
+metadata:
+  name: indexer-cred
+data:
+  username: YWRtaW4=              # string "admin" base64 encoded
+  password: U2VjcmV0UGFzc3dvcmQ=  # string "SecretPassword" base64 encoded
diff --git a/wazuh/secrets/wazuh-api-cred-secret.yaml b/wazuh/secrets/wazuh-api-cred-secret.yaml
new file mode 100644
index 0000000000000000000000000000000000000000..b6628f95a75ba125e512e44b9d7c38f74039f1a1
--- /dev/null
+++ b/wazuh/secrets/wazuh-api-cred-secret.yaml
@@ -0,0 +1,17 @@
+# Copyright (C) 2019, Wazuh Inc.
+#
+# This program is a free software; you can redistribute it
+# and/or modify it under the terms of the GNU General Public
+# License (version 2) as published by the FSF - Free Software
+# Foundation.
+
+# Wazuh API credentials secret
+
+apiVersion: v1
+kind: Secret
+metadata:
+  name: wazuh-api-cred
+  namespace: wazuh
+data:
+  username: d2F6dWgtd3Vp          # string "wazuh-wui" base64 encoded
+  password: TXlTM2NyMzdQNDUwci4qLQ==  # string "MyS3cr37P450r.*-" base64 encoded
diff --git a/wazuh/secrets/wazuh-authd-pass-secret.yaml b/wazuh/secrets/wazuh-authd-pass-secret.yaml
new file mode 100644
index 0000000000000000000000000000000000000000..03b4b6b8a41a4542d37503b016fdba9f75ce7fb3
--- /dev/null
+++ b/wazuh/secrets/wazuh-authd-pass-secret.yaml
@@ -0,0 +1,16 @@
+# Copyright (C) 2019, Wazuh Inc.
+#
+# This program is a free software; you can redistribute it
+# and/or modify it under the terms of the GNU General Public
+# License (version 2) as published by the FSF - Free Software
+# Foundation.
+
+# Wazuh authd password secret
+
+apiVersion: v1
+kind: Secret
+metadata:
+  name: wazuh-authd-pass
+  namespace: wazuh
+data:
+  authd.pass: cGFzc3dvcmQ= # string "password" base64 encoded
diff --git a/wazuh/secrets/wazuh-cluster-key-secret.yaml b/wazuh/secrets/wazuh-cluster-key-secret.yaml
new file mode 100644
index 0000000000000000000000000000000000000000..cbe50253c7e75820fc86fb335d07bad4ed80985e
--- /dev/null
+++ b/wazuh/secrets/wazuh-cluster-key-secret.yaml
@@ -0,0 +1,16 @@
+# Copyright (C) 2019, Wazuh Inc.
+#
+# This program is a free software; you can redistribute it
+# and/or modify it under the terms of the GNU General Public
+# License (version 2) as published by the FSF - Free Software
+# Foundation.
+
+# Wazuh cluster key secret
+
+apiVersion: v1
+kind: Secret
+metadata:
+  name: wazuh-cluster-key
+  namespace: wazuh
+data:
+  key: MTIzYTQ1YmM2N2RlZjg5MWdoMjNpNDVqazY3bDhtbjk= # string "123a45bc67def891gh23i45jk67l8mn9" base64 encoded
diff --git a/wazuh/wazuh_managers/wazuh-cluster-svc.yaml b/wazuh/wazuh_managers/wazuh-cluster-svc.yaml
new file mode 100644
index 0000000000000000000000000000000000000000..ce3c7c8ea98e6b7a87433dbaee8323a5f7d3976c
--- /dev/null
+++ b/wazuh/wazuh_managers/wazuh-cluster-svc.yaml
@@ -0,0 +1,24 @@
+# Copyright (C) 2019, Wazuh Inc.
+#
+# This program is a free software; you can redistribute it
+# and/or modify it under the terms of the GNU General Public
+# License (version 2) as published by the FSF - Free Software
+# Foundation.
+
+# Wazuh cluster Service: Manager nodes communication
+
+apiVersion: v1
+kind: Service
+metadata:
+  name: wazuh-cluster
+  namespace: wazuh
+  labels:
+    app: wazuh-manager
+spec:
+  selector:
+    app: wazuh-manager
+  ports:
+    - name: cluster
+      port: 1516
+      targetPort: 1516
+  clusterIP: None
diff --git a/wazuh/wazuh_managers/wazuh-master-sts.yaml b/wazuh/wazuh_managers/wazuh-master-sts.yaml
new file mode 100644
index 0000000000000000000000000000000000000000..435f6405ea8fb5b109b532b4c65c55da6d5f98cf
--- /dev/null
+++ b/wazuh/wazuh_managers/wazuh-master-sts.yaml
@@ -0,0 +1,159 @@
+# Copyright (C) 2019, Wazuh Inc.
+#
+# This program is a free software; you can redistribute it
+# and/or modify it under the terms of the GNU General Public
+# License (version 2) as published by the FSF - Free Software
+# Foundation.
+
+# Wazuh master StatefulSet
+
+apiVersion: apps/v1
+kind: StatefulSet
+metadata:
+  name: wazuh-manager-master
+  namespace: wazuh
+spec:
+  replicas: 1
+  selector:
+    matchLabels:
+      app: wazuh-manager
+      node-type: master
+  serviceName: wazuh-cluster
+  podManagementPolicy: Parallel
+  template:
+    metadata:
+      labels:
+        app: wazuh-manager
+        node-type: master
+      name: wazuh-manager-master
+    spec:
+      volumes:
+        - name: config
+          configMap:
+            name: wazuh-conf
+        - name: filebeat-certs
+          secret:
+            secretName: indexer-certs
+        - name: wazuh-authd-pass
+          secret:
+            secretName: wazuh-authd-pass
+      securityContext:
+        fsGroup: 101
+      containers:
+        - name: wazuh-manager
+          image: 'wazuh/wazuh-manager:4.3.10'
+          resources:
+            limits:
+              cpu: 400m
+              memory: 512Mi
+          securityContext:
+            capabilities:
+              add: ["SYS_CHROOT"]
+          volumeMounts:
+            - name: config
+              mountPath: /wazuh-config-mount/etc/ossec.conf
+              subPath: master.conf
+              readOnly: true
+            - name: filebeat-certs
+              mountPath: /etc/ssl/root-ca.pem
+              readOnly: true
+              subPath: root-ca.pem
+            - name: filebeat-certs
+              mountPath: /etc/ssl/filebeat.pem
+              subPath: filebeat.pem
+              readOnly: true
+            - name: filebeat-certs
+              mountPath: /etc/ssl/filebeat.key
+              subPath: filebeat-key.pem
+              readOnly: true
+            - name: wazuh-authd-pass
+              mountPath: /wazuh-config-mount/etc/authd.pass
+              subPath: authd.pass
+              readOnly: true
+            - name: wazuh-manager-master
+              mountPath: /var/ossec/api/configuration
+              subPath: wazuh/var/ossec/api/configuration
+            - name: wazuh-manager-master
+              mountPath: /var/ossec/etc
+              subPath: wazuh/var/ossec/etc
+            - name: wazuh-manager-master
+              mountPath: /var/ossec/logs
+              subPath: wazuh/var/ossec/logs
+            - name: wazuh-manager-master
+              mountPath: /var/ossec/queue
+              subPath: wazuh/var/ossec/queue
+            - name: wazuh-manager-master
+              mountPath: /var/ossec/var/multigroups
+              subPath: wazuh/var/ossec/var/multigroups
+            - name: wazuh-manager-master
+              mountPath: /var/ossec/integrations
+              subPath: wazuh/var/ossec/integrations
+            - name: wazuh-manager-master
+              mountPath: /var/ossec/active-response/bin
+              subPath: wazuh/var/ossec/active-response/bin
+            - name: wazuh-manager-master
+              mountPath: /var/ossec/agentless
+              subPath: wazuh/var/ossec/agentless
+            - name: wazuh-manager-master
+              mountPath: /var/ossec/wodles
+              subPath: wazuh/var/ossec/wodles
+            - name: wazuh-manager-master
+              mountPath: /etc/filebeat
+              subPath: filebeat/etc/filebeat
+            - name: wazuh-manager-master
+              mountPath: /var/lib/filebeat
+              subPath: filebeat/var/lib/filebeat
+          ports:
+            - containerPort: 1515
+              name: registration
+            - containerPort: 1516
+              name: cluster
+            - containerPort: 55000
+              name: api
+          env:
+            - name: INDEXER_URL
+              value: 'https://wazuh-indexer-0.wazuh-indexer:9200'
+            - name: INDEXER_USERNAME
+              valueFrom:
+                secretKeyRef:
+                  name: indexer-cred
+                  key: username
+            - name: INDEXER_PASSWORD
+              valueFrom:
+                secretKeyRef:
+                  name: indexer-cred
+                  key: password
+            - name: FILEBEAT_SSL_VERIFICATION_MODE
+              value: 'full'
+            - name: SSL_CERTIFICATE_AUTHORITIES
+              value: /etc/ssl/root-ca.pem
+            - name: SSL_CERTIFICATE
+              value: /etc/ssl/filebeat.pem
+            - name: SSL_KEY
+              value: /etc/ssl/filebeat.key
+            - name: API_USERNAME
+              valueFrom:
+                secretKeyRef:
+                  name: wazuh-api-cred
+                  key: username
+            - name: API_PASSWORD
+              valueFrom:
+                secretKeyRef:
+                  name: wazuh-api-cred
+                  key: password
+            - name: WAZUH_CLUSTER_KEY
+              valueFrom:
+                secretKeyRef:
+                  name: wazuh-cluster-key
+                  key: key
+  volumeClaimTemplates:
+    - metadata:
+        name: wazuh-manager-master
+        namespace: wazuh
+      spec:
+        accessModes:
+          - ReadWriteOnce
+        storageClassName: wazuh-storage
+        resources:
+          requests:
+            storage: 500Mi
diff --git a/wazuh/wazuh_managers/wazuh-master-svc.yaml b/wazuh/wazuh_managers/wazuh-master-svc.yaml
new file mode 100644
index 0000000000000000000000000000000000000000..50f1976702e2b07844e63f183df4a4c4d8a718ba
--- /dev/null
+++ b/wazuh/wazuh_managers/wazuh-master-svc.yaml
@@ -0,0 +1,32 @@
+# Copyright (C) 2019, Wazuh Inc.
+#
+# This program is a free software; you can redistribute it
+# and/or modify it under the terms of the GNU General Public
+# License (version 2) as published by the FSF - Free Software
+# Foundation.
+
+# Wazuh master Service: API and registration (authd)
+
+apiVersion: v1
+kind: Service
+metadata:
+  name: wazuh  # Don't change, unless you update the Wazuh dashboard app config
+  namespace: wazuh
+  labels:
+    app: wazuh-manager
+    # dns: route53
+  annotations:
+    # domainName: 'changeme'
+    service.beta.kubernetes.io/aws-load-balancer-backend-protocol: tcp
+spec:
+  type: LoadBalancer
+  selector:
+    app: wazuh-manager
+    node-type: master
+  ports:
+    - name: registration
+      port: 1515
+      targetPort: 1515
+    - name: api
+      port: 55000
+      targetPort: 55000
diff --git a/wazuh/wazuh_managers/wazuh-worker-sts.yaml b/wazuh/wazuh_managers/wazuh-worker-sts.yaml
new file mode 100644
index 0000000000000000000000000000000000000000..a1bc43a655f78ffb52454806e5844850afb79509
--- /dev/null
+++ b/wazuh/wazuh_managers/wazuh-worker-sts.yaml
@@ -0,0 +1,146 @@
+# Copyright (C) 2019, Wazuh Inc.
+#
+# This program is a free software; you can redistribute it
+# and/or modify it under the terms of the GNU General Public
+# License (version 2) as published by the FSF - Free Software
+# Foundation.
+
+# Wazuh workers StatefulSet
+
+apiVersion: apps/v1
+kind: StatefulSet
+metadata:
+  name: wazuh-manager-worker
+  namespace: wazuh
+spec:
+  replicas: 2
+  selector:
+    matchLabels:
+      app: wazuh-manager
+      node-type: worker
+  serviceName: wazuh-cluster
+  podManagementPolicy: Parallel
+  template:
+    metadata:
+      labels:
+        app: wazuh-manager
+        node-type: worker
+      name: wazuh-manager-worker
+    spec:
+      affinity:
+        podAntiAffinity:
+          preferredDuringSchedulingIgnoredDuringExecution:
+            - weight: 100
+              podAffinityTerm:
+                topologyKey: kubernetes.io/hostname
+      volumes:
+        - name: config
+          configMap:
+            name: wazuh-conf
+        - name: filebeat-certs
+          secret:
+            secretName: indexer-certs
+      securityContext:
+        fsGroup: 101
+      containers:
+        - name: wazuh-manager
+          image: 'wazuh/wazuh-manager:4.3.10'
+          resources:
+            limits:
+              cpu: 400m
+              memory: 512Mi
+          securityContext:
+            capabilities:
+              add: ["SYS_CHROOT"]
+          volumeMounts:
+            - name: config
+              mountPath: /wazuh-config-mount/etc/ossec.conf
+              subPath: worker.conf
+              readOnly: true
+            - name: filebeat-certs
+              mountPath: /etc/ssl/root-ca.pem
+              readOnly: true
+              subPath: root-ca.pem
+            - name: filebeat-certs
+              mountPath: /etc/ssl/filebeat.pem
+              subPath: filebeat.pem
+              readOnly: true
+            - name: filebeat-certs
+              mountPath: /etc/ssl/filebeat.key
+              subPath: filebeat-key.pem
+              readOnly: true
+            - name: wazuh-manager-worker
+              mountPath: /var/ossec/api/configuration
+              subPath: wazuh/var/ossec/api/configuration
+            - name: wazuh-manager-worker
+              mountPath: /var/ossec/etc
+              subPath: wazuh/var/ossec/etc
+            - name: wazuh-manager-worker
+              mountPath: /var/ossec/logs
+              subPath: wazuh/var/ossec/logs
+            - name: wazuh-manager-worker
+              mountPath: /var/ossec/queue
+              subPath: wazuh/var/ossec/queue
+            - name: wazuh-manager-worker
+              mountPath: /var/ossec/var/multigroups
+              subPath: wazuh/var/ossec/var/multigroups
+            - name: wazuh-manager-worker
+              mountPath: /var/ossec/integrations
+              subPath: wazuh/var/ossec/integrations
+            - name: wazuh-manager-worker
+              mountPath: /var/ossec/active-response/bin
+              subPath: wazuh/var/ossec/active-response/bin
+            - name: wazuh-manager-worker
+              mountPath: /var/ossec/agentless
+              subPath: wazuh/var/ossec/agentless
+            - name: wazuh-manager-worker
+              mountPath: /var/ossec/wodles
+              subPath: wazuh/var/ossec/wodles
+            - name: wazuh-manager-worker
+              mountPath: /etc/filebeat
+              subPath: filebeat/etc/filebeat
+            - name: wazuh-manager-worker
+              mountPath: /var/lib/filebeat
+              subPath: filebeat/var/lib/filebeat
+          ports:
+            - containerPort: 1514
+              name: agents-events
+            - containerPort: 1516
+              name: cluster
+          env:
+            - name: INDEXER_URL
+              value: 'https://wazuh-indexer-0.wazuh-indexer:9200'
+            - name: INDEXER_USERNAME
+              valueFrom:
+                secretKeyRef:
+                  name: indexer-cred
+                  key: username
+            - name: INDEXER_PASSWORD
+              valueFrom:
+                secretKeyRef:
+                  name: indexer-cred
+                  key: password
+            - name: FILEBEAT_SSL_VERIFICATION_MODE
+              value: 'full'
+            - name: SSL_CERTIFICATE_AUTHORITIES
+              value: /etc/ssl/root-ca.pem
+            - name: SSL_CERTIFICATE
+              value: /etc/ssl/filebeat.pem
+            - name: SSL_KEY
+              value: /etc/ssl/filebeat.key
+            - name: WAZUH_CLUSTER_KEY
+              valueFrom:
+                secretKeyRef:
+                  name: wazuh-cluster-key
+                  key: key
+  volumeClaimTemplates:
+    - metadata:
+        name: wazuh-manager-worker
+        namespace: wazuh
+      spec:
+        accessModes:
+          - ReadWriteOnce
+        storageClassName: wazuh-storage
+        resources:
+          requests:
+            storage: 500Mi
diff --git a/wazuh/wazuh_managers/wazuh-workers-svc.yaml b/wazuh/wazuh_managers/wazuh-workers-svc.yaml
new file mode 100644
index 0000000000000000000000000000000000000000..5d2dae69ae27adef4bccf074cb414a0d6a732f3f
--- /dev/null
+++ b/wazuh/wazuh_managers/wazuh-workers-svc.yaml
@@ -0,0 +1,29 @@
+# Copyright (C) 2019, Wazuh Inc.
+#
+# This program is a free software; you can redistribute it
+# and/or modify it under the terms of the GNU General Public
+# License (version 2) as published by the FSF - Free Software
+# Foundation.
+
+# Wazuh workers service: Agent reporting
+
+apiVersion: v1
+kind: Service
+metadata:
+  name: wazuh-workers
+  namespace: wazuh
+  labels:
+    app: wazuh-manager
+    # dns: route53
+  annotations:
+    # domainName: 'wazuh-manager.some-domain.com'  # TODO: Change this for a Hosted Zone you configured in AWS Route 53
+    service.beta.kubernetes.io/aws-load-balancer-internal: 0.0.0.0/0
+spec:
+  type: LoadBalancer
+  selector:
+    app: wazuh-manager
+    node-type: worker
+  ports:
+    - name: agents-events
+      port: 1514
+      targetPort: 1514
diff --git a/wazuh/wazuh_managers/wazuh_conf/master.conf b/wazuh/wazuh_managers/wazuh_conf/master.conf
new file mode 100644
index 0000000000000000000000000000000000000000..36c900c398a8ded1fb3ee6e31c8d83022cf0fafa
--- /dev/null
+++ b/wazuh/wazuh_managers/wazuh_conf/master.conf
@@ -0,0 +1,372 @@
+<!--
+  Wazuh - Manager - Default configuration for ubuntu 16.04
+  More info at: https://documentation.wazuh.com
+  Mailing list: https://groups.google.com/forum/#!forum/wazuh
+
+  Customization: TCP on port 1514
+  Customization: Cluster mode enabled, master node
+-->
+<ossec_config>
+  <global>
+    <jsonout_output>yes</jsonout_output>
+    <alerts_log>yes</alerts_log>
+    <logall>no</logall>
+    <logall_json>no</logall_json>
+    <email_notification>no</email_notification>
+    <smtp_server>smtp.example.wazuh.com</smtp_server>
+    <email_from>ossecm@example.wazuh.com</email_from>
+    <email_to>recipient@example.wazuh.com</email_to>
+    <email_maxperhour>12</email_maxperhour>
+    <email_log_source>alerts.log</email_log_source>
+    <queue_size>131072</queue_size>
+    <agents_disconnection_time>20s</agents_disconnection_time>
+    <agents_disconnection_alert_time>100s</agents_disconnection_alert_time>
+  </global>
+
+  <alerts>
+    <log_alert_level>3</log_alert_level>
+    <email_alert_level>12</email_alert_level>
+  </alerts>
+
+  <!-- Choose between "plain", "json", or "plain,json" for the format of internal logs -->
+  <logging>
+    <log_format>plain</log_format>
+  </logging>
+
+  <remote>
+    <connection>secure</connection>
+    <port>1514</port>
+    <protocol>tcp</protocol>
+    <queue_size>131072</queue_size>
+  </remote>
+
+  <!-- Policy monitoring -->
+  <rootcheck>
+    <disabled>no</disabled>
+    <check_unixaudit>yes</check_unixaudit>
+    <check_files>yes</check_files>
+    <check_trojans>yes</check_trojans>
+    <check_dev>yes</check_dev>
+    <check_sys>yes</check_sys>
+    <check_pids>yes</check_pids>
+    <check_ports>yes</check_ports>
+    <check_if>yes</check_if>
+
+    <!-- Frequency that rootcheck is executed - every 12 hours -->
+    <frequency>43200</frequency>
+
+    <rootkit_files>/var/ossec/etc/rootcheck/rootkit_files.txt</rootkit_files>
+    <rootkit_trojans>/var/ossec/etc/rootcheck/rootkit_trojans.txt</rootkit_trojans>
+
+    <system_audit>/var/ossec/etc/rootcheck/system_audit_rcl.txt</system_audit>
+    <system_audit>/var/ossec/etc/rootcheck/system_audit_ssh.txt</system_audit>
+
+    <skip_nfs>yes</skip_nfs>
+  </rootcheck>
+
+  <wodle name="open-scap">
+    <disabled>yes</disabled>
+    <timeout>1800</timeout>
+    <interval>1d</interval>
+    <scan-on-start>yes</scan-on-start>
+  </wodle>
+
+  <wodle name="cis-cat">
+    <disabled>yes</disabled>
+    <timeout>1800</timeout>
+    <interval>1d</interval>
+    <scan-on-start>yes</scan-on-start>
+
+    <java_path>wodles/java</java_path>
+    <ciscat_path>wodles/ciscat</ciscat_path>
+  </wodle>
+
+  <!-- Osquery integration -->
+  <wodle name="osquery">
+    <disabled>yes</disabled>
+    <run_daemon>yes</run_daemon>
+    <log_path>/var/log/osquery/osqueryd.results.log</log_path>
+    <config_path>/etc/osquery/osquery.conf</config_path>
+    <add_labels>yes</add_labels>
+  </wodle>
+
+  <!-- System inventory -->
+  <wodle name="syscollector">
+    <disabled>no</disabled>
+    <interval>1h</interval>
+    <scan_on_start>yes</scan_on_start>
+    <hardware>yes</hardware>
+    <os>yes</os>
+    <network>yes</network>
+    <packages>yes</packages>
+    <ports all="no">yes</ports>
+    <processes>yes</processes>
+  </wodle>
+
+  <vulnerability-detector>
+      <enabled>no</enabled>
+      <interval>5m</interval>
+      <ignore_time>6h</ignore_time>
+      <run_on_start>yes</run_on_start>
+
+      <!-- Ubuntu OS vulnerabilities -->
+      <provider name="canonical">
+        <enabled>no</enabled>
+        <os>trusty</os>
+        <os>xenial</os>
+        <os>bionic</os>
+        <os>focal</os>
+        <update_interval>1h</update_interval>
+      </provider>
+
+      <!-- Debian OS vulnerabilities -->
+      <provider name="debian">
+        <enabled>no</enabled>
+        <os>stretch</os>
+        <os>buster</os>
+        <update_interval>1h</update_interval>
+      </provider>
+
+      <!-- RedHat OS vulnerabilities -->
+      <provider name="redhat">
+        <enabled>no</enabled>
+        <os>5</os>
+        <os>6</os>
+        <os>7</os>
+        <os>8</os>
+        <update_interval>1h</update_interval>
+      </provider>
+
+      <!-- Windows OS vulnerabilities -->
+      <provider name="msu">
+        <enabled>yes</enabled>
+        <update_interval>1h</update_interval>
+      </provider>
+
+      <!-- Aggregate vulnerabilities -->
+      <provider name="nvd">
+        <enabled>yes</enabled>
+        <update_from_year>2010</update_from_year>
+        <update_interval>1h</update_interval>
+      </provider>
+
+  </vulnerability-detector>
+
+
+  <!-- File integrity monitoring -->
+  <syscheck>
+    <disabled>no</disabled>
+
+    <!-- Frequency that syscheck is executed default every 12 hours -->
+    <frequency>43200</frequency>
+
+    <scan_on_start>yes</scan_on_start>
+
+    <!-- Generate alert when new file detected -->
+    <alert_new_files>yes</alert_new_files>
+
+    <!-- Don't ignore files that change more than 'frequency' times -->
+    <auto_ignore frequency="10" timeframe="3600">no</auto_ignore>
+
+    <!-- Directories to check  (perform all possible verifications) -->
+    <directories check_all="yes">/etc,/usr/bin,/usr/sbin</directories>
+    <directories check_all="yes">/bin,/sbin,/boot</directories>
+
+    <!-- Files/directories to ignore -->
+    <ignore>/etc/mtab</ignore>
+    <ignore>/etc/hosts.deny</ignore>
+    <ignore>/etc/mail/statistics</ignore>
+    <ignore>/etc/random-seed</ignore>
+    <ignore>/etc/random.seed</ignore>
+    <ignore>/etc/adjtime</ignore>
+    <ignore>/etc/httpd/logs</ignore>
+    <ignore>/etc/utmpx</ignore>
+    <ignore>/etc/wtmpx</ignore>
+    <ignore>/etc/cups/certs</ignore>
+    <ignore>/etc/dumpdates</ignore>
+    <ignore>/etc/svc/volatile</ignore>
+    <ignore>/sys/kernel/security</ignore>
+    <ignore>/sys/kernel/debug</ignore>
+
+    <!-- Check the file, but never compute the diff -->
+    <nodiff>/etc/ssl/private.key</nodiff>
+
+    <skip_nfs>yes</skip_nfs>
+
+    <!-- Remove not monitored files -->
+    <remove_old_diff>yes</remove_old_diff>
+
+    <!-- Allow the system to restart Auditd after installing the plugin -->
+    <restart_audit>yes</restart_audit>
+  </syscheck>
+
+  <!-- Active response -->
+  <global>
+    <white_list>127.0.0.1</white_list>
+    <white_list>^localhost.localdomain$</white_list>
+    <white_list>10.66.0.2</white_list>
+  </global>
+
+  <command>
+    <name>disable-account</name>
+    <executable>disable-account.sh</executable>
+    <expect>user</expect>
+    <timeout_allowed>yes</timeout_allowed>
+  </command>
+
+  <command>
+    <name>restart-ossec</name>
+    <executable>restart-ossec.sh</executable>
+    <expect></expect>
+  </command>
+
+  <command>
+    <name>firewall-drop</name>
+    <executable>firewall-drop</executable>
+    <timeout_allowed>yes</timeout_allowed>
+  </command>
+
+  <command>
+    <name>host-deny</name>
+    <executable>host-deny.sh</executable>
+    <expect>srcip</expect>
+    <timeout_allowed>yes</timeout_allowed>
+  </command>
+
+  <command>
+    <name>route-null</name>
+    <executable>route-null.sh</executable>
+    <expect>srcip</expect>
+    <timeout_allowed>yes</timeout_allowed>
+  </command>
+
+  <command>
+    <name>win_route-null</name>
+    <executable>route-null.cmd</executable>
+    <expect>srcip</expect>
+    <timeout_allowed>yes</timeout_allowed>
+  </command>
+
+  <command>
+    <name>win_route-null-2012</name>
+    <executable>route-null-2012.cmd</executable>
+    <expect>srcip</expect>
+    <timeout_allowed>yes</timeout_allowed>
+  </command>
+
+  <command>
+    <name>netsh</name>
+    <executable>netsh.cmd</executable>
+    <expect>srcip</expect>
+    <timeout_allowed>yes</timeout_allowed>
+  </command>
+
+  <command>
+    <name>netsh-win-2016</name>
+    <executable>netsh-win-2016.cmd</executable>
+    <expect>srcip</expect>
+    <timeout_allowed>yes</timeout_allowed>
+  </command>
+
+  <!--
+  <active-response>
+    active-response options here
+  </active-response>
+  -->
+
+  <!-- Log analysis -->
+  <localfile>
+    <log_format>command</log_format>
+    <command>df -P</command>
+    <frequency>360</frequency>
+  </localfile>
+
+  <localfile>
+    <log_format>full_command</log_format>
+    <command>netstat -tulpn | sed 's/\([[:alnum:]]\+\)\ \+[[:digit:]]\+\ \+[[:digit:]]\+\ \+\(.*\):\([[:digit:]]*\)\ \+\([0-9\.\:\*]\+\).\+\ \([[:digit:]]*\/[[:alnum:]\-]*\).*/\1 \2 == \3 == \4 \5/' | sort -k 4 -g | sed 's/ == \(.*\) ==/:\1/' | sed 1,2d</command>
+    <alias>netstat listening ports</alias>
+    <frequency>360</frequency>
+  </localfile>
+
+  <localfile>
+    <log_format>full_command</log_format>
+    <command>last -n 20</command>
+    <frequency>360</frequency>
+  </localfile>
+
+  <ruleset>
+    <!-- Default ruleset -->
+    <decoder_dir>ruleset/decoders</decoder_dir>
+    <rule_dir>ruleset/rules</rule_dir>
+    <rule_exclude>0215-policy_rules.xml</rule_exclude>
+    <list>etc/lists/audit-keys</list>
+    <list>etc/lists/amazon/aws-sources</list>
+    <list>etc/lists/amazon/aws-eventnames</list>
+
+    <!-- User-defined ruleset -->
+    <decoder_dir>etc/decoders</decoder_dir>
+    <rule_dir>etc/rules</rule_dir>
+  </ruleset>
+
+  <rule_test>
+	    <enabled>yes</enabled>
+	    <threads>1</threads>
+	    <max_sessions>64</max_sessions>
+	    <session_timeout>15m</session_timeout>
+  </rule_test>
+
+  <!-- Configuration for ossec-authd
+    To enable this service, run:
+    wazuh-control enable auth
+  -->
+  <auth>
+    <disabled>no</disabled>
+    <port>1515</port>
+    <use_source_ip>no</use_source_ip>
+    <force>
+      <enabled>yes</enabled>
+      <key_mismatch>yes</key_mismatch>  
+      <disconnected_time enabled="yes">1h</disconnected_time>
+      <after_registration_time>1h</after_registration_time>
+    </force>
+    <purge>no</purge>
+    <use_password>yes</use_password>
+    <ciphers>HIGH:!ADH:!EXP:!MD5:!RC4:!3DES:!CAMELLIA:@STRENGTH</ciphers>
+    <!-- <ssl_agent_ca></ssl_agent_ca> -->
+    <ssl_verify_host>no</ssl_verify_host>
+    <ssl_manager_cert>/var/ossec/etc/sslmanager.cert</ssl_manager_cert>
+    <ssl_manager_key>/var/ossec/etc/sslmanager.key</ssl_manager_key>
+    <ssl_auto_negotiate>no</ssl_auto_negotiate>
+  </auth>
+
+  <cluster>
+    <name>wazuh</name>
+    <node_name>wazuh-manager-master</node_name>
+    <node_type>master</node_type>
+    <key>to_be_replaced_by_cluster_key</key>
+    <port>1516</port>
+    <bind_addr>0.0.0.0</bind_addr>
+    <nodes>
+        <node>wazuh-manager-master-0.wazuh-cluster.wazuh</node>
+    </nodes>
+    <hidden>no</hidden>
+    <disabled>no</disabled>
+  </cluster>
+</ossec_config>
+
+<ossec_config>
+  <localfile>
+    <log_format>syslog</log_format>
+    <location>/var/ossec/logs/active-responses.log</location>
+  </localfile>
+
+  <localfile>
+    <log_format>syslog</log_format>
+    <location>/var/log/syslog</location>
+  </localfile>
+
+  <localfile>
+    <log_format>syslog</log_format>
+    <location>/var/log/dpkg.log</location>
+  </localfile>
+</ossec_config>
diff --git a/wazuh/wazuh_managers/wazuh_conf/worker.conf b/wazuh/wazuh_managers/wazuh_conf/worker.conf
new file mode 100644
index 0000000000000000000000000000000000000000..2614ad4c2faaca0c010dede30e6e1b507c674596
--- /dev/null
+++ b/wazuh/wazuh_managers/wazuh_conf/worker.conf
@@ -0,0 +1,371 @@
+<!--
+  Wazuh - Manager - Default configuration for ubuntu 16.04
+  More info at: https://documentation.wazuh.com
+  Mailing list: https://groups.google.com/forum/#!forum/wazuh
+
+  Customization: TCP on port 1514
+  Customization: Cluster mode enabled, worker node
+-->
+<ossec_config>
+  <global>
+    <jsonout_output>yes</jsonout_output>
+    <alerts_log>yes</alerts_log>
+    <logall>no</logall>
+    <logall_json>no</logall_json>
+    <email_notification>no</email_notification>
+    <smtp_server>smtp.example.wazuh.com</smtp_server>
+    <email_from>ossecm@example.wazuh.com</email_from>
+    <email_to>recipient@example.wazuh.com</email_to>
+    <email_maxperhour>12</email_maxperhour>
+    <email_log_source>alerts.log</email_log_source>
+    <queue_size>131072</queue_size>
+    <agents_disconnection_time>20s</agents_disconnection_time>
+    <agents_disconnection_alert_time>100s</agents_disconnection_alert_time>
+  </global>
+
+  <alerts>
+    <log_alert_level>3</log_alert_level>
+    <email_alert_level>12</email_alert_level>
+  </alerts>
+
+  <!-- Choose between "plain", "json", or "plain,json" for the format of internal logs -->
+  <logging>
+    <log_format>plain</log_format>
+  </logging>
+
+  <remote>
+    <connection>secure</connection>
+    <port>1514</port>
+    <protocol>tcp</protocol>
+    <queue_size>131072</queue_size>
+  </remote>
+
+  <!-- Policy monitoring -->
+  <rootcheck>
+    <disabled>no</disabled>
+    <check_unixaudit>yes</check_unixaudit>
+    <check_files>yes</check_files>
+    <check_trojans>yes</check_trojans>
+    <check_dev>yes</check_dev>
+    <check_sys>yes</check_sys>
+    <check_pids>yes</check_pids>
+    <check_ports>yes</check_ports>
+    <check_if>yes</check_if>
+
+    <!-- Frequency that rootcheck is executed - every 12 hours -->
+    <frequency>43200</frequency>
+
+    <rootkit_files>/var/ossec/etc/rootcheck/rootkit_files.txt</rootkit_files>
+    <rootkit_trojans>/var/ossec/etc/rootcheck/rootkit_trojans.txt</rootkit_trojans>
+
+    <system_audit>/var/ossec/etc/rootcheck/system_audit_rcl.txt</system_audit>
+    <system_audit>/var/ossec/etc/rootcheck/system_audit_ssh.txt</system_audit>
+
+    <skip_nfs>yes</skip_nfs>
+  </rootcheck>
+
+  <wodle name="open-scap">
+    <disabled>yes</disabled>
+    <timeout>1800</timeout>
+    <interval>1d</interval>
+    <scan-on-start>yes</scan-on-start>
+  </wodle>
+
+  <wodle name="cis-cat">
+    <disabled>yes</disabled>
+    <timeout>1800</timeout>
+    <interval>1d</interval>
+    <scan-on-start>yes</scan-on-start>
+
+    <java_path>wodles/java</java_path>
+    <ciscat_path>wodles/ciscat</ciscat_path>
+  </wodle>
+
+  <!-- Osquery integration -->
+  <wodle name="osquery">
+    <disabled>yes</disabled>
+    <run_daemon>yes</run_daemon>
+    <log_path>/var/log/osquery/osqueryd.results.log</log_path>
+    <config_path>/etc/osquery/osquery.conf</config_path>
+    <add_labels>yes</add_labels>
+  </wodle>
+
+  <!-- System inventory -->
+  <wodle name="syscollector">
+    <disabled>no</disabled>
+    <interval>1h</interval>
+    <scan_on_start>yes</scan_on_start>
+    <hardware>yes</hardware>
+    <os>yes</os>
+    <network>yes</network>
+    <packages>yes</packages>
+    <ports all="no">yes</ports>
+    <processes>yes</processes>
+  </wodle>
+
+  <vulnerability-detector>
+      <enabled>no</enabled>
+      <interval>5m</interval>
+      <ignore_time>6h</ignore_time>
+      <run_on_start>yes</run_on_start>
+
+      <!-- Ubuntu OS vulnerabilities -->
+      <provider name="canonical">
+        <enabled>no</enabled>
+        <os>trusty</os>
+        <os>xenial</os>
+        <os>bionic</os>
+        <os>focal</os>
+        <update_interval>1h</update_interval>
+      </provider>
+
+      <!-- Debian OS vulnerabilities -->
+      <provider name="debian">
+        <enabled>no</enabled>
+        <os>stretch</os>
+        <os>buster</os>
+        <update_interval>1h</update_interval>
+      </provider>
+
+      <!-- RedHat OS vulnerabilities -->
+      <provider name="redhat">
+        <enabled>no</enabled>
+        <os>5</os>
+        <os>6</os>
+        <os>7</os>
+        <os>8</os>
+        <update_interval>1h</update_interval>
+      </provider>
+
+      <!-- Windows OS vulnerabilities -->
+      <provider name="msu">
+        <enabled>yes</enabled>
+        <update_interval>1h</update_interval>
+      </provider>
+
+      <!-- Aggregate vulnerabilities -->
+      <provider name="nvd">
+        <enabled>yes</enabled>
+        <update_from_year>2010</update_from_year>
+        <update_interval>1h</update_interval>
+      </provider>
+
+  </vulnerability-detector>
+
+  <!-- File integrity monitoring -->
+  <syscheck>
+    <disabled>no</disabled>
+
+    <!-- Frequency that syscheck is executed default every 12 hours -->
+    <frequency>43200</frequency>
+
+    <scan_on_start>yes</scan_on_start>
+
+    <!-- Generate alert when new file detected -->
+    <alert_new_files>yes</alert_new_files>
+
+    <!-- Don't ignore files that change more than 'frequency' times -->
+    <auto_ignore frequency="10" timeframe="3600">no</auto_ignore>
+
+    <!-- Directories to check  (perform all possible verifications) -->
+    <directories check_all="yes">/etc,/usr/bin,/usr/sbin</directories>
+    <directories check_all="yes">/bin,/sbin,/boot</directories>
+
+    <!-- Files/directories to ignore -->
+    <ignore>/etc/mtab</ignore>
+    <ignore>/etc/hosts.deny</ignore>
+    <ignore>/etc/mail/statistics</ignore>
+    <ignore>/etc/random-seed</ignore>
+    <ignore>/etc/random.seed</ignore>
+    <ignore>/etc/adjtime</ignore>
+    <ignore>/etc/httpd/logs</ignore>
+    <ignore>/etc/utmpx</ignore>
+    <ignore>/etc/wtmpx</ignore>
+    <ignore>/etc/cups/certs</ignore>
+    <ignore>/etc/dumpdates</ignore>
+    <ignore>/etc/svc/volatile</ignore>
+    <ignore>/sys/kernel/security</ignore>
+    <ignore>/sys/kernel/debug</ignore>
+
+    <!-- Check the file, but never compute the diff -->
+    <nodiff>/etc/ssl/private.key</nodiff>
+
+    <skip_nfs>yes</skip_nfs>
+
+    <!-- Remove not monitored files -->
+    <remove_old_diff>yes</remove_old_diff>
+
+    <!-- Allow the system to restart Auditd after installing the plugin -->
+    <restart_audit>yes</restart_audit>
+  </syscheck>
+
+  <!-- Active response -->
+  <global>
+    <white_list>127.0.0.1</white_list>
+    <white_list>^localhost.localdomain$</white_list>
+    <white_list>10.66.0.2</white_list>
+  </global>
+
+  <command>
+    <name>disable-account</name>
+    <executable>disable-account.sh</executable>
+    <expect>user</expect>
+    <timeout_allowed>yes</timeout_allowed>
+  </command>
+
+  <command>
+    <name>restart-ossec</name>
+    <executable>restart-ossec.sh</executable>
+    <expect></expect>
+  </command>
+
+  <command>
+    <name>firewall-drop</name>
+    <executable>firewall-drop</executable>
+    <timeout_allowed>yes</timeout_allowed>
+  </command>
+
+  <command>
+    <name>host-deny</name>
+    <executable>host-deny.sh</executable>
+    <expect>srcip</expect>
+    <timeout_allowed>yes</timeout_allowed>
+  </command>
+
+  <command>
+    <name>route-null</name>
+    <executable>route-null.sh</executable>
+    <expect>srcip</expect>
+    <timeout_allowed>yes</timeout_allowed>
+  </command>
+
+  <command>
+    <name>win_route-null</name>
+    <executable>route-null.cmd</executable>
+    <expect>srcip</expect>
+    <timeout_allowed>yes</timeout_allowed>
+  </command>
+
+  <command>
+    <name>win_route-null-2012</name>
+    <executable>route-null-2012.cmd</executable>
+    <expect>srcip</expect>
+    <timeout_allowed>yes</timeout_allowed>
+  </command>
+
+  <command>
+    <name>netsh</name>
+    <executable>netsh.cmd</executable>
+    <expect>srcip</expect>
+    <timeout_allowed>yes</timeout_allowed>
+  </command>
+
+  <command>
+    <name>netsh-win-2016</name>
+    <executable>netsh-win-2016.cmd</executable>
+    <expect>srcip</expect>
+    <timeout_allowed>yes</timeout_allowed>
+  </command>
+
+  <!--
+  <active-response>
+    active-response options here
+  </active-response>
+  -->
+
+  <!-- Log analysis -->
+  <localfile>
+    <log_format>command</log_format>
+    <command>df -P</command>
+    <frequency>360</frequency>
+  </localfile>
+
+  <localfile>
+    <log_format>full_command</log_format>
+    <command>netstat -tulpn | sed 's/\([[:alnum:]]\+\)\ \+[[:digit:]]\+\ \+[[:digit:]]\+\ \+\(.*\):\([[:digit:]]*\)\ \+\([0-9\.\:\*]\+\).\+\ \([[:digit:]]*\/[[:alnum:]\-]*\).*/\1 \2 == \3 == \4 \5/' | sort -k 4 -g | sed 's/ == \(.*\) ==/:\1/' | sed 1,2d</command>
+    <alias>netstat listening ports</alias>
+    <frequency>360</frequency>
+  </localfile>
+
+  <localfile>
+    <log_format>full_command</log_format>
+    <command>last -n 20</command>
+    <frequency>360</frequency>
+  </localfile>
+
+  <ruleset>
+    <!-- Default ruleset -->
+    <decoder_dir>ruleset/decoders</decoder_dir>
+    <rule_dir>ruleset/rules</rule_dir>
+    <rule_exclude>0215-policy_rules.xml</rule_exclude>
+    <list>etc/lists/audit-keys</list>
+    <list>etc/lists/amazon/aws-sources</list>
+    <list>etc/lists/amazon/aws-eventnames</list>
+
+    <!-- User-defined ruleset -->
+    <decoder_dir>etc/decoders</decoder_dir>
+    <rule_dir>etc/rules</rule_dir>
+  </ruleset>
+
+  <rule_test>
+	    <enabled>yes</enabled>
+	    <threads>1</threads>
+	    <max_sessions>64</max_sessions>
+	    <session_timeout>15m</session_timeout>
+  </rule_test>
+
+  <!-- Configuration for ossec-authd
+    To enable this service, run:
+    wazuh-control enable auth
+  -->
+  <auth>
+    <disabled>no</disabled>
+    <port>1515</port>
+    <use_source_ip>no</use_source_ip>
+    <force>
+      <enabled>yes</enabled>
+      <key_mismatch>yes</key_mismatch>  
+      <disconnected_time enabled="yes">1h</disconnected_time>
+      <after_registration_time>1h</after_registration_time>
+    </force>
+    <purge>no</purge>
+    <use_password>no</use_password>
+    <ciphers>HIGH:!ADH:!EXP:!MD5:!RC4:!3DES:!CAMELLIA:@STRENGTH</ciphers>
+    <!-- <ssl_agent_ca></ssl_agent_ca> -->
+    <ssl_verify_host>no</ssl_verify_host>
+    <ssl_manager_cert>/var/ossec/etc/sslmanager.cert</ssl_manager_cert>
+    <ssl_manager_key>/var/ossec/etc/sslmanager.key</ssl_manager_key>
+    <ssl_auto_negotiate>no</ssl_auto_negotiate>
+  </auth>
+
+  <cluster>
+    <name>wazuh</name>
+    <node_name>to_be_replaced_by_hostname</node_name>
+    <node_type>worker</node_type>
+    <key>to_be_replaced_by_cluster_key</key>
+    <port>1516</port>
+    <bind_addr>0.0.0.0</bind_addr>
+    <nodes>
+        <node>wazuh-manager-master-0.wazuh-cluster.wazuh</node>
+    </nodes>
+    <hidden>no</hidden>
+    <disabled>no</disabled>
+  </cluster>
+</ossec_config>
+
+<ossec_config>
+  <localfile>
+    <log_format>syslog</log_format>
+    <location>/var/ossec/logs/active-responses.log</location>
+  </localfile>
+
+  <localfile>
+    <log_format>syslog</log_format>
+    <location>/var/log/syslog</location>
+  </localfile>
+
+  <localfile>
+    <log_format>syslog</log_format>
+    <location>/var/log/dpkg.log</location>
+  </localfile>
+</ossec_config>