Skip to content

Commit

Permalink
fix: k8s namespace field
Browse files Browse the repository at this point in the history
  • Loading branch information
AdriiiPRodri committed Feb 26, 2025
1 parent 28c4f89 commit c3dff6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion prowler/lib/outputs/finding.py
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ def transform_api_finding(cls, finding, provider) -> "Finding":
# Azure, GCP specified field
finding.location = resource.region
# K8s specified field
finding.namespace = resource.region
finding.namespace = resource.region.removeprefix("namespace: ")
if provider.type == "azure":
finding.subscription = list(provider.identity.subscriptions.keys())[0]
elif provider.type == "gcp":
Expand Down

0 comments on commit c3dff6a

Please sign in to comment.