Giter VIP home page Giter VIP logo

Comments (8)

stevespringett avatar stevespringett commented on August 23, 2024

This tool mirrors the NVD download site so that organizations can have their own internal mirror of the NVD. Refer to https://jeremylong.github.io/DependencyCheck/data/mirrornvd.html

from nist-data-mirror.

javixeneize avatar javixeneize commented on August 23, 2024

from nist-data-mirror.

stevespringett avatar stevespringett commented on August 23, 2024

Not sure I understand the question. Dependency-Check should be setup to download from the mirror (instead of the NVD). When this is done, the h2 database will be created like normal.

from nist-data-mirror.

javixeneize avatar javixeneize commented on August 23, 2024

from nist-data-mirror.

stevespringett avatar stevespringett commented on August 23, 2024

This is a very common use case.

dependency-check --updateonly --data /my/datadir --cveUrl12Modified http://myhost/nvd-mirror/nvdcve-Modified.xml.gz --cveUrl20Modified http://myhost/nvd-mirror/nvdcve-2.0-Modified.xml.gz --cveUrl12Base http://myhost/nvd-mirror/nvdcve-%d.xml.gz --cveUrl20Base http://myhost/nvd-mirror/nvdcve-2.0-%d.xml.gz

This will download the contents from a mirror hosted on your internal network and will create (or update) the data directory.

From the command line this looks a bit ugly, but Maven, Ant, Gradle, and Jenkins plugins all support this use case.

Just replace 'http://myhost/nvd-mirror/' with the hostname and directory to where your mirror is actually located.

Most orgs run nist-data-mirror followed by the above command (or similar) on a nightly basis.

from nist-data-mirror.

javixeneize avatar javixeneize commented on August 23, 2024

from nist-data-mirror.

stevespringett avatar stevespringett commented on August 23, 2024

Actually, there are four of them, not three. Yes, they are all different data feeds provided by the NVD. All four are necessary.

The xml.gz is the exact same thing that is available on the NVD. Once ODC downloads the data from the NVD (or a mirror of the NVD), it processes the feeds and creates a database (the h2 file).

Most orgs host an internal mirror of the NVD. They will then configure each instance of ODC to use the mirror.

This strategy allows orgs to use different versions of ODC throughout the org. Standardizing on a single h2 database version would force the org to only use a single version of ODC.

from nist-data-mirror.

javixeneize avatar javixeneize commented on August 23, 2024

from nist-data-mirror.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.