AWS Security ChangesHomeSearch

AWS amazonq documentation change

Service: amazonq · 2025-05-19 · Documentation medium

File: amazonq/latest/qdeveloper-ug/command-line-chat.md

Summary

Removed detailed documentation about chat commands, tool permissions management, and conversation summarization features. Deleted sections included security warnings about '/tools trustall' and granular permission controls for system access.

Security assessment

The removed content included security-related guidance about tool permissions and warnings about risky commands like '/tools trustall'. While this impacts security awareness, the change itself removes documentation rather than addressing a specific vulnerability. The deletion reduces transparency about security controls but doesn't directly fix or introduce a security issue.

Diff

diff --git a/amazonq/latest/qdeveloper-ug/command-line-chat.md b/amazonq/latest/qdeveloper-ug/command-line-chat.md
index e7c00c6e7..00a8d8290 100644
--- a//amazonq/latest/qdeveloper-ug/command-line-chat.md
+++ b//amazonq/latest/qdeveloper-ug/command-line-chat.md
@@ -5 +5 @@
-Starting a chat sessionChat commandsManaging tool permissionsSummarizing conversations
+Starting a chat session
@@ -22,120 +21,0 @@ To exit the chat session, type `/quit` or press **Ctrl** **+D** .
-## Chat commands
-
-Amazon Q supports several commands that you can use during a chat session. These commands start with a forward slash (`/`).
-
-Chat commands Command | Description  
----|---  
-`/prompts` | Lists all available prompts  
-`/usage` | Displays an estimate of the context window usage  
-`!` | Executes a shell command from inside an Amazon Q CLI session  
-`ctrl-j` | Allows multi-line input  
-`ctrl-k` | Fuzzy search  
-`/editor` | Uses the configured editor to compose prompts  
-`/help` | Displays a list of available commands  
-`/issue` | Reports an issue or make a feature request  
-`/quit` | Exits the chat session  
-`/clear` | Clears the chat history from the current session  
-`/reset` | Resets the conversation context, clearing all previous messages  
-`/tools` | Manages tools and permissions for tools that Amazon Q can use  
-`/acceptall` | Deprecated. Disables confirmation prompts when Amazon Q performs actions on your system  
-`/profile` | Manages Q profiles for Q Developer commands  
-`/context` | Manages the context information available to Amazon Q  
-`/compact` | Compacts the conversation history and shows the output of the compacted conversation history  
-  
-## Managing tool permissions
-
-You can use the `/tools` command to manage permissions for tools that Amazon Q uses to perform actions on your system. This provides granular control over what actions Amazon Q can perform.
-
-Tools commands Command | Description  
----|---  
-`help` | Shows help related to tools.  
-`trust` | Trusts a specific tool for the session.  
-`untrust` | Reverts a tool to per-request confirmation.  
-`trustall` | Trusts all tools (equivalent to deprecated /acceptall).  
-`reset` | Resets all tools to default permission levels.  
-  
-To view the current permission settings for all tools:
-    
-    
-    $ q chat
-    Amazon Q> /tools
-
-This displays a list of all available tools and their current permission status (trusted or per-request).
-
-Tool permissions have two possible states:
-
-  * _Trusted_ : Amazon Q can use the tool without asking for confirmation each time.
-
-  * _Per-request_ : Amazon Q must ask for your confirmation each time before using the tool.
-
-
-
-
-To trust or untrust a specific tool for the current session:
-    
-    
-    Amazon Q> /tools trust fs_read
-    Amazon Q> /tools untrust execute_bash
-
-![](/images/amazonq/latest/qdeveloper-ug/images/q_cli_tools_trust_untrust.png)
-
-You can also trust all tools at once with `/tools trustall`(equivalent to the deprecated `/acceptall` command):
-    
-    
-    Amazon Q> /tools trustall
-
-###### Warning
-
-Using `/tools trustall` carries risks. For more information, see [Understanding security risks](./command-line-chat-security.html#command-line-chat-security-risks).
-
-![](/images/amazonq/latest/qdeveloper-ug/images/q_cli_tools_trustall.png)
-
-The following image shows the status of the CLI tools when they are all in their default trust status.
-
-![](/images/amazonq/latest/qdeveloper-ug/images/q_cli_tools_trustall_all_trusted2.png)
-
-The following tools are natively available for Amazon Q to use:
-
-Available tools Tool | Description  
----|---  
-`fs_read` | Reads files and directories on your system.  
-`fs_write` | Creates and modifies files on your system.  
-`execute_bash` | Executes bash commands on your system.  
-`use_aws` | Makes AWS CLI calls to interact with AWS services.  
-`report_issue` | Opens a browser to report an issue with the chat to AWS.  
-  
-When Amazon Q attempts to use a tool that doesn't have explicit permission, it will ask for your approval before proceeding. You can choose to allow or deny the action, or trust the tool for the remainder of your session.
-
-Each tool has a default trust behavior. `fs_read` is the only tool that is trusted by default.
-
-Here are some examples of when to use different permission levels:
-
-  * _Trust fs_read_ : When you want Amazon Q to read files without confirmation, such as when exploring a codebase.
-
-  * _Trust fs_write_ : When you're actively working on a project and want Amazon Q to help you create or modify files.
-
-  * _Untrust execute_bash_ : When working in sensitive environments where you want to review all commands before execution.
-
-  * _Untrust use_aws_ : When working with production AWS resources to prevent unintended changes.
-
-
-
-
-When Amazon Q uses a tool, it shows you the trust permission being used.
-
-![](/images/amazonq/latest/qdeveloper-ug/images/q_cli_tools_show_trust_used.png)
-
-You can also specify trust permissions as part of starting a `q chat` session.
-
-![](/images/amazonq/latest/qdeveloper-ug/images/q_cli_tools_specify_trust_start.png)
-
-## Summarizing conversations
-
-The `/compact` command compacts the conversation history and shows the output of the compacted conversation history.
-
-When the length of characters in your conversation history approaches the limit, Amazon Q provides a warning message, indicating that you should `/compact` your conversation history
-
-![](/images/amazonq/latest/qdeveloper-ug/images/compact_rust_1.png)
-
-![](/images/amazonq/latest/qdeveloper-ug/images/compact_rust_2.png)
-
@@ -150 +30 @@ For remote use
-Security considerations
+Commands