Recover from vuln DB download failure using cached DB
- Dominant language
- Go
- Stars
- 58
- Forks
- 55
- Avg merge
- 9h 9m
- Merged PRs (30d)
- 424
Description
**Motivation**
For our vulnerability scanning flow, cloudbeat will use Trivy to scan the available AWS account volumes. Cloudbeat starts every cycle with downloading the vulnerabilities DB, when it fails the whole flow fails. Instead, cloudbeat can hold in cache the vulnerabilities DB from the prior cycle and if a download fails it can continue with the flow by using the cached DB.
**Definition of done**
- [ ] Cloudbeat should instruct trivy to read the vulnerabilities database from the downloaded file
- [ ] A failed database download should try to use the cached DB
- [ ] When using the cached DB cloudbeat health should be degraded
**Related tasks/epics**
- https://github.com/elastic/cloudbeat/issues/697
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.