OpenSCAP / scap-workbench

SCAP Scanner And Tailoring Graphical User Interface
https://www.open-scap.org/tools/scap-workbench
GNU General Public License v3.0
223 stars 65 forks source link

Enable proxy usage for fetch remote resources #314

Open Xeicker opened 10 months ago

Xeicker commented 10 months ago

Description

There was an issue about not being able to run a scan with "Fetch remote resources" enabled, in case the resource need to be get from a proxy. The issue was not present using oscap command, since it was using the usual http_proxy, https_proxy & no_proxy environment variables.

The step in which those variables were lost was in the pkexec command, so with this change, those variables are preserved if they were set