Skip to content

Commit

Permalink
EOS: Hides MACsec Key (ytti#2014)
Browse files Browse the repository at this point in the history
  • Loading branch information
krisamundson authored and wk committed Jan 23, 2020
1 parent ca54d6a commit 29fbe3a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
* BUGFIX: better virtual domain detection in fortios (@agabellini)
* MISC: more secret scrubbing in sonicos (@s-fu)
* MISC: openssh key scrubbing as secret in fortios (@agabellini)
* MISC: scrubs macsec key from Arista EOS (@krisamundson)

## 0.27.0

Expand Down
1 change: 1 addition & 0 deletions lib/oxidized/model/eos.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ class EOS < Oxidized::Model
cfg.gsub! /(password \d+) (\S+).*/, '\\1 <secret hidden>'
cfg.gsub! /^(enable secret).*/, '\\1 <configuration removed>'
cfg.gsub! /^(tacacs-server key \d+).*/, '\\1 <configuration removed>'
cfg.gsub! /( {6}key) (\h+ 7) (\h+).*/, '\\1 <secret hidden>'
cfg
end

Expand Down

0 comments on commit 29fbe3a

Please sign in to comment.