Skip to content

Prowler Kubernetes doesn't honour proxy-url configuration #7342

@saikumark

Description

@saikumark

Steps to Reproduce

Use Case: The GKE clusters can be communicated only through an internal proxy.
Command tried: prowler kubernetes --namespace --context

The following steps were tried while running the command mentioned above, however, the prowler is not honoring the proxy configuration.

  1. Exporting the variable HTTPS_PROXY and run the command
  2. Explicitly prefix the HTTPS_PROXY=<proxy_url> with the command
  3. Add the proxy-url in the ~/.kube/config for specific namespace

Expected behavior

The application should honor the proxy settings to establish communication with the cluster IP

Actual Result with Screenshots or Logs

Image

How did you install Prowler?

From pip package (pip install prowler)

Environment Resource

  1. Proxy to establish communication with the cluster
  2. GKE cluster

OS used

Ubuntu

Prowler version

5.4.1

Pip version

24.0

Context

No response

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions