diff options
author | Arnoud Vermeer <a.vermeer@tech.leaseweb.com> | 2016-06-21 11:37:54 +0200 |
---|---|---|
committer | Arnoud Vermeer <a.vermeer@tech.leaseweb.com> | 2016-06-21 11:37:54 +0200 |
commit | 6498a6e2606bec9dfb97c952b58234f9c89f95a4 (patch) | |
tree | 8ed58c54c6995e2a018cb463e33ac11501566c59 /lib/oxidized | |
parent | 9f606e7b9a1265e7d6c57524b1df7abad36dbb55 (diff) |
Remove tacacs secret
Diffstat (limited to 'lib/oxidized')
-rw-r--r-- | lib/oxidized/model/eos.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/oxidized/model/eos.rb b/lib/oxidized/model/eos.rb index 84ef8cb..75da0fa 100644 --- a/lib/oxidized/model/eos.rb +++ b/lib/oxidized/model/eos.rb @@ -14,6 +14,7 @@ class EOS < Oxidized::Model cfg.gsub! /^(snmp-server community).*/, '\\1 <configuration removed>' cfg.gsub! /username (\S+) privilege (\d+) (\S+).*/, '<secret hidden>' cfg.gsub! /^(enable secret).*/, '\\1 <configuration removed>' + cfg.gsub! /^(tacacs-server key \d+).*/, '\\1 <configuration removed>' cfg end |