This file is indexed.

/usr/lib/ruby/vendor_ruby/chef_zero/endpoints/version_endpoint.rb is in chef-zero 4.5.0-2.

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
require 'chef_zero/rest_base'

module ChefZero
  module Endpoints
    # /version
    class VersionEndpoint < RestBase
      def get(request)
        text_response(200, "chef-zero #{ChefZero::VERSION}\n")
      end
    end
  end
end