https://github.com/osquery/osquery logo
#extensions
Title
# extensions
n

nle

09/24/2020, 8:47 AM
hey, I'm using
request.constraints[""].getAll(osquery::EQUALS)
in my extension to get the query parameters. it's looks like this:
auto connection_details_list = request.constraints["connection_details"].getAll(osquery::EQUALS);
for (std::string connection_details : connection_details_list)
{
.....
}
From some reason, I don't get anything. My query:
SELECT * FROM MyTable WHERE connection_details = "username|password" AND ... AND ...;
connection_details_list.empty() returns true.
3 Views