Giter VIP home page Giter VIP logo

Comments (11)

stevespringett avatar stevespringett commented on August 23, 2024

Configuration will vary depending on which DC implementation you're using. For the CLI, the docs are here: https://jeremylong.github.io/DependencyCheck/dependency-check-cli/arguments.html

from nist-data-mirror.

dbenduga avatar dbenduga commented on August 23, 2024

from nist-data-mirror.

stevespringett avatar stevespringett commented on August 23, 2024

meta and json files are supported in v1.3.0.

from nist-data-mirror.

dbenduga avatar dbenduga commented on August 23, 2024

from nist-data-mirror.

stevespringett avatar stevespringett commented on August 23, 2024

Not sure.

wget https://repo1.maven.org/maven2/us/springett/nist-data-mirror/1.3.0/nist-data-mirror-1.3.0.jar
java -jar nist-data-mirror-1.3.0.jar ./mirror json

This will produce three files per year (.json, .json.gz, and .meta) along with the modified.json/gz/meta

Not sure about the Docker container. It was contributed, but I have never tested it. YMMV

from nist-data-mirror.

dbenduga avatar dbenduga commented on August 23, 2024

from nist-data-mirror.

neil-n-brown avatar neil-n-brown commented on August 23, 2024

Hi @stevespringett,

I'm struggling to understand how to get Dependency check to work with my data mirror. For CLI config Do I just add the two addtional cveURL arguements to the end (as shown below)

dependency-check.sh --project "example-project" --scan $libDir --format XML --out $workspace --proxyserver ${MYPROXY_SERVER_HOST} --proxyport ${MYPROXY_SERVER_PORT} --cveUrlModified http://example_repo.com:8081/nexus/content/sites/nist-data-mirror/nvdcve-1.0-modified.json.gz --cveUrlBase http://example_repo.com:8081:8081/nexus/content/sites/nist-data-mirror/nvdcve-1.0-%d.json.gz

The problem I'm having is that it is asking for .meta files in the log but I don't see where to specific the location of the .meta files like i can with the json.gz files.

Am I missing another cveURL argument?

from nist-data-mirror.

stevespringett avatar stevespringett commented on August 23, 2024

@BrownieX You'll need to ask dependency-check usage questions on the dependency-check mailing list or github issue repo. I no longer use dependency-check in this context and have not used version 5 with a mirror at all.

from nist-data-mirror.

strictlygit avatar strictlygit commented on August 23, 2024

@stevespringett the binaries posted here https://github.com/stevespringett/nist-data-mirror/releases - need to be updated - the changes you are looking for are post 1.2.0. @BrownieX - pull down the sources and build out the jar

from nist-data-mirror.

strictlygit avatar strictlygit commented on August 23, 2024

i spent the best part of a day banging my head of the same wall - until i realised

from nist-data-mirror.

stevespringett avatar stevespringett commented on August 23, 2024

Not sure why 1.3.0 didn't get published to GitHub releases. I'll have to investigate the next time I do a release. In the mean time, I've manually added the 1.3.0 release to it.

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.