aboutsummaryrefslogtreecommitdiffstats
path: root/lualib
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2021-03-31 20:08:35 +0100
committerGitHub <noreply@github.com>2021-03-31 20:08:35 +0100
commit5cdc76e7ea94333a564d676240c67adf3213ca6d (patch)
tree0b28bd97a13d1c5ceab97a2348dead1b78e30c4a /lualib
parent715f0e5182c3960f87384f697438304a3dd2fc30 (diff)
parentb7e39021a2e2a345df2d29740bbf7b33a54ff666 (diff)
downloadrspamd-5cdc76e7ea94333a564d676240c67adf3213ca6d.tar.gz
rspamd-5cdc76e7ea94333a564d676240c67adf3213ca6d.zip
Merge pull request #3694 from HeinleinSupport/lua_scanners/kasp_se
[Minor] kaspersky_se - fix macro detection
Diffstat (limited to 'lualib')
-rw-r--r--lualib/lua_scanners/kaspersky_se.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/lualib/lua_scanners/kaspersky_se.lua b/lualib/lua_scanners/kaspersky_se.lua
index 39031d862..cac604016 100644
--- a/lualib/lua_scanners/kaspersky_se.lua
+++ b/lualib/lua_scanners/kaspersky_se.lua
@@ -220,7 +220,7 @@ local function kaspersky_se_check(task, content, digest, rule)
rule.log_prefix)
end
elseif data == 'CLEAN AND CONTAINS OFFICE MACRO' then
- common.yield_result(task, rule, 'File contains macros', 0.0, 'encrypted')
+ common.yield_result(task, rule, 'File contains macros', 0.0, 'macro')
cached = 'MACRO'
else
rspamd_logger.errx(task, '%s: unhandled clean response: %s', rule.log_prefix, data)