This file is indexed.

/usr/lib/ruby/vendor_ruby/chef_zero/endpoints/not_found_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
require 'ffi_yajl'

module ChefZero
  module Endpoints
    class NotFoundEndpoint
      def call(request)
        return [404, {"Content-Type" => "application/json"}, FFI_Yajl::Encoder.encode({"error" => ["Object not found: #{request.env['REQUEST_PATH']}"]}, :pretty => true)]
      end
    end
  end
end