DataDog / managed-kubernetes-auditing-toolkit

All-in-one auditing toolkit for identifying common security issues in managed Kubernetes environments. Currently supports Amazon EKS.
Apache License 2.0
317 stars 18 forks source link

find-secrets: Don't fail and only show a warning in case of missing permissions #7

Closed christophetd closed 1 year ago

christophetd commented 1 year ago

cc @emtunc

Context: In some cases, the person running mkat won't have some permissions. Typically, list secrets is often blocked (for a good reason).

Behavior before the PR: fail if any of (secrets, pods, configmaps) cannot be listed.

New behavior: print a warning and continue.