From 210207a5fa856e0c8d53496ddd336c4e42a8c4ab Mon Sep 17 00:00:00 2001 From: MarioRgzLpz Date: Wed, 20 Nov 2024 08:26:49 +0100 Subject: [PATCH] feat(microsoft365): Add new provider microsoft 365 to prowler main --- prowler/__main__.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/prowler/__main__.py b/prowler/__main__.py index 71325e1f4a..1952cfeeb1 100644 --- a/prowler/__main__.py +++ b/prowler/__main__.py @@ -76,6 +76,7 @@ from prowler.providers.common.provider import Provider from prowler.providers.common.quick_inventory import run_provider_quick_inventory from prowler.providers.gcp.models import GCPOutputOptions from prowler.providers.kubernetes.models import KubernetesOutputOptions +from prowler.providers.microsoft365.models import Microsoft365OutputOptions def prowler(): @@ -257,6 +258,10 @@ def prowler(): output_options = KubernetesOutputOptions( args, bulk_checks_metadata, global_provider.identity ) + elif provider == "microsoft365": + output_options = Microsoft365OutputOptions( + args, bulk_checks_metadata, global_provider.identity + ) # Run the quick inventory for the provider if available if hasattr(args, "quick_inventory") and args.quick_inventory: