This file is indexed.

/usr/lib/ruby/vendor_ruby/serverspec/type/iis_app_pool.rb is in ruby-serverspec 2.37.2-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
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
module Serverspec::Type
  class IisAppPool < Base
    def exists?()
      @runner.check_iis_app_pool_exists(@name)
    end

    def has_dotnet_version?(dotnet)
      @runner.check_iis_app_pool_has_dotnet_version(@name, dotnet)
    end

    def has_32bit_enabled?()
      @runner.check_iis_app_pool_has_32bit_enabled(@name)
    end

    def has_idle_timeout?(minutes)
      @runner.check_iis_app_pool_has_idle_timeout(@name, minutes)
    end

    def has_identity_type?(identity_type)
      @runner.check_iis_app_pool_has_identity_type(@name, identity_type)
    end

    def has_periodic_restart?(minutes)
      @runner.check_iis_app_pool_has_periodic_restart(@name, minutes)
    end

    def has_user_profile_enabled?()
      @runner.check_iis_app_pool_has_user_profile(@name)
    end

    def has_username?(username)
      @runner.check_iis_app_pool_has_username(@name, username)
    end

    def has_managed_pipeline_mode?(mode)
      @runner.check_iis_app_pool_has_managed_pipeline_mode(@name, mode)
    end

    def to_s
      %Q[IIS Application Pool "#{@name}"]
    end
  end
end