Skip to content

Commit fce6ad7

Browse files
nacfesaikrishna321
authored andcommitted
Add allow-insecure and deny-insecure server flags (#1282)
1 parent 4f19710 commit fce6ad7

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

src/main/java/io/appium/java_client/service/local/flags/GeneralServerFlag.java

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,21 @@ public enum GeneralServerFlag implements ServerArgument {
119119
/**
120120
* Enables NodeJS memory dumps collection feature.
121121
*/
122-
ENABLE_HEAP_DUMP("--enable-heapdump");
122+
ENABLE_HEAP_DUMP("--enable-heapdump"),
123+
/**
124+
* Allow a list of features which are considered insecure and must be turned on
125+
* explicitly by system administrators.
126+
* Default: []
127+
* Sample: --allow-insecure=foo,bar
128+
*/
129+
ALLOW_INSECURE("--allow-insecure"),
130+
/**
131+
* Specify a list of features which will never be allowed to run, even if --relaxed-security
132+
* is turned on, and even if feature names are listed with --allow-insecure.
133+
* Default: []
134+
* Sample: --deny-insecure=foo,bar
135+
*/
136+
DENY_INSECURE("--deny-insecure");
123137

124138
private final String arg;
125139

0 commit comments

Comments
 (0)