Skip to content

orca security-group — security-group

Manage security groups.


cleanup

Find security groups not attached to any port.

orca security-group cleanup [OPTIONS]
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

orca security-group clone [OPTIONS]
Option Description
--description TEXT Description for the new group.
--help Show this message and exit.

create

Create a security group.

orca security-group create [OPTIONS]
Option Description
--description TEXT Description.
--help Show this message and exit.

delete

Delete a security group.

orca security-group delete [OPTIONS]
Option Description
-y, --yes Skip confirmation.
--help Show this message and exit.

list

List security groups.

orca security-group list [OPTIONS]
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.

orca security-group rule-add [OPTIONS]
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.

orca security-group rule-delete [OPTIONS]
Option Description
-y, --yes Skip confirmation.
--help Show this message and exit.

show

Show security group details and rules.

orca security-group show [OPTIONS]
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.

orca security-group update [OPTIONS]
Option Description
--name TEXT New name.
--description TEXT New description.
--help Show this message and exit.