Skip to content
New issue

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

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

Already on GitHub? # to your account

Add static parameters for CVSS attributes and their options #8

Open
fridan opened this issue Jan 29, 2019 · 0 comments
Open

Add static parameters for CVSS attributes and their options #8

fridan opened this issue Jan 29, 2019 · 0 comments

Comments

@fridan
Copy link

fridan commented Jan 29, 2019

When creating input forms for CVSS vectors, it is tedious and badly maintainable to create all the necessary form items and their valid options by hand.

Instead it would be much easier to have a static method with which to retrieve all CVSS metrics (i.e. attack vector, attack complexity, scope, etc.) and their corresponding options. One could then iterate over them in order to generate the input fields as desired.

However there is no static methods to do so, forcing one to create a "dummy" CVSS vector, in order to iterate over all the various metrics.

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

2 participants