feat(shield): Service and checks (#1504)

This commit is contained in:
Sergio Garcia
2022-11-21 10:18:54 +01:00
committed by GitHub
parent 1370e0dec4
commit 52a3e990c6
49 changed files with 3474 additions and 1663 deletions

View File

@@ -100,9 +100,6 @@ def print_services(service_list: set):
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(
@@ -112,6 +109,9 @@ def print_checks(provider: str, check_list: set, bulk_checks_metadata: dict):
logger.error(
f"Check {error} was not found for the {provider.upper()} provider"
)
print(
f"\nThere are {Fore.YELLOW}{len(check_list)}{Style.RESET_ALL} available checks.\n"
)
# List available groups