prowler-cloud/prowler

Include Kubernetes Cluster Name in Compliance Report Output

Open

#7,796 创建于 2025年5月20日

在 GitHub 查看
 (1 评论) (0 反应) (0 负责人)Python (1,322 fork)batch import
feature-requesthelp wanted

仓库指标

Star
 (8,957 star)
PR 合并指标
 (平均合并 9天 17小时) (30 天内合并 314 个 PR)

描述

New feature motivation

Currently, Prowler includes a context field in its compliance report when scanning Kubernetes environments. However, when executing Prowler within multiple in-cluster deployments (e.g. via CronJobs), the context field provides limited value, as it doesn't accurately reflect the originating cluster name.

Solution Proposed

Please include ACCOUNT_UID or CLUSTER_NAME field (or similar) in the compliance report output, which can be explicitly set via a flag or automatically detected from environment variable like CLUSTER_NAME) just like this is now works for general output.

Check https://github.com/prowler-cloud/prowler/issues/7542

Describe alternatives you've considered

Additional context

No response

贡献者指南