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

[Backport 4.4.5-7.10] Bump Wazuh and platform versions for v4.4.5 (#5639) #5640

Closed
wants to merge 317 commits into from

Conversation

yenienserrano
Copy link
Member

Backport b33c4a5 from #5639.

Desvelao and others added 30 commits June 17, 2022 10:14
…Modules/Security events (#4237)

* fix: fixed plugin UI crash when there is an error related to wrong query syntax in Modules/Security events

Replaced the error level from `CRITICAL` to `BUSINESS`. With this
change, a toast will be displayed with the error.

Removed the storing of the error in the plugin logs related to UI.

Removed unused variable

* changelog: Add PR entry

Co-authored-by: Álex <[email protected]>
…out (Management and Settings) (#4274)

Fixed code editor component height in logs layout (Management and Settings) (#4253)

* Fixed management logs layout

* Added dynamic offset

* Updated CHANGELOG

* Fixed offset calculation depends on height screen

* Used calc in overflow height in codeblock

* Added calc in settings logs

* changelog: replaced PR entry

Co-authored-by: Antonio David Gutiérrez <[email protected]>
(cherry picked from commit b7eed0b)

Co-authored-by: Maximiliano Ibarra <[email protected]>
…ize (#4276)

Enhancement/4211 improve visualizations text size (#4254)

* Unused imports

* Centered gravity graphic and list

* font size texts first graph

* CHANGELOG

* Removing centered, and putting the same font size to the select

(cherry picked from commit ad37304)

Co-authored-by: Chantal Belén kelm <[email protected]>
…onfiguration (#4279)

Timeout change in the restart manager in the configuration (#4264)

* fix: timeout change

* add changelog

* parmeters refractor and format

* changelog: replaced PR entry

Co-authored-by: Antonio David Gutiérrez <[email protected]>
Co-authored-by: Álex <[email protected]>
(cherry picked from commit 2f83a43)

Co-authored-by: Ian Yenien Serrano <[email protected]>
Fixed parsedError string handling (#4266)

* fixed parsedError string handling

* Added changelog

* Add unit test to devtools

Co-authored-by: Álex <[email protected]>
(cherry picked from commit 5979464)

Co-authored-by: Federico Rodriguez <[email protected]>
Remove the filtered tags of manager logs (#4267)

* fix: removed the filtered tags in management logs

* changelog: add PR entry

* update: updated the Wazuh API endpoint information

Co-authored-by: Álex <[email protected]>
(cherry picked from commit d8e387c)

Co-authored-by: Antonio <[email protected]>
… the selected agent (#4240)

* fix(modules): fixed an error when changing the selected agent and generates a module report.

This problem was caused because the VisHandlers singleton contains the
visualization handlers that are used to get data of the filters applied
and sent to the plugin endpoint. The visualization handlers were removed
of the VisHandlers singleton when changing the selected agent. Due the
dahasboard is not recreated, the visualizations are not added again,
causing that when generating the report, it can't get the applied
filters of the visualizations handlers because the list was empty.

* changelog: add PR entry

* Update wz-visualize.js

Co-authored-by: Álex <[email protected]>
…ersion (#4305)

Web documentation URLs point to plugin short version (#4301)

* feat: web documentation URLs point to plugin short version

Created service to generate the web documentation URLs
Fixed broken links
Changed some link texts
Refactored some prompts to match other similar elements
Updated the script to generate the API info that create the URLs for the
endpoints

* changelog: add PR entries

* fix: replaced the title for agent enrollment link

* feat: added tests to webDocumentationLink function

* Change documentation title of Wazuh agent enrollment

* Update documentation links titles

Some documentation links titles were outdated or too long,
causing the title to overflow.

These titles have been updated to the titles on their Wazuh
documentation page.

Also, a new link has been added to the Docker Listener section.

Co-authored-by: Alex Ruiz Becerra <[email protected]>
(cherry picked from commit 463665e)

Co-authored-by: Antonio <[email protected]>
…issions when finding index patterns in a route resolver (#4310)

Display a message related to missing user permissions when finding index patterns in a route resolver (#4280)

* fix: set a message when the logged user has no permissions to get the list of index patterns in the ip route resolver.

* changelog: add PR entry

(cherry picked from commit d1a9eae)

Co-authored-by: Antonio <[email protected]>
…ecoders/CDB Lists' tables (#4316)

Add error management to actions of the Rules/Decoders/CDB Lists' tables (#4307)

* fix: add error management to the actions buttons of tables in rules/decoders/cdb lists

* changelog: add PR entry

* fix: unified error management in the actions of buttons of Rules/Decoders/CDB Lists's table

Co-authored-by: Álex <[email protected]>
(cherry picked from commit 0a1a9d0)

Co-authored-by: Antonio <[email protected]>
* Use POST method when requesting the API login endpoint

* changelog: add PR entry

Co-authored-by: Matias Ezequiel Moreno <[email protected]>
Co-authored-by: Álex <[email protected]>
Co-authored-by: Antonio David Gutiérrez <[email protected]>
(cherry picked from commit 3977e45)

Co-authored-by: Manuel Carmona Pérez <[email protected]>
…rvice config (#4322)

Added new key request block in Registration service config (#3956)

* Added new key request block

* Removed failed snapshots

* Updated some test snapshots

* Updated descriptions registration-service

(cherry picked from commit 2b6ecf3)

Co-authored-by: Maximiliano Ibarra <[email protected]>
Sanitize report's inputs and usernames (#4330)

* Validate path parameters of the reports endpoint

* Remove leftover prop in the reporting-table component

* Fix typo in report name validtion

* Remove the return of reports path from the /reports endpoint

* Remove absolute file path on report not found

(cherry picked from commit 3c1e51c)
Added feature searchbar conjuntion parser (#4326)

* Refactored q interpreter and added tests

* Added test cases to wz-search-bar

* Refactored filters to object and added tests

* Modified regexp conjuntion

* Added readability in line

* Removed trim on query at parse to query object

* Fixed operators suggestion

(cherry picked from commit f8d0eb1)

Co-authored-by: Maximiliano Ibarra <[email protected]>
Add missing entry for [#4326](#4326)
Sorting by agents in the table groups (#4323)

* Added sortable by agent count option to the groups table

* Added changelog entry

Co-authored-by: Álex <[email protected]>
(cherry picked from commit 9079f07)

Co-authored-by: Ian Yenien Serrano <[email protected]>
Fix MD5 dependency (#4341)

Fix MD5 dependency

(cherry picked from commit 79661e4)

Co-authored-by: Álex <[email protected]>
* change of path

* CHANGELOG

* new constant

* update test

* updated constant name

* updated constant name

* Update CHANGELOG.md

* changelog: add PR entry

Co-authored-by: Álex <[email protected]>
Co-authored-by: Antonio David Gutiérrez <[email protected]>
Fixed errors in group reports (#4350)

* fix(reports): error generating group reports due to accessing to a property of undefined

- Fixed an error due to accessing to a property of undefined when the API request to get the group configuration failed due to token expiration or another error.
- Changed styles of `Agents in groups` title
- Fixed a problem with missing agents in the table for a group report.
  Now it gets all the agents.
- Removed unnecessary API request
- Optimized API requests to get the agent information required to print
  the agents in group's table
- Removed `manager_host` deprecated field:
  - Removed of monitoring template mapping
  - Removed field meaning
  - Removed displaying its value reports if the field `manager` doesn't exist

* changelog: add PR entry

* fix(reporting): replaced parameter type

* fix(reporting): replaced message when there are no agent in group

Co-authored-by: Álex <[email protected]>
(cherry picked from commit 8ffce0e)
…es (#4385)

Fix modules settings persistence between updates (#4359)

* fix(plugin-initialize): migrate the host configuration in the registry file when changing the plugin version or revision

- Migrated the existent host configuration in the registry file when changing the
  plugin version or revision instead of remove it when it was rebuilt.
- Removed not necessary return statements
- Removed not necessary try/catch block
- Added some logs
- Enhanced some log messages
- Created tests for the migration registry file

* changelog: add PR entry

* changelog: removed new line

Co-authored-by: Álex <[email protected]>
(cherry picked from commit 3e056c5)
…4381)

Fixed searchbar error on SCA Inventory table (#4367)

* Fixed searchbar error on SCA Inventory table

* Added suggestion empty array in constructor

(cherry picked from commit ebd8208)

Co-authored-by: Maximiliano Ibarra <[email protected]>
* Solve TypeError

* Add CHANGELOG

* Change request service

* Fix request's response structure

(cherry picked from commit 44a43cb)
* Review Wazuh.yml documentation

Remove unused settings. Centralize documentation. Add missing settings. Programatic file generation.

* Add Changelog

* Fix indentation for hosts in the wazuh.yml

Also fixes some TS warnings

* Deep copy the WAZUH_DEFAULT_APP_CONFIG object

(cherry picked from commit 1d44109)
AlexRuiz7 and others added 26 commits March 31, 2023 14:57
* add script to tag generation

* add changelog for 4.3.11
Add environment to wazuh 4.4 (#5355)

* Add environment rel

* Add 4.4 to kibana rel

* fix(docker-environments): remove 4.3 version of wazuh-4.4-wz

* fix(docker-environments): fix SAML on wazuh-4.4-wz

* Fix saml

* Fix 4.4 pre

* Fix saml 4.3

* fix elastic pre 4.4.x

* Change folder name

---------

Co-authored-by: Antonio David Gutiérrez <[email protected]>
(cherry picked from commit 370c18f)

Co-authored-by: Ian Yenien Serrano <[email protected]>
* Prepare the app for Wazuh 4.4.2

* Update default version in the tags script
* fix(enhance): enhance the the backend service to get the plugin configuration

- Enhance the backend service to get the plugin configuration
- Tests:
  - Add testing for the getConfiguration service
  - Add test to ensure the `GET /utils/configuration` returns the expected host
    response

* changelog: add pull request entry

* changelog: fix changelog

* Fix get configuration test unlink command error

* fix: fix comment on unit test

---------

Co-authored-by: Maximiliano Ibarra <[email protected]>
* fix: fix accessing to object key

* changelog: add pull request entry
* Add sudo to apple macos install command

* Add sudo in install command instead curl

* Update CHANGELOG

* Move CHANGELOG entry

* Add 4.4.3 section in CHANGELOG

* Updated CHANGELOG

* Updated CHANGELOG
* Change set environment variables for macOS

* Add changelog
* Change macOS install command

* Add changelog

* Separate variables with &&

* Code format

* Escape single quotes
* Changes in title and description of step assignment of name and group to agent in the deploy new agent section

* Update changelog

* Update changelog

* Update changelog

* Update changelog

* Update changelog

* Update CHANGELOG.md

* sentences were changed and added in step 3 of the deploy new agent section

* changelog

* changelog

* Changed the description of step 3 of the deploy a new agent section.

---------

Co-authored-by: Álex Ruiz <[email protected]>
* fix macos command

* changelog

* Update CHANGELOG.md
* Prepare the app for Wazuh 4.4.4

* Update readme
* Update changelog

* Update revision for RC2
* Update changelog

* Update opensearch_dashboards.json

* Update package.json

* Update readme

* Update tag script
@yenienserrano yenienserrano requested a review from a team as a code owner July 7, 2023 08:59
@yenienserrano yenienserrano deleted the backport-5639-to-4.4.5-7.10 branch July 7, 2023 09:10
@yenienserrano
Copy link
Member Author

It is closed because it is a backport for 7.10 and the branch came out of Wazuh Dashboard.

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.

9 participants