Huddle01 Cloud
CLISecurity Groups

hudl sg get <id>

Show a security group and all of its rules.

Show a security group and all of its rules. Useful for auditing which ports and protocols are currently allowed.

Usage

hudl sg get <id> [flags]

Common flags

FlagDescription
--region <code>Override the active region for this call only.
--workspace <slug>Override the active workspace for this call only.
-o, --outputOutput format: table (default), json, yaml, wide, name.

Examples

View a security group and its rules:

hudl sg get 4f2a8c1b-7d3e-4a9f-b5c6-2d1e3f4a5b6c

Output as JSON for scripting:

hudl sg get 4f2a8c1b-7d3e-4a9f-b5c6-2d1e3f4a5b6c -o json

API reference

This command calls GET /security-groups/{id} under the hood. See the full request and response schema in the API reference.