This file is indexed.

/usr/lib/ruby/vendor_ruby/AWS/Cloudwatch.rb is in ruby-amazon-ec2 0.9.17-3build1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
module AWS
  module Cloudwatch

    # Which host FQDN will we connect to for all API calls to AWS?
    # If AWS_CLOUDWATCH_URL is defined in the users ENV we can override the default with that.
    #
    # @example
    #   export AWS_CLOUDWATCH_URL='https://montoring.amazonaws.com'
    if ENV['AWS_CLOUDWATCH_URL']
      AWS_CLOUDWATCH_URL = ENV['AWS_CLOUDWATCH_URL']
      DEFAULT_HOST = URI.parse(AWS_CLOUDWATCH_URL).host
    else
      # Default US API endpoint
      DEFAULT_HOST = 'monitoring.amazonaws.com'
    end

    API_VERSION = '2009-05-15'

    class Base < AWS::Base
      def api_version
        API_VERSION
      end

      def default_host
        DEFAULT_HOST
      end
    end

  end
end