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

Manage installation/removal of the Wazuh plugin #28

Merged
merged 5 commits into from
May 9, 2023

Conversation

AlexRuiz7
Copy link
Member

Description

Depends on #18: parts from the pull requests #18, be aware that these changes are shown too. Do not merge this pull request before #18.


This pull request adds the ability to install the Wazuh plugin using the CLI tools. The version of the plugin installed matches the version of Wazuh defined in the package.json file.

node@558d18d50820:~/osd$ node src/cli_plugin/dev.js install wazuh
Attempting to transfer from wazuh
Attempting to transfer from https://packages-dev.wazuh.com/pre-release/ui/dashboard/wazuh-4.4.0-1.zip
Transferring 39236823 bytes....................
Transfer complete
Retrieving metadata from plugin archive
Extracting plugin archive
Extraction complete
Plugin installation complete

node@558d18d50820:~/osd$ node src/cli_plugin/dev.js list         
[email protected]

node@558d18d50820:~/osd$ node src/cli_plugin/dev.js remove wazuh
Removing wazuh...
Plugin removal complete

Issues Resolved

#25

Check List

  • All tests pass
    • yarn test:jest
    • yarn test:jest_integration
    • yarn test:ftr
  • New functionality includes testing.
  • New functionality has been documented.
  • Update CHANGELOG.md
  • Commits are signed per the DCO using --signoff

AlexRuiz7

This comment was marked as outdated.

@AlexRuiz7 AlexRuiz7 force-pushed the 25-manage-wazuh-plugin branch 2 times, most recently from d601aa5 to 4915640 Compare April 19, 2023 07:46
@AlexRuiz7 AlexRuiz7 self-assigned this Apr 20, 2023
@AlexRuiz7 AlexRuiz7 mentioned this pull request Apr 20, 2023
19 tasks
Machi3mfl

This comment was marked as outdated.

@AlexRuiz7 AlexRuiz7 changed the base branch from 2.4.1 to wz-init April 28, 2023 14:36
@Machi3mfl

This comment was marked as outdated.

@chantal-kelm chantal-kelm self-requested a review May 3, 2023 14:15
chantal-kelm

This comment was marked as outdated.

Copy link
Member Author

@AlexRuiz7 AlexRuiz7 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Machi3mfl
Copy link
Member

Check #27 (comment)

Done in commit 5fd3e35

@AlexRuiz7 AlexRuiz7 merged commit cb1ceb7 into wz-init May 9, 2023
@AlexRuiz7 AlexRuiz7 deleted the 25-manage-wazuh-plugin branch May 10, 2023 14:09
yenienserrano pushed a commit that referenced this pull request Jun 1, 2023
yenienserrano pushed a commit that referenced this pull request Jun 1, 2023
yenienserrano pushed a commit that referenced this pull request Jun 2, 2023
yenienserrano pushed a commit that referenced this pull request Jun 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add ability to manage the Wazuh app using the plugin manager (bin/opensearch-plugins)
3 participants