Skip to content

x-pack/filebeat/input/httpjson: redact authorization headers in logging #25598

x-pack/filebeat/input/httpjson: redact authorization headers in logging

x-pack/filebeat/input/httpjson: redact authorization headers in logging #25598

Triggered via pull request December 5, 2024 22:17
Status Failure
Total duration 3m 35s
Artifacts

golangci-lint.yml

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

Annotations

9 errors and 7 warnings
lint (darwin): x-pack/filebeat/input/httpjson/input.go#L120
cannot range over m (variable of type mapstrM) (typecheck)
lint (darwin): x-pack/filebeat/input/httpjson/input.go#L125
invalid operation: cannot index m (variable of type mapstrM) (typecheck)
lint (darwin): x-pack/filebeat/input/httpjson/input.go#L143
cannot convert m (variable of type map[string]interface{}) to type mapstrM (typecheck)
lint (darwin): x-pack/filebeat/input/httpjson/input.go#L145
cannot use nil as mapstrM value in return statement (typecheck)
lint (darwin)
issues found
lint (windows)
The job was canceled because "darwin" failed.
lint (windows)
The operation was canceled.
lint (linux)
The job was canceled because "darwin" failed.
lint (linux)
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 (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']