mirror of
https://github.com/ghndrx/prowler.git
synced 2026-02-10 14:55:00 +00:00
feat(count): add number of services and checks (#1442)
This commit is contained in:
@@ -92,12 +92,17 @@ def list_services(provider: str) -> set:
|
||||
|
||||
|
||||
def print_services(service_list: set):
|
||||
print(f"Available Services:")
|
||||
print(
|
||||
f"There are {Fore.YELLOW}{len(service_list)}{Style.RESET_ALL} available services: \n"
|
||||
)
|
||||
for service in service_list:
|
||||
print(f"- {service}")
|
||||
|
||||
|
||||
def print_checks(provider: str, check_list: set, bulk_checks_metadata: dict):
|
||||
print(
|
||||
f"There are {Fore.YELLOW}{len(check_list)}{Style.RESET_ALL} available checks: \n"
|
||||
)
|
||||
for check in check_list:
|
||||
try:
|
||||
print(
|
||||
|
||||
Reference in New Issue
Block a user