Skip to content

x-pack/filebeat/input/entityanalytics/provider/{,internal/}okta: improve debug logging #21350

x-pack/filebeat/input/entityanalytics/provider/{,internal/}okta: improve debug logging

x-pack/filebeat/input/entityanalytics/provider/{,internal/}okta: improve debug logging #21350

Triggered via pull request July 25, 2024 02:58
Status Failure
Total duration 7m 48s
Artifacts

golangci-lint.yml

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

Annotations

13 errors and 6 warnings
lint (windows): x-pack/filebeat/input/entityanalytics/provider/okta/internal/okta/okta.go#L348
Error return value of `io.Copy` is not checked (errcheck)
lint (windows): x-pack/filebeat/input/entityanalytics/provider/okta/internal/okta/okta_test.go#L388
comparing with != will fail on wrapped errors. Use errors.Is to check for a specific error (errorlint)
lint (windows): x-pack/filebeat/input/entityanalytics/provider/okta/okta.go#L481
comparing with == will fail on wrapped errors. Use errors.Is to check for a specific error (errorlint)
lint (windows): x-pack/filebeat/input/entityanalytics/provider/okta/okta.go#L591
comparing with == will fail on wrapped errors. Use errors.Is to check for a specific error (errorlint)
lint (windows): x-pack/filebeat/input/entityanalytics/provider/okta/okta.go#L620
comparing with == will fail on wrapped errors. Use errors.Is to check for a specific error (errorlint)
lint (windows)
issues found
lint (linux)
The job was canceled because "windows" failed.
lint (linux): x-pack/filebeat/input/entityanalytics/provider/okta/internal/okta/okta.go#L348
Error return value of `io.Copy` is not checked (errcheck)
lint (linux): x-pack/filebeat/input/entityanalytics/provider/okta/internal/okta/okta_test.go#L388
comparing with != will fail on wrapped errors. Use errors.Is to check for a specific error (errorlint)
lint (linux): x-pack/filebeat/input/entityanalytics/provider/okta/okta.go#L481
comparing with == will fail on wrapped errors. Use errors.Is to check for a specific error (errorlint)
lint (linux): x-pack/filebeat/input/entityanalytics/provider/okta/okta.go#L591
comparing with == will fail on wrapped errors. Use errors.Is to check for a specific error (errorlint)
lint (linux): x-pack/filebeat/input/entityanalytics/provider/okta/okta.go#L620
comparing with == will fail on wrapped errors. Use errors.Is to check for a specific error (errorlint)
lint (linux)
issues found
lint (darwin)
Unexpected input(s) 'skip-go-installation', valid inputs are ['version', 'install-mode', 'working-directory', 'github-token', 'only-new-issues', 'skip-cache', 'skip-save-cache', 'problem-matchers', 'args', 'cache-invalidation-interval']
lint (darwin)
Unexpected input(s) 'skip-go-installation', valid inputs are ['version', 'install-mode', 'working-directory', 'github-token', 'only-new-issues', 'skip-cache', 'skip-save-cache', 'problem-matchers', 'args', 'cache-invalidation-interval']
lint (windows)
Unexpected input(s) 'skip-go-installation', valid inputs are ['version', 'install-mode', 'working-directory', 'github-token', 'only-new-issues', 'skip-cache', 'skip-save-cache', 'problem-matchers', 'args', 'cache-invalidation-interval']
lint (windows)
Unexpected input(s) 'skip-go-installation', valid inputs are ['version', 'install-mode', 'working-directory', 'github-token', 'only-new-issues', 'skip-cache', 'skip-save-cache', 'problem-matchers', 'args', 'cache-invalidation-interval']
lint (linux)
Unexpected input(s) 'skip-go-installation', valid inputs are ['version', 'install-mode', 'working-directory', 'github-token', 'only-new-issues', 'skip-cache', 'skip-save-cache', 'problem-matchers', 'args', 'cache-invalidation-interval']
lint (linux)
Unexpected input(s) 'skip-go-installation', valid inputs are ['version', 'install-mode', 'working-directory', 'github-token', 'only-new-issues', 'skip-cache', 'skip-save-cache', 'problem-matchers', 'args', 'cache-invalidation-interval']