Skip to content

Commit

Permalink
Add wazuh.manager.name to VD mappings (#158)
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexRuiz7 committed Mar 8, 2024
1 parent bcbb1a3 commit 11220fa
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
3 changes: 3 additions & 0 deletions ecs/vulnerability-detector/event-generator/event_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,9 @@ def generate_random_wazuh():
'cluster': {
'name': f'wazuh-cluster-{random.randint(0,10)}',
'node': f'wazuh-cluster-node-{random.randint(0,10)}'
},
'manager': {
'name': f'wazuh-manager-{random.randint(0,10)}'
}
}
return wazuh
Expand Down
7 changes: 6 additions & 1 deletion ecs/vulnerability-detector/fields/custom/wazuh.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,9 @@
type: keyword
level: custom
description: >
Wazuh cluster node name.
Wazuh cluster node name.
- name: manager.name
type: keyword
level: custom
description: >
Wazuh manager name. Used by dashboards to filter results on single node deployments.

0 comments on commit 11220fa

Please sign in to comment.