diff --git a/hardeneks/__init__.py b/hardeneks/__init__.py index b7d2372..e6ee681 100644 --- a/hardeneks/__init__.py +++ b/hardeneks/__init__.py @@ -95,6 +95,7 @@ def ndd(): "resources": rule.result.resources, "resource_type": rule.result.resource_type, "namespace": rule.result.namespace, + "resolution": rule.url, } json_blob[rule._type][rule.pillar][rule.section][rule.message] = result with open(json_path, "w", encoding="utf-8") as f: diff --git a/hardeneks/cluster_wide/security/multi_tenancy.py b/hardeneks/cluster_wide/security/multi_tenancy.py index 4df3ca9..4eddb62 100644 --- a/hardeneks/cluster_wide/security/multi_tenancy.py +++ b/hardeneks/cluster_wide/security/multi_tenancy.py @@ -18,5 +18,5 @@ def check(self, resources: Resources): self.result = Result(status=True, resource_type="Namespace") if offenders: self.result = Result( - status=False, resources=offenders, resource_type="Namepsace" + status=False, resources=offenders, resource_type="Namespace" )