1.1.2 (L1) Ensure 'ChatToolsAutoApprove' is set to 'Disabled'

Information

This policy setting controls auto-approval for agent mode chat tools.

The recommended state for this setting is: Disabled.

Automatic activation of agent mode tools may result in inadvertent disclosure of sensitive data to third-party servers backing the chat tool or unexpected modification to project files.

Solution

To establish the recommended configuration via GP, set the following UI path to Disabled :

Computer Configuration\Policies\Administrative Templates\Visual Studio Code\Chat\ChatToolsAutoApprove

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:

Users will need to manually approve agent mode before it can be used.

See Also

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

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-7b.

Plugin: Windows

Control ID: e6afbc0e0dcfdcc344f02d3f4bdea8e5bb0816820a1d4ea4b405749155f531e1