Skip to content

Commit

Permalink
Add hidden info for SonicWall
Browse files Browse the repository at this point in the history
  • Loading branch information
s-fu authored and wk committed Jan 19, 2020
1 parent 6e9324c commit 011a480
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/oxidized/model/sonicos.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@ class SonicOS < Oxidized::Model
cfg.gsub! /cli ftp password default \d\,(\S+)/, 'cli ftp password default <secret hidden> \2'
cfg.gsub! /secret \d\,(\S+)/, 'secret <secret hidden> \2'
cfg.gsub! /shared-secret \d\,(\S+)/, 'shared-secret <secret hidden> \2'
cfg.gsub! /password \d\,(\S+)/, 'password <secret hidden> \2'
cfg.gsub! /passphrase password \d\,(\S+)/, 'passphrase password <secret hidden> \2'
cfg.gsub! /bind-password \d\,(\S+)/, 'bind-password <secret hidden> \2'
cfg.gsub! /authentication sha1 \d\,(\S+)/, 'authentication sha1 <secret hidden> \2'
cfg.gsub! /encryption aes \d\,(\S+)/, 'encryption aes <secret hidden> \2'
cfg
end

Expand Down

0 comments on commit 011a480

Please sign in to comment.