1.2.1 (L2) Ensure 'AllowedExtensions' is configured

Information

This policy setting configures a list of extension selectors that determine which extensions are allowed or blocked.

The recommended state for this setting is: Enabled with a list of allowed extensions.

Allowing users to install any extension may result in unintended information disclosure to third parties, or the installation of malware.

Solution

To establish the recommended configuration via GP, set the following UI path to Enabled along with a JSON string defining the approved extensions:

Computer Configuration\Policies\Administrative Templates\Visual Studio Code\Extensions\AllowedExtensions

Note : This Group Policy path may not exist by default. It is provided by the Group Policy template VScode.admx, which is available in the VS Code installation directory under the policies folder.

Impact:

IT administrators will need to maintain the list of allow-listed extensions. Depending on individual end-user needs, it may not be practical to allow specific extensions. Allowing by publisher may be more practical.

See Also

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

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-10

Plugin: Windows

Control ID: cfc007f1bb55cccdf3c1e9902b23c0dc16475bd52210a30961cc0ce85bafd94e