diff options
author | Danilo Sousa <danilopopeye@users.noreply.github.com> | 2017-09-11 17:30:39 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-11 17:30:39 -0300 |
commit | 524b6b82ff88642dd8badc8c8c6a4108ec85d8b0 (patch) | |
tree | af5dcfd512795cb42f4c7dcbc4eadcf062487607 /lib/oxidized/model/fortios.rb | |
parent | ad5ae6b64099c93652db828eed2496d91766c2cf (diff) | |
parent | eb437cc51815fa7c314af7292eca61a1ebb03113 (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.rb | 1 |
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 |