From d02ce7cc690566dc9a6fe8b594b9ddbee57f03fb Mon Sep 17 00:00:00 2001 From: "Christiane (Tina) Heiligers" Date: Fri, 27 Sep 2024 18:35:56 -0700 Subject: [PATCH] Disable restricting internal APIs in security functional tests --- x-pack/test/security_functional/login_selector.config.ts | 1 + x-pack/test/security_functional/oidc.config.ts | 1 + x-pack/test/security_functional/saml.config.ts | 1 + 3 files changed, 3 insertions(+) diff --git a/x-pack/test/security_functional/login_selector.config.ts b/x-pack/test/security_functional/login_selector.config.ts index b8f690261ebac..2a35fc77a0316 100644 --- a/x-pack/test/security_functional/login_selector.config.ts +++ b/x-pack/test/security_functional/login_selector.config.ts @@ -70,6 +70,7 @@ export default async function ({ readConfigFile }: FtrConfigProviderContext) { `--plugin-path=${samlIdPPlugin}`, `--plugin-path=${testEndpointsPlugin}`, '--server.uuid=5b2de169-2785-441b-ae8c-186a1936b17d', + '--server.restrictInternalApis=false', '--xpack.security.encryptionKey="wuGNaIhoMpk5sO4UBxgr3NyW1sFcLgIf"', `--xpack.security.loginHelp="Some-login-help."`, `--xpack.security.authc.providers=${JSON.stringify({ diff --git a/x-pack/test/security_functional/oidc.config.ts b/x-pack/test/security_functional/oidc.config.ts index cdff3e327c016..a50975c0ee7bb 100644 --- a/x-pack/test/security_functional/oidc.config.ts +++ b/x-pack/test/security_functional/oidc.config.ts @@ -67,6 +67,7 @@ export default async function ({ readConfigFile }: FtrConfigProviderContext) { '--xpack.security.authc.providers.oidc.oidc1.order=0', '--xpack.security.authc.providers.oidc.oidc1.realm=oidc1', '--xpack.security.authc.providers.basic.basic1.order=1', + '--server.restrictInternalApis=false', ], }, uiSettings: { diff --git a/x-pack/test/security_functional/saml.config.ts b/x-pack/test/security_functional/saml.config.ts index c42594f75bc30..52ac62336c681 100644 --- a/x-pack/test/security_functional/saml.config.ts +++ b/x-pack/test/security_functional/saml.config.ts @@ -64,6 +64,7 @@ export default async function ({ readConfigFile }: FtrConfigProviderContext) { '--xpack.security.authc.providers.saml.saml1.order=0', '--xpack.security.authc.providers.saml.saml1.realm=saml1', '--xpack.security.authc.providers.basic.basic1.order=1', + '--server.restrictInternalApis=false', ], }, uiSettings: {