Skip to content

Question: does parsing status logs still requires this "hack" #128

Description

@hedwigz

I am wondering whether this piece of code is still needed?

// Dirty hack because osquery gives us malformed JSON.
statusJSON = bytes.Replace(statusJSON, []byte(`"":`), []byte(``), -1)
statusJSON[0] = '['
statusJSON[len(statusJSON)-1] = ']'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions