osquery

osquery (resource: ID, resourceTypeUri: String) → Osquery

Generate a osquery response, containing the enrollSecret which is required for authenticating the osqueryd.

The generated secret ensures that only authorized osqueryd clients can register and communicate securely with the server.