Now also returning last boottime by doing bootup time and math from current time
10 lines
271 B
JSON
10 lines
271 B
JSON
{
|
|
"permissions": {
|
|
"allow": [
|
|
"Bash(\"BuildDir\\bin\\Debug\\Assets\\osqueryi.exe\" --json \"SELECT datetime((SELECT CAST(unix_time AS INTEGER) FROM time) - total_seconds, ''unixepoch'') as boot_time FROM uptime;\")"
|
|
],
|
|
"deny": [],
|
|
"ask": []
|
|
}
|
|
}
|