nist-data-mirror
by EugenMayer
NIST data mirror
About this chart
Hint!
DEPRECATED
This project has been super-seeded by the chart vulnz, which offers the (new) NVD v2 API. This chart will no longer receive updates since the NVD v1 API is deprecated.
WAT
Chart to host a NIST data mirror - see https://github.com/EugenMayer/nist-data-mirror It syncs and serves the NVD (CPE/CVE JSON) data from NIST.
When the container/pod starts initially, it should instantly preseed the data once (and not wait for the cron job)
Volumes / PVC
Considering this a pure mirror image (somewhat cache-like), and it takes about 25s to compute and download the entire data, I decided to not include a PVC. If you think differently, be free to discuss this in a PR / issue.
Refresh data
The data is refreshed every night using a cron-job. If you want to do it manually, you connect to the container and run
/usr/local/bin/mirror.sh
Values
Check the values.yaml file
Deploy nist-data-mirror with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has nist-data-mirror on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartnist-data-mirror is pinned at v0.1.2 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below opentenant validate opentenant.yaml terraform init && terraform apply