-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Missing columns (?) resulting in: Error casting $COLUMN () to $TYPE #6319
Comments
For additional context - I am still receiving results from these, so I think maybe just some of the columns are missing? From #general in the osquery slack:
|
Similar previous issue: #2832 |
This was partially fixed in #6371, |
The |
On darwin, `soi_so` is an unsigned 64bit number. sqlite, however, is signed. Current behavior is to emit a warning, and drop the column. It's not clear we have a good fix for the type mismatch, so comment and drop it in the virtual table instead. Relates to: osquery#6319
On darwin, `soi_so` is an unsigned 64bit number. sqlite, however, is signed. Current behavior is to emit a warning, and drop the column. It's not clear we have a good fix for the type mismatch, so comment and drop it in the virtual table instead. Relates to: osquery#6319
FYI @dandavison |
Bug report
What operating system and version are you using?
Reproduced using Mac and Linux, and
What version of osquery are you using?
tested 4.2.0 and a few earlier versions
What steps did you take to reproduce the issue?
Run osqueryd in foreground with specific scheduled queries, with
--verbose
flag on.What did you expect to see?
No errors related to query execution
What did you see instead?
I saw t 8000 his for multiple tables, but this is the pattern:
Error casting $COLUMN () to $TYPE
I'll try to list the tables below...
Querying
interface_details
on Linux:Table
usb_devices
(macOS):Table
interface_details
(macOS):Tables
hash
,process_events
,users
,groups
(macOS):Table
process_open_sockets
(macOS):Table
docker_containers
,docker_container_stats
(macOS):Tables
users
,account_policy_data
(macOS):The text was updated successfully, but these errors were encountered: