Benchmark: Active Directory
Description
This section contains recommendations for configuring Active Directory resources.
Usage
Install the mod:
mkdir dashboardscd dashboardspowerpipe mod initpowerpipe mod install github.com/turbot/steampipe-mod-azure-compliance
Start the Powerpipe server:
steampipe service startpowerpipe server
Open http://localhost:9033 in your browser and select Active Directory.
Run this benchmark in your terminal:
powerpipe benchmark run azure_compliance.benchmark.all_controls_activedirectory
Snapshot and share results via Turbot Pipes:
powerpipe benchmark run azure_compliance.benchmark.all_controls_activedirectory --share
Controls
- Ensure guest users are reviewed on a monthly basis
- Ensure Multi-factor Authentication is required for Azure Management
- Blocked accounts with read and write permissions on Azure resources should be removed
- Blocked accounts with owner permissions on Azure resources should be removed
- Guest accounts with owner permissions on Azure resources should be removed
- Guest accounts with read permissions on Azure resources should be removed
- Guest accounts with write permissions on Azure resources should be removed
- Audit usage of custom RBAC roles
- Ensure that no Custom Subscription Administrator roles exist
- A maximum of 3 owners should be designated for your subscription
- There should be more than one owner assigned to your subscription
- Subscriptions with custom roles should not be overly permissive
- IAM users should not have built in contributor role
- Ensure that 'Users can create security groups in Azure portals, API or PowerShell' is set to 'No'
- Ensure that 'Users Can Create Tenants' is set to 'No'
- Ensure that 'Users Can Register Applications' is set to 'No'