steampipe plugin install grendel-consulting/kolide

Table: kolide_issue

Lists the issues created when a device fails a check; some checks, when they fail, will produce multiple Issues, each with a unique primary_key_value.

Examples

Basic info

select
title,
detected_at,
blocks_device_at,
resolved_at,
exempted
from
kolide_issue;

List all unresolved issues

select
title,
detected_at,
value
from
kolide_issue
where
resolved_at is null;

List all device-blocking issues

select
title,
detected_at,
value
from
kolide_issue
where
blocks_device_at is not null;

List all ignored issues

select
title,
detected_at,
value
from
kolide_issue
where
exempted = true;

List devices with open issues

select
device_id,
count(device_id) as count
from
kolide_issue
where
resolved_at is null
group by
device_id;

Schema for kolide_issue

NameTypeOperatorsDescription
_ctxjsonbSteampipe context in JSON form.
blocks_device_attimestamp with time zone=, >, <When the device will be blocked from authenticating by this failing issue, or null if the check is not configured to block authentication.
check_idtext=, ~~Canonical identifier for the check this issue relates to.
detected_attimestamp with time zone=, >, <When this issue was initially detected.
device_idtext=, ~~Canonical identifier for the device this issue relates to.
exemptedboolean=Whether this issue has been granted an exemption.
idtext=Canonical identifier for this issue.
issue_keytext=, ~~Primary key that distinguishes one issue from another in the context of a single check; only applicable for checks that can produce multiple issues.
issue_valuetext=, ~~Primary identifying value that distinguishes one issue from another in the context of a single check; only applicable for checks that can produce multiple issues.
last_rechecked_attimestamp with time zone=, ~~When this issue was last rechecked.
resolved_attimestamp with time zone=, >, <When this issue was resolved, or null if still open.
sp_connection_nametext=, !=, ~~, ~~*, !~~, !~~*Steampipe connection name.
sp_ctxjsonbSteampipe context in JSON form.
titletext=, ~~Descriptive title for this issue.
valuejsonbRelevant data that describes why the device failed the check.