Control: 1.11 Ensure contact phone number is valid
Description
A valid phone number should be on record with IBM Cloud in the event that IBM needs to contact you regarding your IBM Cloud account.
Remediation
From Console
- Log in to IBM Cloud.
- Click Avatar icon > Profile.
- Click the Edit link in the Contact information section
- Update your Primary and Alternate phone numbers.
Usage
Run the control in your terminal:
powerpipe control run ibm_compliance.control.cis_v100_1_11
Snapshot and share results via Turbot Pipes:
powerpipe loginpowerpipe control run ibm_compliance.control.cis_v100_1_11 --share
SQL
This control uses a named query:
select iam_id as resource, case when phonenumber is not null and alt_phonenumber != '' then 'ok' else 'alarm' end as status, case when phonenumber is not null and alt_phonenumber != '' then first_name || ' ' || last_name || ' has phone number configured.' else first_name || ' ' || last_name || ' has no phone number configured.' end as reason, account_idfrom ibm_iam_user;