turbot/azure_compliance

Control: 1.11 Ensure 'User consent for applications' Is Set To 'Allow for Verified Publishers'

Description

Allow users to provide consent for selected permissions when a request is coming from a verified publisher.

If Microsoft Entra ID is running as an identity provider for third-party applications, permissions and consent should be limited to administrators or pre-approved. Malicious applications may attempt to exfiltrate data or abuse privileged user accounts.

Remediation

From Azure Portal

  1. From Azure Home select the Portal Menu.
  2. Select Microsoft Entra ID.
  3. Select Enterprise Applications.
  4. Select Consent and permissions.
  5. Select User consent settings.
  6. Under User consent for applications, select Allow user consent for apps from verified publishers, for selected permissions.
  7. Select Save.

From PowerShell

Connect-MsolService
Set-MsolCompanyInformation --UsersPermissionToUserConsentToAppEnabled $False

Default Value

By default, User consent for applications is set to Allow user consent for apps.

Usage

Run the control in your terminal:

powerpipe control run azure_compliance.control.cis_v210_1_11

Snapshot and share results via Turbot Pipes:

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

SQL

This control uses a named query:

ad_manual_control

Tags