turbot/steampipe-mod-azure-compliance

Control: 6.2.4 Ensure that a multifactor authentication policy exists for all users

Description

A Conditional Access policy can be enabled to ensure that users are required to use Multifactor Authentication (MFA) to login.

Note: Since 2024, Azure has been rolling out mandatory multifactor authentication. For more information:

Multifactor authentication is strongly recommended to increase the confidence that a claimed identity can be proven to be the subject of the identity. This results in a stronger authentication chain and reduced likelihood of exploitation.

Remediation

From Azure Portal

  1. From Azure Home open Portal menu in the top left, and select Microsoft Entra ID.
  2. Select Security.
  3. Select Conditional Access.
  4. Select Policies.
  5. Click + New policy.
  6. Enter a name for the policy.
  7. Click the blue text under Users.
  8. Under Include, select All users.
  9. Under Exclude, check Users and groups.
  10. Select users this policy should not apply to and click Select.
  11. Click the blue text under Target resources.
  12. Select All cloud apps.
  13. Click the blue text under Grant.
  14. Under Grant access, check Require multifactor authentication and click Select.
  15. Set Enable policy to Report-only.
  16. Click Create.

After testing the policy in report-only mode, update the Enable policy setting from Report-only to On.

Default Value

Starting October 2024, MFA will be required for all accounts by default.

Usage

Run the control in your terminal:

powerpipe control run azure_compliance.control.cis_v400_6_2_4

Snapshot and share results via Turbot Pipes:

powerpipe login
powerpipe control run azure_compliance.control.cis_v400_6_2_4 --share

SQL

This control uses a named query:

select
id as resource,
'info' as status,
'Manual verification required.' as reason,
display_name as subscription
from
azure_subscription;

Tags