From e498947d3abf9f341611d97836a5e4dd0703e4da Mon Sep 17 00:00:00 2001 From: Stefan Schantl Date: Sun, 2 Jan 2022 09:55:59 +0100 Subject: [PATCH] ids-functions.pl: Log the download attempt of a ruleset. Signed-off-by: Stefan Schantl --- config/cfgroot/ids-functions.pl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/config/cfgroot/ids-functions.pl b/config/cfgroot/ids-functions.pl index 96905b617f..024fe077a5 100644 --- a/config/cfgroot/ids-functions.pl +++ b/config/cfgroot/ids-functions.pl @@ -320,6 +320,9 @@ sub downloadruleset ($) { # Loop through the hash of sheduled providers. foreach my $provider ( keys %sheduled_providers) { + # Log download/update of the ruleset. + &_log_to_syslog("Downloading ruleset for provider: $provider."); + # Grab the download url for the provider. my $url = $IDS::Ruleset::Providers{$provider}{'dl_url'}; -- 2.39.5