Skip to content

Commit 6a336f8

Browse files
Gabriel Beims Bräscheryadvr
authored andcommitted
server: disable unauthenticated integration.api.port by default (#3504)
Set integration.api.port to (0) zero as default. CloudStack provides CloudStack API Unauthenticated Access through port 8096. It should not be open to the Internet in any case.
1 parent 5d81574 commit 6a336f8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

server/src/main/java/com/cloud/api/ApiServer.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -228,8 +228,8 @@ public class ApiServer extends ManagerBase implements HttpRequestHandler, ApiSer
228228
private static final ConfigKey<Integer> IntegrationAPIPort = new ConfigKey<Integer>("Advanced"
229229
, Integer.class
230230
, "integration.api.port"
231-
, "8096"
232-
, "Default API port"
231+
, "0"
232+
, "Integration (unauthenticated) API port. To disable set it to 0 or negative."
233233
, false
234234
, ConfigKey.Scope.Global);
235235
private static final ConfigKey<Long> ConcurrentSnapshotsThresholdPerHost = new ConfigKey<Long>("Advanced"

0 commit comments

Comments
 (0)