Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(fsos): Hiding AAA and SNMP secrets #3354

Merged
merged 6 commits into from
Jan 7, 2025

Conversation

RayaneB75
Copy link
Contributor

@RayaneB75 RayaneB75 commented Dec 24, 2024

Either unencrypted (0) or encrypted (7) secrets should be hidden

Pre-Request Checklist

  • Passes rubocop code analysis (try rubocop --auto-correct)
  • Tests added or adapted (try rake test)
  • Changes are reflected in the documentation
  • User-visible changes appended to CHANGELOG.md

Description

Added multiple cfg.gsub to match every line containing "key ..." to hide unencrypted (key 0) or encrypted (key 7) secrets.

Either unencrypted (0) or encrypted (7) secrets should be hidden
@RayaneB75 RayaneB75 changed the title feat(fsos): Hiding AAA secrets feat(fsos): Hiding AAA and SNMP secrets Dec 28, 2024
Using an FS S34000 fully configured switch with AAA and SNMP
Terminal width was insufficient, especially for long SNMP auth/priv hashes
@RayaneB75 RayaneB75 force-pushed the feat/hide-aaa-secrets branch from bdfba15 to 8a0439d Compare December 28, 2024 19:57
@codecov-commenter
Copy link

codecov-commenter commented Jan 3, 2025

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 71.06%. Comparing base (c8d6123) to head (8a0439d).
Report is 10 commits behind head on master.

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3354      +/-   ##
==========================================
+ Coverage   70.63%   71.06%   +0.42%     
==========================================
  Files          80       82       +2     
  Lines        3266     3328      +62     
==========================================
+ Hits         2307     2365      +58     
- Misses        959      963       +4     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@robertcheramy robertcheramy merged commit cb7805d into ytti:master Jan 7, 2025
7 checks passed
@RayaneB75 RayaneB75 deleted the feat/hide-aaa-secrets branch January 20, 2025 20:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants