mirror of
https://github.com/prowler-cloud/prowler.git
synced 2026-10-05 03:12:14 +00:00
resolve comments
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
import typer
|
||||
|
||||
from prowler.config.config import available_compliance_frameworks
|
||||
from prowler.lib.banner import print_banner
|
||||
from prowler.lib.check.check import (
|
||||
bulk_load_checks_metadata,
|
||||
bulk_load_compliance_frameworks,
|
||||
@@ -31,7 +30,6 @@ app.add_typer(kubernetes, name="kubernetes")
|
||||
|
||||
|
||||
def list_resources(provider: str, resource_type: str):
|
||||
print_banner(False)
|
||||
if resource_type == "services":
|
||||
print_services(list_services(provider))
|
||||
elif resource_type == "fixers":
|
||||
@@ -63,7 +61,6 @@ def list_resources(provider: str, resource_type: str):
|
||||
def list_compliance_requirements(
|
||||
provider: str, compliance_frameworks: list[str] = None
|
||||
):
|
||||
print_banner(False)
|
||||
print_compliance_requirements(
|
||||
bulk_load_compliance_frameworks(provider), compliance_frameworks
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user