Closed
Description
Describe the problem/challenge you have
Currently, we're running Polaris audit subcommand to scans all workloads in the cluster.
$ starboard polaris
$ starboard get configaudit deploy/nginx -n dev
Describe the solution you'd like
However, we should be able to scan a single workload like we do for vulnerabilities:
$ starboard polaris deploy/nginx -n dev
$ starboard polaris sts/my-app -n staging
Anything else you would like to add:
- This is mainly required for multi tenant environments and workloads protected by RBAC permissions. Beyond that, scanning all workloads requires running Polaris as Kubernetes Job with ServiceAccount that's not least privileged.