Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add UpToDate key to kolide_softwareupdate tables when there are no recommended updates #1127

Merged

Conversation

RebeccaMahany
Copy link
Contributor

This should allow us to differentiate between no rows due to an error (e.g. a parsing error or a scanning error), and no rows due to the device being up-to-date. Now one row will be returned indicating that the device is up to date.

osquery> select * from kolide_softwareupdate_scan;
+------------+--------+----------+-------+-------+
| fullkey    | parent | key      | value | query |
+------------+--------+----------+-------+-------+
| 0/UpToDate | 0      | UpToDate | true  | *     |
+------------+--------+----------+-------+-------+
osquery> select * from kolide_softwareupdate;
+------------+--------+----------+-------+-------+
| fullkey    | parent | key      | value | query |
+------------+--------+----------+-------+-------+
| 0/UpToDate | 0      | UpToDate | true  | *     |
+------------+--------+----------+-------+-------+

@RebeccaMahany RebeccaMahany merged commit f6b6644 into kolide:main Apr 13, 2023
@RebeccaMahany RebeccaMahany deleted the becca/softwareupdate-uptodate branch April 13, 2023 13:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants