Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parameter rename #400

Merged
merged 5 commits into from
Jan 6, 2021
Merged

Parameter rename #400

merged 5 commits into from
Jan 6, 2021

Conversation

mariussturm
Copy link
Contributor

As discussed here Graylog2/graylog2-server#8320 we are going to change certain vocabulary in the product. This PR is changing collector_binaries_whitelist to collector_binaries_accesslist. The change should be backward compatible and print a warning about the deprecated use of a configuration option.

/cc @kyleknighted

While doing this I noticed that the switch to go mod was pulling in a lot of not used modules. This is because 3rd party source code in /dist was scanned. This directory is ignored now and should fix the build.

Copy link
Contributor

@malcyon malcyon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Doesn't compile for Windows.

[2021-01-06T13:36:35.283Z] daemon/svc_runner_windows.go:123:18: r.RunnerCommon.backend.CheckExecutableAgainstWhitelist undefined (type backends.Backend has no field or method CheckExecutableAgainstWhitelist)

[2021-01-06T13:36:35.283Z] Makefile:70: recipe for target 'build-windows' failed

[2021-01-06T13:36:35.283Z] make: *** [build-windows] Error 2

script returned exit code 2

I think you missed:

https://github.com/Graylog2/collector-sidecar/blob/master/daemon/svc_runner_windows.go#L123

@mariussturm mariussturm requested a review from malcyon January 6, 2021 14:10
Copy link
Contributor

@malcyon malcyon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants