Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable proxy usage for fetch remote resources #314

Open
wants to merge 1 commit into
base: v1-2
Choose a base branch
from

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 join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant