cyberark / KubiScan

A tool to scan Kubernetes cluster for risky permissions
GNU General Public License v3.0
1.31k stars 130 forks source link

Check if running in a container improvement #35

Closed 2niknatan closed 2 years ago

2niknatan commented 2 years ago

Desired Outcome

Now, we check if the KubiScan is running in any container not necessarily docker container.

Implemented Changes

Changing the function running_in_docker_container to running_in_container. The new function checks if the KubiScan is running in any kind of container, not necessarily doce

Connected Issue/Story

Resolves #[relevant GitHub issue(s), e.g. 76]

Definition of Done

Changelog

Test coverage

Documentation

Behavior

Security