Skip to content

ebpf plugin + parser #4559

ebpf plugin + parser

ebpf plugin + parser #4559

Triggered via pull request January 8, 2025 18:26
Status Failure
Total duration 5m 55s
Artifacts

golangci-lint.yaml

on: pull_request
Matrix: Lint
Fit to window
Zoom out
Zoom in

Annotations

20 errors and 4 warnings
Lint (windows, arm64): pkg/plugin/ebpfwindows/ebpf_windows.go#L172
Error return value of `eventsMap.UnregisterForCallback` is not checked (errcheck)
Lint (windows, arm64): pkg/plugin/ebpfwindows/ebpf_windows_test.go#L22
Error return value of `log.SetupZapLogger` is not checked (errcheck)
Lint (windows, arm64): pkg/plugin/ebpfwindows/ebpf_windows.go#L7
commentFormatting: put a space between `//` and comment text (gocritic)
Lint (windows, arm64): pkg/plugin/ebpfwindows/ebpf_windows.go#L13
commentFormatting: put a space between `//` and comment text (gocritic)
Lint (windows, arm64): pkg/plugin/ebpfwindows/ebpf_windows.go#L18
commentFormatting: put a space between `//` and comment text (gocritic)
Lint (windows, arm64): pkg/plugin/ebpfwindows/eventsmap_types_windows.go#L85
captLocal: `IPv6' should not be capitalized (gocritic)
Lint (windows, arm64): pkg/plugin/ebpfwindows/ebpf_windows.go#L245
avoid direct access to proto field e.GetFlow().IP.Source, use e.GetFlow().GetIP().GetSource() instead (protogetter)
Lint (windows, arm64): pkg/plugin/ebpfwindows/ebpf_windows.go#L246
avoid direct access to proto field e.GetFlow().IP.Destination, use e.GetFlow().GetIP().GetDestination() instead (protogetter)
Lint (windows, arm64): pkg/plugin/ebpfwindows/ebpf_windows.go#L272
avoid direct access to proto field e.GetFlow().IP.Source, use e.GetFlow().GetIP().GetSource() instead (protogetter)
Lint (windows, arm64): pkg/plugin/ebpfwindows/ebpf_windows.go#L273
avoid direct access to proto field e.GetFlow().IP.Destination, use e.GetFlow().GetIP().GetDestination() instead (protogetter)
Lint (windows, amd64): pkg/plugin/ebpfwindows/ebpf_windows.go#L172
Error return value of `eventsMap.UnregisterForCallback` is not checked (errcheck)
Lint (windows, amd64): pkg/plugin/ebpfwindows/ebpf_windows_test.go#L22
Error return value of `log.SetupZapLogger` is not checked (errcheck)
Lint (windows, amd64): pkg/plugin/ebpfwindows/ebpf_windows.go#L7
commentFormatting: put a space between `//` and comment text (gocritic)
Lint (windows, amd64): pkg/plugin/ebpfwindows/ebpf_windows.go#L13
commentFormatting: put a space between `//` and comment text (gocritic)
Lint (windows, amd64): pkg/plugin/ebpfwindows/ebpf_windows.go#L18
commentFormatting: put a space between `//` and comment text (gocritic)
Lint (windows, amd64): pkg/plugin/ebpfwindows/eventsmap_types_windows.go#L85
captLocal: `IPv6' should not be capitalized (gocritic)
Lint (windows, amd64): pkg/plugin/ebpfwindows/ebpf_windows.go#L245
avoid direct access to proto field e.GetFlow().IP.Source, use e.GetFlow().GetIP().GetSource() instead (protogetter)
Lint (windows, amd64): pkg/plugin/ebpfwindows/ebpf_windows.go#L246
avoid direct access to proto field e.GetFlow().IP.Destination, use e.GetFlow().GetIP().GetDestination() instead (protogetter)
Lint (windows, amd64): pkg/plugin/ebpfwindows/ebpf_windows.go#L272
avoid direct access to proto field e.GetFlow().IP.Source, use e.GetFlow().GetIP().GetSource() instead (protogetter)
Lint (windows, amd64): pkg/plugin/ebpfwindows/ebpf_windows.go#L273
avoid direct access to proto field e.GetFlow().IP.Destination, use e.GetFlow().GetIP().GetDestination() instead (protogetter)
Lint (windows, arm64)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Lint (windows, amd64)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Lint (linux, arm64)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Lint (linux, amd64)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636