From 142075ec28c97636cccf82c026c708e18fcf218d Mon Sep 17 00:00:00 2001 From: Punicaa Date: Thu, 1 Feb 2024 11:42:28 +0100 Subject: [PATCH] Update fortios.rb - Added filter for FMWP-DB updates. --- lib/oxidized/model/fortios.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/oxidized/model/fortios.rb b/lib/oxidized/model/fortios.rb index 71923f873..259ab120e 100644 --- a/lib/oxidized/model/fortios.rb +++ b/lib/oxidized/model/fortios.rb @@ -45,7 +45,7 @@ class FortiOS < Oxidized::Model cfg.gsub! /(Disk Usage\s+:\s+)(.*)/, '\1' cfg.gsub! /(^\S+ (?:disk|DB):\s+)(.*)/, '\1\3' cfg.gsub! /(VM Registration:\s+)(.*)/, '\1\3' - cfg.gsub! /(Virus-DB|Extended DB|IPS-DB|IPS-ETDB|APP-DB|INDUSTRIAL-DB|Botnet DB|IPS Malicious URL Database|AV AI\/ML Model|IoT-Detect).*/, '\\1 ' + cfg.gsub! /(Virus-DB|Extended DB|FMWP-DB|IPS-DB|IPS-ETDB|APP-DB|INDUSTRIAL-DB|Botnet DB|IPS Malicious URL Database|AV AI\/ML Model|IoT-Detect).*/, '\\1 ' comment cfg end