Class: AwsInventory::SecurityGroup::Unused
- Includes:
- Shared
- Defined in:
- lib/aws_inventory/security_group/unused.rb
Instance Method Summary collapse
Methods included from Shared
#unused_security_groups, #used_security_groups
Methods inherited from Base
eager_load!, inherited, #initialize, #report, #show, #sort, subclasses, #test_mode
Methods included from AwsServices
#acm, #cfn, #cw, #eb, #ec2, #ecs, #elbv1, #elbv2, #iam, #pricing, #rds, #route53
Methods included from AwsInventory::Shared
Constructor Details
This class inherits a constructor from AwsInventory::Base
Instance Method Details
#data ⇒ Object
9 10 11 12 13 14 15 16 |
# File 'lib/aws_inventory/security_group/unused.rb', line 9 def data unused_security_groups.map do |sg| [ sg.group_name, sg.group_id ] end end |
#header ⇒ Object
5 6 7 |
# File 'lib/aws_inventory/security_group/unused.rb', line 5 def header ["Security Group Name", "Security Group Id"] end |