Skip to content

.../input/entityanalytics/provider/okta: Handle 429s, concurrent limits #26168

.../input/entityanalytics/provider/okta: Handle 429s, concurrent limits

.../input/entityanalytics/provider/okta: Handle 429s, concurrent limits #26168

Triggered via pull request December 19, 2024 10:24
Status Failure
Total duration 8m 14s
Artifacts

golangci-lint.yml

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

Annotations

15 errors and 8 warnings
lint (linux): x-pack/filebeat/input/entityanalytics/provider/okta/internal/okta/okta.go#L411
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#L88
Error return value of `r.Wait` is not checked (errcheck)
lint (linux): x-pack/filebeat/input/entityanalytics/provider/okta/internal/okta/ratelimiter_test.go#L131
Error return value of `r.Wait` is not checked (errcheck)
lint (linux): x-pack/filebeat/input/entityanalytics/provider/okta/internal/okta/ratelimiter_test.go#L132
Error return value of `r.Update` is not checked (errcheck)
lint (linux): x-pack/filebeat/input/entityanalytics/provider/okta/internal/okta/ratelimiter_test.go#L146
ST1023: should omit type int from declaration; it will be inferred from the right-hand side (stylecheck)
lint (linux)
issues found
lint (windows)
The job was canceled because "linux" failed.
lint (windows): x-pack/filebeat/input/entityanalytics/provider/okta/internal/okta/okta.go#L411
Error return value of `io.Copy` is not checked (errcheck)
lint (windows): 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 (windows): x-pack/filebeat/input/entityanalytics/provider/okta/internal/okta/ratelimiter_test.go#L88
Error return value of `r.Wait` is not checked (errcheck)
lint (windows): x-pack/filebeat/input/entityanalytics/provider/okta/internal/okta/ratelimiter_test.go#L131
Error return value of `r.Wait` is not checked (errcheck)
lint (windows): x-pack/filebeat/input/entityanalytics/provider/okta/internal/okta/ratelimiter_test.go#L132
Error return value of `r.Update` is not checked (errcheck)
lint (windows): x-pack/filebeat/input/entityanalytics/provider/okta/internal/okta/ratelimiter_test.go#L146
ST1023: should omit type int from declaration; it will be inferred from the right-hand side (stylecheck)
lint (windows)
issues found
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']