Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trivy Server as request proxy #2216

Open
ryanpodonnell1 opened this issue Aug 6, 2024 · 0 comments
Open

Trivy Server as request proxy #2216

ryanpodonnell1 opened this issue Aug 6, 2024 · 0 comments
Labels
kind/feature Categorizes issue or PR as related to a new feature.

Comments

@ryanpodonnell1
Copy link

ryanpodonnell1 commented Aug 6, 2024

We want to spin up an internal scanning service that leverages trivy as a central scanning tool

As we were investigating server/client mode it became apparent that:

  • the client is the one who authN's to a registry (all our registries are private and require to be part of the restricted network for docker pull)
  • the client physically sends the layers to the server
  • the client NEEDs to have a javaDB locally to analyze the image

In our use case all we want to do is leverage the trivy client as the job "requestor" where the trivy server receives a request, authN's to the registry, pulls the image and provides the results back to the client.

This would allow the client to not require registry credentials, access to a cache or direct access to the image to retrieve vulnerability results.

client (trivy image/sbom --server xxxx) -> trivy server
trivy server (login) -> Container Registry
trivy server (pull image) -> Container Registry
trivy server (analysis)
trivy server (response to client) -> trivy client sees results

to achieve this as is currently I dont really see a need for trivy server but a bunch of individual clients that needs to be run on demand. This will introduce some delay as tasks will need to provision/execute/download image etc rather than just a simple request to kick off a scan

@ryanpodonnell1 ryanpodonnell1 added the kind/feature Categorizes issue or PR as related to a new feature. label Aug 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature Categorizes issue or PR as related to a new feature.
Projects
None yet
Development

No branches or pull requests

1 participant