Skip to content

Commit

Permalink
Fixed os agent filter (#7278)
Browse files Browse the repository at this point in the history
* Change filter field to platform instead of name

* Added changelog

* Update CHANGELOG
  • Loading branch information
JuanGarriuz authored Feb 12, 2025
1 parent 9c84ba6 commit 086926b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ All notable changes to the Wazuh app project will be documented in this file.
- Fixed rendering of rows in CDB list table when it starts with quotes [#7171](https://github.com/wazuh/wazuh-dashboard-plugins/issues/7171)
- Fixed width of long fields in the document detail flyout [#7206](https://github.com/wazuh/wazuh-dashboard-plugins/issues/7206)
- Fixed logging UI logs due to logger undefined property [#7267](https://github.com/wazuh/wazuh-dashboard-plugins/pull/7267)
- Fixed TOP-5-SO filter management in Endpoints > Summary [#7278](https://github.com/wazuh/wazuh-dashboard-plugins/pull/7278)

## Wazuh v4.11.0 - OpenSearch Dashboards 2.16.0 - Revision 01

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,8 @@ export const EndpointsSummary = compose(
filterAgentByOS(item: any) {
const query =
item.label === 'N/A'
? 'id!=000;os.name=null'
: `id!=000;os.name~${item.label}`;
? 'id!=000;os.platform=null'
: `id!=000;os.platform~${item.label}`;
this._isMount &&
this.setState({
agentTableFilters: { q: query },
Expand Down

0 comments on commit 086926b

Please sign in to comment.