Implements alert exclusions for hosts, interfaces, local networks

This commit is contained in:
Simone Mainardi 2021-02-23 15:36:14 +01:00
parent b65cbf079d
commit 696bcb33e5
11 changed files with 119 additions and 29 deletions

View file

@ -1335,10 +1335,8 @@ const initScriptConfModal = (script_key, script_title, script_desc, is_alert) =>
// get alert severity if present
appendSeveritySelect(data);
if (script_subdir === "flow") {
// append the exclusion list
appendExclusionList(data);
}
// append the exclusion list
appendExclusionList(data);
// bind on_apply event on apply button
$("#edit-form").off("submit").on('submit', template.apply_click_event);