aquasecurity / trivy

Find vulnerabilities, misconfigurations, secrets, SBOM in containers, Kubernetes, code repositories, clouds and more
https://aquasecurity.github.io/trivy
Apache License 2.0
22.1k stars 2.18k forks source link

feat: add memory cache backend #7048

Closed knqyf263 closed 1 week ago

knqyf263 commented 1 week ago

Description

See https://github.com/aquasecurity/trivy/issues/7047 for details

Usage

For repository scans (and filesystem/SBOM), it's used by default now.

$ trivy repo my-repo

For container image scans, you can specify this if you don't need cache.

$ trivy image debian:11 --cache-backend memory

Related issues

Checklist