diff options
author | bmeeks8 <bmeeks8@bellsouth.net> | 2015-07-22 20:31:30 -0400 |
---|---|---|
committer | bmeeks8 <bmeeks8@bellsouth.net> | 2015-07-22 20:31:30 -0400 |
commit | afba4e722681c35163ec48b7cacffa8b8cb88e5f (patch) | |
tree | b0f50f4c1357081ac692f0197492320ea6ea5f76 /config/suricata/suricata_migrate_config.php | |
parent | e4e3ad354f0175ec6ed8e39c40ff2a5666856a8b (diff) | |
download | pfsense-packages-afba4e722681c35163ec48b7cacffa8b8cb88e5f.tar.gz pfsense-packages-afba4e722681c35163ec48b7cacffa8b8cb88e5f.tar.bz2 pfsense-packages-afba4e722681c35163ec48b7cacffa8b8cb88e5f.zip |
Add new feature to hide deprecated rules categories in GUI.
Diffstat (limited to 'config/suricata/suricata_migrate_config.php')
-rw-r--r-- | config/suricata/suricata_migrate_config.php | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/config/suricata/suricata_migrate_config.php b/config/suricata/suricata_migrate_config.php index 384033b3..2fd5f96e 100644 --- a/config/suricata/suricata_migrate_config.php +++ b/config/suricata/suricata_migrate_config.php @@ -95,6 +95,14 @@ if (empty($config['installedpackages']['suricata']['config'][0]['et_iqrisk_enabl } /**********************************************************/ +/* Create new HIDE_DEPRECATED_RULES setting if not set */ +/**********************************************************/ +if (empty($config['installedpackages']['suricata']['config'][0]['hide_deprecated_rules'])) { + $config['installedpackages']['suricata']['config'][0]['hide_deprecated_rules'] = "off"; + $updated_cfg = true; +} + +/**********************************************************/ /* Set default log size and retention limits if not set */ /**********************************************************/ if (!isset($config['installedpackages']['suricata']['config'][0]['alert_log_retention']) && $config['installedpackages']['suricata']['config'][0]['alert_log_retention'] != '0') { |