I'm hoping there is a solution for this that I just haven't been able to find in my searches, but here is my problem.
I want to scan my security groups and identify any CIDRs that are overlapping. For example, if I have 1.2.3.4/32 and 1.2.3.0/24 I want to identify both of those, because the /32 is obviously a part of the /24. If I had 1.2.3.4/6,7,8,9 I would want to identify those as well as they are all part of the /24.
If this were a couple of security groups I could perform manually but I'm having to run this exercise on 100s of security groups with hundreds of rules.