Skip to content

Commit

Permalink
Merge branch 'development' of https://github.com/mmguero-dev/Malcolm
Browse files Browse the repository at this point in the history
…into v24.06.0_merge_idaholab
  • Loading branch information
mmguero committed Jun 26, 2024
2 parents 423001f + ba111c4 commit e87c2bd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
4 changes: 2 additions & 2 deletions logstash/pipelines/zeek/11_zeek_parse.conf
Original file line number Diff line number Diff line change
Expand Up @@ -1692,7 +1692,7 @@ filter {
id => "dissect_zeek_ja4ssh"
# zeek's default delimiter is a literal tab, MAKE SURE YOUR EDITOR DOESN'T SCREW IT UP
mapping => {
"[message]" => "%{[zeek_cols][ts]} %{[zeek_cols][uid]} %{[zeek_cols][id]} %{[zeek_cols][ja4ssh]} %{[zeek_cols][is_ssh]} %{[zeek_cols][orig_pack_len]} %{[zeek_cols][resp_pack_len]} %{[zeek_cols][orig_ack]} %{[zeek_cols][resp_ack]}"
"[message]" => "%{[zeek_cols][ts]} %{[zeek_cols][uid]} %{[zeek_cols][orig_h]} %{[zeek_cols][orig_p]} %{[zeek_cols][resp_h]} %{[zeek_cols][resp_p]} %{[zeek_cols][ja4ssh]}"
}
}
if ("_dissectfailure" in [tags]) {
Expand All @@ -1703,7 +1703,7 @@ filter {
}
ruby {
id => "ruby_zip_zeek_ja4ssh"
init => "@zeek_ja4ssh_field_names = [ 'ts', 'uid', 'id', 'ja4ssh', 'is_ssh', 'orig_pack_len', 'resp_pack_len', 'orig_ack', 'resp_ack' ]"
init => "@zeek_ja4ssh_field_names = [ 'ts', 'uid', 'orig_h', 'orig_p', 'resp_h', 'resp_p', 'ja4ssh' ]"
code => "event.set('[zeek_cols]', @zeek_ja4ssh_field_names.zip(event.get('[message]')).to_h)"
}
}
Expand Down
7 changes: 0 additions & 7 deletions logstash/pipelines/zeek/12_zeek_mutate.conf
Original file line number Diff line number Diff line change
Expand Up @@ -911,13 +911,6 @@ filter {
}
}

mutate { id => "mutate_remove_fields_zeek_ja4ssh"
remove_field => [ "[zeek][ja4ssh][is_ssh]",
"[zeek][ja4ssh][orig_pack_len]",
"[zeek][ja4ssh][resp_pack_len]",
"[zeek][ja4ssh][orig_ack]",
"[zeek][ja4ssh][resp_ack]" ] }

} else if ([log_source] == "kerberos") {
#############################################################################################################################
# kerberos.log specific logic
Expand Down

0 comments on commit e87c2bd

Please sign in to comment.