From 5d546fde273b815d976fd2eccf37a49a2e3471bb Mon Sep 17 00:00:00 2001 From: Carsten Rosenberg Date: Mon, 22 Mar 2021 11:11:12 +0100 Subject: [PATCH] [Minor] antivirus/ext_services - add default scores --- src/plugins/lua/antivirus.lua | 4 ++++ src/plugins/lua/external_services.lua | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/src/plugins/lua/antivirus.lua b/src/plugins/lua/antivirus.lua index 0dad933b9..18d41dbb6 100644 --- a/src/plugins/lua/antivirus.lua +++ b/src/plugins/lua/antivirus.lua @@ -215,6 +215,7 @@ if opts and type(opts) == 'table' then type = 'virtual', name = sym, parent = id, + score = 0.0, group = N }) end @@ -226,6 +227,7 @@ if opts and type(opts) == 'table' then type = 'virtual', name = sym, parent = id, + score = 0.0, group = N }) end @@ -247,6 +249,7 @@ if opts and type(opts) == 'table' then type = 'virtual', name = sym, parent = id, + score = 0.0, group = N }) end @@ -258,6 +261,7 @@ if opts and type(opts) == 'table' then type = 'virtual', name = sym, parent = id, + score = 0.0, group = N }) end diff --git a/src/plugins/lua/external_services.lua b/src/plugins/lua/external_services.lua index 2dd55e360..0157d15a9 100644 --- a/src/plugins/lua/external_services.lua +++ b/src/plugins/lua/external_services.lua @@ -273,6 +273,7 @@ if opts and type(opts) == 'table' then type = 'virtual', name = sym, parent = id, + score = 0.0, group = N }) end @@ -284,6 +285,7 @@ if opts and type(opts) == 'table' then type = 'virtual', name = sym, parent = id, + score = 0.0, group = N }) end @@ -304,6 +306,7 @@ if opts and type(opts) == 'table' then type = 'virtual', name = sym, parent = id, + score = 0.0, group = N }) end @@ -315,6 +318,7 @@ if opts and type(opts) == 'table' then type = 'virtual', name = sym, parent = id, + score = 0.0, group = N }) end -- 2.39.5