Skip to content

[7.17](backport #39133) [Auditbeat/FIM/fsnotify]: remove time window where a child file operation of a directory can be lost #18547

[7.17](backport #39133) [Auditbeat/FIM/fsnotify]: remove time window where a child file operation of a directory can be lost

[7.17](backport #39133) [Auditbeat/FIM/fsnotify]: remove time window where a child file operation of a directory can be lost #18547

Triggered via pull request April 26, 2024 13:35
Status Failure
Total duration 1m 48s
Artifacts

golangci-lint.yml

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

Annotations

14 errors and 7 warnings
lint (darwin): auditbeat/module/file_integrity/monitor/monitor_test.go#L25
SA1019: "io/ioutil" has been deprecated since Go 1.19: As of Go 1.16, the same functionality is now provided by package [io] or package [os], and those implementations should be preferred in new code. See the specific function documentation for details. (staticcheck)
lint (darwin): auditbeat/module/file_integrity/monitor/monitor_test.go#L62
Error return value of `os.Mkdir` is not checked (errcheck)
lint (darwin): auditbeat/module/file_integrity/monitor/monitor_test.go#L110
Error return value of `os.Mkdir` is not checked (errcheck)
lint (darwin): auditbeat/module/file_integrity/monitor/monitor_test.go#L235
comparing with != will fail on wrapped errors. Use errors.Is to check for a specific error (errorlint)
lint (darwin): auditbeat/module/file_integrity/monitor/monitor_test.go#L334
comparing with != will fail on wrapped errors. Use errors.Is to check for a specific error (errorlint)
lint (darwin): auditbeat/module/file_integrity/monitor/monitor_test.go#L349
comparing with == will fail on wrapped errors. Use errors.Is to check for a specific error (errorlint)
lint (darwin): auditbeat/module/file_integrity/monitor/monitor_test.go#L392
Error return value of `f.WriteString` is not checked (errcheck)
lint (darwin): auditbeat/module/file_integrity/monitor/monitor_test.go#L393
Error return value of `f.Sync` is not checked (errcheck)
lint (darwin): auditbeat/module/file_integrity/monitor/monitor_test.go#L397
comparing with != will fail on wrapped errors. Use errors.Is to check for a specific error (errorlint)
lint (darwin): auditbeat/module/file_integrity/monitor/recursive.go#L27
import of package `github.com/pkg/errors` is blocked because the module is in the blocked modules list. `errors` and `fmt` are recommended modules. This package is deprecated, use `fmt.Errorf` with `%!w(MISSING)` instead. (gomodguard)
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)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v3, golangci/golangci-lint-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
lint (darwin)
Unexpected input(s) 'skip-go-installation', valid inputs are ['version', 'args', 'working-directory', 'github-token', 'only-new-issues', 'skip-cache', 'skip-pkg-cache', 'skip-build-cache', 'install-mode']
lint (darwin)
Unexpected input(s) 'skip-go-installation', valid inputs are ['version', 'args', 'working-directory', 'github-token', 'only-new-issues', 'skip-cache', 'skip-pkg-cache', 'skip-build-cache', 'install-mode']
lint (windows)
Unexpected input(s) 'skip-go-installation', valid inputs are ['version', 'args', 'working-directory', 'github-token', 'only-new-issues', 'skip-cache', 'skip-pkg-cache', 'skip-build-cache', 'install-mode']
lint (windows)
Unexpected input(s) 'skip-go-installation', valid inputs are ['version', 'args', 'working-directory', 'github-token', 'only-new-issues', 'skip-cache', 'skip-pkg-cache', 'skip-build-cache', 'install-mode']
lint (linux)
Unexpected input(s) 'skip-go-installation', valid inputs are ['version', 'args', 'working-directory', 'github-token', 'only-new-issues', 'skip-cache', 'skip-pkg-cache', 'skip-build-cache', 'install-mode']
lint (linux)
Unexpected input(s) 'skip-go-installation', valid inputs are ['version', 'args', 'working-directory', 'github-token', 'only-new-issues', 'skip-cache', 'skip-pkg-cache', 'skip-build-cache', 'install-mode']