To display the details of a security group, use the openstack security group show command, as shown here:
openstack security group show <group>
Either the name or the ID of the security group can be specified. The output returned includes the description, ID, name, associated project ID, and the individual rules within the security group.