link_firewall_resource
Привязывает ресурс (сейчас только сервер) к группе правил firewall. После привязки правила группы начинают действовать на ресурс.
This record as markdown: /tools/timeweb-mcp/link-firewall-resource.md
What link_firewall_resource does on Timeweb
AI agents use link_firewall_resource to create or update resources in Timeweb, usually the action step of a workflow, after the agent has gathered context. Every call changes real data in your Timeweb environment.
| Parameter | Type | Required | Description |
|---|---|---|---|
group_id | string | Yes | ОБЯЗАТЕЛЬНОЕ ПОЛЕ - ID группы правил firewall |
resource_id | string | Yes | ОБЯЗАТЕЛЬНОЕ ПОЛЕ - ID ресурса (например, ID сервера) |
resource_type | string | — | Тип ресурса. По умолчанию: server |
Parameters from the server's own tool schema.
Why link_firewall_resource is rated Medium
This tool links a server to a firewall rule group, causing those rules to take effect on the resource. It creates an association (reversible write operation), but misuse could expose or restrict network access to servers — hence high severity. It does not delete or irreversibly destroy data, placing it in Write rather than Destructive.
From the tool's definition Привязывает ресурс (сейчас только сервер) к группе правил firewall. После привязки правила группы начинают действовать на ресурс.
Attacks that exploit this kind of access
The rule that runs link_firewall_resource safely
PolicyLayer is an MCP gateway: it sits between your AI agents and Timeweb, and checks every tool call against a rule you set before the call runs. Nothing changes on the server itself. For link_firewall_resource, this is the rule to start with:
link_firewall_resource stays usable, but capped: an agent stuck in a loop can't make hundreds of changes a minute. Everything else on the server is denied unless you say otherwise.
The button opens the PolicyLayer dashboard: create your workspace, connect Timeweb, apply this rule, and every link_firewall_resource call is checked against it from then on.
Questions about link_firewall_resource
Привязывает ресурс (сейчас только сервер) к группе правил firewall. После привязки правила группы начинают действовать на ресурс. It is categorised as a Write tool in the Timeweb MCP Server, which means it can create or modify data. Consider rate limits to prevent runaway writes.
link_firewall_resource accepts 3 parameters: group_id, resource_id, resource_type. Required: group_id, resource_id. The full parameter table on this page comes from the server's own tool schema.
Register the Timeweb MCP server in PolicyLayer and add a rule for link_firewall_resource: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Timeweb. Nothing to install.
link_firewall_resource is a Write tool with medium risk. Write tools should be rate-limited to prevent accidental bulk modifications.
Yes. Add a rate_limit block to the link_firewall_resource rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.
Set action: deny in the PolicyLayer policy for link_firewall_resource. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.
link_firewall_resource is provided by the Timeweb MCP server (timeweb-mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
More on Timeweb, and thousands of servers like it.
This server
Across the catalogue