module Awspec::Helper::Finder::Cloudtrail
Public Instance Methods
Source
# File lib/awspec/helper/finder/cloudtrail.rb, line 10 def find_trail(id) ret = cloudtrail_client.describe_trails.trail_list.find do |trail| trail.name == id end end
Source
# File lib/awspec/helper/finder/cloudtrail.rb, line 16 def get_trail_status(id) cloudtrail_client.get_trail_status(name: id) end
Source
# File lib/awspec/helper/finder/cloudtrail.rb, line 26 def is_logging?(id) ret = get_trail_status(id).is_logging end
Source
# File lib/awspec/helper/finder/cloudtrail.rb, line 6 def select_all_trails cloudtrail_client.describe_trails.trail_list end