9.1.5 (L2) Ensure 'Interact with and share R and Python' visuals is 'Disabled'

Information

Power BI allows the integration of R and Python scripts directly into visuals. This feature allows data visualizations by incorporating custom calculations, statistical analyses, machine learning models, and more using R or Python scripts. Custom visuals can be created by embedding them directly into Power BI reports. Users can then interact with these visuals and see the results of the custom code within the Power BI interface.

Disabling this feature can reduce the attack surface by preventing potential malicious code execution leading to data breaches, or unauthorized access. The potential for sensitive or confidential data being leaked to unintended users is also increased with the use of scripts.

NOTE: Nessus has not performed this check. Please review the benchmark to ensure target compliance.

Solution

To remediate using the UI:

- Navigate to Microsoft Fabric

https://app.powerbi.com/admin-portal

- Select Tenant settings
- Scroll to R and Python visuals settings
- Set Interact with and share R and Python visuals to Disabled

Impact:

Use of R and Python scripting will require exceptions for developers, along with more stringent code review.

See Also

https://workbench.cisecurity.org/benchmarks/17682

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-6, 800-53|CM-7

Plugin: microsoft_azure

Control ID: d87a3f931ae593bcc334e93fd447fadd563d7d65710b527429fb921c8a34477f