add notice for 0 hosts
Some checks failed
Build empanada images for imagefactory / buildx (push) Failing after 4s
Build empanada container images for lorax / buildx (push) Successful in 1s

This commit is contained in:
Louis Abel 2024-10-17 12:25:31 -07:00
parent 689e7aa793
commit fc0b738c75
Signed by: label
GPG Key ID: 2A6975660E424560

View File

@ -517,6 +517,9 @@ class IPAAudit:
for h in hbac_host_dict[hrule]: for h in hbac_host_dict[hrule]:
print(h) print(h)
if len(hbac_host_dict[hrule]) == 0:
print('(No hosts set for this rule)')
@staticmethod @staticmethod
def group_deep_list(api, group): def group_deep_list(api, group):
""" """