fleet/server/vulnerabilities/nvd/sync
Ian Littman 064700880c
Add caching of parsed CVE feeds during vulncheck hydration, don't save revised feeds until hydration is complete (#26801)
For #26870.

On my local, this gets us a differential vulns feed update (for this
part of it) in under 90 seconds, vs. taking on the order of...40
minutes, I think? RAM usage is a few GB, but we have headroom on GitHub
Actions and the performance increase is worth it.

# Checklist for submitter

If some of the following don't apply, delete the relevant line.

<!-- Note that API documentation changes are now addressed by the
product design team. -->

- [ ] Changes file added for user-visible changes in `changes/`,
`orbit/changes/` or `ee/fleetd-chrome/changes`.
See [Changes
files](https://github.com/fleetdm/fleet/blob/main/docs/Contributing/Committing-Changes.md#changes-files)
for more information.
- [ ] Added/updated automated tests
- [ ] A detailed QA plan exists on the associated ticket (if it isn't
there, work with the product group's QA engineer to add it)
- [ ] Manual QA for all new/changed functionality
2025-03-05 18:06:37 -06:00
..
testdata/cve 18439 Vulncheck data processing bug (#18440) 2024-04-22 09:36:20 -06:00
cve_syncer.go Add caching of parsed CVE feeds during vulncheck hydration, don't save revised feeds until hydration is complete (#26801) 2025-03-05 18:06:37 -06:00
cve_syncer_test.go Improvements to go tests in CI (#21545) 2024-08-26 08:55:53 -05:00
utils.go 18439 Vulncheck data processing bug (#18440) 2024-04-22 09:36:20 -06:00
vulncheck_api.go Implement NVD Feed with Vulncheck Data (#18168) 2024-04-15 09:44:44 -06:00