Skip to content

.../input/entityanalytics/provider/okta: Rate limiting fix, improvements #25820

.../input/entityanalytics/provider/okta: Rate limiting fix, improvements

.../input/entityanalytics/provider/okta: Rate limiting fix, improvements #25820

Triggered via pull request December 11, 2024 17:34
Status Failure
Total duration 8m 9s
Artifacts

golangci-lint.yml

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

Annotations

12 errors and 8 warnings
lint (linux): x-pack/filebeat/input/entityanalytics/provider/okta/internal/okta/okta.go#L400
Error return value of `io.Copy` is not checked (errcheck)
lint (linux): x-pack/filebeat/input/entityanalytics/provider/okta/internal/okta/okta_test.go#L449
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/internal/okta/ratelimiter_test.go#L86
Error return value of `r.Wait` is not checked (errcheck)
lint (linux): x-pack/filebeat/input/entityanalytics/provider/okta/internal/okta/ratelimiter_test.go#L129
Error return value of `r.Wait` is not checked (errcheck)
lint (linux): x-pack/filebeat/input/entityanalytics/provider/okta/internal/okta/ratelimiter_test.go#L130
Error return value of `r.Update` is not checked (errcheck)
lint (linux): x-pack/filebeat/input/entityanalytics/provider/okta/internal/okta/ratelimiter_test.go#L144
ST1023: should omit type int from declaration; it will be inferred from the right-hand side (stylecheck)
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#L618
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#L647
comparing with == will fail on wrapped errors. Use errors.Is to check for a specific error (errorlint)
lint (linux)
issues found
lint (windows)
The job was canceled because "linux" failed.
lint (windows)
The operation was canceled.
lint (darwin)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
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 (linux)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
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']
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']