Six critical IaC findings against argocd/manifests/ broke into two
patterns: legitimate-by-design RBAC (mute) and over-broad RBAC (fix).
Plumbing:
- cronjob-iac-scan.yaml now passes --mutelist-file (previously
unused, which is why all IaC findings reported as unmuted)
- new mutelist/iac.yaml is bundled into the prowler-mutelist
ConfigMap and mounted into the IaC cronjob via items: selector
Compensating controls (in compensating-controls.yaml):
- operator-purpose-bound-rbac — external-secrets-operator's whole
function is to manage Secret objects; ClusterRole over secrets
matches its purpose. cert-controller mutates its own validating
webhooks to inject a rotating CA bundle.
- kube-state-metrics-metadata-only — KSM exposes only Secret
metadata via kube_secret_info / kube_secret_labels; the data
field is never read into exposed metrics.
Mutes (mutelist/iac.yaml):
- KSV-0041 for external-secrets/rbac.yaml,
kube-state-metrics/rbac.yaml,
kube-state-metrics-ringtail/rbac.yaml
- KSV-0114 for external-secrets/rbac.yaml
Real fix:
- grafana-clusterrole no longer reads secrets. The dashboard sidecar
(RESOURCE=both → configmap, both init and watch instances) only
needs ConfigMap-labeled dashboards; no Secrets are labeled
grafana_dashboard.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
30 lines
631 B
YAML
30 lines
631 B
YAML
---
|
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
|
kind: Kustomization
|
|
|
|
namespace: prowler
|
|
|
|
resources:
|
|
- serviceaccount.yaml
|
|
- rbac.yaml
|
|
- pv-nfs.yaml
|
|
- pvc.yaml
|
|
- cronjob.yaml
|
|
- cronjob-image-scan.yaml
|
|
- cronjob-iac-scan.yaml
|
|
|
|
configMapGenerator:
|
|
- name: prowler-mutelist
|
|
options:
|
|
disableNameSuffixHash: true
|
|
files:
|
|
- mutelist/apiserver.yaml
|
|
- mutelist/control-plane.yaml
|
|
- mutelist/core-pod-security.yaml
|
|
- mutelist/manual-node-checks.yaml
|
|
- mutelist/rbac.yaml
|
|
- mutelist/iac.yaml
|
|
|
|
images:
|
|
- name: registry.ops.eblu.me/blumeops/prowler
|
|
newTag: v5.23.0-7c1cd11
|