Skip to content

Fixed serialization error in /results for console#911

Merged
javuto merged 1 commit into
developfrom
fix-console-errors
Jul 22, 2026
Merged

Fixed serialization error in /results for console#911
javuto merged 1 commit into
developfrom
fix-console-errors

Conversation

@javuto

@javuto javuto commented Jul 22, 2026

Copy link
Copy Markdown
Collaborator

The console result decoder was expecting osquery_query_data.data to be the raw result array, but real TLS ingestion stores a types.QueryWriteData wrapper:

{ "name": "...", "result": [ ... ], "status": 0, "message": "" }

So /results hit a JSON unmarshal error and returned the generic error getting command results.

@javuto javuto added 🚧 bugfix Fix for an existing bug 🖥️ console Console related issues labels Jul 22, 2026
@javuto
javuto merged commit 4fbc526 into develop Jul 22, 2026
7 checks passed
@javuto
javuto deleted the fix-console-errors branch July 22, 2026 06:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🚧 bugfix Fix for an existing bug 🖥️ console Console related issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant