POC: Vulnerability scanner based on Trivy file system scanner #692
danielpacak
started this conversation in
Development
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Trivy can scan a container image by pulling the image from a remote registry, e.g.
or by directly scanning the container's local file system, e.g.
These two options allow us to choose between two different implementations of the
vulnerabilityreport.Plugin
.The currently implemented plugin is based on the
trivy image
command (see Trivy Standalone and Trivy ClientServer), therefore, in this discussion we'll only focus on the local file system scan option.Let's assume that there's the
nginx
Deployment in thepoc-ns
namespace.To scan the
nginx
container of such Deployment, Starboard could create the following scan job in thestarboard-operator
namespace and observe it until it's completed or failed.Notes
Beta Was this translation helpful? Give feedback.
All reactions