Summary
Currently remote sg list shows security groups but there's no way to inspect the rules of a given security group. We need a command to view inbound/outbound rules for a specific SG.
Proposed
Add remote sg inspect <sg-id> (or remote sg rules <sg-id>) that displays:
- Inbound rules (protocol, port range, source)
- Outbound rules (protocol, port range, destination)
Motivation
When managing EC2 instances, it's common to need to check which ports are open and to what CIDRs. Currently this requires going to the AWS console or using aws ec2 describe-security-groups directly.
Summary
Currently
remote sg listshows security groups but there's no way to inspect the rules of a given security group. We need a command to view inbound/outbound rules for a specific SG.Proposed
Add
remote sg inspect <sg-id>(orremote sg rules <sg-id>) that displays:Motivation
When managing EC2 instances, it's common to need to check which ports are open and to what CIDRs. Currently this requires going to the AWS console or using
aws ec2 describe-security-groupsdirectly.