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

Enhancement: make channel names shorter in the metrics command #923

Closed
YamatoSecurity opened this issue Feb 16, 2023 · 2 comments · Fixed by #927
Closed

Enhancement: make channel names shorter in the metrics command #923

YamatoSecurity opened this issue Feb 16, 2023 · 2 comments · Fixed by #927
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@YamatoSecurity
Copy link
Collaborator

When running the metrics command, sometimes the channel name is too long and the table overlaps like this:

Screen Shot 2023-02-16 at 5 00 22 PM

After converting the Channel name abbreviations according to the channel_abbreviations.txt file, I would like to make the remaining channel names shorter by abbreviating the following words:

Microsoft => MS
Windows => Win
Operational => Op
Diagnosis => Diag
Package => Pkg
Server => Svr
Client => Cli
Management => Mgmt
Security => Sec
Connection => Conn
Application => App

For example, in the screenshot above, Microsoft-Windows-Diagnosis-PLA/Operational would become MS-Win-Diag-PLA/Op.

@YamatoSecurity YamatoSecurity added the enhancement New feature or request label Feb 16, 2023
@hitenkoku hitenkoku self-assigned this Feb 16, 2023
@hitenkoku
Copy link
Collaborator

@YamatoSecurity Thank you for sending issue.
Could you tell us what you envision for the following questions?

  1. This name shorter is only in metrics command?
  2. Is These abbrevation defined by external config file? or hardcode?

@YamatoSecurity
Copy link
Collaborator Author

Good questions!

  1. I was thinking just the metrics command at first, but it would reduce size of the CSV and JSON file so maybe implement it there too if it is not too difficult.
  2. I was thinking hardcoding at first, but it will probably need periodic updates so would be better in an external config file under rules/config/channel_abbreviations_generic.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
2 participants