Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ All notable changes to the Wazuh app project will be documented in this file.
- Added ability to set the Wazuh data path (wazuh directory) within the directory defined through `path.data` setting [#7586](https://github.com/wazuh/wazuh-dashboard-plugins/pull/7586)
- Added a new Browser Extensions tab in IT Hygiene [#7641](https://github.com/wazuh/wazuh-dashboard-plugins/pull/7641) [#7696](https://github.com/wazuh/wazuh-dashboard-plugins/pull/7696) [#7729](https://github.com/wazuh/wazuh-dashboard-plugins/pull/7729) [#7774](https://github.com/wazuh/wazuh-dashboard-plugins/pull/7774)
- Added Microsoft Graph API module [#7516](https://github.com/wazuh/wazuh-dashboard-plugins/pull/7516) [#7644](https://github.com/wazuh/wazuh-dashboard-plugins/pull/7644) [#7661](https://github.com/wazuh/wazuh-dashboard-plugins/pull/7661)
- Added a new Services tab in IT Hygiene [#7646](https://github.com/wazuh/wazuh-dashboard-plugins/pull/7646) [#7695](https://github.com/wazuh/wazuh-dashboard-plugins/pull/7695) [#7729](https://github.com/wazuh/wazuh-dashboard-plugins/pull/7729) [#7773](https://github.com/wazuh/wazuh-dashboard-plugins/pull/7773)
- Added a new Services tab in IT Hygiene [#7646](https://github.com/wazuh/wazuh-dashboard-plugins/pull/7646) [#7695](https://github.com/wazuh/wazuh-dashboard-plugins/pull/7695) [#7729](https://github.com/wazuh/wazuh-dashboard-plugins/pull/7729) [#7773](https://github.com/wazuh/wazuh-dashboard-plugins/pull/7773) [#7790](https://github.com/wazuh/wazuh-dashboard-plugins/pull/7790)
- Added a final step in the Deploy new agent section to navigate back to the agent list [#7711](https://github.com/wazuh/wazuh-dashboard-plugins/pull/7711)

### Changed
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
import { buildDashboardKPIPanels } from '../common/create-dashboard-panels-kpis';
import { getVisStateHorizontalBarByField } from '../common/saved-vis/generators';
import {
getVisStateHorizontalBarByField,
getVisStateMetricUniqueCountByField,
} from '../common/saved-vis/generators';

export const getOverviewServicesTab = (indexPatternId: string) => {
return buildDashboardKPIPanels([
Expand All @@ -12,14 +15,12 @@ export const getOverviewServicesTab = (indexPatternId: string) => {
customLabel: 'Services',
},
),
getVisStateHorizontalBarByField(
getVisStateMetricUniqueCountByField(
indexPatternId,
'process.user.name',
'Top 5 process user names',
'service.name',
'',
'it-hygiene-services',
{
customLabel: 'User Names',
},
'Unique services',
),
]);
};
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ export const ITHygieneServicesInventory = withSystemInventoryServicesDataSource(
}
tableDefaultColumns={tableColumns}
managedFilters={managedFilters}
managedFiltersProps={{ style: { flexGrow: 0.25, minWidth: '300px' } }}
getDashboardPanels={getOverviewServicesTab}
tableId='it-hygiene-inventory-services'
indexPattern={props.indexPattern}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,4 @@ export default [
key: 'service.name',
placeholder: 'Name',
},
{
type: 'multiSelect',
key: 'process.user.name',
placeholder: 'Process user name',
},
];
Original file line number Diff line number Diff line change
@@ -1,6 +1 @@
export default [
{ id: 'agent.name' },
{ id: 'service.name' },
{ id: 'process.user.name' },
{ id: 'process.executable' },
];
export default [{ id: 'agent.name' }, { id: 'service.name' }];
Loading