Visual Studio Code
TMA-VSCODE-1.2.1
Ensure 'AllowedExtensions' is configured
說明
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.
檢查方式
稽核方法: 人工審核
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