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.10.1 into 4.10.2 #7107

Merged
merged 54 commits into from
Oct 17, 2024
Merged

Merge 4.10.1 into 4.10.2 #7107

merged 54 commits into from
Oct 17, 2024

Conversation

Tostti
Copy link
Member

@Tostti Tostti commented Oct 17, 2024

Merge 4.10.1 into 4.10.2

Caution

Merge PR strategy: Create a merge commit

chantal-kelm and others added 30 commits September 26, 2024 18:41
* fix style when unnpinned an agent in endpoint summary section

* update changelog
…es not work (#7019)

* Fix when generating a PDF report, the open report button in safari does not work

* update changelog

* New solution for pdf report problem

* update changelog

* update changelog
* chore: rename use-data-grid.ts file

* fix: use the field formatter to render the fields in the WzDataGrid

* feat: add the wazuh.vulnerability.under_evaluation field to the vulnerabilities sample data tool

* feat(vulnerabilities): add visualization related to evaluation status to the dashboard

* changelog: add entry

* fix(changelog): rephrase

* Change visualization to only pending

* Add post fixed filter place to render components

* Add under evaluation filter component

* Apply under evaluation filter in vuls tabs

* Add style to button group in filter

* Apply prettier

* Apply prettier

* Fix style in dark and light theme

* Added changelog

---------

Co-authored-by: Chantal Belén kelm <[email protected]>
Co-authored-by: Federico Rodriguez <[email protected]>
Co-authored-by: Maximiliano Ibarra <[email protected]>
* Update PDF report year

* Add changelog
* Update search bar layout in WzSearchBar component

* Update single quotes to double quotes in search-bar component

* Fix overflow hidden

* Add changelog

* Fix post filter flexgroup

---------

Co-authored-by: Federico Rodriguez <[email protected]>
* Remove pdf report footer year

* Add changelog
Bump revision to 02
* Fixed no-agent spawn

* Added Changelog

---------

Co-authored-by: Federico Rodriguez <[email protected]>
* Update malware detection description in Wazuh modules

* Update malware feature description

* Update md5 value for a specific test case
…ions (#7033)

* Remove font-size property from welcome.scss

* Refactor LastAlertsStat component for readability

* Fix Merge Conflict

* Refactor LastAlertsStat component and severities object

* Update font size for KPI subtitles and feature descriptions

* Update text size to 's' in LastAlertsStat component

* Update class size to "small" in Stats component snapshot
* Filter deprecated actions

* Add changelog

* Update plugins/main/public/components/security/policies/edit-policy.tsx

Co-authored-by: Guido Modarelli <[email protected]>

---------

Co-authored-by: Guido Modarelli <[email protected]>
* Rename vulnerability.under_evaluation field

* Add changelog

* Prettier
* Fix data grid pagination with relative row index

* Add changelog
* Change agent summary render

* Added Changelog

* updated snaps

* solve styles bug

* Update Snaps

* Move redirect url to a const

* Change deploy text

* Solve test faillure

---------

Co-authored-by: Federico Rodriguez <[email protected]>
)

* fix the filter are displayed cropped on screens of 575px to 767px

* update changelog

* update changelog

---------

Co-authored-by: Federico Rodriguez <[email protected]>
* Changed description

* Update Changelog

* change description in wazuh-modules

* Fixed a typo

---------

Co-authored-by: Federico Rodriguez <[email protected]>
)

* Scape doublequotes on export

* Add sanitize to the new line character

* Update CHANGELOG

* Apply prettier

* Apply prettier

* Scape linebreak

---------

Co-authored-by: Federico Rodriguez <[email protected]>
* Add permissions validation to buttons

* Update changelog

* Minor fixes to agents table

* Fix typo

* Prettier

* Update snapshots
guidomodarelli and others added 21 commits October 7, 2024 09:51
Merge 4.9.1 into 4.10.0
> [!CAUTION]
> Merge PR strategy: Create a merge commit
* Remove data grid from Threat hunting dashboard

* Remove data grid from GitHub and Office365 drill down views

* Add changelog
#7038)

* Remove Virustotal from Applications list

* Remove Virustotal feature and dashboards

* Remove Virustotal feature and dashboards as they are obsolete

* Remove VirusTotal

* Fix Prettier issues

* Update CHANGELOG.md

Co-authored-by: Antonio <[email protected]>

* Add VirusTotal integration for threat detection capabilities

* Restore plugins/main/public/controllers/management/components/management/configuration/configuration-settings.js

* Restore plugins/main/public/controllers/management/components/management/configuration/integrations/integrations.js

* Restore test/cypress

* Restore scripts/wazuh-alerts-generator/cli.js

* Restore plugins/main/public/components/add-modules-data/sample-data.tsx

* Add Virustotal application to Applications list

* fix: error registering unwanted application and move VirusTotal sample data to Malware detection category

* fix: move VirusTotal sample data to Malware detection category in script

* fix: enhance variable name

---------

Co-authored-by: Federico Rodriguez <[email protected]>
Co-authored-by: Antonio <[email protected]>
Co-authored-by: Antonio David Gutiérrez <[email protected]>
### Description
Feature containers have different margins between them and the top
containers. We want a design on which the containers separations are
homogeneous
 
### Issues Resolved
#7027

### Evidence

![image](https://github.com/user-attachments/assets/f14900a2-3924-4e58-8394-30c65642b208)


### Test
Navigate to the overview page and ensure to check the margins.

### Check List
- [x] All tests pass
  - [x] `yarn test:jest`
- [ ] New functionality includes testing.
- [ ] New functionality has been documented.
- [x] Update [CHANGELOG.md](./../CHANGELOG.md)
- [x] Commits are signed per the DCO using --signoff
### Description
Fix column reordering feature. The columns in the data grid can be
reordered by moving them left and right.
 
### Issues Resolved
#7062

### Evidence


https://github.com/user-attachments/assets/7e3532d2-3180-4d34-92fd-4968d6ed0e82

### Test
1. Go to the Event tab in any application.
2. Test reordering columns in the data grid.

### Check List
- [x] All tests pass
  - [x] `yarn test:jest`
- [ ] New functionality includes testing.
- [ ] New functionality has been documented.
- [x] Update [CHANGELOG.md](./../CHANGELOG.md)
- [x] Commits are signed per the DCO using --signoff
* Add custom saved queries

* Add changelog

* Add setTimeFilter function to save and update saved queries

* Remove absolute date and add fingerprint to lastReloadRequestTime

* Add explanation to fingerprint state

* Add support for setting and updating refresh interval

* Update saveSavedQuery function to handle newSavedQuery

* Refactor saved query functions for better organization

* Refactor functions to accept options for first time use

* Add absolute date range for data grids

* Refactor saved query hooks for setQuery and setFilters

* Remove saved query clearing functionality

* Refactor useSavedQuery function for better readability

* Delete unused test and function for saved queries

* Add jest spy for setFilters in useSearchBar hook test

* Fix search-bar autorefresh feature

* Apply autoRefreshFingerprint in dashboards

* Add fingerprint to Vulnerabilities module

* Refactor useSearchBar test for readability

* Fix unit test

* Prettier

* Hide save query button in flyout search bar

* Fix absolute date string format

* By default show the save query button in the saved queries popover

---------

Co-authored-by: Guido Modarelli <[email protected]>
* Remove Virustotal from Applications list

* Remove Virustotal feature and dashboards

* Remove Virustotal feature and dashboards as they are obsolete

* Remove VirusTotal

* Fix Prettier issues

* Change initial widths for data grid columns

* Add common data grid columns and initial widths

* Refactor common data-grid columns for various events

* Remove Virustotal feature from plugin README

* Revert plugins/main/common/constants.ts

* Revert plugins/main/common/wazuh-modules.ts

* Revert plugins/main/public/components/add-modules-data/sample-data.tsx

* Revert plugins/main/public/components/common/data-source/pattern/alerts/index.ts

* Revert plugins/main/public/components/common/data-source/pattern/alerts/virustotal/index.ts

* Revert plugins/main/test/*

* Revert scripts/wazuh-alerts-generator/cli.js

* Revert plugins/main/server/*

* Revert plugins/main/public/components/common/*

* Revert plugins/main/public/utils/applications.ts

* Revert plugins/main/public/controllers/management/components/management/configuration/*

* Revert plugins/main/public/components/overview/virustotal/*

* Revert plugins/main/public/components/overview/index.ts

* Fix Prettier issues

* Refactor threatHuntingColumns with commonColumns

* Update initial column widths for consistency

---------

Co-authored-by: Federico Rodriguez <[email protected]>
* Adjust max-width media query margin for mobile view

* Fix filter management prevent hiding when adding multiple filters

* Refactor search bar styles for responsiveness

---------

Co-authored-by: Antonio <[email protected]>
Merge 4.9.1 into 4.10.0
> [!CAUTION]
> Merge PR strategy: Create a merge commit
Merge 4.10.0 into 4.10.1
> [!CAUTION]
> Merge PR strategy: Create a merge commit
@Tostti Tostti self-assigned this Oct 17, 2024
@Tostti Tostti mentioned this pull request Oct 17, 2024
6 tasks
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.26% ( 4225 / 29611 )
Branches 9.26% ( 1786 / 19276 )
Functions 13.97% ( 998 / 7141 )
Lines 14.45% ( 4119 / 28493 )

@Tostti Tostti merged commit 9d4de06 into 4.10.2 Oct 17, 2024
5 checks passed
@Tostti Tostti deleted the merge-4.10.1-into-4.10.2 branch October 17, 2024 19:12
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.

7 participants