turbot/azure_compliance

Control: 1.19 Ensure that 'Users can create security groups in Azure portals, API or PowerShell' is set to 'No'

Description

Restrict security group creation to administrators only.

When creating security groups is enabled, all users in the directory are allowed to create new security groups and add members to those groups. Unless a business requires this day-to-day delegation, security group creation should be restricted to administrators only.

Remediation

From Azure Portal

  1. From Azure Home select the Portal Menu
  2. Select Azure Active Directory
  3. Then Groups
  4. Select General in setting
  5. Set Users can create security groups in Azure portals, API or PowerShell to No

Please note that at this point of time, there is no Azure CLI or other API commands available to programmatically conduct security configuration for this recommendation

Default Value

By default, Users can create security groups in Azure portals, API or PowerShell is set to Yes.

Usage

Run the control in your terminal:

powerpipe control run azure_compliance.control.cis_v150_1_19

Snapshot and share results via Turbot Pipes:

powerpipe login
powerpipe control run azure_compliance.control.cis_v150_1_19 --share

SQL

This control uses a named query:

iam_user_not_allowed_to_create_security_group

Tags