Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Phase N: Changelog - List added, changed or removed files #60

Closed
Tracked by #54
AlexRuiz7 opened this issue Nov 23, 2023 · 1 comment
Closed
Tracked by #54

Phase N: Changelog - List added, changed or removed files #60

AlexRuiz7 opened this issue Nov 23, 2023 · 1 comment
Assignees
Labels
level/task Task issue request/operational Operational requests type/research Research issue

Comments

@AlexRuiz7
Copy link
Member

AlexRuiz7 commented Nov 23, 2023

List of added, changed or removed files of wazuh-indexer

Legend

  • (1) Change applied during the Build phase
  • (2) Change applied during the Assembly phase

Added

  • (1) wazuh-indexer initialization scripts

  • (1) wazuh-indexer configuration files

    • Init wazuh-indexer #3
    • Note: The configuration files related to the security plugin are stored under the
      security folder to avoid conflict with the original files. During the Assembly
      phase, when the security plugin is installed, the opensearch-security folder
      will be created with the default configuration files. We'll then need to overwrite
      these with ours and delete the security folder before packing back.
    • Note: our copy of the configuration files are identified with .prod. Currently
      both copies are kept in the Build phase. During the Assembly phase, these need
      to become the default ones. Remove original ones and rename ours. This step is not
      done during the Build phase because of the SSL certificates.
    • Note: our copy of the jvm.options is outdated. Update jvm.prod.options.
  • (1) wazuh-indexer README.md and VERSION files

  • (2) OpenSearch plugins

    Plugin list:

        opensearch-alerting
        opensearch-anomaly-detection
        opensearch-asynchronous-search
        opensearch-cross-cluster-replication
        opensearch-geospatial
        opensearch-index-management
        opensearch-job-scheduler
        opensearch-knn
        opensearch-ml
        opensearch-neural-search
        opensearch-notifications
        opensearch-notifications-core
        opensearch-observability
        opensearch-performance-analyzer
        opensearch-reports-scheduler
        opensearch-security
        opensearch-security-analytics
        opensearch-sql
    
  • (2) Performance analyzer RCA plugin

  • (2) Recompiled systemd-entrypoint module

Changed

Removed

  • (1) Remove Windows scripts (*.bat).
  • (2) Remove install_demo_configuration.sh opensearch-security plugin's file

For a complete list of changes which were made to previous wazuh-indexer versions,
consult #25.

Details

Legend:
    -    Not required
    *    To be done
    ?    Needs clarification
    1    Build phase
    2    Assembly phase


 (-)    mv opensearch-"${opensearch_version}" "${base_dir}"
 (-)    cd "${base_dir}"
 (-)    find -type l -exec rm -rf {} \;
 (1*)   find -name "*.bat" -exec rm -rf {} \;
 (-)    rm -rf README.md manifest.yml opensearch-tar-install.sh logs
 (-)    sed -i 's|OPENSEARCH_DISTRIBUTION_TYPE=tar|OPENSEARCH_DISTRIBUTION_TYPE=rpm|g' bin/opensearch-env
 (2)    sed -i 's|"$OPENSEARCH_HOME"/config|/etc/wazuh-indexer|g' bin/opensearch-env
 (2)    cp -r /root/stack/indexer/base/files/systemd-entrypoint bin/
 (2)    mkdir -p ./etc/wazuh-indexer/
 (2)    cp -r ./config/* ./etc/wazuh-indexer/
 (-)    rm -rf ./config
 (2)    cp -r /root/stack/indexer/base/files/etc/wazuh-indexer/* ./etc/wazuh-indexer/
 (2)    cp -r /root/stack/indexer/base/files/etc/sysconfig ./etc/
 (2)    cp -r /root/stack/indexer/base/files/etc/init.d ./etc/
 (2)    cp -r /root/stack/indexer/base/files/usr ./
 (2)    rm -rf ./plugins/opensearch-security/tools/install_demo_configuration.sh
 (1)    cp /root/VERSION .

@AlexRuiz7 AlexRuiz7 added level/task Task issue request/operational Operational requests type/research Research issue labels Nov 23, 2023
@AlexRuiz7 AlexRuiz7 self-assigned this Nov 23, 2023
@AlexRuiz7 AlexRuiz7 changed the title List added, changed or removed files Phase N: Changelog - List added, changed or removed files Nov 23, 2023
@AlexRuiz7 AlexRuiz7 mentioned this issue Nov 23, 2023
7 tasks
@wazuhci wazuhci moved this to In progress in Release 4.9.0 Nov 23, 2023
@AlexRuiz7
Copy link
Member Author

This list will help us test the packages' generation process by verifying these changes are applied.

In case I overlooked something, the list will be uploaded even if the issue is closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
level/task Task issue request/operational Operational requests type/research Research issue
Projects
No open projects
Status: Done
Development

No branches or pull requests

1 participant