2
0
Fork 0
mirror of https://github.com/inspec/inspec synced 2025-01-08 03:09:04 +00:00
inspec/test/unit/mock/cmd/kb4019215
Matt Ray e23249d635 windows_hotfix resource: test whether a Windows HotFix is installed ()
* 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

3 lines
244 B
Text

Source Description HotFixID InstalledBy InstalledOn
------ ----------- -------- ----------- -----------
WIN-5D1TOG... Security Update KB4019215 WIN-5D1TOGIF18D\\v... 6/5/2017 12:00:00 AM