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.8.0 into 4.8.1 #6472

Merged
merged 29 commits into from Mar 4, 2024
Merged

Merge 4.8.0 into 4.8.1 #6472

merged 29 commits into from Mar 4, 2024

Conversation

asteriscos
Copy link
Member

Merge 4.8.0 into 4.8.1

Caution

Merge PR strategy: Create a merge commit

Desvelao and others added 29 commits February 9, 2024 14:31
* fix: remove the vulnerability pattern check in the health check

- Remove the vulnerability pattern check in the health check
- Remove setting: checks.vulnerability.check

* changelog: add pull request entry

* test: update snapshots
…ory tab (#6399)

* Change filters management on vulnerabilities searchbar

* Fix import vulnerability index pattern constant

* Add vulnerability cluster implicit filter

* Add wazuh.cluster and wazuh.node to dataInjectScript for vulnerabilities

* Fix manager filter on enter to vulnerability event tab

* Fix to keep normal fixes them between dashboard and inventory tab

* Fix add one of... filter

* Vulnerability adapters are extracted from use_searbar_configuration

* Fixed No Results functionality in Vulnerabilities Dashboard and Inventory

* Fix use_search_bar_configuration tests

* Add CHANGELOG

* Fix CHANGELOG

* Change order of the implicit filters

* Fix changelog

---------

Co-authored-by: Luciano Gorza <lucianogorza@gmail.com>
Co-authored-by: Federico Rodriguez <federico.rodriguez@wazuh.com>
* Fix home view kpis styles

* Fix kpis redirect

* Fix snapshot

* Add changelog

* Fix kpi colors

* Update changelog
… Vulnerabilities Detection tabs (#6405)

* feat: add withGuardAsync HOC

* feat(vulnerabilities): add the usage of HOC in the Vulnerabilities Detection tabs

- Add the usage of HOC in the Vulnerabilities Detection to check if the
  index pattern exist or try to create if exist matching indices:
  - Dashboard
  - Inventory
  - Events
- Add a callout to the Dashboard and Inventory tabs of Vulnerabilities
  Detection module that displays a warning message about the module is
  not enabled.

* fix(vulnerabilities): property in the API response related to module is enabled

* feat(vulnerabilities): remove the check existence of the index pattern in the Dashboard and Inventory tab

* changelog: add entry

* fix(vulnerabilities): fix typo

* fix(vulnerabilities): fix documentation URL

* fix(workaround): refresh the page when the wazuh-vulnerabilities-states index pattern is created

This solves a problem of there are not implicit filters on the Events
tab of Vulnerabilities Detection application if the HOC is passed and
the filters could not be set when unmounting Dashboard or Event tabs due
to the protection of the HOC that checks the existence of the index
pattern.

* Fix request

* feat: add loading effect to vulnerabilities check index HOC

- Create LoadingSpinnerDataSource

* fix: loading spinner data source styles

* fix: double request on Vulnerabilities Detection > Inventory

---------

Co-authored-by: Ian Yenien Serrano <ian.serrano@wazuh.com>
* Add manager filter with cluster mode disabled

* Add changelog

---------

Co-authored-by: Nicolas Agustin Guevara Pihen <42900763+Tostti@users.noreply.github.com>
* Change Most active agent tooltip text

* Add changelog
…s summary view (#6423)

* fix(endpoint-summary): add a link to the Vulnerabilities Detection application to the menu

* changelog: add pull request entry

- Add pull request entry
- Move pull request reference to another entry
…ies Detection dashboard (#6424)

* feat(vulnerabilities-detection): display the agent.name in the Top 5 agents table of Vulnerabilities Detection > Dashboard

* changelog: add pull request entry
* Changed most vulnerable label and package.path

* Add Changelog

* Change agent.id to agent.name

* Fix commit

* fix typo

* Update changelog

* Remove "-s" from endpoints

---------

Co-authored-by: Federico Rodriguez <federico.rodriguez@wazuh.com>
### Description
This pull request bumps Wazuh version to 4.7.3 revision 00 to add
support to the new version.

This change was made running the command 
```
node scripts/release/bump.js --manifest-changelog ./CHANGELOG.md --manifest-package ./plugins/main/package.json --platform-version 2.8.0 --plugin-main-generate-api-data-spec https://raw.githubusercontent.com/wazuh/wazuh/v4.7.2/api/api/spec/spec.yaml --plugins-directory ./plugins --revision 00 --version 4.7.3

```

### Issues Resolved
#6427

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

* feat: add hidden filters to Vulnerabilities Detection

- Add hidden filters to Vulnerabilities Detection > Dashboard and
  Inventory
  - Exclude server data (depends on the hideManagerAlerts setting)
  - Restrict to allowed agents

* fix: implicit filter could be removed on Vulnerabilities Detection > Inventory if resize the window

* changelog: add pull request entry
* Add checks to request

* Add Changelog

* fix typo in changelog
Update filebeat curl in dev environments
* Update changelog

* Update opensearch_dashboards.json

* Update package json
Merge 4.7.3 into 4.8.0
…tions call to actions (#6448)

* Fixed keeping filters between dashboard and inventory using visualizations call to actions

* Added CHANGELOG

* Fixed to remove auto loaded agent.id filters

* Fix CHANGELOG

* Fixed hideManagerAlerts filter

* Fixed filters order
* Remove relative_dirname

* Add changelog
Merge 4.7.3 into 4.8.0
* bump revision 05

* Modify changelog
@asteriscos asteriscos self-assigned this Mar 4, 2024
Copy link
Contributor

github-actions bot commented Mar 4, 2024

Wazuh Core plugin code coverage (Jest) test % values
Statements 20.89% ( 186 / 890 )
Branches 17.91% ( 79 / 441 )
Functions 13.89% ( 36 / 259 )
Lines 21.1% ( 183 / 867 )

Copy link
Contributor

github-actions bot commented Mar 4, 2024

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

@asteriscos asteriscos mentioned this pull request Mar 4, 2024
10 tasks
Copy link
Contributor

github-actions bot commented Mar 4, 2024

Main plugin code coverage (Jest) test % values
Statements 12.13% ( 4210 / 34699 )
Branches 8.2% ( 1907 / 23256 )
Functions 11.57% ( 957 / 8267 )
Lines 12.3% ( 4098 / 33300 )

Copy link
Member

@jbiset jbiset left a comment

Choose a reason for hiding this comment

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

LGTM!

@asteriscos asteriscos linked an issue Mar 4, 2024 that may be closed by this pull request
10 tasks
@asteriscos asteriscos merged commit 2cb492a into 4.8.1 Mar 4, 2024
4 checks passed
@asteriscos asteriscos deleted the merge-4.8.0-into-4.8.1 branch March 4, 2024 17:56
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.

Post release tasks for 4.7.3
6 participants