This file is indexed.

/usr/lib/ruby/vendor_ruby/chef_zero/endpoints/organization_users_endpoint.rb is in chef-zero 3.1.3-1.

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

module ChefZero
  module Endpoints
    # /organizations/ORG/users
    class OrganizationUsersEndpoint < RestBase
      def get(request)
        result = list_data(request).map { |username| { "user" => { "username" => username } } }
        json_response(200, result)
      end
    end
  end
end