Skip to content

Commit

Permalink
Merge pull request #3025 from dethmetaljeff/arista-secrets
Browse files Browse the repository at this point in the history
eos string is enable password now
  • Loading branch information
robertcheramy authored Jan 15, 2024
2 parents 9a27476 + 1fe0b84 commit 32944de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/oxidized/model/eos.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class EOS < Oxidized::Model
cfg.gsub! /^(snmp-server community).*/, '\\1 <configuration removed>'
cfg.gsub! /(secret \w+) (\S+).*/, '\\1 <secret hidden>'
cfg.gsub! /(password \d+) (\S+).*/, '\\1 <secret hidden>'
cfg.gsub! /^(enable secret).*/, '\\1 <configuration removed>'
cfg.gsub! /^(enable (?:secret|password)).*/, '\\1 <configuration removed>'
cfg.gsub! /^(service unsupported-transceiver).*/, '\\1 <license key removed>'
cfg.gsub! /^(tacacs-server key \d+).*/, '\\1 <configuration removed>'
cfg.gsub! /( {6}key) (\h+ 7) (\h+).*/, '\\1 <secret hidden>'
Expand Down

0 comments on commit 32944de

Please sign in to comment.