hey hey - I’m looking SystemControlsTest.test_sani...
# general
d
hey hey - I’m looking SystemControlsTest.test_sanity and have hit upon SpecificValuesCheck. The implementation looks like it fails if any values are provided that aren’t in initial list. I’m curious if this is the intended behavior or if it is intended to check that those values are present at a minimum. The relevant snippets are, the test: https://github.com/osquery/osquery/blob/dd575f93f4b32a1d1fa69a58d25689ab323716da/tests/integration/tables/system_controls.cpp#L31-L44 , the SpecificValuesCheck implementation https://github.com/osquery/osquery/blob/dd575f93f4b32a1d1fa69a58d25689ab323716da/tests/integration/tables/helper.h#L29-L37 and https://github.com/osquery/osquery/blob/dd575f93f4b32a1d1fa69a58d25689ab323716da/tests/integration/tables/helper.cpp#L104