diff --git a/ecs/vulnerability-detector/event-generator/event_generator.py b/ecs/vulnerability-detector/event-generator/event_generator.py index 24ecf744b8272..0ed75ec9600a1 100755 --- a/ecs/vulnerability-detector/event-generator/event_generator.py +++ b/ecs/vulnerability-detector/event-generator/event_generator.py @@ -176,6 +176,9 @@ def generate_random_wazuh(): }, 'manager': { 'name': f'wazuh-manager-{random.randint(0,10)}' + }, + 'schema': { + 'version': '1.7.0' } } return wazuh @@ -187,7 +190,7 @@ def generate_random_data(number): event_data = { '@timestamp': generate_random_date(), 'agent': generate_random_agent(), - 'ecs': {'version': '1.7.0'}, + # 'ecs': {'version': '1.7.0'}, # 'event': generate_random_event(), 'host': generate_random_host(), # 'labels': generate_random_labels(),