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 notes threat #1324

Merged
merged 7 commits into from
Oct 12, 2020
Merged

Conversation

janowagner
Copy link
Member

@janowagner janowagner commented Oct 10, 2020

What:

Remove element "threat" of element "note" in GMP.

Why:

It isn't used anywhere on the UI and it is redundant because there is also
element "severity".

This is also removing the very last occurrances of "Security Hole", "Security Warning"
and "Security Note", a long deprecated message type.

How:

The element wasn't used anyway.
The XML output was compared before and after the patch to proof a clean
removal of the element.

Checklist:

This is either "Alarm" or empty when it is a log message.
So it adds no information because the element severity
also offers the information whether it is Alarm (severity>0)
or log (severity=0).
@mattmundell mattmundell merged commit 7ab23ab into greenbone:master Oct 12, 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