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

Make several NVTI tags internally explicit. #719

Merged
merged 10 commits into from
Aug 28, 2019

Commits on Aug 27, 2019

  1. Add itertor functions for results and nvts.

    These new iterstors are for the new explciit nvt elements
    "summary", "insight", "affected", "impact" and "detection".
    
    These are implemented analog to the existing ones.
    janowagner committed Aug 27, 2019
    Configuration menu
    Copy the full SHA
    434be7b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    700f6e0 View commit details
    Browse the repository at this point in the history
  3. Add explicit elements to tag for API compatibility.

    Since these elements do not appear anymore in the internal tag string
    they need to be appended in order to keep API compatibility.
    janowagner committed Aug 27, 2019
    Configuration menu
    Copy the full SHA
    3cad38c View commit details
    Browse the repository at this point in the history
  4. Add explicit nvti elements to tag string.

    For compatibility add the now-expclicit elements to the tag string.
    janowagner committed Aug 27, 2019
    Configuration menu
    Copy the full SHA
    4de1ac5 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    f201200 View commit details
    Browse the repository at this point in the history
  6. Extend nvti table with new elements.

    The new elements need to be added for the case when the
    table "nvts" is created anew.
    janowagner committed Aug 27, 2019
    Configuration menu
    Copy the full SHA
    beba805 View commit details
    Browse the repository at this point in the history
  7. Handle several tags explicitely instead in tag str.

    Internally in the data model in table nvts several
    elements are now handled explicitely instead of
    being stored in the "tag" string.
    
    When reading them from OSP (where they are already explciit elements)
    they are not anymore serialized into the tag string. They are rather
    directly stored into the extended nvti structure.
    
    While doing so also a bug is fixed because "impact" was missing when
    parsing OSP VT information.
    janowagner committed Aug 27, 2019
    Configuration menu
    Copy the full SHA
    59861ab View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    5c29e4b View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    5243198 View commit details
    Browse the repository at this point in the history
  10. Formatting improvements.

    janowagner committed Aug 27, 2019
    Configuration menu
    Copy the full SHA
    05d9e75 View commit details
    Browse the repository at this point in the history