HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

prowler m365 — Assess Microsoft 365 (M365) security configurations and best practices. See also: `prowler`, `prowle

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandsecurityassessmicrosoftcliprowler m365365m365

Problem

How to use the prowler m365 command: Assess Microsoft 365 (M365) security configurations and best practices. See also: prowler, prowler-aws, prowler-azure, prowler-gcp, prowler-kubernetes, prowler-github. More information: <https://docs.prowler.com/user-guide/cli/tutorials/misc>.

Solution

prowler m365 — Assess Microsoft 365 (M365) security configurations and best practices. See also: prowler, prowler-aws, prowler-azure, prowler-gcp, prowler-kubernetes, prowler-github. More information: <https://docs.prowler.com/user-guide/cli/tutorials/misc>.

Run Prowler with combined service principal and user credentials:
prowler m365 --env-auth


Authenticate using a service principal:
prowler m365 --sp-env-auth


Authenticate using the Azure CLI:
prowler m365 --az-cli-auth


Authenticate using a browser and specify the tenant ID:
prowler m365 --browser-auth --tenant-id "{{XXXXXXXX}}"


Run a specific Microsoft 365 check:
prowler m365 {{[-c|--checks]}} {{etcd_enm365_onedrive_sharing_enabledcryption}}


Exclude specific checks:
prowler m365 {{[-e|--excluded-checks]}} {{m365_onedrive_sharing_enabled}}

Code Snippets

Run Prowler with combined service principal and user credentials

prowler m365 --env-auth

Authenticate using a service principal

prowler m365 --sp-env-auth

Authenticate using the Azure CLI

prowler m365 --az-cli-auth

Authenticate using a browser and specify the tenant ID

prowler m365 --browser-auth --tenant-id "{{XXXXXXXX}}"

Run a specific Microsoft 365 check

prowler m365 {{[-c|--checks]}} {{etcd_enm365_onedrive_sharing_enabledcryption}}

Context

tldr-pages: common/prowler m365

Revisions (0)

No revisions yet.