mirror of
https://github.com/chainguard-dev/osquery-defense-kit
synced 2024-12-09 07:38:44 +00:00
9 lines
256 B
MySQL
9 lines
256 B
MySQL
|
-- Indicative of a machine that probably needs a reboot
|
||
|
SELECT os_version.name AS os_name,
|
||
|
os_version.version AS os_version,
|
||
|
kernel_info.version AS kernel,
|
||
|
days AS uptime_days
|
||
|
FROM kernel_info,
|
||
|
os_version,
|
||
|
uptime
|
||
|
WHERE uptime.days > 60;
|