TMAegisBeta
更多 vscode 规则

Visual Studio Code

TMA-VSCODE-1.2.1

Ensure 'AllowedExtensions' is configured

中级别 2人工审核vscode

说明

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. Rationale: Allowing users to install any extension may result in unintended information disclosure to third parties, or the installation of malware. The benchmark marks this recommendation Manual (organisation-specific value or not reliably checkable), so it is reported as SKIP with review steps.

检查方式

审计方法: 人工审核

此项建议无法自动检查。当您传入 --include-manual 时,扫描结果会列出该项并附带这些说明。

Confirm via Group Policy (gpresult /h or the GPMC) that Computer Configuration\Policies\Administrative Templates\Visual Studio Code\Extensions\AllowedExtensions is configured as the title requires. This group policy setting is backed by the following registry location with a REG_SZ value containing a JSON string. Registry: HKLM\SOFTWARE\Policies\Microsoft\VSCode:AllowedExtensions

修复方式

修复方法: 操作指南或基础设施补丁

Configure through Group Policy: Computer Configuration\Policies\Administrative Templates\Visual Studio Code\Extensions\AllowedExtensions = Enabled along with a JSON string defining the approved extensions

属性

操作系统
任意
标签
vscodedeveloper-toolscis-l2manual
参考
CIS Visual Studio Code GPO Benchmark v1.0.0 - 1.2.1 Ensure 'AllowedExtensions' is configured