standard
turbot/azure_cis

Pipeline: 2.2.4 Ensure that A Multi-factor Authentication Policy Exists for Administrative Groups

Description

For designated users, they will be prompted to use their multi-factor authentication (MFA) process on login.

Enabling multi-factor authentication is a recommended setting to limit the use of Administrative accounts to authenticated personnel.

Remediation

From Azure Portal

  1. From Azure Home open the Portal Menu in 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. Select Select users and groups.
  9. Select administrative groups this policy should apply to and click Select.
  10. Under Exclude, check Users and groups.
  11. Select users this policy not should apply to and click Select.
  12. Click the blue text under Target resources.
  13. Select All cloud apps.
  14. Click the blue text under Grant.
  15. Under Grant access, check Require multifactor authentication and click Select.
  16. Set Enable policy to Report-only.
  17. 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.

Run the pipeline

To run this pipeline from your terminal:

flowpipe pipeline run azure_cis.pipeline.cis_v300_2_2_4

Use this pipeline

To call this pipeline from your pipeline, use a step:

step "pipeline" "step_name" {
pipeline = azure_cis.pipeline.cis_v300_2_2_4
}

Params

NameTypeRequiredDescriptionDefault
database
connection.steampipe
YesDatabase connection string.connection.steampipe.default
notifier
notifier
YesThe name of the notifier to use for sending notification messages.notifier.default
notification_level
string
YesThe verbosity level of notification messages to send. Valid options are 'verbose', 'info', 'error'.info
approvers
list(notifier)
YesList of notifiers to be used for obtaining action/approval decisions.notifier.default

Outputs

This pipeline has no outputs.

Tags

folder = CIS v3.0.0/2 Identity/2.2 Conditional Access