1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-31 18:35:30 +02:00
tldr/pages/common/prowler-m365.md

30 lines
868 B
Markdown
Raw Normal View History

# 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/projects/prowler-open-source/en/latest/>.
- 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}}`