mirror of
https://github.com/ghndrx/prowler.git
synced 2026-02-10 14:55:00 +00:00
feat(shield): Service and checks (#1504)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user