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

Add allow-insecure and deny-insecure server flags #1282

Merged
merged 1 commit into from Dec 19, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Expand Up @@ -119,7 +119,21 @@ public enum GeneralServerFlag implements ServerArgument {
/**
* Enables NodeJS memory dumps collection feature.
*/
ENABLE_HEAP_DUMP("--enable-heapdump");
ENABLE_HEAP_DUMP("--enable-heapdump"),
/**
* Allow a list of features which are considered insecure and must be turned on
* explicitly by system administrators.
* Default: []
* Sample: --allow-insecure=foo,bar
*/
ALLOW_INSECURE("--allow-insecure"),
/**
* Specify a list of features which will never be allowed to run, even if --relaxed-security
* is turned on, and even if feature names are listed with --allow-insecure.
* Default: []
* Sample: --deny-insecure=foo,bar
*/
DENY_INSECURE("--deny-insecure");

private final String arg;

Expand Down