orca security-group — security-group¶
Manage security groups.
cleanup¶
Find security groups not attached to any port.
| Option | Description |
|---|---|
-d, --delete |
Actually delete the unused security groups. |
-y, --yes |
Skip confirmation (with --delete). |
--help |
Show this message and exit. |
clone¶
NEW_NAME
| Option | Description |
|---|---|
--description TEXT |
Description for the new group. |
--help |
Show this message and exit. |
create¶
Create a security group.
| Option | Description |
|---|---|
--description TEXT |
Description. |
--help |
Show this message and exit. |
delete¶
Delete a security group.
| Option | Description |
|---|---|
-y, --yes |
Skip confirmation. |
--help |
Show this message and exit. |
list¶
List security groups.
| Option | Description |
|---|---|
--noindent |
Disable JSON indentation. |
--max-width INTEGER |
Maximum table width (0 = unlimited). |
--fit-width |
Fit table to terminal width. |
-c, --column TEXT |
Column to include (repeatable). Shows all if |
-f, --format [table|json|value] |
|
--help |
Show this message and exit. |
rule-add¶
Add a rule to a security group.
| Option | Description |
|---|---|
--direction [ingress|egress] |
[required] |
--protocol TEXT |
Protocol (tcp, udp, icmp, or number). |
--port-min INTEGER |
Min port (or single port). |
--port-max INTEGER |
Max port. Defaults to port-min. |
--remote-ip TEXT |
Remote IP prefix (CIDR). |
--remote-group TEXT |
Remote security group ID. |
--ethertype [IPv4|IPv6] |
[default: IPv4] |
--help |
Show this message and exit. |
rule-delete¶
Delete a security group rule.
| Option | Description |
|---|---|
-y, --yes |
Skip confirmation. |
--help |
Show this message and exit. |
show¶
Show security group details and rules.
| Option | Description |
|---|---|
--noindent |
Disable JSON indentation. |
--max-width INTEGER |
Maximum table width (0 = unlimited). |
--fit-width |
Fit table to terminal width. |
-c, --column TEXT |
Column to include (repeatable). Shows all if |
-f, --format [table|json|value] |
|
--help |
Show this message and exit. |
update¶
Update a security group.
| Option | Description |
|---|---|
--name TEXT |
New name. |
--description TEXT |
New description. |
--help |
Show this message and exit. |