From 8ec37ff88761c7d6dbc62fa8ca79394c34e8331a Mon Sep 17 00:00:00 2001
From: Tomas Plesnik <plesnik@ics.muni.cz>
Date: Wed, 21 May 2014 14:27:14 +0200
Subject: [PATCH] do sablon warden-server.conf pridan typ vulnerability

---
 src/warden-server/etc/warden-server.conf.tmpl        | 2 +-
 src/warden-server/etc/warden-server.conf.tmpl.update | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/warden-server/etc/warden-server.conf.tmpl b/src/warden-server/etc/warden-server.conf.tmpl
index 9207a51..964cf4d 100644
--- a/src/warden-server/etc/warden-server.conf.tmpl
+++ b/src/warden-server/etc/warden-server.conf.tmpl
@@ -52,6 +52,6 @@ $MAX_EVENTS_LIMIT = 1000000;
 # VALID_STRINGS - validation hash containing allowed event attributes
 #-------------------------------------------------------------------------------
 %VALID_STRINGS = (
-  "type" => ["portscan", "bruteforce", "probe", "spam", "phishing", "botnet_c_c", "dos", "malware", "copyright", "webattack", "test", "other", "_any_"],
+  "type" => ["portscan", "bruteforce", "probe", "spam", "phishing", "botnet_c_c", "dos", "malware", "copyright", "webattack", "vulnerability", "test", "other", "_any_"],
   "source_type" => ["IP", "URL", "Reply-To:"]
 );
diff --git a/src/warden-server/etc/warden-server.conf.tmpl.update b/src/warden-server/etc/warden-server.conf.tmpl.update
index 1a80842..e5f3042 100644
--- a/src/warden-server/etc/warden-server.conf.tmpl.update
+++ b/src/warden-server/etc/warden-server.conf.tmpl.update
@@ -52,6 +52,6 @@ $MAX_EVENTS_LIMIT = "_MAX_EVENTS_LIMIT_";
 # VALID_STRINGS - validation hash containing allowed event attributes
 #-------------------------------------------------------------------------------
 %VALID_STRINGS = (
-  "type" => ["portscan", "bruteforce", "probe", "spam", "phishing", "botnet_c_c", "dos", "malware", "copyright", "webattack", "test", "other", "_any_"],
+  "type" => ["portscan", "bruteforce", "probe", "spam", "phishing", "botnet_c_c", "dos", "malware", "copyright", "webattack", "vulnerability", "test", "other", "_any_"],
   "source_type" => ["IP", "URL", "Reply-To:"]
 );
-- 
GitLab