Title
#general
l

Lawrence D'Anna

04/29/2020, 9:43 PM
does osquery have a table for Mac OS
os_log()
logging?
Mike Myers

Mike Myers

05/04/2020, 9:15 PM
I think that goes to the Unified Log System, so, no. Because reading from that would require an API (Apple provides none) or forking execution to call the Apple CLI utility (osquery design philosophy is to not fork or spawn other processes)
9:16 PM
l

Lawrence D'Anna

05/04/2020, 9:18 PM
thanks 🙂
9:22 PM
OSLog.framework doesn’t have whats needed?https://developer.apple.com/documentation/oslog
Mike Myers

Mike Myers

05/04/2020, 9:44 PM
oh what's this, is this new? I see
macOS 10.15+
l

Lawrence D'Anna

05/04/2020, 9:45 PM
yea, first appeared in 10.15 i think
Mike Myers

Mike Myers

05/04/2020, 9:48 PM
I see the earliest examples I can find from around November 2019, that's cool, I will go update our issue on this. An osquery table is now possible in core. Although it looks like there might be an entitlement required, which means code-signing etc