lamw / vmware-scripts

Various scripts for VMware based solutions
http://www.williamlam.com/
BSD 2-Clause "Simplified" License
859 stars 489 forks source link

Fix AffectedOncePatched logic #51

Closed danbarr closed 6 years ago

danbarr commented 6 years ago

The logic for the new "AffectedOncePatched" result for IntelSightings was setting that state for hosts which had already been patched and are actively affected, and True for hosts not yet patched. Should be the other way around.

lamw commented 6 years ago

@adarobin Can you confirm the logic is reversed since you submitted the patch?

adarobin commented 6 years ago

@lamw That is correct, not sure how I managed to mess that up. Thanks @danbarr!