Hi osquery team,
I have been using osquery and encountered an error while executing a specific query. Initially, the query executed successfully without any errors. However, after some time, I started receiving the following error message:
"E0624 160122.607511 28871 mounts.cpp:65] getmntent_r failed with errno 22"
The query I am running is:
"select encrypted from disk_encryption where name IN (SELECT device_alias FROM mounts WHERE path = '/')"
Interestingly, despite the error, the query still returns the expected result, which is a single row with the value "0" in the "encrypted" column.
Additionally, I am facing difficulties in retrieving the encrypted data of the hard drives over TLS. I would appreciate it if someone could guide me on the proper way to retrieve this information securely.
I would appreciate any insights, suggestions, or guidance on resolving the error and securely retrieving the encrypted data over TLS.
Thank you for your assistance!