scap-workbench icon indicating copy to clipboard operation
scap-workbench copied to clipboard

Enable proxy usage for fetch remote resources

Open Xeicker opened this issue 2 years ago • 0 comments

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

Xeicker avatar Nov 02 '23 20:11 Xeicker