Skip to content

Pull data from the national vulnerability database and push it to a GCP bucket

License

Notifications You must be signed in to change notification settings

clglavan/nvd-scrapper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nvd-scrapper

Pull data from the national vulnerability database and push it to a GCP bucket

environment

  • FORMAT: "json" or "csv"
  • BUCKET: name of gcp bucket ( if empty bucket upload is ignored, and vars below)
  • PROJECTID: get from gcp
  • FILENAME: name of the file uploaded to bucket
  • GOOGLE_APPLICATION_CREDENTIALS: path inside container where auth key is mounted
docker run -e FILENAME="nvd-results.json" \
-e FORMAT="json" \
-e BUCKET={bucket-name} \
-e PROJECTID={project-id} \
-e GOOGLE_APPLICATION_CREDENTIALS=/google/key.json \
-v $(pwd):/google/ \
--rm clglavan/nvd-scrapper

Example implementation

https://clglavan.github.io/nvd-scrapper/

CI

About

Pull data from the national vulnerability database and push it to a GCP bucket

Resources

License

Stars

Watchers

Forks

Releases

No releases published