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

Merge 4.9.1 into 4.10.0 #7006

Merged
merged 16 commits into from
Sep 23, 2024
Merged

Merge 4.9.1 into 4.10.0 #7006

merged 16 commits into from
Sep 23, 2024

Conversation

Desvelao
Copy link
Member

Merge 4.9.1 into 4.10.0

Caution

Merge PR strategy: Create a merge commit

JuanGarriuz and others added 16 commits September 10, 2024 13:47
* Improve dev.sh

* Bump Wazuh 4.9.2 rev 00 (#6971)

* Bump version to 4.9.2

* Fix changelog

* Add terminal info and imposter version manage

* Update CHANGELOG.md

* Update README.md

* Clean 4.9.2 brach and solve comments

* Add Mac jq installation and WazuhStack var

---------

Co-authored-by: Federico Rodriguez <[email protected]>
* style: Update warning message for query results limit

* style: Update message for query result limit exceeded

* style: Change query limit tooltip text

* style: Fix trailing comma in query result message

* style: run prettier

* Revert "style: run prettier"

This reverts commit 0989f5b.

* style: run prettier

* Revert "style: run prettier"

This reverts commit e835ab8.
* Added links to vulnerability reference

* Added Changelog

* Change render

* Add rel to EuiLink

* Bump Wazuh 4.9.2 rev 00 (#6971)

* Bump version to 4.9.2

* Fix changelog

* Add withespace to split

* Added to script multiples links

* Clean 4.9.2 branch

* Update changelog

---------

Co-authored-by: Federico Rodriguez <[email protected]>
Co-authored-by: Antonio <[email protected]>
…ndpoints Summary (#6983)

* fix(agent-menu): add vulnerabilities detection

* fix(agent-menu): add Office 365 link

* fix: unsupported module definition by agent OS

- Fix vulnerabilities detection unsupported component by agent OS
- Replace the varible used to define the unsupported component for
  Docker
- Add unsupported module Office 365 to SunOS and "Others" OS
- Fix bug on the available options on the agent configuration report

* chore(changelog): add entries

* fix: documentation URL link
* Changed follow redirects versions

* Updated yarn and changelog

* fix(changelog): enhance entry

---------

Co-authored-by: Antonio David Gutiérrez <[email protected]>
Co-authored-by: Antonio <[email protected]>
* Remove unnecessary style

* Update changelog

* Fix prettier issues
* Columns selector shows firts picked columns

* Update Changelog

* Solve defaults columns render lasts

* Remove reduce
* Refactor useDataSource hook for improved error handling

* Add comment for vulnerability dashboard error handling

* Refactor data source hook and remove unused TimeRange

* Fix issue causing vulnerability dashboard load failure for read-only users

* Fix Prettier issues

* Add tests for PatternDataSource class and RecordMock types

* Fix syntax error in PatternDataSource file

* Fix Prettier issues

* Prettier

---------

Co-authored-by: Federico Rodriguez <[email protected]>
* refactor: Update default pagination options and sorting columns

* feat: Add tsconfig.json for main plugin

* style: Remove unnecessary white-space and formatting

* style: Simplify function parameters and formatting

* style: Remove unnecessary whitespace and fix formatting

* style: Update quotes and remove unnecessary line breaks

* style: Update pagination to use default setting

* feat: Add function to get cell actions in data grid

* feat: Add filtering functionality to data grid

* feat: Add filters and setFilters to data grid props

* refactor: Simplify arrow function parameters and formatting

* refactor: Update code formatting for better readability

* docs: Update CHANGELOG.md

* Add cell filter actions to data grid component

* Add tests for cell filter actions functions

* Refactor data grid service to improve column mapping

* Refactor data-grid-service.ts for better readability

* Refactor parseData to handle generic source type

* Update getFieldFormatted function parameters types

* Fix Prettier issues

* Upgrade Event-tab column selector and optimize data grid

* Refactor default columns assignment in useDataGrid

* Refactor cell filter actions and data grid service logic

* Add page size to cell filter actions tests

---------

Co-authored-by: Federico Rodriguez <[email protected]>
* font size correction in threat hunting

* update changelog

* correction in the jq command for macOS in the dev sh file

* Use default styling in renderRequirementsSecurityOperations component

---------

Co-authored-by: Federico Rodriguez <[email protected]>
* Update repository security policy

* Fix format
* feat: Add loading searchbar progress component

* Change loading spinners to search progress in some views

* style: Remove unused imports and elements from LoadingSearchbarProgress

* Bump Wazuh 4.9.2 rev 00 (#6971)

* Bump version to 4.9.2

* Fix changelog

* Update Wazuh version to 4.9.1 in all files

* Fix Prettier issues

* Refactor error handling imports in wz-flyout-discover

* Fix Prettier issues

* Update loading spinner to loading searchbar progress component

* Refactor loading spinners to use searchbar progress bars

* Refactor loading spinner and panel components

* Update condition to check for server in third argument

* Remove loading spinner component and styles

* Refactor compliance table functions and components

* Remove unnecessary SCSS file import in LoadingSearchbarProgress

* Refactor function parameters and object keys in compliance table

---------

Co-authored-by: Federico Rodriguez <[email protected]>
* Remove groups autoformat

* Add changelog
* fix: a problem upgrading the API host registry data through /api/check-stored-api endpoint

The allow_run_as missing data in the API host registry could cause the
authentication used the internal user instead of the context of logger
user when run_as was enabled.

* chore(changelog): add entry

* fix: ensure the user authentication uses the related endpoint according to the configuration of run_as

- Ensure the user authentication uses the related endpoint according to the configuration of run_as
  Move the logic to decide the authentication (user or not run_as) to asCurrentUser.authenticate
- Fix when the `run_as: false` for a server API host, any login of an user caused the
  internal user token was replaced by the obtained for the logged user.

---------

Co-authored-by: Federico Rodriguez <[email protected]>
Bump revision to 01 RC1
Copy link
Contributor

Wazuh Core plugin code coverage (Jest) test % values
Statements 45.5% ( 400 / 879 )
Branches 41.09% ( 157 / 382 )
Functions 43.87% ( 136 / 310 )
Lines 45.69% ( 398 / 871 )

Copy link
Contributor

Wazuh Check Updates plugin code coverage (Jest) test % values
Statements 76.44% ( 172 / 225 )
Branches 58.65% ( 61 / 104 )
Functions 61.7% ( 29 / 47 )
Lines 76.44% ( 172 / 225 )

Copy link
Contributor

Main plugin code coverage (Jest) test % values
Statements 14.12% ( 4175 / 29563 )
Branches 9.2% ( 1771 / 19250 )
Functions 13.78% ( 985 / 7145 )
Lines 14.31% ( 4073 / 28451 )

Copy link
Member

@JuanGarriuz JuanGarriuz left a comment

Choose a reason for hiding this comment

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

LGTM!!

@Desvelao Desvelao merged commit 6ebdf4c into 4.10.0 Sep 23, 2024
4 of 5 checks passed
@Desvelao Desvelao deleted the merge-4.9.1-into-4.10.0 branch September 23, 2024 08:40
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.

Scheduled upward merges for numbered branches in wazuh-dashboard-plugins repository - Fortnight #18
6 participants