turbot/steampipe-mod-azure-compliance

Control: 5.3.7 Ensure all non-privileged role assignments are periodically reviewed

Description

Perform a periodic review of non-privileged role assignments to ensure that the nonprivileged roles assigned to users are appropriate.

Note: Determining 'appropriate' assignments requires a clear understanding of your organization's personnel, systems, policies, and security requirements. This cannot be effectively prescribed in a procedure.

Remediation

Remediate from Azure Portal

  1. Go to Subscriptions.
  2. Click the name of a subscription.
  3. Click Access control (IAM).
  4. Click Role assignments.
  5. Click Job function roles.
  6. Check the box next to any inappropriate assignments.
  7. Click Delete.
  8. Click Yes.
  9. Repeat steps 1-8 for each subscription

Default Value

Users do not have non-privileged roles assigned to them by default.

Usage

Run the control in your terminal:

powerpipe control run azure_compliance.control.cis_v500_5_3_7

Snapshot and share results via Turbot Pipes:

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