Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 2 additions & 6 deletions docs/toolhive/guides-cli/custom-permissions.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,6 @@ Profiles include the following sections:
period (e.g., `.github.com` allows any subdomain of `github.com`).
Wildcards are not supported.
- `allow_port`: List of allowed ports for outbound connections.
- `allow_transport`: List of allowed transport protocols (e.g., `tcp`,
`udp`).

## Default permissions in the ToolHive registry

Expand Down Expand Up @@ -129,7 +127,6 @@ For example:
"network": {
"outbound": {
"insecure_allow_all": false,
"allow_transport": ["tcp", "udp"],
"allow_host": ["localhost", ".google.com"],
"allow_port": [80, 443]
}
Expand All @@ -142,8 +139,8 @@ This profile:
- Allows read-only access to `/example/path1` and `/example/path2`
- Allows read and write access to `/example/path3` (note that the `write`
setting also implies read access)
- Allows outbound TCP or UDP connections to `localhost` and `google.com`
(including subdomains) on ports 80 and 443
- Allows outbound connections to `localhost` and `google.com` (including
subdomains) on ports 80 and 443

## Apply a permission profile

Expand Down Expand Up @@ -312,7 +309,6 @@ Enterprise instance:
"network": {
"outbound": {
"insecure_allow_all": false,
"allow_transport": ["tcp"],
"allow_host": ["github.example.com"],
"allow_port": [443]
}
Expand Down
Loading