-
Task
-
Resolution: Unresolved
-
Undefined
-
None
-
None
-
None
In the dev preview state of the vm4vm feature, the scanner v4 client is directly embedded in the virtual machine enricher (pkg/virtualmachine/enricher/enricher_impl.go).
It would be better for scanner maintenance purposes to move the scanner client to a wrapper in pkg/scanners/scannerv4 and use the wrapper in the virtual machine enricher.
Additionally, the endpoints for scanner services (at least matcher) should be configurable. In that case, the scanner v4 integration would be a reasonable source to obtain the configuration information.