ByCloud Docs
GuidesCLIAPISDK

List security groups

bycloud networking security-groups list [flags]

List all security groups in the current project

Options

--limit

integeroptional

Maximum number of items to return

Default: 20

--marker

stringoptional

ID of the last item from the previous page (for pagination)

--name

stringoptional

Filter by name (exact match or prefix with *)

--output

(-o)

stringoptional

Output format: text, json, or yaml

Values: "text", "json", "yaml"

Default: "text"

--tags

stringoptional

Filter by tags (comma-separated)

Command

bycloud networking security-groups list

Output

ID CRN NAME DESCRIPTION SECURITY_GROUP_RULES[0].ID
550e8400-e29b-41d4-a716-446655 crn:spo1:network:security-grou web-servers Security group for web servers 550e8400-e29b-41d4-a716-446655
550e8400-e29b-41d4-a716-446655 crn:spo1:network:security-grou web-servers Security group for web servers 550e8400-e29b-41d4-a716-446655