Skip to content
This repository was archived by the owner on Sep 27, 2024. It is now read-only.

Comments

Enable proxy usage for fetch remote resources#314

Open
Xeicker wants to merge 1 commit intoOpenSCAP:v1-2from
Xeicker:enable_proxy
Open

Enable proxy usage for fetch remote resources#314
Xeicker wants to merge 1 commit intoOpenSCAP:v1-2from
Xeicker:enable_proxy

Conversation

@Xeicker
Copy link

@Xeicker Xeicker commented Nov 2, 2023

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

Signed-off-by: Edgar Aguilar <edgar.aguilar@oracle.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant