Trung-Dung Hoang
06/28/2023, 10:48 PMattributes(user_data=True)
in the table schema? (https://github.com/osquery/osquery/blob/master/specs/user_ssh_keys.table#L14 for example)Kathy Satterlee
06/29/2023, 3:41 PM> user_data=True: This tells the caller that they should provide a uid in the query predicate. By default the table will inspect the current user's content, but may be asked to include results from others.
Kathy Satterlee
06/30/2023, 4:13 PMusers
table), this query only returns results for the current user.
Typically that means that without specifying a user, you’ll see results for your user with osqueryi
and no results with osqueryd
.