diff --git a/ecs/vulnerability-detector/event-generator/event_generator.py b/ecs/vulnerability-detector/event-generator/event_generator.py index 0b8c71ec5295b..d0be5021792fd 100755 --- a/ecs/vulnerability-detector/event-generator/event_generator.py +++ b/ecs/vulnerability-detector/event-generator/event_generator.py @@ -171,7 +171,8 @@ def generate_random_vulnerability(): def generate_random_wazuh(): wazuh = { 'cluster': { - 'name': f'wazuh-cluster-{random.randint(0,10)}' + 'name': f'wazuh-cluster-{random.randint(0,10)}', + 'node': f'wazuh-cluster-node-{random.randint(0,10)}' } } return wazuh