You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As part of the standardization process, all XDR-SIEM repositories will use a consistent identification method. Each repository will include a standardized VERSION.json file containing necessary data to identify the origin branch and release stage. This file should be included in the installer's installation directory and indicate the short commit used to create it.
Requirements
GitHub
Each repository must include a VERSION.json file in the root directory.
The file must be named VERSION.json.
It should follow the specified JSON format (with required keys).
The version key value must follow the MAJOR.MINOR.PATCH format.
The stage key value must indicate the release stage, using lowercase and no spaces.
Numeric revisions (e.g., 41200) should be replaced by the stage value from the version file.
References to the version and stage (revision) should be fetched from this JSON file.
[NOTE]
References such as Jenkinsfile shared libraries or uses: repo/workflow@main are exempted from this change (7).
However, procedures like package generation should be adapted accordingly.
Installers
Installers should install the VERSION.json file in the installation directory:
Wazuh manager and Wazuh agent: /var/ossec (or equivalent)
Wazuh dashboard and Wazuh indexer: /usr/share/wazuh-{dashboard/indexer}
The version and stage (revision) should be fetched from the VERSION.json file.
The VERSION.json provided in the installer package should include the short commit used to create the it. If the repository requires a compound commit due to dependencies, use it instead of a short commit.
Installer nomenclature and metadata must remain unchanged.
File Permissions and Ownership for VERSION.json:
Ownership: Subsystem user and group
Permissions: 440
Documentation
Documentation must be modified to reflect the changes.
Description
As part of the standardization process, all XDR-SIEM repositories will use a consistent identification method. Each repository will include a standardized
VERSION.json
file containing necessary data to identify the origin branch and release stage. This file should be included in the installer's installation directory and indicate the short commit used to create it.Requirements
GitHub
VERSION.json
file in the root directory.VERSION.json
.JSON
format (with required keys).version
key value must follow theMAJOR.MINOR.PATCH
format.stage
key value must indicate therelease stage
, using lowercase and no spaces.41200
) should be replaced by thestage
value from the version file.JSON
file.Installers
VERSION.json
file in the installation directory:/var/ossec
(or equivalent)/usr/share/wazuh-{dashboard/indexer}
version
andstage
(revision) should be fetched from theVERSION.json
file.VERSION.json
provided in the installer package should include theshort commit
used to create the it. If the repository requires a compound commit due to dependencies, use it instead of a short commit.440
Documentation
Resources
VERSION.json file content and structure
Tasks
Note
Once completed, changes should be ported to main (5.0.0), as there are new repositories introduced in 5.0.0 that are not present in 4.12.0
The text was updated successfully, but these errors were encountered: