diff options
Diffstat (limited to 'lualib/lua_scanners/common.lua')
-rw-r--r-- | lualib/lua_scanners/common.lua | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lualib/lua_scanners/common.lua b/lualib/lua_scanners/common.lua index 2d4f2cf63..c2e314d39 100644 --- a/lualib/lua_scanners/common.lua +++ b/lualib/lua_scanners/common.lua @@ -183,8 +183,8 @@ end local function dynamic_scan(task, rule) if rule.dynamic_scan then if rule.action ~= 'reject' then - local metric_result = task:get_metric_score('default') - local metric_action = task:get_metric_action('default') + local metric_result = task:get_metric_score() + local metric_action = task:get_metric_action() local has_pre_result = task:has_pre_result() -- ToDo: needed? -- Sometimes leads to FPs @@ -482,8 +482,8 @@ end local function check_metric_results(task, rule) if rule.action ~= 'reject' then - local metric_result = task:get_metric_score('default') - local metric_action = task:get_metric_action('default') + local metric_result = task:get_metric_score() + local metric_action = task:get_metric_action() local has_pre_result = task:has_pre_result() if rule.symbol_type == 'postfilter' and metric_action == 'reject' then |