-
Notifications
You must be signed in to change notification settings - Fork 158
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
Unified vt solution #849
Unified vt solution #849
Conversation
a42c09e
to
e183d95
Compare
Just to be sure, you added "work in progress" so this is not ready for review anymore? |
Indeed. I thought it is and changed the status, but I found no way back to the previous status after |
e183d95
to
5e84126
Compare
13c0a20
to
ad5ce6f
Compare
@mattmundell could you review this PR? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. Just a few small formatting issues.
Use the solution text and the solution type. This keeps the same data the tag string for the time being.
This adds the solution method to the solution element in the results nvt object.
In case only a solution type and/or method is present, still create the solution element.
This adds the solution element. The solution and solution_type are still in the tag and need to be removed later.
Also considers the optional solution method and print it on a extra line.
Also considers the optional solution method and print it on a extra line.
Also considers the optional solution method and print it on a extra line.
Also considers the optional solution method and print it on a extra line.
The optional solution method is not considered because it was change the column structure and thus change the CSV API.
This boiled down to just the change note since the nvt element is not detailed anywhere in the GMP documentation.
The column is mandatory for correct function. So we need to enfore the migration.
aed9ee4
to
07a51d1
Compare
This section is meant to document changes, no additions. So, reverting it.
Add parsing of solution method from OSP and store into database.
Extend GMP API for nvt object to carry a explicit solution element.
The same solution element as in the tags is not yet removed by this
pull request and will be done in a separate pull request after all
other modules adapted to the new API (new location of solution
information).
All internal consumers of the solution information (report formats)
are already adapted to the new solution element. The CSV report
format does not use the newly introduced solution method because
it would require a change about the columns.
Requires
greenbone/gvm-libs#283
Checklist: