inspec 0.10.1 → 0.11.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (346) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +33 -2
  3. data/Gemfile +6 -0
  4. data/bin/inspec +5 -1
  5. data/docs/dsl_inspec.rst +1 -1
  6. data/docs/resources.rst +39 -2
  7. data/examples/resource/controls/tiny.rb +3 -0
  8. data/examples/resource/inspec.yml +10 -0
  9. data/examples/resource/libraries/tiny.rb +3 -0
  10. data/lib/bundles/inspec-compliance/cli.rb +1 -1
  11. data/lib/bundles/inspec-supermarket/README.md +0 -19
  12. data/lib/bundles/inspec-supermarket/api.rb +46 -22
  13. data/lib/bundles/inspec-supermarket/cli.rb +13 -18
  14. data/lib/bundles/inspec-supermarket/target.rb +6 -23
  15. data/lib/inspec/plugins.rb +4 -4
  16. data/lib/inspec/plugins/cli.rb +4 -4
  17. data/lib/inspec/version.rb +1 -1
  18. data/lib/resources/apache_conf.rb +8 -0
  19. data/lib/resources/auditd_rules.rb +163 -14
  20. data/lib/resources/registry_key.rb +5 -5
  21. data/lib/resources/script.rb +7 -9
  22. data/lib/utils/filter_array.rb +28 -0
  23. data/test/helper.rb +5 -2
  24. data/test/integration/cookbooks/os_prepare/metadata.rb +2 -0
  25. data/test/integration/cookbooks/os_prepare/recipes/auditctl.rb +8 -0
  26. data/test/integration/cookbooks/os_prepare/recipes/default.rb +13 -3
  27. data/test/integration/test/integration/default/apache_conf_spec.rb +15 -0
  28. data/test/integration/test/integration/default/auditd_rules_spec.rb +32 -0
  29. data/test/unit/mock/cmd/auditctl +3 -7
  30. data/test/unit/mock/cmd/auditctl-legacy +7 -0
  31. data/test/unit/mock/cmd/auditctl-s +8 -0
  32. data/test/unit/mock/profiles/resource-tiny/inspec.yml +10 -0
  33. data/test/unit/mock/profiles/resource-tiny/libraries/resource.rb +3 -0
  34. data/test/unit/plugin_test.rb +5 -6
  35. data/test/unit/resources/auditd_rules_test.rb +80 -10
  36. data/test/unit/resources/script_test.rb +5 -1
  37. data/test/unit/utils/filter_array_test.rb +59 -0
  38. data/test/unit/{simpleconfig_test.rb → utils/simpleconfig_test.rb} +0 -0
  39. metadata +25 -542
  40. data/bin/os +0 -23
  41. data/examples/kitchen-ansible/.kitchen/default-ubuntu-1404.yml +0 -6
  42. data/examples/kitchen-ansible/.kitchen/kitchen-vagrant/kitchen-kitchen-ansible-default-ubuntu-1404/.vagrant/machines/default/virtualbox/action_set_name +0 -1
  43. data/examples/kitchen-ansible/.kitchen/kitchen-vagrant/kitchen-kitchen-ansible-default-ubuntu-1404/.vagrant/machines/default/virtualbox/creator_uid +0 -1
  44. data/examples/kitchen-ansible/.kitchen/kitchen-vagrant/kitchen-kitchen-ansible-default-ubuntu-1404/.vagrant/machines/default/virtualbox/id +0 -1
  45. data/examples/kitchen-ansible/.kitchen/kitchen-vagrant/kitchen-kitchen-ansible-default-ubuntu-1404/.vagrant/machines/default/virtualbox/index_uuid +0 -1
  46. data/examples/kitchen-ansible/.kitchen/kitchen-vagrant/kitchen-kitchen-ansible-default-ubuntu-1404/.vagrant/machines/default/virtualbox/private_key +0 -27
  47. data/examples/kitchen-ansible/.kitchen/kitchen-vagrant/kitchen-kitchen-ansible-default-ubuntu-1404/.vagrant/machines/default/virtualbox/synced_folders +0 -1
  48. data/examples/kitchen-ansible/.kitchen/kitchen-vagrant/kitchen-kitchen-ansible-default-ubuntu-1404/Vagrantfile +0 -9
  49. data/examples/kitchen-ansible/.kitchen/logs/default-centos-71.log +0 -0
  50. data/examples/kitchen-ansible/.kitchen/logs/default-ubuntu-1204.log +0 -0
  51. data/examples/kitchen-ansible/.kitchen/logs/default-ubuntu-1404.log +0 -395
  52. data/examples/kitchen-ansible/.kitchen/logs/kitchen.log +0 -3
  53. data/examples/kitchen-ansible/Gemfile.lock +0 -158
  54. data/examples/kitchen-ansible/test/.DS_Store +0 -0
  55. data/examples/kitchen-ansible/test/integration/.DS_Store +0 -0
  56. data/examples/kitchen-azure/.kitchen.yml +0 -30
  57. data/examples/kitchen-azure/.kitchen/default-debian-80-20151022-x86-64.yml +0 -1
  58. data/examples/kitchen-azure/.kitchen/default-ubuntu-1204.yml +0 -9
  59. data/examples/kitchen-azure/.kitchen/logs/default-debian-80-20151022-x86-64.log +0 -59
  60. data/examples/kitchen-azure/.kitchen/logs/default-ubuntu-1204.log +0 -27
  61. data/examples/kitchen-azure/.kitchen/logs/default-windows2012-r2.log +0 -0
  62. data/examples/kitchen-azure/.kitchen/logs/kitchen.log +0 -29
  63. data/examples/kitchen-azure/Berksfile +0 -3
  64. data/examples/kitchen-azure/Gemfile +0 -20
  65. data/examples/kitchen-azure/Gemfile.lock +0 -273
  66. data/examples/kitchen-azure/README.md +0 -14
  67. data/examples/kitchen-azure/credentials.sh +0 -0
  68. data/examples/kitchen-azure/metadata.rb +0 -7
  69. data/examples/kitchen-azure/recipes/default.rb +0 -6
  70. data/examples/kitchen-azure/recipes/nginx.rb +0 -30
  71. data/examples/kitchen-azure/test/integration/default/web_spec.rb +0 -28
  72. data/examples/kitchen-chef/.kitchen/default-ubuntu-1404.yml +0 -6
  73. data/examples/kitchen-chef/.kitchen/kitchen-vagrant/kitchen-kitchen-chef-default-ubuntu-1404/.vagrant/machines/default/virtualbox/action_set_name +0 -1
  74. data/examples/kitchen-chef/.kitchen/kitchen-vagrant/kitchen-kitchen-chef-default-ubuntu-1404/.vagrant/machines/default/virtualbox/creator_uid +0 -1
  75. data/examples/kitchen-chef/.kitchen/kitchen-vagrant/kitchen-kitchen-chef-default-ubuntu-1404/.vagrant/machines/default/virtualbox/id +0 -1
  76. data/examples/kitchen-chef/.kitchen/kitchen-vagrant/kitchen-kitchen-chef-default-ubuntu-1404/.vagrant/machines/default/virtualbox/index_uuid +0 -1
  77. data/examples/kitchen-chef/.kitchen/kitchen-vagrant/kitchen-kitchen-chef-default-ubuntu-1404/.vagrant/machines/default/virtualbox/private_key +0 -27
  78. data/examples/kitchen-chef/.kitchen/kitchen-vagrant/kitchen-kitchen-chef-default-ubuntu-1404/.vagrant/machines/default/virtualbox/synced_folders +0 -1
  79. data/examples/kitchen-chef/.kitchen/kitchen-vagrant/kitchen-kitchen-chef-default-ubuntu-1404/Vagrantfile +0 -9
  80. data/examples/kitchen-chef/.kitchen/logs/default-centos-71.log +0 -0
  81. data/examples/kitchen-chef/.kitchen/logs/default-ubuntu-1204.log +0 -0
  82. data/examples/kitchen-chef/.kitchen/logs/default-ubuntu-1404.log +0 -3
  83. data/examples/kitchen-chef/.kitchen/logs/kitchen.log +0 -3
  84. data/examples/kitchen-chef/Berksfile.lock +0 -11
  85. data/examples/kitchen-chef/Gemfile.lock +0 -226
  86. data/examples/kitchen-chef/test/integration/.DS_Store +0 -0
  87. data/examples/kitchen-puppet/.bundle/config +0 -2
  88. data/examples/kitchen-puppet/.kitchen/default-ubuntu-1404.yml +0 -6
  89. data/examples/kitchen-puppet/.kitchen/kitchen-vagrant/kitchen-kitchen-puppet-default-ubuntu-1404/.vagrant/machines/default/virtualbox/action_set_name +0 -1
  90. data/examples/kitchen-puppet/.kitchen/kitchen-vagrant/kitchen-kitchen-puppet-default-ubuntu-1404/.vagrant/machines/default/virtualbox/creator_uid +0 -1
  91. data/examples/kitchen-puppet/.kitchen/kitchen-vagrant/kitchen-kitchen-puppet-default-ubuntu-1404/.vagrant/machines/default/virtualbox/id +0 -1
  92. data/examples/kitchen-puppet/.kitchen/kitchen-vagrant/kitchen-kitchen-puppet-default-ubuntu-1404/.vagrant/machines/default/virtualbox/index_uuid +0 -1
  93. data/examples/kitchen-puppet/.kitchen/kitchen-vagrant/kitchen-kitchen-puppet-default-ubuntu-1404/.vagrant/machines/default/virtualbox/private_key +0 -27
  94. data/examples/kitchen-puppet/.kitchen/kitchen-vagrant/kitchen-kitchen-puppet-default-ubuntu-1404/.vagrant/machines/default/virtualbox/synced_folders +0 -1
  95. data/examples/kitchen-puppet/.kitchen/kitchen-vagrant/kitchen-kitchen-puppet-default-ubuntu-1404/Vagrantfile +0 -9
  96. data/examples/kitchen-puppet/.kitchen/logs/default-centos-71.log +0 -0
  97. data/examples/kitchen-puppet/.kitchen/logs/default-ubuntu-1204.log +0 -0
  98. data/examples/kitchen-puppet/.kitchen/logs/default-ubuntu-1404.log +0 -305
  99. data/examples/kitchen-puppet/.kitchen/logs/kitchen.log +0 -6
  100. data/examples/kitchen-puppet/.librarian/puppet/config +0 -2
  101. data/examples/kitchen-puppet/Gemfile.lock +0 -175
  102. data/examples/kitchen-puppet/Puppetfile.lock +0 -2
  103. data/examples/kitchen-puppet/test/integration/.DS_Store +0 -0
  104. data/examples/kitchen-puppet/test/integration/default/.DS_Store +0 -0
  105. data/examples/profile/libraries/.DS_Store +0 -0
  106. data/examples/test-kitchen/.kitchen/logs/default-centos-71.log +0 -5
  107. data/examples/test-kitchen/.kitchen/logs/default-ubuntu-1204.log +0 -5
  108. data/examples/test-kitchen/.kitchen/logs/default-ubuntu-1404.log +0 -5
  109. data/examples/test-kitchen/.kitchen/logs/kitchen.log +0 -5
  110. data/examples/test-kitchen/Berksfile.lock +0 -11
  111. data/examples/test-kitchen/Gemfile.lock +0 -233
  112. data/lib/.DS_Store +0 -0
  113. data/lib/bundles/inspec-compliance/TODO.md +0 -4
  114. data/lib/bundles/inspec-supermarket.rb +0 -14
  115. data/lib/bundles/inspec-supermarket/TODO.md +0 -5
  116. data/lib/bundles/inspec-supermarket/cache.rb +0 -30
  117. data/test/chefdk/.gitignore +0 -16
  118. data/test/chefdk/.kitchen.yml +0 -27
  119. data/test/chefdk/Policyfile.rb +0 -16
  120. data/test/chefdk/README.md +0 -4
  121. data/test/chefdk/chefignore +0 -100
  122. data/test/chefdk/metadata.rb +0 -7
  123. data/test/chefdk/recipes/default.rb +0 -5
  124. data/test/chefdk/spec/spec_helper.rb +0 -2
  125. data/test/chefdk/spec/unit/recipes/default_spec.rb +0 -20
  126. data/test/chefdk/test/integration/default/serverspec/default_spec.rb +0 -9
  127. data/test/chefdk/test/integration/helpers/serverspec/spec_helper.rb +0 -8
  128. data/test/integration/.kitchen.chef.yml +0 -29
  129. data/test/integration/.kitchen.shell.yml +0 -19
  130. data/test/integration/.kitchen/default-aws-linux.yml +0 -4
  131. data/test/integration/.kitchen/default-centos-7.yml +0 -4
  132. data/test/integration/.kitchen/default-chef-solaris-1011.yml +0 -6
  133. data/test/integration/.kitchen/default-chef-solaris-113.yml +0 -6
  134. data/test/integration/.kitchen/default-chef-windows-server-2008r2-standard.yml +0 -7
  135. data/test/integration/.kitchen/default-chris-rock-omnios-r151014.yml +0 -6
  136. data/test/integration/.kitchen/default-debian-8.yml +0 -4
  137. data/test/integration/.kitchen/default-debian-81.yml +0 -6
  138. data/test/integration/.kitchen/default-fedora-22.yml +0 -4
  139. data/test/integration/.kitchen/default-omniti-omnios-r151014.yml +0 -1
  140. data/test/integration/.kitchen/default-redhat-65.yml +0 -4
  141. data/test/integration/.kitchen/default-redhat-71.yml +0 -4
  142. data/test/integration/.kitchen/default-suse-11sp3.yml +0 -4
  143. data/test/integration/.kitchen/default-suse-12.yml +0 -4
  144. data/test/integration/.kitchen/default-suse-hi11sp3.yml +0 -4
  145. data/test/integration/.kitchen/default-ubuntu-1204.yml +0 -4
  146. data/test/integration/.kitchen/default-ubuntu-1404.yml +0 -4
  147. data/test/integration/.kitchen/default-ubuntu-1510.yml +0 -4
  148. data/test/integration/.kitchen/default-windows-2008.yml +0 -5
  149. data/test/integration/.kitchen/default-windows-2012.yml +0 -1
  150. data/test/integration/.kitchen/default-windows-2012r2.yml +0 -6
  151. data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-centos-67-i386/Vagrantfile +0 -9
  152. data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-chef-solaris-1011/.vagrant/machines/default/virtualbox/action_set_name +0 -1
  153. data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-chef-solaris-1011/.vagrant/machines/default/virtualbox/creator_uid +0 -1
  154. data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-chef-solaris-1011/.vagrant/machines/default/virtualbox/id +0 -1
  155. data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-chef-solaris-1011/.vagrant/machines/default/virtualbox/index_uuid +0 -1
  156. data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-chef-solaris-1011/.vagrant/machines/default/virtualbox/private_key +0 -27
  157. data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-chef-solaris-1011/.vagrant/machines/default/virtualbox/synced_folders +0 -1
  158. data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-chef-solaris-1011/Vagrantfile +0 -8
  159. data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-chef-solaris-113/.vagrant/machines/default/virtualbox/action_set_name +0 -1
  160. data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-chef-solaris-113/.vagrant/machines/default/virtualbox/creator_uid +0 -1
  161. data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-chef-solaris-113/.vagrant/machines/default/virtualbox/id +0 -1
  162. data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-chef-solaris-113/.vagrant/machines/default/virtualbox/index_uuid +0 -1
  163. data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-chef-solaris-113/.vagrant/machines/default/virtualbox/private_key +0 -27
  164. data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-chef-solaris-113/.vagrant/machines/default/virtualbox/synced_folders +0 -1
  165. data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-chef-solaris-113/Vagrantfile +0 -8
  166. data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-chef-windows-server-2008r2-standard/.vagrant/machines/default/virtualbox/action_set_name +0 -1
  167. data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-chef-windows-server-2008r2-standard/.vagrant/machines/default/virtualbox/creator_uid +0 -1
  168. data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-chef-windows-server-2008r2-standard/.vagrant/machines/default/virtualbox/id +0 -1
  169. data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-chef-windows-server-2008r2-standard/.vagrant/machines/default/virtualbox/index_uuid +0 -1
  170. data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-chef-windows-server-2008r2-standard/.vagrant/machines/default/virtualbox/synced_folders +0 -1
  171. data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-chef-windows-server-2008r2-standard/Vagrantfile +0 -7
  172. data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-chris-rock-omnios-r151014/.vagrant/machines/default/virtualbox/action_set_name +0 -1
  173. data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-chris-rock-omnios-r151014/.vagrant/machines/default/virtualbox/creator_uid +0 -1
  174. data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-chris-rock-omnios-r151014/.vagrant/machines/default/virtualbox/id +0 -1
  175. data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-chris-rock-omnios-r151014/.vagrant/machines/default/virtualbox/index_uuid +0 -1
  176. data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-chris-rock-omnios-r151014/.vagrant/machines/default/virtualbox/private_key +0 -27
  177. data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-chris-rock-omnios-r151014/.vagrant/machines/default/virtualbox/synced_folders +0 -1
  178. data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-chris-rock-omnios-r151014/Vagrantfile +0 -8
  179. data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-debian-81/.vagrant/machines/default/virtualbox/action_set_name +0 -1
  180. data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-debian-81/.vagrant/machines/default/virtualbox/creator_uid +0 -1
  181. data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-debian-81/.vagrant/machines/default/virtualbox/id +0 -1
  182. data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-debian-81/.vagrant/machines/default/virtualbox/index_uuid +0 -1
  183. data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-debian-81/.vagrant/machines/default/virtualbox/private_key +0 -27
  184. data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-debian-81/.vagrant/machines/default/virtualbox/synced_folders +0 -1
  185. data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-debian-81/Vagrantfile +0 -9
  186. data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-modernIE-w10-edge/.vagrant/machines/default/virtualbox/action_set_name +0 -1
  187. data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-modernIE-w10-edge/.vagrant/machines/default/virtualbox/creator_uid +0 -1
  188. data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-modernIE-w10-edge/.vagrant/machines/default/virtualbox/id +0 -1
  189. data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-modernIE-w10-edge/.vagrant/machines/default/virtualbox/index_uuid +0 -1
  190. data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-modernIE-w10-edge/Vagrantfile +0 -8
  191. data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-omniti-omnios-r151014/.vagrant/machines/default/virtualbox/action_set_name +0 -1
  192. data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-omniti-omnios-r151014/.vagrant/machines/default/virtualbox/creator_uid +0 -1
  193. data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-omniti-omnios-r151014/.vagrant/machines/default/virtualbox/id +0 -1
  194. data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-omniti-omnios-r151014/.vagrant/machines/default/virtualbox/index_uuid +0 -1
  195. data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-omniti-omnios-r151014/.vagrant/machines/default/virtualbox/private_key +0 -27
  196. data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-omniti-omnios-r151014/Vagrantfile +0 -8
  197. data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1204/.vagrant/machines/default/virtualbox/action_set_name +0 -1
  198. data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1204/.vagrant/machines/default/virtualbox/creator_uid +0 -1
  199. data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1204/.vagrant/machines/default/virtualbox/id +0 -1
  200. data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1204/.vagrant/machines/default/virtualbox/index_uuid +0 -1
  201. data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1204/.vagrant/machines/default/virtualbox/private_key +0 -27
  202. data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1204/.vagrant/machines/default/virtualbox/synced_folders +0 -1
  203. data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1204/Vagrantfile +0 -9
  204. data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1404/.vagrant/machines/default/virtualbox/action_set_name +0 -1
  205. data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1404/.vagrant/machines/default/virtualbox/creator_uid +0 -1
  206. data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1404/.vagrant/machines/default/virtualbox/id +0 -1
  207. data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1404/.vagrant/machines/default/virtualbox/index_uuid +0 -1
  208. data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1404/.vagrant/machines/default/virtualbox/private_key +0 -27
  209. data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1404/.vagrant/machines/default/virtualbox/synced_folders +0 -1
  210. data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1404/Vagrantfile +0 -9
  211. data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-windows-2012R2-matt/.vagrant/machines/default/virtualbox/action_set_name +0 -1
  212. data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-windows-2012R2-matt/.vagrant/machines/default/virtualbox/creator_uid +0 -1
  213. data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-windows-2012R2-matt/.vagrant/machines/default/virtualbox/id +0 -1
  214. data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-windows-2012R2-matt/.vagrant/machines/default/virtualbox/index_uuid +0 -1
  215. data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-windows-2012R2-matt/Vagrantfile +0 -8
  216. data/test/integration/.kitchen/kitchen-vagrant/kitchen-integration-new-ubuntu-1404/Vagrantfile +0 -9
  217. data/test/integration/.kitchen/logs/default-aws-linux.log +0 -0
  218. data/test/integration/.kitchen/logs/default-centos-511-i386.log +0 -0
  219. data/test/integration/.kitchen/logs/default-centos-511.log +0 -0
  220. data/test/integration/.kitchen/logs/default-centos-67-i386.log +0 -0
  221. data/test/integration/.kitchen/logs/default-centos-67.log +0 -0
  222. data/test/integration/.kitchen/logs/default-centos-7.log +0 -0
  223. data/test/integration/.kitchen/logs/default-centos-71.log +0 -0
  224. data/test/integration/.kitchen/logs/default-chef-solaris-1011.log +0 -0
  225. data/test/integration/.kitchen/logs/default-chef-solaris-113.log +0 -0
  226. data/test/integration/.kitchen/logs/default-chef-windows-server-2008r2-standard.log +0 -43
  227. data/test/integration/.kitchen/logs/default-chef-windows-server-2012r2-standard.log +0 -0
  228. data/test/integration/.kitchen/logs/default-chris-rock-omnios-r151014.log +0 -41
  229. data/test/integration/.kitchen/logs/default-debian-6010-i386.log +0 -0
  230. data/test/integration/.kitchen/logs/default-debian-6010.log +0 -0
  231. data/test/integration/.kitchen/logs/default-debian-78-i386.log +0 -0
  232. data/test/integration/.kitchen/logs/default-debian-78.log +0 -0
  233. data/test/integration/.kitchen/logs/default-debian-8.log +0 -0
  234. data/test/integration/.kitchen/logs/default-debian-81-i386.log +0 -0
  235. data/test/integration/.kitchen/logs/default-debian-81.log +0 -240
  236. data/test/integration/.kitchen/logs/default-dusank-oi-server.log +0 -0
  237. data/test/integration/.kitchen/logs/default-fedora-21-i386.log +0 -0
  238. data/test/integration/.kitchen/logs/default-fedora-21.log +0 -0
  239. data/test/integration/.kitchen/logs/default-fedora-22.log +0 -0
  240. data/test/integration/.kitchen/logs/default-freebsd-102.log +0 -0
  241. data/test/integration/.kitchen/logs/default-freebsd-93.log +0 -0
  242. data/test/integration/.kitchen/logs/default-livinginthepast-smartos-base64.log +0 -0
  243. data/test/integration/.kitchen/logs/default-mint-172-cinnamon.log +0 -0
  244. data/test/integration/.kitchen/logs/default-modernIE-w10-edge.log +0 -2
  245. data/test/integration/.kitchen/logs/default-modernIE-w7-ie11.log +0 -2
  246. data/test/integration/.kitchen/logs/default-modernIE-w81-ie11.log +0 -2
  247. data/test/integration/.kitchen/logs/default-omniti-omnios-r151014.log +0 -0
  248. data/test/integration/.kitchen/logs/default-opensuse-132-i386.log +0 -0
  249. data/test/integration/.kitchen/logs/default-opensuse-132-x86-64.log +0 -0
  250. data/test/integration/.kitchen/logs/default-opentable-win-2008r2-standard-amd64-nocm.log +0 -0
  251. data/test/integration/.kitchen/logs/default-opentable-win-2012r2-standard-amd64-nocm.log +0 -0
  252. data/test/integration/.kitchen/logs/default-redhat-65.log +0 -0
  253. data/test/integration/.kitchen/logs/default-redhat-71.log +0 -0
  254. data/test/integration/.kitchen/logs/default-suse-11sp3.log +0 -0
  255. data/test/integration/.kitchen/logs/default-suse-12.log +0 -0
  256. data/test/integration/.kitchen/logs/default-suse-hi11sp3.log +0 -37
  257. data/test/integration/.kitchen/logs/default-ubuntu-1004-i386.log +0 -0
  258. data/test/integration/.kitchen/logs/default-ubuntu-1004.log +0 -0
  259. data/test/integration/.kitchen/logs/default-ubuntu-1204-i386.log +0 -0
  260. data/test/integration/.kitchen/logs/default-ubuntu-1204.log +0 -23
  261. data/test/integration/.kitchen/logs/default-ubuntu-1404-i386.log +0 -0
  262. data/test/integration/.kitchen/logs/default-ubuntu-1404.log +0 -0
  263. data/test/integration/.kitchen/logs/default-ubuntu-1510.log +0 -0
  264. data/test/integration/.kitchen/logs/default-windows-2008-opentable.log +0 -2
  265. data/test/integration/.kitchen/logs/default-windows-2008.log +0 -0
  266. data/test/integration/.kitchen/logs/default-windows-2012.log +0 -0
  267. data/test/integration/.kitchen/logs/default-windows-2012R2-matt.log +0 -2
  268. data/test/integration/.kitchen/logs/default-windows-2012r2-opentable.log +0 -2
  269. data/test/integration/.kitchen/logs/default-windows-2012r2.log +0 -0
  270. data/test/integration/.kitchen/logs/default-winrm.log +0 -0
  271. data/test/integration/.kitchen/logs/kitchen.log +0 -3
  272. data/test/integration/.kitchen/logs/new-centos-511-i386.log +0 -0
  273. data/test/integration/.kitchen/logs/new-centos-511.log +0 -0
  274. data/test/integration/.kitchen/logs/new-centos-67-i386.log +0 -0
  275. data/test/integration/.kitchen/logs/new-centos-67.log +0 -0
  276. data/test/integration/.kitchen/logs/new-centos-71.log +0 -0
  277. data/test/integration/.kitchen/logs/new-debian-6010-i386.log +0 -0
  278. data/test/integration/.kitchen/logs/new-debian-6010.log +0 -0
  279. data/test/integration/.kitchen/logs/new-debian-78-i386.log +0 -0
  280. data/test/integration/.kitchen/logs/new-debian-78.log +0 -0
  281. data/test/integration/.kitchen/logs/new-debian-81-i386.log +0 -0
  282. data/test/integration/.kitchen/logs/new-debian-81.log +0 -0
  283. data/test/integration/.kitchen/logs/new-fedora-21-i386.log +0 -0
  284. data/test/integration/.kitchen/logs/new-fedora-21.log +0 -0
  285. data/test/integration/.kitchen/logs/new-fedora-22.log +0 -0
  286. data/test/integration/.kitchen/logs/new-freebsd-102.log +0 -0
  287. data/test/integration/.kitchen/logs/new-freebsd-93.log +0 -0
  288. data/test/integration/.kitchen/logs/new-opensuse-132-i386.log +0 -0
  289. data/test/integration/.kitchen/logs/new-opensuse-132-x86-64.log +0 -0
  290. data/test/integration/.kitchen/logs/new-ubuntu-1004-i386.log +0 -0
  291. data/test/integration/.kitchen/logs/new-ubuntu-1004.log +0 -0
  292. data/test/integration/.kitchen/logs/new-ubuntu-1204-i386.log +0 -0
  293. data/test/integration/.kitchen/logs/new-ubuntu-1204.log +0 -0
  294. data/test/integration/.kitchen/logs/new-ubuntu-1404-i386.log +0 -0
  295. data/test/integration/.kitchen/logs/new-ubuntu-1404.log +0 -3
  296. data/test/integration/.kitchen/logs/test-centos-511-i386.log +0 -0
  297. data/test/integration/.kitchen/logs/test-centos-511.log +0 -0
  298. data/test/integration/.kitchen/logs/test-centos-67-i386.log +0 -0
  299. data/test/integration/.kitchen/logs/test-centos-67.log +0 -0
  300. data/test/integration/.kitchen/logs/test-centos-71.log +0 -0
  301. data/test/integration/.kitchen/logs/test-debian-6010-i386.log +0 -0
  302. data/test/integration/.kitchen/logs/test-debian-6010.log +0 -0
  303. data/test/integration/.kitchen/logs/test-debian-78-i386.log +0 -0
  304. data/test/integration/.kitchen/logs/test-debian-78.log +0 -0
  305. data/test/integration/.kitchen/logs/test-debian-81-i386.log +0 -0
  306. data/test/integration/.kitchen/logs/test-debian-81.log +0 -0
  307. data/test/integration/.kitchen/logs/test-fedora-21-i386.log +0 -0
  308. data/test/integration/.kitchen/logs/test-fedora-21.log +0 -0
  309. data/test/integration/.kitchen/logs/test-fedora-22.log +0 -0
  310. data/test/integration/.kitchen/logs/test-freebsd-102.log +0 -0
  311. data/test/integration/.kitchen/logs/test-freebsd-93.log +0 -0
  312. data/test/integration/.kitchen/logs/test-opensuse-132-i386.log +0 -0
  313. data/test/integration/.kitchen/logs/test-opensuse-132-x86-64.log +0 -0
  314. data/test/integration/.kitchen/logs/test-ubuntu-1004-i386.log +0 -0
  315. data/test/integration/.kitchen/logs/test-ubuntu-1004.log +0 -0
  316. data/test/integration/.kitchen/logs/test-ubuntu-1204-i386.log +0 -0
  317. data/test/integration/.kitchen/logs/test-ubuntu-1204.log +0 -0
  318. data/test/integration/.kitchen/logs/test-ubuntu-1404-i386.log +0 -0
  319. data/test/integration/.kitchen/logs/test-ubuntu-1404.log +0 -0
  320. data/test/integration/.kitchen/new-ubuntu-1404.yml +0 -1
  321. data/test/integration/Berksfile.lock +0 -27
  322. data/test/integration/TODO.md +0 -15
  323. data/test/integration/bootstrap.sh +0 -3
  324. data/test/integration/test/.DS_Store +0 -0
  325. data/test/integration/test/integration/.DS_Store +0 -0
  326. data/test/integration/test/integration/default/.DS_Store +0 -0
  327. data/test/integration/test/integration/default/certificate_spec.rb +0 -7
  328. data/test/mac/service_spec.rb +0 -5
  329. data/test/serverspec/.kitchen.yml +0 -18
  330. data/test/serverspec/.kitchen/default-ubuntu-1404.yml +0 -6
  331. data/test/serverspec/.kitchen/kitchen-vagrant/kitchen-serverspec-default-ubuntu-1404/.vagrant/machines/default/virtualbox/action_set_name +0 -1
  332. data/test/serverspec/.kitchen/kitchen-vagrant/kitchen-serverspec-default-ubuntu-1404/.vagrant/machines/default/virtualbox/creator_uid +0 -1
  333. data/test/serverspec/.kitchen/kitchen-vagrant/kitchen-serverspec-default-ubuntu-1404/.vagrant/machines/default/virtualbox/id +0 -1
  334. data/test/serverspec/.kitchen/kitchen-vagrant/kitchen-serverspec-default-ubuntu-1404/.vagrant/machines/default/virtualbox/index_uuid +0 -1
  335. data/test/serverspec/.kitchen/kitchen-vagrant/kitchen-serverspec-default-ubuntu-1404/.vagrant/machines/default/virtualbox/private_key +0 -27
  336. data/test/serverspec/.kitchen/kitchen-vagrant/kitchen-serverspec-default-ubuntu-1404/.vagrant/machines/default/virtualbox/synced_folders +0 -1
  337. data/test/serverspec/.kitchen/kitchen-vagrant/kitchen-serverspec-default-ubuntu-1404/Vagrantfile +0 -9
  338. data/test/serverspec/.kitchen/logs/default-ubuntu-1404.log +0 -2
  339. data/test/serverspec/.kitchen/logs/kitchen.log +0 -3
  340. data/test/serverspec/Berksfile +0 -3
  341. data/test/serverspec/Berksfile.lock +0 -5
  342. data/test/serverspec/TODO.md +0 -2
  343. data/test/serverspec/test/integration/default/serverspec/os_spec.rb +0 -25
  344. data/test/serverspec/test/integration/default/serverspec/spec_helper.rb +0 -48
  345. data/test/serverspec/test/integration/default/serverspec/sysctl_spec.rb +0 -37
  346. data/test/solaris_test.rb +0 -70
@@ -0,0 +1,10 @@
1
+ name: complete
2
+ title: complete example profile
3
+ maintainer: Chef Software, Inc.
4
+ copyright: Chef Software, Inc.
5
+ copyright_email: support@chef.io
6
+ license: Proprietary, All rights reserved
7
+ summary: Testing stub
8
+ version: 1.0.0
9
+ supports:
10
+ - os-family: linux
@@ -0,0 +1,3 @@
1
+ class Tiny < Inspec.resource(1)
2
+ name 'tiny'
3
+ end
@@ -16,13 +16,12 @@ describe 'plugin system' do
16
16
  let(:cli_reg) { Inspec::Plugins::CLI }
17
17
 
18
18
  before do
19
- # TODO: remove this, once the plugin loading is not based on ruby-load time
20
- # initialization
21
- cli_reg.registry.clear
19
+ # since the registry is a global singleton, clean it before using
20
+ cli_reg.subcommands.clear
22
21
  end
23
22
 
24
23
  it 'is empty' do
25
- cli_reg.registry.must_equal({})
24
+ cli_reg.subcommands.must_equal({})
26
25
  end
27
26
 
28
27
  it 'stores one cli plugin' do
@@ -33,14 +32,14 @@ describe 'plugin system' do
33
32
  description: 'desc of my_cmd',
34
33
  options: { test: 1 }
35
34
  }
36
- cli_reg.register(
35
+ cli_reg.add_subcommand(
37
36
  plugin[:klass],
38
37
  plugin[:subcommand_name],
39
38
  plugin[:usage],
40
39
  plugin[:description],
41
40
  plugin[:options]
42
41
  )
43
- cli_reg.registry['my_cmd'].must_equal(plugin)
42
+ cli_reg.subcommands['my_cmd'].must_equal(plugin)
44
43
  end
45
44
  end
46
45
  end
@@ -6,16 +6,86 @@ require 'helper'
6
6
  require 'inspec/resource'
7
7
 
8
8
  describe 'Inspec::Resources::AuditDaemonRules' do
9
- it 'check audit policy parsing' do
10
- resource = MockLoader.new(:windows).load_resource('auditd_rules')
11
- _(resource.send('LIST_RULES')).must_equal [
12
- 'exit,always syscall=rmdir,unlink',
13
- 'exit,always auid=1001 (0x3e9) syscall=open',
14
- 'exit,always watch=/etc/group perm=wa',
15
- 'exit,always watch=/etc/passwd perm=wa',
16
- 'exit,always watch=/etc/shadow perm=wa',
17
- 'exit,always watch=/etc/sudoers perm=wa',
18
- 'exit,always watch=/etc/secret_directory perm=r',
9
+ it 'auditd_rules interface' do
10
+ resource = MockLoader.new(:centos7).load_resource('auditd_rules')
11
+ _(resource.send('lines')).must_equal [
12
+ '-a always,exit -F arch=b64 -S open,openat -F exit=-EACCES -F key=access',
13
+ '-a always,exit -F arch=b32 -S chmod,fchmod,fchmodat -F auid>=500 f24!=0 -F key=perm_mod',
14
+ '-w /etc/ssh/sshd_config -p rwxa -k CFG_sshd_config',
19
15
  ]
20
16
  end
17
+
18
+ it 'auditd_rules syscall interface' do
19
+ resource = MockLoader.new(:centos7).load_resource('auditd_rules')
20
+ _(resource.send('syscall', 'open').send('rules')).must_equal [
21
+ {:syscall=>"open", :list=>"exit", :action=>"always", :fields=>["arch=b64", "exit=-EACCES", "key=access"], :arch=>"b64", :exit=>"-EACCES", :key=>"access"}
22
+ ]
23
+ end
24
+
25
+ it 'auditd_rules syscall query chaining' do
26
+ resource = MockLoader.new(:centos7).load_resource('auditd_rules')
27
+ _(resource.send('syscall', 'open').field('key', 'access').send('rules')).must_equal [
28
+ {:syscall=>"open", :list=>"exit", :action=>"always", :fields=>["arch=b64", "exit=-EACCES", "key=access"], :arch=>"b64", :exit=>"-EACCES", :key=>"access"}
29
+ ]
30
+ end
31
+
32
+ it 'auditd_rules syscall query chaining with short syntax' do
33
+ resource = MockLoader.new(:centos7).load_resource('auditd_rules')
34
+ _(resource.send('syscall', 'open').key('access').list('exit').send('rules')).must_equal [
35
+ {:syscall=>"open", :list=>"exit", :action=>"always", :fields=>["arch=b64", "exit=-EACCES", "key=access"], :arch=>"b64", :exit=>"-EACCES", :key=>"access"}
36
+ ]
37
+ end
38
+
39
+ it 'check auditd_rules syscall query chaining empty results' do
40
+ resource = MockLoader.new(:centos7).load_resource('auditd_rules')
41
+ _(resource.send('syscall', 'open').field('key', 'access').field('foo', 'bar').send('rules')).must_equal []
42
+ end
43
+
44
+
45
+ it 'check auditd_rules file interface' do
46
+ resource = MockLoader.new(:centos7).load_resource('auditd_rules')
47
+ _(resource.send('file', '/etc/ssh/sshd_config').send('rules')).must_equal [
48
+ { file: '/etc/ssh/sshd_config', key: 'CFG_sshd_config', permissions: 'rwxa'},
49
+ ]
50
+ end
51
+
52
+ it 'check auditd_rules key interface' do
53
+ resource = MockLoader.new(:centos7).load_resource('auditd_rules')
54
+ _(resource.send('key', 'CFG_sshd_config').send('rules')).must_equal [
55
+ { file: '/etc/ssh/sshd_config', key: 'CFG_sshd_config', permissions: 'rwxa'},
56
+ ]
57
+ end
58
+
59
+ it 'check auditd_rules status interface' do
60
+ resource = MockLoader.new(:centos7).load_resource('auditd_rules')
61
+ _(resource.send('status')).must_equal({
62
+ 'enabled' => '1',
63
+ 'flag' => '2',
64
+ 'pid' => '547',
65
+ 'rate_limit' => '0',
66
+ 'backlog_limit' => '8192',
67
+ 'lost' => '0',
68
+ 'backlog' => '0',
69
+ 'loginuid_immutable' => '0 unlocked',
70
+ })
71
+ end
72
+
73
+ it 'check auditd_rules status interface querying a key' do
74
+ resource = MockLoader.new(:centos7).load_resource('auditd_rules')
75
+ _(resource.send('status', 'enabled')).must_equal('1')
76
+ end
77
+
78
+ # TODO(sr) figure out how to feed resource the legacy auditctl mock cmd output
79
+ # it 'check legacy audit policy parsing' do
80
+ # resource = MockLoader.new(:undefined).load_resource('auditd_rules')
81
+ # _(resource.send('LIST_RULES')).must_equal [
82
+ # 'exit,always syscall=rmdir,unlink',
83
+ # 'exit,always auid=1001 (0x3e9) syscall=open',
84
+ # 'exit,always watch=/etc/group perm=wa',
85
+ # 'exit,always watch=/etc/passwd perm=wa',
86
+ # 'exit,always watch=/etc/shadow perm=wa',
87
+ # 'exit,always watch=/etc/sudoers perm=wa',
88
+ # 'exit,always watch=/etc/secret_directory perm=r',
89
+ # ]
90
+ # end
21
91
  end
@@ -14,6 +14,10 @@ describe 'Inspec::Resources::Script' do
14
14
 
15
15
  it 'check if script for windows is properly generated ' do
16
16
  resource = MockLoader.new(:windows).load_resource('script', ps1_script)
17
- _(resource.command).must_equal 'powershell -encodedCommand IAAgACAAIAAjACAAYwBhAGwAbAAgAGgAZQBsAHAAIABmAG8AcgAgAGcAZQB0ACAAYwBvAG0AbQBhAG4AZAAKACAAIAAgACAARwBlAHQALQBIAGUAbABwACAARwBlAHQALQBDAG8AbQBtAGEAbgBkAAoA'
17
+ if Gem.loaded_specs['winrm'].version < Gem::Version.new('1.6.1')
18
+ _(resource.command).must_equal 'powershell -encodedCommand IAAgACAAIAAjACAAYwBhAGwAbAAgAGgAZQBsAHAAIABmAG8AcgAgAGcAZQB0ACAAYwBvAG0AbQBhAG4AZAAKACAAIAAgACAARwBlAHQALQBIAGUAbABwACAARwBlAHQALQBDAG8AbQBtAGEAbgBkAAoA'
19
+ else
20
+ _(resource.command).must_equal 'powershell -encodedCommand JABQAHIAbwBnAHIAZQBzAHMAUAByAGUAZgBlAHIAZQBuAGMAZQA9ACcAUwBpAGwAZQBuAHQAbAB5AEMAbwBuAHQAaQBuAHUAZQAnADsAIAAgACAAIAAjACAAYwBhAGwAbAAgAGgAZQBsAHAAIABmAG8AcgAgAGcAZQB0ACAAYwBvAG0AbQBhAG4AZAAKACAAIAAgACAARwBlAHQALQBIAGUAbABwACAARwBlAHQALQBDAG8AbQBtAGEAbgBkAAoA'
21
+ end
18
22
  end
19
23
  end
@@ -0,0 +1,59 @@
1
+ # author: Stephan Renatus
2
+
3
+ require 'helper'
4
+
5
+ describe FilterArray do
6
+ let (:data) {[
7
+ { foo: 3, bar: true, baz: 'yay' },
8
+ { foo: 2, bar: false, baz: 'noo' },
9
+ { foo: 2, bar: false, baz: 'whatever' },
10
+ ]}
11
+
12
+ let (:instance) do
13
+ FilterArray.new data
14
+ end
15
+
16
+ describe '#content' do
17
+ it 'returns the current set' do
18
+ instance.content.must_equal data
19
+ end
20
+
21
+ it 'can also be referred to as #rules' do
22
+ instance.rules.must_equal instance.content
23
+ end
24
+ end
25
+
26
+ describe '#field' do
27
+ it 'retrieves (unique) values' do
28
+ instance.field('foo').must_equal [3, 2]
29
+ end
30
+
31
+ it 'filters the current set' do
32
+ instance.field('foo', 2).content.must_equal [
33
+ { foo: 2, bar: false, baz: 'noo' },
34
+ { foo: 2, bar: false, baz: 'whatever' },
35
+ ]
36
+ end
37
+
38
+ it 'can be chained' do
39
+ instance.field('foo', 2).field('baz', 'noo').content.must_equal [
40
+ { foo: 2, bar: false, baz: 'noo' },
41
+ ]
42
+ end
43
+
44
+ it 'can be abbreviated for retrieval' do
45
+ instance.foo.must_equal [3, 2]
46
+ end
47
+
48
+ it 'can be abbreviated for querying' do
49
+ instance.foo(2).content.must_equal [
50
+ { foo: 2, bar: false, baz: 'noo' },
51
+ { foo: 2, bar: false, baz: 'whatever' },
52
+ ]
53
+ end
54
+
55
+ it 'returns `[nil]` when queried for a non-existing key' do
56
+ instance.what.must_equal [nil]
57
+ end
58
+ end
59
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: inspec
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.1
4
+ version: 0.11.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dominik Richter
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-02-05 00:00:00.000000000 Z
11
+ date: 2016-02-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: r-train
@@ -176,7 +176,6 @@ files:
176
176
  - README.md
177
177
  - Rakefile
178
178
  - bin/inspec
179
- - bin/os
180
179
  - docs/ctl_inspec.rst
181
180
  - docs/dsl_inspec.rst
182
181
  - docs/dsl_resource.rst
@@ -187,118 +186,45 @@ files:
187
186
  - docs/template.rst
188
187
  - examples/README.md
189
188
  - examples/kitchen-ansible/.kitchen.yml
190
- - examples/kitchen-ansible/.kitchen/default-ubuntu-1404.yml
191
- - examples/kitchen-ansible/.kitchen/kitchen-vagrant/kitchen-kitchen-ansible-default-ubuntu-1404/.vagrant/machines/default/virtualbox/action_set_name
192
- - examples/kitchen-ansible/.kitchen/kitchen-vagrant/kitchen-kitchen-ansible-default-ubuntu-1404/.vagrant/machines/default/virtualbox/creator_uid
193
- - examples/kitchen-ansible/.kitchen/kitchen-vagrant/kitchen-kitchen-ansible-default-ubuntu-1404/.vagrant/machines/default/virtualbox/id
194
- - examples/kitchen-ansible/.kitchen/kitchen-vagrant/kitchen-kitchen-ansible-default-ubuntu-1404/.vagrant/machines/default/virtualbox/index_uuid
195
- - examples/kitchen-ansible/.kitchen/kitchen-vagrant/kitchen-kitchen-ansible-default-ubuntu-1404/.vagrant/machines/default/virtualbox/private_key
196
- - examples/kitchen-ansible/.kitchen/kitchen-vagrant/kitchen-kitchen-ansible-default-ubuntu-1404/.vagrant/machines/default/virtualbox/synced_folders
197
- - examples/kitchen-ansible/.kitchen/kitchen-vagrant/kitchen-kitchen-ansible-default-ubuntu-1404/Vagrantfile
198
- - examples/kitchen-ansible/.kitchen/logs/default-centos-71.log
199
- - examples/kitchen-ansible/.kitchen/logs/default-ubuntu-1204.log
200
- - examples/kitchen-ansible/.kitchen/logs/default-ubuntu-1404.log
201
- - examples/kitchen-ansible/.kitchen/logs/kitchen.log
202
189
  - examples/kitchen-ansible/Gemfile
203
- - examples/kitchen-ansible/Gemfile.lock
204
190
  - examples/kitchen-ansible/README.md
205
191
  - examples/kitchen-ansible/files/nginx.repo
206
192
  - examples/kitchen-ansible/tasks/main.yml
207
- - examples/kitchen-ansible/test/.DS_Store
208
- - examples/kitchen-ansible/test/integration/.DS_Store
209
193
  - examples/kitchen-ansible/test/integration/default/default.yml
210
194
  - examples/kitchen-ansible/test/integration/default/web_spec.rb
211
- - examples/kitchen-azure/.kitchen.yml
212
- - examples/kitchen-azure/.kitchen/default-debian-80-20151022-x86-64.yml
213
- - examples/kitchen-azure/.kitchen/default-ubuntu-1204.yml
214
- - examples/kitchen-azure/.kitchen/logs/default-debian-80-20151022-x86-64.log
215
- - examples/kitchen-azure/.kitchen/logs/default-ubuntu-1204.log
216
- - examples/kitchen-azure/.kitchen/logs/default-windows2012-r2.log
217
- - examples/kitchen-azure/.kitchen/logs/kitchen.log
218
- - examples/kitchen-azure/Berksfile
219
- - examples/kitchen-azure/Gemfile
220
- - examples/kitchen-azure/Gemfile.lock
221
- - examples/kitchen-azure/README.md
222
- - examples/kitchen-azure/credentials.sh
223
- - examples/kitchen-azure/metadata.rb
224
- - examples/kitchen-azure/recipes/default.rb
225
- - examples/kitchen-azure/recipes/nginx.rb
226
- - examples/kitchen-azure/test/integration/default/web_spec.rb
227
195
  - examples/kitchen-chef/.kitchen.yml
228
- - examples/kitchen-chef/.kitchen/default-ubuntu-1404.yml
229
- - examples/kitchen-chef/.kitchen/kitchen-vagrant/kitchen-kitchen-chef-default-ubuntu-1404/.vagrant/machines/default/virtualbox/action_set_name
230
- - examples/kitchen-chef/.kitchen/kitchen-vagrant/kitchen-kitchen-chef-default-ubuntu-1404/.vagrant/machines/default/virtualbox/creator_uid
231
- - examples/kitchen-chef/.kitchen/kitchen-vagrant/kitchen-kitchen-chef-default-ubuntu-1404/.vagrant/machines/default/virtualbox/id
232
- - examples/kitchen-chef/.kitchen/kitchen-vagrant/kitchen-kitchen-chef-default-ubuntu-1404/.vagrant/machines/default/virtualbox/index_uuid
233
- - examples/kitchen-chef/.kitchen/kitchen-vagrant/kitchen-kitchen-chef-default-ubuntu-1404/.vagrant/machines/default/virtualbox/private_key
234
- - examples/kitchen-chef/.kitchen/kitchen-vagrant/kitchen-kitchen-chef-default-ubuntu-1404/.vagrant/machines/default/virtualbox/synced_folders
235
- - examples/kitchen-chef/.kitchen/kitchen-vagrant/kitchen-kitchen-chef-default-ubuntu-1404/Vagrantfile
236
- - examples/kitchen-chef/.kitchen/logs/default-centos-71.log
237
- - examples/kitchen-chef/.kitchen/logs/default-ubuntu-1204.log
238
- - examples/kitchen-chef/.kitchen/logs/default-ubuntu-1404.log
239
- - examples/kitchen-chef/.kitchen/logs/kitchen.log
240
196
  - examples/kitchen-chef/Berksfile
241
- - examples/kitchen-chef/Berksfile.lock
242
197
  - examples/kitchen-chef/Gemfile
243
- - examples/kitchen-chef/Gemfile.lock
244
198
  - examples/kitchen-chef/README.md
245
199
  - examples/kitchen-chef/metadata.rb
246
200
  - examples/kitchen-chef/recipes/default.rb
247
201
  - examples/kitchen-chef/recipes/nginx.rb
248
- - examples/kitchen-chef/test/integration/.DS_Store
249
202
  - examples/kitchen-chef/test/integration/default/web_spec.rb
250
- - examples/kitchen-puppet/.bundle/config
251
203
  - examples/kitchen-puppet/.kitchen.yml
252
- - examples/kitchen-puppet/.kitchen/default-ubuntu-1404.yml
253
- - examples/kitchen-puppet/.kitchen/kitchen-vagrant/kitchen-kitchen-puppet-default-ubuntu-1404/.vagrant/machines/default/virtualbox/action_set_name
254
- - examples/kitchen-puppet/.kitchen/kitchen-vagrant/kitchen-kitchen-puppet-default-ubuntu-1404/.vagrant/machines/default/virtualbox/creator_uid
255
- - examples/kitchen-puppet/.kitchen/kitchen-vagrant/kitchen-kitchen-puppet-default-ubuntu-1404/.vagrant/machines/default/virtualbox/id
256
- - examples/kitchen-puppet/.kitchen/kitchen-vagrant/kitchen-kitchen-puppet-default-ubuntu-1404/.vagrant/machines/default/virtualbox/index_uuid
257
- - examples/kitchen-puppet/.kitchen/kitchen-vagrant/kitchen-kitchen-puppet-default-ubuntu-1404/.vagrant/machines/default/virtualbox/private_key
258
- - examples/kitchen-puppet/.kitchen/kitchen-vagrant/kitchen-kitchen-puppet-default-ubuntu-1404/.vagrant/machines/default/virtualbox/synced_folders
259
- - examples/kitchen-puppet/.kitchen/kitchen-vagrant/kitchen-kitchen-puppet-default-ubuntu-1404/Vagrantfile
260
- - examples/kitchen-puppet/.kitchen/logs/default-centos-71.log
261
- - examples/kitchen-puppet/.kitchen/logs/default-ubuntu-1204.log
262
- - examples/kitchen-puppet/.kitchen/logs/default-ubuntu-1404.log
263
- - examples/kitchen-puppet/.kitchen/logs/kitchen.log
264
- - examples/kitchen-puppet/.librarian/puppet/config
265
204
  - examples/kitchen-puppet/Gemfile
266
- - examples/kitchen-puppet/Gemfile.lock
267
205
  - examples/kitchen-puppet/Puppetfile
268
- - examples/kitchen-puppet/Puppetfile.lock
269
206
  - examples/kitchen-puppet/README.md
270
207
  - examples/kitchen-puppet/manifests/site.pp
271
208
  - examples/kitchen-puppet/metadata.json
272
- - examples/kitchen-puppet/test/integration/.DS_Store
273
- - examples/kitchen-puppet/test/integration/default/.DS_Store
274
209
  - examples/kitchen-puppet/test/integration/default/web_spec.rb
275
210
  - examples/profile/README.md
276
211
  - examples/profile/controls/example.rb
277
212
  - examples/profile/controls/gordon.rb
278
213
  - examples/profile/inspec.yml
279
- - examples/profile/libraries/.DS_Store
280
214
  - examples/profile/libraries/gordon_config.rb
281
- - examples/test-kitchen/.kitchen/logs/default-centos-71.log
282
- - examples/test-kitchen/.kitchen/logs/default-ubuntu-1204.log
283
- - examples/test-kitchen/.kitchen/logs/default-ubuntu-1404.log
284
- - examples/test-kitchen/.kitchen/logs/kitchen.log
285
- - examples/test-kitchen/Berksfile.lock
286
- - examples/test-kitchen/Gemfile.lock
215
+ - examples/resource/controls/tiny.rb
216
+ - examples/resource/inspec.yml
217
+ - examples/resource/libraries/tiny.rb
287
218
  - inspec.gemspec
288
- - lib/.DS_Store
289
219
  - lib/bundles/README.md
290
220
  - lib/bundles/inspec-compliance.rb
291
221
  - lib/bundles/inspec-compliance/README.md
292
- - lib/bundles/inspec-compliance/TODO.md
293
222
  - lib/bundles/inspec-compliance/api.rb
294
223
  - lib/bundles/inspec-compliance/cli.rb
295
224
  - lib/bundles/inspec-compliance/configuration.rb
296
225
  - lib/bundles/inspec-compliance/target.rb
297
- - lib/bundles/inspec-supermarket.rb
298
226
  - lib/bundles/inspec-supermarket/README.md
299
- - lib/bundles/inspec-supermarket/TODO.md
300
227
  - lib/bundles/inspec-supermarket/api.rb
301
- - lib/bundles/inspec-supermarket/cache.rb
302
228
  - lib/bundles/inspec-supermarket/cli.rb
303
229
  - lib/bundles/inspec-supermarket/target.rb
304
230
  - lib/inspec.rb
@@ -386,6 +312,7 @@ files:
386
312
  - lib/utils/base_cli.rb
387
313
  - lib/utils/convert.rb
388
314
  - lib/utils/detect.rb
315
+ - lib/utils/filter_array.rb
389
316
  - lib/utils/find_files.rb
390
317
  - lib/utils/hash.rb
391
318
  - lib/utils/json_log.rb
@@ -393,219 +320,12 @@ files:
393
320
  - lib/utils/parser.rb
394
321
  - lib/utils/simpleconfig.rb
395
322
  - tasks/maintainers.rb
396
- - test/chefdk/.gitignore
397
- - test/chefdk/.kitchen.yml
398
- - test/chefdk/Policyfile.rb
399
- - test/chefdk/README.md
400
- - test/chefdk/chefignore
401
- - test/chefdk/metadata.rb
402
- - test/chefdk/recipes/default.rb
403
- - test/chefdk/spec/spec_helper.rb
404
- - test/chefdk/spec/unit/recipes/default_spec.rb
405
- - test/chefdk/test/integration/default/serverspec/default_spec.rb
406
- - test/chefdk/test/integration/helpers/serverspec/spec_helper.rb
407
323
  - test/docker_run.rb
408
324
  - test/docker_test.rb
409
325
  - test/helper.rb
410
- - test/integration/.kitchen.chef.yml
411
326
  - test/integration/.kitchen.ec2.yml
412
- - test/integration/.kitchen.shell.yml
413
327
  - test/integration/.kitchen.yml
414
- - test/integration/.kitchen/default-aws-linux.yml
415
- - test/integration/.kitchen/default-centos-7.yml
416
- - test/integration/.kitchen/default-chef-solaris-1011.yml
417
- - test/integration/.kitchen/default-chef-solaris-113.yml
418
- - test/integration/.kitchen/default-chef-windows-server-2008r2-standard.yml
419
- - test/integration/.kitchen/default-chris-rock-omnios-r151014.yml
420
- - test/integration/.kitchen/default-debian-8.yml
421
- - test/integration/.kitchen/default-debian-81.yml
422
- - test/integration/.kitchen/default-fedora-22.yml
423
- - test/integration/.kitchen/default-omniti-omnios-r151014.yml
424
- - test/integration/.kitchen/default-redhat-65.yml
425
- - test/integration/.kitchen/default-redhat-71.yml
426
- - test/integration/.kitchen/default-suse-11sp3.yml
427
- - test/integration/.kitchen/default-suse-12.yml
428
- - test/integration/.kitchen/default-suse-hi11sp3.yml
429
- - test/integration/.kitchen/default-ubuntu-1204.yml
430
- - test/integration/.kitchen/default-ubuntu-1404.yml
431
- - test/integration/.kitchen/default-ubuntu-1510.yml
432
- - test/integration/.kitchen/default-windows-2008.yml
433
- - test/integration/.kitchen/default-windows-2012.yml
434
- - test/integration/.kitchen/default-windows-2012r2.yml
435
- - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-centos-67-i386/Vagrantfile
436
- - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-chef-solaris-1011/.vagrant/machines/default/virtualbox/action_set_name
437
- - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-chef-solaris-1011/.vagrant/machines/default/virtualbox/creator_uid
438
- - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-chef-solaris-1011/.vagrant/machines/default/virtualbox/id
439
- - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-chef-solaris-1011/.vagrant/machines/default/virtualbox/index_uuid
440
- - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-chef-solaris-1011/.vagrant/machines/default/virtualbox/private_key
441
- - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-chef-solaris-1011/.vagrant/machines/default/virtualbox/synced_folders
442
- - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-chef-solaris-1011/Vagrantfile
443
- - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-chef-solaris-113/.vagrant/machines/default/virtualbox/action_set_name
444
- - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-chef-solaris-113/.vagrant/machines/default/virtualbox/creator_uid
445
- - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-chef-solaris-113/.vagrant/machines/default/virtualbox/id
446
- - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-chef-solaris-113/.vagrant/machines/default/virtualbox/index_uuid
447
- - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-chef-solaris-113/.vagrant/machines/default/virtualbox/private_key
448
- - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-chef-solaris-113/.vagrant/machines/default/virtualbox/synced_folders
449
- - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-chef-solaris-113/Vagrantfile
450
- - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-chef-windows-server-2008r2-standard/.vagrant/machines/default/virtualbox/action_set_name
451
- - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-chef-windows-server-2008r2-standard/.vagrant/machines/default/virtualbox/creator_uid
452
- - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-chef-windows-server-2008r2-standard/.vagrant/machines/default/virtualbox/id
453
- - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-chef-windows-server-2008r2-standard/.vagrant/machines/default/virtualbox/index_uuid
454
- - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-chef-windows-server-2008r2-standard/.vagrant/machines/default/virtualbox/synced_folders
455
- - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-chef-windows-server-2008r2-standard/Vagrantfile
456
- - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-chris-rock-omnios-r151014/.vagrant/machines/default/virtualbox/action_set_name
457
- - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-chris-rock-omnios-r151014/.vagrant/machines/default/virtualbox/creator_uid
458
- - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-chris-rock-omnios-r151014/.vagrant/machines/default/virtualbox/id
459
- - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-chris-rock-omnios-r151014/.vagrant/machines/default/virtualbox/index_uuid
460
- - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-chris-rock-omnios-r151014/.vagrant/machines/default/virtualbox/private_key
461
- - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-chris-rock-omnios-r151014/.vagrant/machines/default/virtualbox/synced_folders
462
- - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-chris-rock-omnios-r151014/Vagrantfile
463
- - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-debian-81/.vagrant/machines/default/virtualbox/action_set_name
464
- - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-debian-81/.vagrant/machines/default/virtualbox/creator_uid
465
- - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-debian-81/.vagrant/machines/default/virtualbox/id
466
- - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-debian-81/.vagrant/machines/default/virtualbox/index_uuid
467
- - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-debian-81/.vagrant/machines/default/virtualbox/private_key
468
- - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-debian-81/.vagrant/machines/default/virtualbox/synced_folders
469
- - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-debian-81/Vagrantfile
470
- - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-modernIE-w10-edge/.vagrant/machines/default/virtualbox/action_set_name
471
- - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-modernIE-w10-edge/.vagrant/machines/default/virtualbox/creator_uid
472
- - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-modernIE-w10-edge/.vagrant/machines/default/virtualbox/id
473
- - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-modernIE-w10-edge/.vagrant/machines/default/virtualbox/index_uuid
474
- - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-modernIE-w10-edge/Vagrantfile
475
- - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-omniti-omnios-r151014/.vagrant/machines/default/virtualbox/action_set_name
476
- - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-omniti-omnios-r151014/.vagrant/machines/default/virtualbox/creator_uid
477
- - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-omniti-omnios-r151014/.vagrant/machines/default/virtualbox/id
478
- - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-omniti-omnios-r151014/.vagrant/machines/default/virtualbox/index_uuid
479
- - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-omniti-omnios-r151014/.vagrant/machines/default/virtualbox/private_key
480
- - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-omniti-omnios-r151014/Vagrantfile
481
- - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1204/.vagrant/machines/default/virtualbox/action_set_name
482
- - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1204/.vagrant/machines/default/virtualbox/creator_uid
483
- - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1204/.vagrant/machines/default/virtualbox/id
484
- - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1204/.vagrant/machines/default/virtualbox/index_uuid
485
- - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1204/.vagrant/machines/default/virtualbox/private_key
486
- - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1204/.vagrant/machines/default/virtualbox/synced_folders
487
- - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1204/Vagrantfile
488
- - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1404/.vagrant/machines/default/virtualbox/action_set_name
489
- - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1404/.vagrant/machines/default/virtualbox/creator_uid
490
- - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1404/.vagrant/machines/default/virtualbox/id
491
- - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1404/.vagrant/machines/default/virtualbox/index_uuid
492
- - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1404/.vagrant/machines/default/virtualbox/private_key
493
- - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1404/.vagrant/machines/default/virtualbox/synced_folders
494
- - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1404/Vagrantfile
495
- - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-windows-2012R2-matt/.vagrant/machines/default/virtualbox/action_set_name
496
- - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-windows-2012R2-matt/.vagrant/machines/default/virtualbox/creator_uid
497
- - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-windows-2012R2-matt/.vagrant/machines/default/virtualbox/id
498
- - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-windows-2012R2-matt/.vagrant/machines/default/virtualbox/index_uuid
499
- - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-windows-2012R2-matt/Vagrantfile
500
- - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-new-ubuntu-1404/Vagrantfile
501
- - test/integration/.kitchen/logs/default-aws-linux.log
502
- - test/integration/.kitchen/logs/default-centos-511-i386.log
503
- - test/integration/.kitchen/logs/default-centos-511.log
504
- - test/integration/.kitchen/logs/default-centos-67-i386.log
505
- - test/integration/.kitchen/logs/default-centos-67.log
506
- - test/integration/.kitchen/logs/default-centos-7.log
507
- - test/integration/.kitchen/logs/default-centos-71.log
508
- - test/integration/.kitchen/logs/default-chef-solaris-1011.log
509
- - test/integration/.kitchen/logs/default-chef-solaris-113.log
510
- - test/integration/.kitchen/logs/default-chef-windows-server-2008r2-standard.log
511
- - test/integration/.kitchen/logs/default-chef-windows-server-2012r2-standard.log
512
- - test/integration/.kitchen/logs/default-chris-rock-omnios-r151014.log
513
- - test/integration/.kitchen/logs/default-debian-6010-i386.log
514
- - test/integration/.kitchen/logs/default-debian-6010.log
515
- - test/integration/.kitchen/logs/default-debian-78-i386.log
516
- - test/integration/.kitchen/logs/default-debian-78.log
517
- - test/integration/.kitchen/logs/default-debian-8.log
518
- - test/integration/.kitchen/logs/default-debian-81-i386.log
519
- - test/integration/.kitchen/logs/default-debian-81.log
520
- - test/integration/.kitchen/logs/default-dusank-oi-server.log
521
- - test/integration/.kitchen/logs/default-fedora-21-i386.log
522
- - test/integration/.kitchen/logs/default-fedora-21.log
523
- - test/integration/.kitchen/logs/default-fedora-22.log
524
- - test/integration/.kitchen/logs/default-freebsd-102.log
525
- - test/integration/.kitchen/logs/default-freebsd-93.log
526
- - test/integration/.kitchen/logs/default-livinginthepast-smartos-base64.log
527
- - test/integration/.kitchen/logs/default-mint-172-cinnamon.log
528
- - test/integration/.kitchen/logs/default-modernIE-w10-edge.log
529
- - test/integration/.kitchen/logs/default-modernIE-w7-ie11.log
530
- - test/integration/.kitchen/logs/default-modernIE-w81-ie11.log
531
- - test/integration/.kitchen/logs/default-omniti-omnios-r151014.log
532
- - test/integration/.kitchen/logs/default-opensuse-132-i386.log
533
- - test/integration/.kitchen/logs/default-opensuse-132-x86-64.log
534
- - test/integration/.kitchen/logs/default-opentable-win-2008r2-standard-amd64-nocm.log
535
- - test/integration/.kitchen/logs/default-opentable-win-2012r2-standard-amd64-nocm.log
536
- - test/integration/.kitchen/logs/default-redhat-65.log
537
- - test/integration/.kitchen/logs/default-redhat-71.log
538
- - test/integration/.kitchen/logs/default-suse-11sp3.log
539
- - test/integration/.kitchen/logs/default-suse-12.log
540
- - test/integration/.kitchen/logs/default-suse-hi11sp3.log
541
- - test/integration/.kitchen/logs/default-ubuntu-1004-i386.log
542
- - test/integration/.kitchen/logs/default-ubuntu-1004.log
543
- - test/integration/.kitchen/logs/default-ubuntu-1204-i386.log
544
- - test/integration/.kitchen/logs/default-ubuntu-1204.log
545
- - test/integration/.kitchen/logs/default-ubuntu-1404-i386.log
546
- - test/integration/.kitchen/logs/default-ubuntu-1404.log
547
- - test/integration/.kitchen/logs/default-ubuntu-1510.log
548
- - test/integration/.kitchen/logs/default-windows-2008-opentable.log
549
- - test/integration/.kitchen/logs/default-windows-2008.log
550
- - test/integration/.kitchen/logs/default-windows-2012.log
551
- - test/integration/.kitchen/logs/default-windows-2012R2-matt.log
552
- - test/integration/.kitchen/logs/default-windows-2012r2-opentable.log
553
- - test/integration/.kitchen/logs/default-windows-2012r2.log
554
- - test/integration/.kitchen/logs/default-winrm.log
555
- - test/integration/.kitchen/logs/kitchen.log
556
- - test/integration/.kitchen/logs/new-centos-511-i386.log
557
- - test/integration/.kitchen/logs/new-centos-511.log
558
- - test/integration/.kitchen/logs/new-centos-67-i386.log
559
- - test/integration/.kitchen/logs/new-centos-67.log
560
- - test/integration/.kitchen/logs/new-centos-71.log
561
- - test/integration/.kitchen/logs/new-debian-6010-i386.log
562
- - test/integration/.kitchen/logs/new-debian-6010.log
563
- - test/integration/.kitchen/logs/new-debian-78-i386.log
564
- - test/integration/.kitchen/logs/new-debian-78.log
565
- - test/integration/.kitchen/logs/new-debian-81-i386.log
566
- - test/integration/.kitchen/logs/new-debian-81.log
567
- - test/integration/.kitchen/logs/new-fedora-21-i386.log
568
- - test/integration/.kitchen/logs/new-fedora-21.log
569
- - test/integration/.kitchen/logs/new-fedora-22.log
570
- - test/integration/.kitchen/logs/new-freebsd-102.log
571
- - test/integration/.kitchen/logs/new-freebsd-93.log
572
- - test/integration/.kitchen/logs/new-opensuse-132-i386.log
573
- - test/integration/.kitchen/logs/new-opensuse-132-x86-64.log
574
- - test/integration/.kitchen/logs/new-ubuntu-1004-i386.log
575
- - test/integration/.kitchen/logs/new-ubuntu-1004.log
576
- - test/integration/.kitchen/logs/new-ubuntu-1204-i386.log
577
- - test/integration/.kitchen/logs/new-ubuntu-1204.log
578
- - test/integration/.kitchen/logs/new-ubuntu-1404-i386.log
579
- - test/integration/.kitchen/logs/new-ubuntu-1404.log
580
- - test/integration/.kitchen/logs/test-centos-511-i386.log
581
- - test/integration/.kitchen/logs/test-centos-511.log
582
- - test/integration/.kitchen/logs/test-centos-67-i386.log
583
- - test/integration/.kitchen/logs/test-centos-67.log
584
- - test/integration/.kitchen/logs/test-centos-71.log
585
- - test/integration/.kitchen/logs/test-debian-6010-i386.log
586
- - test/integration/.kitchen/logs/test-debian-6010.log
587
- - test/integration/.kitchen/logs/test-debian-78-i386.log
588
- - test/integration/.kitchen/logs/test-debian-78.log
589
- - test/integration/.kitchen/logs/test-debian-81-i386.log
590
- - test/integration/.kitchen/logs/test-debian-81.log
591
- - test/integration/.kitchen/logs/test-fedora-21-i386.log
592
- - test/integration/.kitchen/logs/test-fedora-21.log
593
- - test/integration/.kitchen/logs/test-fedora-22.log
594
- - test/integration/.kitchen/logs/test-freebsd-102.log
595
- - test/integration/.kitchen/logs/test-freebsd-93.log
596
- - test/integration/.kitchen/logs/test-opensuse-132-i386.log
597
- - test/integration/.kitchen/logs/test-opensuse-132-x86-64.log
598
- - test/integration/.kitchen/logs/test-ubuntu-1004-i386.log
599
- - test/integration/.kitchen/logs/test-ubuntu-1004.log
600
- - test/integration/.kitchen/logs/test-ubuntu-1204-i386.log
601
- - test/integration/.kitchen/logs/test-ubuntu-1204.log
602
- - test/integration/.kitchen/logs/test-ubuntu-1404-i386.log
603
- - test/integration/.kitchen/logs/test-ubuntu-1404.log
604
- - test/integration/.kitchen/new-ubuntu-1404.yml
605
328
  - test/integration/Berksfile
606
- - test/integration/Berksfile.lock
607
- - test/integration/TODO.md
608
- - test/integration/bootstrap.sh
609
329
  - test/integration/cookbooks/os_prepare/files/empty.iso
610
330
  - test/integration/cookbooks/os_prepare/files/example.csv
611
331
  - test/integration/cookbooks/os_prepare/files/example.ini
@@ -616,6 +336,7 @@ files:
616
336
  - test/integration/cookbooks/os_prepare/recipes/_upstart_service_centos.rb
617
337
  - test/integration/cookbooks/os_prepare/recipes/apache.rb
618
338
  - test/integration/cookbooks/os_prepare/recipes/apt.rb
339
+ - test/integration/cookbooks/os_prepare/recipes/auditctl.rb
619
340
  - test/integration/cookbooks/os_prepare/recipes/default.rb
620
341
  - test/integration/cookbooks/os_prepare/recipes/file.rb
621
342
  - test/integration/cookbooks/os_prepare/recipes/json_yaml_csv_ini.rb
@@ -625,12 +346,10 @@ files:
625
346
  - test/integration/cookbooks/os_prepare/recipes/registry_key.rb
626
347
  - test/integration/cookbooks/os_prepare/recipes/service.rb
627
348
  - test/integration/cookbooks/os_prepare/templates/default/sv-default-svlog-run.erb
628
- - test/integration/test/.DS_Store
629
- - test/integration/test/integration/.DS_Store
630
- - test/integration/test/integration/default/.DS_Store
631
349
  - test/integration/test/integration/default/_debug_spec.rb
350
+ - test/integration/test/integration/default/apache_conf_spec.rb
632
351
  - test/integration/test/integration/default/apt_spec.rb
633
- - test/integration/test/integration/default/certificate_spec.rb
352
+ - test/integration/test/integration/default/auditd_rules_spec.rb
634
353
  - test/integration/test/integration/default/compare_matcher_spec.rb
635
354
  - test/integration/test/integration/default/csv_spec.rb
636
355
  - test/integration/test/integration/default/etc_group_spec.rb
@@ -650,30 +369,11 @@ files:
650
369
  - test/integration/test/integration/default/service_spec.rb
651
370
  - test/integration/test/integration/default/user_spec.rb
652
371
  - test/integration/test/integration/default/yaml_spec.rb
653
- - test/mac/service_spec.rb
654
372
  - test/resource/command_test.rb
655
373
  - test/resource/dsl_test.rb
656
374
  - test/resource/file_test.rb
657
375
  - test/resource/ssh_config.rb
658
376
  - test/resource/sshd_config.rb
659
- - test/serverspec/.kitchen.yml
660
- - test/serverspec/.kitchen/default-ubuntu-1404.yml
661
- - test/serverspec/.kitchen/kitchen-vagrant/kitchen-serverspec-default-ubuntu-1404/.vagrant/machines/default/virtualbox/action_set_name
662
- - test/serverspec/.kitchen/kitchen-vagrant/kitchen-serverspec-default-ubuntu-1404/.vagrant/machines/default/virtualbox/creator_uid
663
- - test/serverspec/.kitchen/kitchen-vagrant/kitchen-serverspec-default-ubuntu-1404/.vagrant/machines/default/virtualbox/id
664
- - test/serverspec/.kitchen/kitchen-vagrant/kitchen-serverspec-default-ubuntu-1404/.vagrant/machines/default/virtualbox/index_uuid
665
- - test/serverspec/.kitchen/kitchen-vagrant/kitchen-serverspec-default-ubuntu-1404/.vagrant/machines/default/virtualbox/private_key
666
- - test/serverspec/.kitchen/kitchen-vagrant/kitchen-serverspec-default-ubuntu-1404/.vagrant/machines/default/virtualbox/synced_folders
667
- - test/serverspec/.kitchen/kitchen-vagrant/kitchen-serverspec-default-ubuntu-1404/Vagrantfile
668
- - test/serverspec/.kitchen/logs/default-ubuntu-1404.log
669
- - test/serverspec/.kitchen/logs/kitchen.log
670
- - test/serverspec/Berksfile
671
- - test/serverspec/Berksfile.lock
672
- - test/serverspec/TODO.md
673
- - test/serverspec/test/integration/default/serverspec/os_spec.rb
674
- - test/serverspec/test/integration/default/serverspec/spec_helper.rb
675
- - test/serverspec/test/integration/default/serverspec/sysctl_spec.rb
676
- - test/solaris_test.rb
677
377
  - test/test-extra.yaml
678
378
  - test/test.yaml
679
379
  - test/unit/metadata_test.rb
@@ -684,6 +384,8 @@ files:
684
384
  - test/unit/mock/cmd/Resolve-DnsName
685
385
  - test/unit/mock/cmd/Test-NetConnection
686
386
  - test/unit/mock/cmd/auditctl
387
+ - test/unit/mock/cmd/auditctl-legacy
388
+ - test/unit/mock/cmd/auditctl-s
687
389
  - test/unit/mock/cmd/auditpol
688
390
  - test/unit/mock/cmd/brew-info-jq
689
391
  - test/unit/mock/cmd/chage-l-root
@@ -770,6 +472,8 @@ files:
770
472
  - test/unit/mock/profiles/legacy-empty-metadata/metadata.rb
771
473
  - test/unit/mock/profiles/legacy-simple-metadata/metadata.rb
772
474
  - test/unit/mock/profiles/legacy-simple-metadata/test/.gitkeep
475
+ - test/unit/mock/profiles/resource-tiny/inspec.yml
476
+ - test/unit/mock/profiles/resource-tiny/libraries/resource.rb
773
477
  - test/unit/mock/profiles/simple-metadata/inspec.yml
774
478
  - test/unit/plugin_test.rb
775
479
  - test/unit/profile_context_test.rb
@@ -816,10 +520,11 @@ files:
816
520
  - test/unit/resources/windows_feature.rb
817
521
  - test/unit/resources/yaml_test.rb
818
522
  - test/unit/resources/yum_test.rb
819
- - test/unit/simpleconfig_test.rb
820
523
  - test/unit/targets.rb
524
+ - test/unit/utils/filter_array_test.rb
821
525
  - test/unit/utils/find_files_test.rb
822
526
  - test/unit/utils/passwd_parser_test.rb
527
+ - test/unit/utils/simpleconfig_test.rb
823
528
  - test/unit/utils/solaris_netstat_parser.rb
824
529
  homepage: https://github.com/chef/inspec
825
530
  licenses:
@@ -841,224 +546,17 @@ required_rubygems_version: !ruby/object:Gem::Requirement
841
546
  version: '0'
842
547
  requirements: []
843
548
  rubyforge_project:
844
- rubygems_version: 2.4.6
549
+ rubygems_version: 2.5.1
845
550
  signing_key:
846
551
  specification_version: 4
847
552
  summary: Infrastructure and compliance testing.
848
553
  test_files:
849
- - test/chefdk/.gitignore
850
- - test/chefdk/.kitchen.yml
851
- - test/chefdk/Policyfile.rb
852
- - test/chefdk/README.md
853
- - test/chefdk/chefignore
854
- - test/chefdk/metadata.rb
855
- - test/chefdk/recipes/default.rb
856
- - test/chefdk/spec/spec_helper.rb
857
- - test/chefdk/spec/unit/recipes/default_spec.rb
858
- - test/chefdk/test/integration/default/serverspec/default_spec.rb
859
- - test/chefdk/test/integration/helpers/serverspec/spec_helper.rb
860
554
  - test/docker_run.rb
861
555
  - test/docker_test.rb
862
556
  - test/helper.rb
863
- - test/integration/.kitchen.chef.yml
864
557
  - test/integration/.kitchen.ec2.yml
865
- - test/integration/.kitchen.shell.yml
866
558
  - test/integration/.kitchen.yml
867
- - test/integration/.kitchen/default-aws-linux.yml
868
- - test/integration/.kitchen/default-centos-7.yml
869
- - test/integration/.kitchen/default-chef-solaris-1011.yml
870
- - test/integration/.kitchen/default-chef-solaris-113.yml
871
- - test/integration/.kitchen/default-chef-windows-server-2008r2-standard.yml
872
- - test/integration/.kitchen/default-chris-rock-omnios-r151014.yml
873
- - test/integration/.kitchen/default-debian-8.yml
874
- - test/integration/.kitchen/default-debian-81.yml
875
- - test/integration/.kitchen/default-fedora-22.yml
876
- - test/integration/.kitchen/default-omniti-omnios-r151014.yml
877
- - test/integration/.kitchen/default-redhat-65.yml
878
- - test/integration/.kitchen/default-redhat-71.yml
879
- - test/integration/.kitchen/default-suse-11sp3.yml
880
- - test/integration/.kitchen/default-suse-12.yml
881
- - test/integration/.kitchen/default-suse-hi11sp3.yml
882
- - test/integration/.kitchen/default-ubuntu-1204.yml
883
- - test/integration/.kitchen/default-ubuntu-1404.yml
884
- - test/integration/.kitchen/default-ubuntu-1510.yml
885
- - test/integration/.kitchen/default-windows-2008.yml
886
- - test/integration/.kitchen/default-windows-2012.yml
887
- - test/integration/.kitchen/default-windows-2012r2.yml
888
- - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-centos-67-i386/Vagrantfile
889
- - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-chef-solaris-1011/.vagrant/machines/default/virtualbox/action_set_name
890
- - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-chef-solaris-1011/.vagrant/machines/default/virtualbox/creator_uid
891
- - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-chef-solaris-1011/.vagrant/machines/default/virtualbox/id
892
- - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-chef-solaris-1011/.vagrant/machines/default/virtualbox/index_uuid
893
- - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-chef-solaris-1011/.vagrant/machines/default/virtualbox/private_key
894
- - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-chef-solaris-1011/.vagrant/machines/default/virtualbox/synced_folders
895
- - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-chef-solaris-1011/Vagrantfile
896
- - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-chef-solaris-113/.vagrant/machines/default/virtualbox/action_set_name
897
- - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-chef-solaris-113/.vagrant/machines/default/virtualbox/creator_uid
898
- - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-chef-solaris-113/.vagrant/machines/default/virtualbox/id
899
- - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-chef-solaris-113/.vagrant/machines/default/virtualbox/index_uuid
900
- - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-chef-solaris-113/.vagrant/machines/default/virtualbox/private_key
901
- - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-chef-solaris-113/.vagrant/machines/default/virtualbox/synced_folders
902
- - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-chef-solaris-113/Vagrantfile
903
- - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-chef-windows-server-2008r2-standard/.vagrant/machines/default/virtualbox/action_set_name
904
- - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-chef-windows-server-2008r2-standard/.vagrant/machines/default/virtualbox/creator_uid
905
- - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-chef-windows-server-2008r2-standard/.vagrant/machines/default/virtualbox/id
906
- - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-chef-windows-server-2008r2-standard/.vagrant/machines/default/virtualbox/index_uuid
907
- - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-chef-windows-server-2008r2-standard/.vagrant/machines/default/virtualbox/synced_folders
908
- - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-chef-windows-server-2008r2-standard/Vagrantfile
909
- - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-chris-rock-omnios-r151014/.vagrant/machines/default/virtualbox/action_set_name
910
- - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-chris-rock-omnios-r151014/.vagrant/machines/default/virtualbox/creator_uid
911
- - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-chris-rock-omnios-r151014/.vagrant/machines/default/virtualbox/id
912
- - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-chris-rock-omnios-r151014/.vagrant/machines/default/virtualbox/index_uuid
913
- - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-chris-rock-omnios-r151014/.vagrant/machines/default/virtualbox/private_key
914
- - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-chris-rock-omnios-r151014/.vagrant/machines/default/virtualbox/synced_folders
915
- - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-chris-rock-omnios-r151014/Vagrantfile
916
- - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-debian-81/.vagrant/machines/default/virtualbox/action_set_name
917
- - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-debian-81/.vagrant/machines/default/virtualbox/creator_uid
918
- - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-debian-81/.vagrant/machines/default/virtualbox/id
919
- - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-debian-81/.vagrant/machines/default/virtualbox/index_uuid
920
- - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-debian-81/.vagrant/machines/default/virtualbox/private_key
921
- - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-debian-81/.vagrant/machines/default/virtualbox/synced_folders
922
- - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-debian-81/Vagrantfile
923
- - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-modernIE-w10-edge/.vagrant/machines/default/virtualbox/action_set_name
924
- - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-modernIE-w10-edge/.vagrant/machines/default/virtualbox/creator_uid
925
- - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-modernIE-w10-edge/.vagrant/machines/default/virtualbox/id
926
- - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-modernIE-w10-edge/.vagrant/machines/default/virtualbox/index_uuid
927
- - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-modernIE-w10-edge/Vagrantfile
928
- - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-omniti-omnios-r151014/.vagrant/machines/default/virtualbox/action_set_name
929
- - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-omniti-omnios-r151014/.vagrant/machines/default/virtualbox/creator_uid
930
- - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-omniti-omnios-r151014/.vagrant/machines/default/virtualbox/id
931
- - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-omniti-omnios-r151014/.vagrant/machines/default/virtualbox/index_uuid
932
- - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-omniti-omnios-r151014/.vagrant/machines/default/virtualbox/private_key
933
- - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-omniti-omnios-r151014/Vagrantfile
934
- - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1204/.vagrant/machines/default/virtualbox/action_set_name
935
- - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1204/.vagrant/machines/default/virtualbox/creator_uid
936
- - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1204/.vagrant/machines/default/virtualbox/id
937
- - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1204/.vagrant/machines/default/virtualbox/index_uuid
938
- - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1204/.vagrant/machines/default/virtualbox/private_key
939
- - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1204/.vagrant/machines/default/virtualbox/synced_folders
940
- - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1204/Vagrantfile
941
- - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1404/.vagrant/machines/default/virtualbox/action_set_name
942
- - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1404/.vagrant/machines/default/virtualbox/creator_uid
943
- - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1404/.vagrant/machines/default/virtualbox/id
944
- - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1404/.vagrant/machines/default/virtualbox/index_uuid
945
- - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1404/.vagrant/machines/default/virtualbox/private_key
946
- - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1404/.vagrant/machines/default/virtualbox/synced_folders
947
- - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-ubuntu-1404/Vagrantfile
948
- - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-windows-2012R2-matt/.vagrant/machines/default/virtualbox/action_set_name
949
- - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-windows-2012R2-matt/.vagrant/machines/default/virtualbox/creator_uid
950
- - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-windows-2012R2-matt/.vagrant/machines/default/virtualbox/id
951
- - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-windows-2012R2-matt/.vagrant/machines/default/virtualbox/index_uuid
952
- - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-default-windows-2012R2-matt/Vagrantfile
953
- - test/integration/.kitchen/kitchen-vagrant/kitchen-integration-new-ubuntu-1404/Vagrantfile
954
- - test/integration/.kitchen/logs/default-aws-linux.log
955
- - test/integration/.kitchen/logs/default-centos-511-i386.log
956
- - test/integration/.kitchen/logs/default-centos-511.log
957
- - test/integration/.kitchen/logs/default-centos-67-i386.log
958
- - test/integration/.kitchen/logs/default-centos-67.log
959
- - test/integration/.kitchen/logs/default-centos-7.log
960
- - test/integration/.kitchen/logs/default-centos-71.log
961
- - test/integration/.kitchen/logs/default-chef-solaris-1011.log
962
- - test/integration/.kitchen/logs/default-chef-solaris-113.log
963
- - test/integration/.kitchen/logs/default-chef-windows-server-2008r2-standard.log
964
- - test/integration/.kitchen/logs/default-chef-windows-server-2012r2-standard.log
965
- - test/integration/.kitchen/logs/default-chris-rock-omnios-r151014.log
966
- - test/integration/.kitchen/logs/default-debian-6010-i386.log
967
- - test/integration/.kitchen/logs/default-debian-6010.log
968
- - test/integration/.kitchen/logs/default-debian-78-i386.log
969
- - test/integration/.kitchen/logs/default-debian-78.log
970
- - test/integration/.kitchen/logs/default-debian-8.log
971
- - test/integration/.kitchen/logs/default-debian-81-i386.log
972
- - test/integration/.kitchen/logs/default-debian-81.log
973
- - test/integration/.kitchen/logs/default-dusank-oi-server.log
974
- - test/integration/.kitchen/logs/default-fedora-21-i386.log
975
- - test/integration/.kitchen/logs/default-fedora-21.log
976
- - test/integration/.kitchen/logs/default-fedora-22.log
977
- - test/integration/.kitchen/logs/default-freebsd-102.log
978
- - test/integration/.kitchen/logs/default-freebsd-93.log
979
- - test/integration/.kitchen/logs/default-livinginthepast-smartos-base64.log
980
- - test/integration/.kitchen/logs/default-mint-172-cinnamon.log
981
- - test/integration/.kitchen/logs/default-modernIE-w10-edge.log
982
- - test/integration/.kitchen/logs/default-modernIE-w7-ie11.log
983
- - test/integration/.kitchen/logs/default-modernIE-w81-ie11.log
984
- - test/integration/.kitchen/logs/default-omniti-omnios-r151014.log
985
- - test/integration/.kitchen/logs/default-opensuse-132-i386.log
986
- - test/integration/.kitchen/logs/default-opensuse-132-x86-64.log
987
- - test/integration/.kitchen/logs/default-opentable-win-2008r2-standard-amd64-nocm.log
988
- - test/integration/.kitchen/logs/default-opentable-win-2012r2-standard-amd64-nocm.log
989
- - test/integration/.kitchen/logs/default-redhat-65.log
990
- - test/integration/.kitchen/logs/default-redhat-71.log
991
- - test/integration/.kitchen/logs/default-suse-11sp3.log
992
- - test/integration/.kitchen/logs/default-suse-12.log
993
- - test/integration/.kitchen/logs/default-suse-hi11sp3.log
994
- - test/integration/.kitchen/logs/default-ubuntu-1004-i386.log
995
- - test/integration/.kitchen/logs/default-ubuntu-1004.log
996
- - test/integration/.kitchen/logs/default-ubuntu-1204-i386.log
997
- - test/integration/.kitchen/logs/default-ubuntu-1204.log
998
- - test/integration/.kitchen/logs/default-ubuntu-1404-i386.log
999
- - test/integration/.kitchen/logs/default-ubuntu-1404.log
1000
- - test/integration/.kitchen/logs/default-ubuntu-1510.log
1001
- - test/integration/.kitchen/logs/default-windows-2008-opentable.log
1002
- - test/integration/.kitchen/logs/default-windows-2008.log
1003
- - test/integration/.kitchen/logs/default-windows-2012.log
1004
- - test/integration/.kitchen/logs/default-windows-2012R2-matt.log
1005
- - test/integration/.kitchen/logs/default-windows-2012r2-opentable.log
1006
- - test/integration/.kitchen/logs/default-windows-2012r2.log
1007
- - test/integration/.kitchen/logs/default-winrm.log
1008
- - test/integration/.kitchen/logs/kitchen.log
1009
- - test/integration/.kitchen/logs/new-centos-511-i386.log
1010
- - test/integration/.kitchen/logs/new-centos-511.log
1011
- - test/integration/.kitchen/logs/new-centos-67-i386.log
1012
- - test/integration/.kitchen/logs/new-centos-67.log
1013
- - test/integration/.kitchen/logs/new-centos-71.log
1014
- - test/integration/.kitchen/logs/new-debian-6010-i386.log
1015
- - test/integration/.kitchen/logs/new-debian-6010.log
1016
- - test/integration/.kitchen/logs/new-debian-78-i386.log
1017
- - test/integration/.kitchen/logs/new-debian-78.log
1018
- - test/integration/.kitchen/logs/new-debian-81-i386.log
1019
- - test/integration/.kitchen/logs/new-debian-81.log
1020
- - test/integration/.kitchen/logs/new-fedora-21-i386.log
1021
- - test/integration/.kitchen/logs/new-fedora-21.log
1022
- - test/integration/.kitchen/logs/new-fedora-22.log
1023
- - test/integration/.kitchen/logs/new-freebsd-102.log
1024
- - test/integration/.kitchen/logs/new-freebsd-93.log
1025
- - test/integration/.kitchen/logs/new-opensuse-132-i386.log
1026
- - test/integration/.kitchen/logs/new-opensuse-132-x86-64.log
1027
- - test/integration/.kitchen/logs/new-ubuntu-1004-i386.log
1028
- - test/integration/.kitchen/logs/new-ubuntu-1004.log
1029
- - test/integration/.kitchen/logs/new-ubuntu-1204-i386.log
1030
- - test/integration/.kitchen/logs/new-ubuntu-1204.log
1031
- - test/integration/.kitchen/logs/new-ubuntu-1404-i386.log
1032
- - test/integration/.kitchen/logs/new-ubuntu-1404.log
1033
- - test/integration/.kitchen/logs/test-centos-511-i386.log
1034
- - test/integration/.kitchen/logs/test-centos-511.log
1035
- - test/integration/.kitchen/logs/test-centos-67-i386.log
1036
- - test/integration/.kitchen/logs/test-centos-67.log
1037
- - test/integration/.kitchen/logs/test-centos-71.log
1038
- - test/integration/.kitchen/logs/test-debian-6010-i386.log
1039
- - test/integration/.kitchen/logs/test-debian-6010.log
1040
- - test/integration/.kitchen/logs/test-debian-78-i386.log
1041
- - test/integration/.kitchen/logs/test-debian-78.log
1042
- - test/integration/.kitchen/logs/test-debian-81-i386.log
1043
- - test/integration/.kitchen/logs/test-debian-81.log
1044
- - test/integration/.kitchen/logs/test-fedora-21-i386.log
1045
- - test/integration/.kitchen/logs/test-fedora-21.log
1046
- - test/integration/.kitchen/logs/test-fedora-22.log
1047
- - test/integration/.kitchen/logs/test-freebsd-102.log
1048
- - test/integration/.kitchen/logs/test-freebsd-93.log
1049
- - test/integration/.kitchen/logs/test-opensuse-132-i386.log
1050
- - test/integration/.kitchen/logs/test-opensuse-132-x86-64.log
1051
- - test/integration/.kitchen/logs/test-ubuntu-1004-i386.log
1052
- - test/integration/.kitchen/logs/test-ubuntu-1004.log
1053
- - test/integration/.kitchen/logs/test-ubuntu-1204-i386.log
1054
- - test/integration/.kitchen/logs/test-ubuntu-1204.log
1055
- - test/integration/.kitchen/logs/test-ubuntu-1404-i386.log
1056
- - test/integration/.kitchen/logs/test-ubuntu-1404.log
1057
- - test/integration/.kitchen/new-ubuntu-1404.yml
1058
559
  - test/integration/Berksfile
1059
- - test/integration/Berksfile.lock
1060
- - test/integration/TODO.md
1061
- - test/integration/bootstrap.sh
1062
560
  - test/integration/cookbooks/os_prepare/files/empty.iso
1063
561
  - test/integration/cookbooks/os_prepare/files/example.csv
1064
562
  - test/integration/cookbooks/os_prepare/files/example.ini
@@ -1069,6 +567,7 @@ test_files:
1069
567
  - test/integration/cookbooks/os_prepare/recipes/_upstart_service_centos.rb
1070
568
  - test/integration/cookbooks/os_prepare/recipes/apache.rb
1071
569
  - test/integration/cookbooks/os_prepare/recipes/apt.rb
570
+ - test/integration/cookbooks/os_prepare/recipes/auditctl.rb
1072
571
  - test/integration/cookbooks/os_prepare/recipes/default.rb
1073
572
  - test/integration/cookbooks/os_prepare/recipes/file.rb
1074
573
  - test/integration/cookbooks/os_prepare/recipes/json_yaml_csv_ini.rb
@@ -1078,12 +577,10 @@ test_files:
1078
577
  - test/integration/cookbooks/os_prepare/recipes/registry_key.rb
1079
578
  - test/integration/cookbooks/os_prepare/recipes/service.rb
1080
579
  - test/integration/cookbooks/os_prepare/templates/default/sv-default-svlog-run.erb
1081
- - test/integration/test/.DS_Store
1082
- - test/integration/test/integration/.DS_Store
1083
- - test/integration/test/integration/default/.DS_Store
1084
580
  - test/integration/test/integration/default/_debug_spec.rb
581
+ - test/integration/test/integration/default/apache_conf_spec.rb
1085
582
  - test/integration/test/integration/default/apt_spec.rb
1086
- - test/integration/test/integration/default/certificate_spec.rb
583
+ - test/integration/test/integration/default/auditd_rules_spec.rb
1087
584
  - test/integration/test/integration/default/compare_matcher_spec.rb
1088
585
  - test/integration/test/integration/default/csv_spec.rb
1089
586
  - test/integration/test/integration/default/etc_group_spec.rb
@@ -1103,30 +600,11 @@ test_files:
1103
600
  - test/integration/test/integration/default/service_spec.rb
1104
601
  - test/integration/test/integration/default/user_spec.rb
1105
602
  - test/integration/test/integration/default/yaml_spec.rb
1106
- - test/mac/service_spec.rb
1107
603
  - test/resource/command_test.rb
1108
604
  - test/resource/dsl_test.rb
1109
605
  - test/resource/file_test.rb
1110
606
  - test/resource/ssh_config.rb
1111
607
  - test/resource/sshd_config.rb
1112
- - test/serverspec/.kitchen.yml
1113
- - test/serverspec/.kitchen/default-ubuntu-1404.yml
1114
- - test/serverspec/.kitchen/kitchen-vagrant/kitchen-serverspec-default-ubuntu-1404/.vagrant/machines/default/virtualbox/action_set_name
1115
- - test/serverspec/.kitchen/kitchen-vagrant/kitchen-serverspec-default-ubuntu-1404/.vagrant/machines/default/virtualbox/creator_uid
1116
- - test/serverspec/.kitchen/kitchen-vagrant/kitchen-serverspec-default-ubuntu-1404/.vagrant/machines/default/virtualbox/id
1117
- - test/serverspec/.kitchen/kitchen-vagrant/kitchen-serverspec-default-ubuntu-1404/.vagrant/machines/default/virtualbox/index_uuid
1118
- - test/serverspec/.kitchen/kitchen-vagrant/kitchen-serverspec-default-ubuntu-1404/.vagrant/machines/default/virtualbox/private_key
1119
- - test/serverspec/.kitchen/kitchen-vagrant/kitchen-serverspec-default-ubuntu-1404/.vagrant/machines/default/virtualbox/synced_folders
1120
- - test/serverspec/.kitchen/kitchen-vagrant/kitchen-serverspec-default-ubuntu-1404/Vagrantfile
1121
- - test/serverspec/.kitchen/logs/default-ubuntu-1404.log
1122
- - test/serverspec/.kitchen/logs/kitchen.log
1123
- - test/serverspec/Berksfile
1124
- - test/serverspec/Berksfile.lock
1125
- - test/serverspec/TODO.md
1126
- - test/serverspec/test/integration/default/serverspec/os_spec.rb
1127
- - test/serverspec/test/integration/default/serverspec/spec_helper.rb
1128
- - test/serverspec/test/integration/default/serverspec/sysctl_spec.rb
1129
- - test/solaris_test.rb
1130
608
  - test/test-extra.yaml
1131
609
  - test/test.yaml
1132
610
  - test/unit/metadata_test.rb
@@ -1137,6 +615,8 @@ test_files:
1137
615
  - test/unit/mock/cmd/Resolve-DnsName
1138
616
  - test/unit/mock/cmd/Test-NetConnection
1139
617
  - test/unit/mock/cmd/auditctl
618
+ - test/unit/mock/cmd/auditctl-legacy
619
+ - test/unit/mock/cmd/auditctl-s
1140
620
  - test/unit/mock/cmd/auditpol
1141
621
  - test/unit/mock/cmd/brew-info-jq
1142
622
  - test/unit/mock/cmd/chage-l-root
@@ -1223,6 +703,8 @@ test_files:
1223
703
  - test/unit/mock/profiles/legacy-empty-metadata/metadata.rb
1224
704
  - test/unit/mock/profiles/legacy-simple-metadata/metadata.rb
1225
705
  - test/unit/mock/profiles/legacy-simple-metadata/test/.gitkeep
706
+ - test/unit/mock/profiles/resource-tiny/inspec.yml
707
+ - test/unit/mock/profiles/resource-tiny/libraries/resource.rb
1226
708
  - test/unit/mock/profiles/simple-metadata/inspec.yml
1227
709
  - test/unit/plugin_test.rb
1228
710
  - test/unit/profile_context_test.rb
@@ -1269,8 +751,9 @@ test_files:
1269
751
  - test/unit/resources/windows_feature.rb
1270
752
  - test/unit/resources/yaml_test.rb
1271
753
  - test/unit/resources/yum_test.rb
1272
- - test/unit/simpleconfig_test.rb
1273
754
  - test/unit/targets.rb
755
+ - test/unit/utils/filter_array_test.rb
1274
756
  - test/unit/utils/find_files_test.rb
1275
757
  - test/unit/utils/passwd_parser_test.rb
758
+ - test/unit/utils/simpleconfig_test.rb
1276
759
  - test/unit/utils/solaris_netstat_parser.rb