[7.17](backport #39133) [Auditbeat/FIM/fsnotify]: remove time window where a child file operation of a directory can be lost #18547
Annotations
10 errors and 3 warnings
golangci-lint:
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)
|
golangci-lint:
auditbeat/module/file_integrity/monitor/monitor_test.go#L62
Error return value of `os.Mkdir` is not checked (errcheck)
|
golangci-lint:
auditbeat/module/file_integrity/monitor/monitor_test.go#L110
Error return value of `os.Mkdir` is not checked (errcheck)
|
golangci-lint:
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)
|
golangci-lint:
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)
|
golangci-lint:
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)
|
golangci-lint:
auditbeat/module/file_integrity/monitor/monitor_test.go#L392
Error return value of `f.WriteString` is not checked (errcheck)
|
golangci-lint:
auditbeat/module/file_integrity/monitor/monitor_test.go#L393
Error return value of `f.Sync` is not checked (errcheck)
|
golangci-lint:
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)
|
golangci-lint:
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)
|
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/.
|
Post golangci-lint
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']
|
golangci-lint
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']
|
Loading