summaryrefslogtreecommitdiff
path: root/lib/oxidized/model/ios.rb
diff options
context:
space:
mode:
authorDavid R. Bild <david.bild@xaptum.com>2017-04-06 18:27:45 -0500
committerDavid R. Bild <david.bild@xaptum.com>2017-04-06 18:27:45 -0500
commita07b05d8685ba07380121e23757bb3631fffbe2a (patch)
tree122b9a885965655b2903f401fa0757a812771588 /lib/oxidized/model/ios.rb
parent5c5a7244ed085235bddee0e34251dcc4537fd680 (diff)
Added IPSEC keys to IOS secrets config
Diffstat (limited to 'lib/oxidized/model/ios.rb')
-rw-r--r--lib/oxidized/model/ios.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/oxidized/model/ios.rb b/lib/oxidized/model/ios.rb
index 9fda128..c3d5543 100644
--- a/lib/oxidized/model/ios.rb
+++ b/lib/oxidized/model/ios.rb
@@ -34,6 +34,7 @@ class IOS < Oxidized::Model
cfg.gsub! /^(.*wpa-psk ascii \d) (\S+)/, '\\1 <secret hidden>'
cfg.gsub! /^(.*key 7) (\d.+)/, '\\1 <secret hidden>'
cfg.gsub! /^(tacacs-server key \d) (\S+)/, '\\1 <secret hidden>'
+ cfg.gsub! /^(crypto isakmp key) (\S+) (.*)/, '\\1 <secret hidden> \\3'
cfg
end