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

Change: Adjust loading of CPEs to new JSON API #2299

Merged
merged 4 commits into from
Oct 22, 2024
Merged

Commits on Oct 18, 2024

  1. Change: Adjust loading of CPEs to new JSON API

    CPEs can now be loaded from JSON files based on the NVD API.
    
    As some fields in the old XML differ the JSON API, they are replaced
    by similar fields:
    "nvd_id" is replaced by "cpe_name_id" and "status" is replaced by
    "deprecated".
    
    The "raw_data" will no longer be available after switching to JSON,
    so the references are and "deprecated_by" element are handled explictly.
    
    These changes are made because the XML-based data feeds have been
    deprecated by NVD.
    timopollmeier committed Oct 18, 2024
    Configuration menu
    Copy the full SHA
    0cad253 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    fadf3c8 View commit details
    Browse the repository at this point in the history
  3. Apply review suggestions for JSON CPEs

    Add missing cleanup, fix comments and remove leftover test log output.
    timopollmeier committed Oct 18, 2024
    Configuration menu
    Copy the full SHA
    9bfba8f View commit details
    Browse the repository at this point in the history
  4. Remove: Drop unused deprecated_by column of CPEs

    The column has been replaced by a table to allow multiple
    deprecated_by entries per CPE.
    timopollmeier committed Oct 18, 2024
    Configuration menu
    Copy the full SHA
    27d6c3b View commit details
    Browse the repository at this point in the history