aws ec2 describe-stale-security-groups
Describes the stale security group rules for security groups referenced across a VPC peering connection, transit gateway connection, or with a security group VPC association. AWS CLI reference
4 options Its page in the AWS CLI reference
Options
--dry-runChecks whether you have the required permissions for the action, without actually making the request, and provides an error response.--max-resultsThe maximum number of items to return for this request.--next-tokenThe token returned from a previous paginated request.--vpc-idThe ID of the VPC.