cyberark / KubiScan

A tool to scan Kubernetes cluster for risky permissions

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Insecured option

prasenforu opened this issue · comments

Not an issue but insecure option should be added if only "TOKEN" is used.

otherwise every command run we will get following error ..

/usr/local/lib/python3.6/dist-packages/urllib3/connectionpool.py:847: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
  InsecureRequestWarning)

Thanks, I will check.
I added the insecure option by default but I had issues with that so I commented it:

#urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning)

I think the problem was because I am using Kubernetes python client package and they didn't use this option. I will check if there is an option to fix it.