arvan_create_security_rule
Add a rule to a security group with direction (ingress/egress), protocol, port range, and source/destination CIDRs.
Instructions
Add a rule to a security group.
Args:
group_id: Target security-group id.
direction: ingress (inbound) or egress (outbound).
protocol: tcp, udp, icmp … (omit for any).
port_from / port_to: Port range (as strings).
ips: Source/destination CIDRs, e.g. ["0.0.0.0/0"].
description: Optional description.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| group_id | Yes | ||
| direction | Yes | ||
| region | No | ||
| protocol | No | ||
| port_from | No | ||
| port_to | No | ||
| ips | No | ||
| description | No |