turbot/steampipe-mod-ibm-compliance

Control: 1.9 Ensure multi-factor authentication (MFA) is enabled at the account level

Description

Requires users to provide multiple factors of login credentials to authenticate their identity and gain access to IBM Cloud resources.

Remediation

From Console

  1. Log in to IBM Cloud.
  2. From the Menubar, click Manage > Access (IAM).
  3. Click Settings > Account login.
  4. Click Edit for the Account login setting.
  5. Select None, Non-federated users only, or All users depending on which type of authentication you want to require.
  6. Select the checkbox to confirm that you understand the impact of requiring MFA for users in your account, if you select the non-federated users only option.
  7. Click Update.

Usage

Run the control in your terminal:

powerpipe control run ibm_compliance.control.cis_v100_1_9

Snapshot and share results via Turbot Pipes:

powerpipe login
powerpipe control run ibm_compliance.control.cis_v100_1_9 --share

SQL

This control uses a named query:

select
account_id as resource,
case
when mfa = 'NONE' then 'alarm'
else 'ok'
end as status,
case
when mfa = 'NONE' then 'MFA not enabled for all users in account.'
else 'MFA enabled for all users in account.'
end as reason,
account_id
from
ibm_iam_account_settings;

Tags