Skip to content

Commit

Permalink
Update events generator
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexRuiz7 committed Mar 6, 2024
1 parent 15a3ff4 commit 2c65a08
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,9 @@ def generate_random_wazuh():
},
'manager': {
'name': f'wazuh-manager-{random.randint(0,10)}'
},
'schema': {
'version': '1.7.0'
}
}
return wazuh
Expand All @@ -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(),
Expand Down

0 comments on commit 2c65a08

Please sign in to comment.