neuroforgede / docker-swarm-trivy-exporter

Apache License 2.0
1 stars 0 forks source link

Allow to run trivy scans on a worker node #3

Open s4ke opened 1 year ago

s4ke commented 1 year ago

Currently the design of the exporter only allows to run the scanning on a manager node.

We can change this by:

s4ke commented 1 year ago

The easiest way would be to simply allow to override the url that is used in the DockerClient creation

https://docker-py.readthedocs.io/en/stable/client.html#client-reference

As trivy seems to not have a similar config option