inspec/test/integration/default/controls
Matt Ray e23249d635 windows_hotfix resource: test whether a Windows HotFix is installed (#2178)
* Add hotfix resource for Windows

Signed-off-by: Matt Ray <matthewhray@gmail.com>

* Renamed hotfix to windows_hotfix

Added additional unit test checking for KB that is not present on a box

Signed-off-by: Matt Ray <matthewhray@gmail.com>

* Integration test to spot-check for hotfixes

Queries the Windows operating system via Powershell for a list of all
installed hotfixes and spot-checks every 10th one with the
windows_hotfix resource. Checking hundreds is time-consuming. Also
checks to ensure a non-installed hotfix is not present.

Signed-off-by: Matt Ray <matthewhray@gmail.com>
2017-09-25 19:09:22 +02:00
..
_debug_spec.rb add functional tests for inspec check (#2077) 2017-08-15 20:41:24 +02:00
apache_conf_spec.rb add functional tests for inspec check (#2077) 2017-08-15 20:41:24 +02:00
apt_spec.rb add functional tests for inspec check (#2077) 2017-08-15 20:41:24 +02:00
auditd_rules_spec.rb add functional tests for inspec check (#2077) 2017-08-15 20:41:24 +02:00
cmp_matcher_spec.rb add functional tests for inspec check (#2077) 2017-08-15 20:41:24 +02:00
csv_spec.rb add functional tests for inspec check (#2077) 2017-08-15 20:41:24 +02:00
dh_params_spec.rb add functional tests for inspec check (#2077) 2017-08-15 20:41:24 +02:00
docker_spec.rb add functional tests for inspec check (#2077) 2017-08-15 20:41:24 +02:00
etc_group_spec.rb add functional tests for inspec check (#2077) 2017-08-15 20:41:24 +02:00
file_spec.rb File Resource: add be_setgid, be_setuid, be_sticky matchers (#2104) 2017-09-03 20:43:13 +02:00
group_spec.rb add functional tests for inspec check (#2077) 2017-08-15 20:41:24 +02:00
iis_site_spec.rb add functional tests for inspec check (#2077) 2017-08-15 20:41:24 +02:00
ini_spec.rb add functional tests for inspec check (#2077) 2017-08-15 20:41:24 +02:00
iptables_spec.rb add functional tests for inspec check (#2077) 2017-08-15 20:41:24 +02:00
json_spec.rb add functional tests for inspec check (#2077) 2017-08-15 20:41:24 +02:00
kernel_module_spec.rb add functional tests for inspec check (#2077) 2017-08-15 20:41:24 +02:00
kernel_parameter_spec.rb add functional tests for inspec check (#2077) 2017-08-15 20:41:24 +02:00
matcher_test.rb add functional tests for inspec check (#2077) 2017-08-15 20:41:24 +02:00
mount_spec.rb add functional tests for inspec check (#2077) 2017-08-15 20:41:24 +02:00
os_spec.rb add functional tests for inspec check (#2077) 2017-08-15 20:41:24 +02:00
package_spec.rb add functional tests for inspec check (#2077) 2017-08-15 20:41:24 +02:00
port_spec.rb add functional tests for inspec check (#2077) 2017-08-15 20:41:24 +02:00
postgres_session_spec.rb add functional tests for inspec check (#2077) 2017-08-15 20:41:24 +02:00
powershell_spec.rb add functional tests for inspec check (#2077) 2017-08-15 20:41:24 +02:00
registry_key_spec.rb add functional tests for inspec check (#2077) 2017-08-15 20:41:24 +02:00
secpol_spec.rb add functional tests for inspec check (#2077) 2017-08-15 20:41:24 +02:00
service_spec.rb add functional tests for inspec check (#2077) 2017-08-15 20:41:24 +02:00
toml_spec.rb add functional tests for inspec check (#2077) 2017-08-15 20:41:24 +02:00
user_spec.rb add functional tests for inspec check (#2077) 2017-08-15 20:41:24 +02:00
vbscript_spec.rb add functional tests for inspec check (#2077) 2017-08-15 20:41:24 +02:00
virtualization_spec.rb add functional tests for inspec check (#2077) 2017-08-15 20:41:24 +02:00
windows_hotfix_spec.rb windows_hotfix resource: test whether a Windows HotFix is installed (#2178) 2017-09-25 19:09:22 +02:00
windows_task_spec.rb add functional tests for inspec check (#2077) 2017-08-15 20:41:24 +02:00
wmi_spec.rb add functional tests for inspec check (#2077) 2017-08-15 20:41:24 +02:00
x509_spec.rb add functional tests for inspec check (#2077) 2017-08-15 20:41:24 +02:00
xml_spec.rb Add support for XML files (#2107) 2017-08-31 09:56:14 +02:00
yaml_spec.rb add functional tests for inspec check (#2077) 2017-08-15 20:41:24 +02:00