aboutsummaryrefslogtreecommitdiffstats
path: root/config/suricata/suricata_migrate_config.php
diff options
context:
space:
mode:
authorbmeeks8 <bmeeks8@bellsouth.net>2015-05-14 00:02:18 -0400
committerbmeeks8 <bmeeks8@bellsouth.net>2015-05-14 00:02:18 -0400
commit336b9883d551ea0f8e646838ad3bae2f9bd43e66 (patch)
tree98e2be424b57027ade9df506ec592fe319ea6ffd /config/suricata/suricata_migrate_config.php
parent901d2606d5e64e4f49c3f99faa6c221e4cad6390 (diff)
downloadpfsense-packages-336b9883d551ea0f8e646838ad3bae2f9bd43e66.tar.gz
pfsense-packages-336b9883d551ea0f8e646838ad3bae2f9bd43e66.tar.bz2
pfsense-packages-336b9883d551ea0f8e646838ad3bae2f9bd43e66.zip
Add TLS Certs Store directory size mgmt settings feature.
Diffstat (limited to 'config/suricata/suricata_migrate_config.php')
-rw-r--r--config/suricata/suricata_migrate_config.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/config/suricata/suricata_migrate_config.php b/config/suricata/suricata_migrate_config.php
index afbedd94..384033b3 100644
--- a/config/suricata/suricata_migrate_config.php
+++ b/config/suricata/suricata_migrate_config.php
@@ -174,6 +174,11 @@ if (!isset($config['installedpackages']['suricata']['config'][0]['file_store_ret
$updated_cfg = true;
}
+if (!isset($config['installedpackages']['suricata']['config'][0]['tls_certs_store_retention']) && $config['installedpackages']['suricata']['config'][0]['tls_certs_store_retention'] != '0') {
+ $config['installedpackages']['suricata']['config'][0]['tls_certs_store_retention'] = "168";
+ $updated_cfg = true;
+}
+
if (!isset($config['installedpackages']['suricata']['config'][0]['u2_archive_log_retention']) && $config['installedpackages']['suricata']['config'][0]['u2_archive_log_retention'] != '0') {
$config['installedpackages']['suricata']['config'][0]['u2_archive_log_retention'] = "168";
$updated_cfg = true;