Skip to content

Commit

Permalink
Remove host field from event_generators event data
Browse files Browse the repository at this point in the history
  • Loading branch information
QU3B1M committed Nov 29, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent 4b1d812 commit f06741a
Show file tree
Hide file tree
Showing 8 changed files with 0 additions and 8 deletions.
1 change: 0 additions & 1 deletion ecs/states-fim/event-generator/event_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,6 @@ def generate_random_data(number):
event_data = {
'agent': generate_random_agent(),
'file': generate_random_file(),
'host': generate_random_host(),
'registry': generate_random_registry()
}
data.append(event_data)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,6 @@ def generate_random_data(number):
event_data = {
'@timestamp': generate_random_date(),
'agent': generate_random_agent(),
'host': generate_random_host(),
'observer': generate_random_observer()
}
data.append(event_data)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,6 @@ def generate_random_data(number):
event_data = {
'@timestamp': generate_random_date(),
'agent': generate_random_agent(),
'host': generate_random_host(),
'package': generate_random_package()
}
data.append(event_data)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,6 @@ def generate_random_data(number):
event_data = {
'@timestamp': generate_random_date(),
'agent': generate_random_agent(),
'host': generate_random_host(),
'network': generate_random_network(),
'observer': generate_random_observer()
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,6 @@ def generate_random_data(number):
event_data = {
'@timestamp': generate_random_date(),
'agent': generate_random_agent(),
'host': generate_random_host(),
'package': generate_random_package()
}
data.append(event_data)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,6 @@ def generate_random_data(number):
'destination': generate_random_destination(),
'device': generate_random_device(),
'file': generate_random_file(),
'host': generate_random_host(),
'network': {
'protocol': random.choice(['TCP', 'UDP', 'ICMP'])
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,6 @@ def generate_random_data(number):
event_data = {
'@timestamp': generate_random_date(),
'agent': generate_random_agent(),
'host': generate_random_host(),
'process': generate_random_process()
}
data.append(event_data)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,6 @@ def generate_random_data(number):
for _ in range(number):
event_data = {
'agent': generate_random_agent(),
'host': generate_random_host(),
'package': generate_random_package(),
'vulnerability': generate_random_vulnerability()
}
Expand Down

0 comments on commit f06741a

Please sign in to comment.