Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion x-pack/osquerybeat/beater/config_plugin_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,10 @@ import (
"path/filepath"
"testing"

"github.com/elastic/beats/v7/libbeat/logp"
"github.com/google/go-cmp/cmp"

"github.com/elastic/beats/v7/libbeat/logp"

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: should there be an empty line?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is what mage ftm gave, but yes removing is ok. Thanks!

"github.com/elastic/beats/v7/x-pack/osquerybeat/internal/testutil"
)

Expand Down
3 changes: 2 additions & 1 deletion x-pack/osquerybeat/beater/logger_plugin.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,9 @@ import (
"context"
"encoding/json"

"github.com/elastic/beats/v7/libbeat/logp"
"github.com/kolide/osquery-go/plugin/logger"

"github.com/elastic/beats/v7/libbeat/logp"
)

type SnapshotResult struct {
Expand Down
3 changes: 2 additions & 1 deletion x-pack/osquerybeat/beater/logger_plugin_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,11 @@ import (
"encoding/json"
"testing"

"github.com/elastic/beats/v7/libbeat/logp"
"github.com/google/go-cmp/cmp"
"github.com/kolide/osquery-go/plugin/logger"

"github.com/elastic/beats/v7/libbeat/logp"

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: same here

"github.com/elastic/beats/v7/x-pack/osquerybeat/internal/testutil"
)

Expand Down
3 changes: 2 additions & 1 deletion x-pack/osquerybeat/internal/osqd/osqueryd.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,9 @@ import (
"time"

"github.com/dolmen-go/contextio"
"github.com/elastic/beats/v7/libbeat/logp"
"github.com/pkg/errors"

"github.com/elastic/beats/v7/libbeat/logp"
)

const (
Expand Down
3 changes: 2 additions & 1 deletion x-pack/osquerybeat/internal/osqd/osqueryd_windows.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,9 @@ import (

"github.com/gofrs/uuid"
)

const (
extensionName = "osquery-extension.exe"
extensionName = "osquery-extension.exe"
)

func CreateSocketPath() (string, func(), error) {
Expand Down
3 changes: 2 additions & 1 deletion x-pack/osquerybeat/internal/osqdcli/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,9 @@ import (

"golang.org/x/sync/semaphore"

"github.com/elastic/beats/v7/libbeat/logp"
"github.com/kolide/osquery-go"

"github.com/elastic/beats/v7/libbeat/logp"
)

const (
Expand Down