summaryrefslogtreecommitdiff
path: root/lib/oxidized/model/fortios.rb
diff options
context:
space:
mode:
authorDanilo Sousa <danilopopeye@users.noreply.github.com>2017-09-11 17:30:39 -0300
committerGitHub <noreply@github.com>2017-09-11 17:30:39 -0300
commit524b6b82ff88642dd8badc8c8c6a4108ec85d8b0 (patch)
treeaf5dcfd512795cb42f4c7dcbc4eadcf062487607 /lib/oxidized/model/fortios.rb
parentad5ae6b64099c93652db828eed2496d91766c2cf (diff)
parenteb437cc51815fa7c314af7292eca61a1ebb03113 (diff)
Merge pull request #999 from brunobritocarvalho/patch-2
Hide db last update
Diffstat (limited to 'lib/oxidized/model/fortios.rb')
-rw-r--r--lib/oxidized/model/fortios.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/oxidized/model/fortios.rb b/lib/oxidized/model/fortios.rb
index 2d15aae..605a596 100644
--- a/lib/oxidized/model/fortios.rb
+++ b/lib/oxidized/model/fortios.rb
@@ -17,6 +17,7 @@ class FortiOS < Oxidized::Model
cmd :secret do |cfg|
cfg.gsub! /(set (?:passwd|password|secondary-secret|rsso-secret|psksecret|secret|key ENC)).*/, '\\1 <configuration removed>'
cfg.gsub! /(set private-key).*-+END ENCRYPTED PRIVATE KEY-*"$/m , '\\1 <configuration removed>'
+ cfg.gsub! /(IPS Malicious URL Database).*/, '\\1 <configuration removed>'
cfg
end