-
Notifications
You must be signed in to change notification settings - Fork 35
Open
Description
I noticed there is a clean_vector function that returns the vector string from the object dictionary in correct CVSS order. Unfortunately, this only acts on the original vector string, and I am not seeing anything that acts on the modified vector string in the same way. This acts more like a reset_to_original_vector than a clean_vector
Suggestions:
- add a sort_vector_metrics that takes the cvss dictionary object and returns the vector string in the proper cvss order according to cvss.constants METRICS_ABBREVIATIONS. This way, regardless of changes to the cvss object, the new vector string is returned in the order expected by information security tooling.
Happy to code this myself if you folks have a contribution policy.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels