diff options
author | Danilo Sousa <danilopopeye@users.noreply.github.com> | 2017-08-22 11:34:02 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-22 11:34:02 -0300 |
commit | c8ca088c1314bc55284fd6bc110a2372d22b1ce4 (patch) | |
tree | 310bc8641001f9f972461840776c533a59100352 /lib/oxidized | |
parent | 64e4567630c8eb209df5bd1f3573903a441c06a7 (diff) | |
parent | 770be31237f7466c26abbf2d58d5ed4ede585636 (diff) |
Merge pull request #947 from brunobritocarvalho/patch-1
Exclude secondary-secrets and rsso-secret
Diffstat (limited to 'lib/oxidized')
-rw-r--r-- | lib/oxidized/model/fortios.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/oxidized/model/fortios.rb b/lib/oxidized/model/fortios.rb index 0249933..2d15aae 100644 --- a/lib/oxidized/model/fortios.rb +++ b/lib/oxidized/model/fortios.rb @@ -15,7 +15,7 @@ class FortiOS < Oxidized::Model end cmd :secret do |cfg| - cfg.gsub! /(set (?:passwd|password|psksecret|secret|key ENC)).*/, '\\1 <configuration removed>' + 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 end |