turbot/azure_compliance

Control: 1.11 Ensure That ‘Users Can Consent to Apps Accessing Company Data on Their Behalf’ 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.

Unless Azure Active Directory is running as an identity provider for third-party applications, do not allow users to use their identity outside of the cloud environment. User profiles contain private information such as phone numbers and email addresses which could then be sold off to other third parties without requiring any further consent from the user.

Remediation

From Azure Portal

  1. From Azure Home select the Portal Menu
  2. Select Azure Active Directory
  3. Then Users
  4. Select User settings
  5. Then Manage how end users launch and view their applications
  6. Under the Enterprise applications heading, set Users can consent to apps accessing company data on their behalf 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.

From PowerShell

Connect-MsolService
Set-MsolCompanyInformation --UsersPermissionToUserConsentToAppEnabled $False

Default Value

By default, Users can consent to apps accessing company data on their behalf is set to Yes.

Usage

Run the control in your terminal:

powerpipe control run azure_compliance.control.cis_v150_1_11

Snapshot and share results via Turbot Pipes:

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

SQL

This control uses a named query:

ad_manual_control

Tags