diff options
author | Frank Spijkerman <fspijkerman@users.noreply.github.com> | 2016-07-28 19:45:02 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-07-28 19:45:02 +0200 |
commit | a4f16867d3c80b93bdf9538d5ecc3b6b713765cb (patch) | |
tree | 30d2b60884eea4ab421f210c3ff1c6c69adcf932 | |
parent | 463db1f76d4530b2875635937452afa6dd1aa56a (diff) |
Cisco ASA Secret filter for TACACS+ key
-rw-r--r-- | lib/oxidized/model/asa.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/oxidized/model/asa.rb b/lib/oxidized/model/asa.rb index 67dfe16..a41348e 100644 --- a/lib/oxidized/model/asa.rb +++ b/lib/oxidized/model/asa.rb @@ -15,6 +15,7 @@ class ASA < Oxidized::Model cfg.gsub! /username (\S+) password (\S+) (.*)/, 'username \1 password <secret hidden> \3' cfg.gsub! /ikev2 pre-shared-key (\S+)/, 'ikev2 pre-shared-key <secret hidden>' cfg.gsub! /ikev2 (remote|local)-authentication pre-shared-key (\S+)/, 'ikev2 \1-authentication pre-shared-key <secret hidden>' + cfg.gsub! /^(aaa-server TACACS\+ \(\S+\) host.*\n\skey) \S+$/m, '\1 <secret hidden>' cfg end |