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

Drop dynamic severity classes #2448

Merged

Conversation

janowagner
Copy link
Member

@janowagner janowagner commented Sep 9, 2020

What:

The support for multiple severity class ranges is removed.
There is now only one classification scheme (then one previously
called "nist"). Actually there was only one other classification scheme called
"pci-dss". It wasn't used or needed.

For the user, this essentially means that in "My Settings", the option
to select a severity classification scheme is not there anymore and that
the default is now applied mandatory.

This PR requires: greenbone/gvmd#1288

Why:

Removing the overhead about a dynamic handling where actually only static
class ranges are used simplifies code.

How:

Basically all aspects are removed, on gsa side, and on gvmd side.
While gvmd appears pretty clean now, in gsa there are some special
handlings with an old range style due to compatibility with older dashboard elements.

Checklist:

janowagner added a commit to janowagner/gvm-libs that referenced this pull request Sep 9, 2020
This is not required anymore and can be removed
after greenbone/gsa#2448
is applied as well as a backport of that PR to the
gsa master branch.
@janowagner janowagner marked this pull request as ready for review September 10, 2020 19:03
@janowagner janowagner requested a review from a team September 10, 2020 19:03
@bjoernricks
Copy link
Contributor

I am a bit surprised that no tests had to be adjusted. @janowagner did you check all charts if they still work?

@janowagner
Copy link
Member Author

I am a bit surprised that no tests had to be adjusted. @janowagner did you check all charts if they still work?

Indeed this code was no covered by tests. I checked all charts manually and all looked fine.

@bjoernricks bjoernricks merged commit 9deb163 into greenbone:gsa-21.04 Sep 17, 2020
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.

2 participants