mercedes-benz / sechub

SecHub provides a central API to test software with different security tools.
https://mercedes-benz.github.io/sechub/
MIT License
259 stars 58 forks source link

Proxy setup only working with nessus #3081

Open de-jcup opened 2 months ago

de-jcup commented 2 months ago

Situation

We have the class ProxyConfig which is extended for all adapter configurations in SecHub. While doing changes for #797 it become clear that the current situation is as following:

As a sum up: The proxy settings can currently not work (except Nessus) where it can be defined by system properties (or env entries) via

sechub.adapter.nessus.proxy.hostname
sechub.adapter.nessus.proxy.port

Wanted

The proxy handling shall be consistent

Solution

Introduce single spring value and use it inside every executor

sechub.adapter.proxy.hostname
sechub.adapter.proxy.port

like done for Nessus executor (but replace nessus variant with this as well) for every executor.