turbot/steampipe-mod-azure-compliance

Control: 6.9 Ensure that 'Number of days before users are asked to re-confirm their authentication information' is not set to '0'

Description

Ensure that the number of days before users are asked to re-confirm their authentication information is not set to 0.

This setting is necessary if 'Require users to register when signing in' is enabled. If authentication re-confirmation is disabled, registered users will never be prompted to re-confirm their existing authentication information. If the authentication information for a user changes, such as a phone number or email, then the password reset information for that user reverts to the previously registered authentication information.

Remediation

From Azure Portal

  1. From Azure Home select the Portal Menu.
  2. Select Microsoft Entra ID.
  3. Under Manage, select Users.
  4. Select Password reset.
  5. Under Manage, select Registration.
  6. Set the Number of days before users are asked to re-confirm their authentication information to your organization-defined frequency.
  7. Click Save.

Default Value

By default, the Number of days before users are asked to re-confirm their authentication information is set to "180 days".

Usage

Run the control in your terminal:

powerpipe control run azure_compliance.control.cis_v400_6_9

Snapshot and share results via Turbot Pipes:

powerpipe login
powerpipe control run azure_compliance.control.cis_v400_6_9 --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