lib/aws_recon/collectors/cloudtrail.rb in aws_recon-0.2.14 vs lib/aws_recon/collectors/cloudtrail.rb in aws_recon-0.2.15

- old
+ new

@@ -19,9 +19,10 @@ end struct = OpenStruct.new(trail.to_h) struct.tags = client.list_tags({ resource_id_list: [trail.trail_arn] }).resource_tag_list.first.tags_list struct.type = 'cloud_trail' + struct.event_selectors = client.get_event_selectors({ trail_name: trail.name }).to_h struct.status = client.get_trail_status({ name: trail.name }).to_h struct.arn = trail.trail_arn resources.push(struct.to_h) end