-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fixes to create working ecs config #64
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -37,8 +37,16 @@ | |
"type": "keyword" | ||
}, | ||
"ja3": { | ||
"ignore_above": 1024, | ||
"type": "keyword" | ||
"properties": { | ||
"hash": { | ||
"ignore_above": 8000, | ||
"type": "keyword" | ||
}, | ||
"string" : { | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. can we split this There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Thats fine, the default for suricata eve.json breaks it into an object so I just followed that so that Zeek would not conflict because we can not have |
||
"ignore_above": 1024, | ||
"type": "keyword" | ||
} | ||
} | ||
}, | ||
"server_name": { | ||
"ignore_above": 8000, | ||
|
@@ -98,8 +106,16 @@ | |
"type": "keyword" | ||
}, | ||
"ja3s": { | ||
"ignore_above": 1024, | ||
"type": "keyword" | ||
"properties": { | ||
"hash": { | ||
"ignore_above": 8000, | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. same as |
||
"type": "keyword" | ||
}, | ||
"string": { | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Please make this a different field similar to the proposed |
||
"ignore_above": 8000, | ||
"type": "keyword" | ||
} | ||
} | ||
}, | ||
"subject": { | ||
"ignore_above": 8000, | ||
|
Original file line number | Diff line number | Diff line change | ||||||
---|---|---|---|---|---|---|---|---|
|
@@ -5,8 +5,7 @@ input { | |||||||
# Set this to one per kafka partition to scale up | ||||||||
#consumer_threads => 4 | ||||||||
group_id => "fsf_logstash" | ||||||||
bootstrap_servers => "127.0.0.1:9092" | ||||||||
codec => json | ||||||||
bootstrap_servers => "simplerockbuild.simplerock.lan:9092" codec => json | ||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think this was an artifact from committing after a deploy.
Suggested change
|
||||||||
auto_offset_reset => "earliest" | ||||||||
id => "input-kafka-fsf" | ||||||||
} | ||||||||
|
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -13,8 +13,8 @@ filter { | |||||
"[tls][client_issuer]" => "[tls][client][issuer]" | ||||||
"[tls][client_subject]" => "[tls][client][subject]" | ||||||
"[tls][issuer]" => "[tls][server][issuer]" | ||||||
"[tls][ja3]" => "[tls][client][ja3]" | ||||||
"[tls][ja3s]" => "[tls][server][ja3s]" | ||||||
"[tls][ja3]" => "[tls][client][ja3][hash]" | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Per above mapping template suggestion, revert this to.
Suggested change
|
||||||
"[tls][ja3s]" => "[tls][server][ja3s][hash]" | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. same
Suggested change
|
||||||
"[tls][orig_certificate_sha1]" => "[tls][client][hash][sha1]" | ||||||
"[tls][resp_certificate_sha1]" => "[tls][server][hash][sha1]" | ||||||
"[tls][server_name]" => "[tls][client][server_name]" | ||||||
|
@@ -46,4 +46,4 @@ filter { | |||||
|
||||||
} | ||||||
} | ||||||
} | ||||||
} |
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -7,8 +7,10 @@ filter { | |||||
"[tls][chain]" => "[tls][server][certificate_chain]" | ||||||
"[tls][fingerprint]" => "[tls][server][hash][sha1]" | ||||||
"[tls][issuer]" => "[tls][server][issuer]" | ||||||
"[tls][ja3]" => "[tls][client][ja3]" | ||||||
"[tls][ja3s]" => "[tls][server][ja3s]" | ||||||
"[tls][ja3][hash]" => "[tls][client][ja3][hash]" | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
"[tls][ja3][string]" => "[tls][client][ja3][string]" | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
"[tls][ja3s][hash]" => "[tls][server][ja3s][hash]" | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
"[tls][ja3s][string]" => "[tls][server][ja3s][string]" | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
"[tls][not_after]" => "[tls][server][not_after]" | ||||||
"[tls][not_before]" => "[tls][server][not_before]" | ||||||
"[tls][session_resumed]" => "[tls][resumed]" | ||||||
|
@@ -19,4 +21,4 @@ filter { | |||||
} | ||||||
|
||||||
} | ||||||
} | ||||||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since this is just a hash, we don't need to crank up ignore_above 8000 on it.