summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArnoud Vermeer <a.vermeer@tech.leaseweb.com>2016-06-21 11:37:54 +0200
committerArnoud Vermeer <a.vermeer@tech.leaseweb.com>2016-06-21 11:37:54 +0200
commit6498a6e2606bec9dfb97c952b58234f9c89f95a4 (patch)
tree8ed58c54c6995e2a018cb463e33ac11501566c59
parent9f606e7b9a1265e7d6c57524b1df7abad36dbb55 (diff)
Remove tacacs secret
-rw-r--r--lib/oxidized/model/eos.rb1
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