Skip to content

Commit 21b0649

Browse files
authored
Add geolocation data to notice logs (#14)
1 parent 438aa38 commit 21b0649

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

release.sh

+6
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,12 @@ install_zeek_package salesforce/ja3 421dd4f3616b533e6971bb700289c6bb8355e707
7676
$sudo tee -a /usr/local/zeek/share/zeek/site/local.zeek << EOF
7777
@load policy/protocols/conn/community-id-logging
7878
@load policy/protocols/ssl/ssl-log-ext
79+
80+
# Add geolocation data to notice logs
81+
hook Notice::policy(n: Notice::Info) &priority=10
82+
{
83+
add n$actions[Notice::ACTION_ADD_GEODATA];
84+
}
7985
EOF
8086

8187
# Work around https://github.com/zeek/zeek/issues/3534 on Windows

0 commit comments

Comments
 (0)