diff --git a/src/warden-server/lib/Warden.pm b/src/warden-server/lib/Warden.pm index 77f312ada7b3616f95c88ab909ffb0573cc9d823..acf00522728891f1b9e44c6858fa4b29ca2035a9 100755 --- a/src/warden-server/lib/Warden.pm +++ b/src/warden-server/lib/Warden.pm @@ -221,6 +221,9 @@ sub saveNewEvent my %client = authorizeClient($alt_names, $ip, $service, $client_type, $function_name); if (defined %client) { + sendMsg("debug", + "Incoming event: [service: '$service', detected: '$detected', type: '$type', source_type: '$source_type', source: '$source', target_proto: '$target_proto', target_port: '$target_port', attack_scale: '$attack_scale', note: '$note', priority: '$priority', timeout: '$timeout']", + undef); if (%VALID_STRINGS) { # check if hash is not empty - use VALIDATION HASH if (!(exists $VALID_STRINGS{'type'} && grep $type eq $_, @{$VALID_STRINGS{'type'}})) { sendMsg("err",