diff options
author | ytti <saku@ytti.fi> | 2016-07-28 19:41:36 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-07-28 19:41:36 +0300 |
commit | 463db1f76d4530b2875635937452afa6dd1aa56a (patch) | |
tree | 40aa6cb29d6fb49aeb54909a135e732462800708 | |
parent | 7d0dba17675a9c432189ec50584f5f449801f7d7 (diff) | |
parent | 7fa919c3e0f6a19a1eb685f7ddeaf88e300672a4 (diff) |
Merge pull request #514 from fspijkerman/ASA_secret_filters
ASA secret filters for ikev2 IPSEC pre-shared-key
-rw-r--r-- | lib/oxidized/model/asa.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/oxidized/model/asa.rb b/lib/oxidized/model/asa.rb index 1e45a91..67dfe16 100644 --- a/lib/oxidized/model/asa.rb +++ b/lib/oxidized/model/asa.rb @@ -13,6 +13,8 @@ class ASA < Oxidized::Model cmd :secret do |cfg| cfg.gsub! /enable password (\S+) (.*)/, 'enable password <secret hidden> \2' 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 end |