Git Product home page Git Product logo

Comments (2)

sonofagl1tch avatar sonofagl1tch commented on August 27, 2024

corrected versioning hardcoded in the installation script. Thanks for catching that!

from awsdetonationlab.

mgmacias95 avatar mgmacias95 commented on August 27, 2024

Hi @sonofagl1tch,

I'm sorry, the fix you did is not correct. The wazuh version must be 3.6 because if not, this line will fail:

curl https://raw.githubusercontent.com/wazuh/wazuh/$WAZUH_VERSION/extensions/elasticsearch/wazuh-elastic6-template-alerts.json | curl -XPUT 'http://localhost:9200/_template/wazuh' -H 'Content-Type: application/json' -d @-

The correct URL is 3.6, not 3.6.1:

https://raw.githubusercontent.com/wazuh/wazuh/3.6/extensions/elasticsearch/wazuh-elastic6-template-alerts.json

Wazuh has a branch 3.6.1 right now and that's why its working, but that branch is outdated and probably this fix won't be usable once Wazuh v3.7 gets released.

I'd fix it defining an extra variable WAZUH_PATCH_VERSION=1. This way, the kibana app url would be:

/usr/share/kibana/bin/kibana-plugin install https://packages.wazuh.com/wazuhapp/wazuhapp-$WAZUH_VERSION.$WAZUH_PATCH_VERSION_$ELASTIC_VERSION.zip 

Best regards,
Marta

from awsdetonationlab.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.