From fda962d9bfd037c42f07ba4e7b642b0567189795 Mon Sep 17 00:00:00 2001 From: Rudolf Meijering Date: Sat, 4 Dec 2021 01:15:02 +0100 Subject: [PATCH 1/2] FTR should use the new kibana_system user --- packages/kbn-test/src/kbn/users.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/kbn-test/src/kbn/users.ts b/packages/kbn-test/src/kbn/users.ts index 230354089dcac..88480fde74ddc 100644 --- a/packages/kbn-test/src/kbn/users.ts +++ b/packages/kbn-test/src/kbn/users.ts @@ -14,7 +14,7 @@ export const kibanaTestUser = { }; export const kibanaServerTestUser = { - username: env.TEST_KIBANA_SERVER_USER || 'kibana', + username: env.TEST_KIBANA_SERVER_USER || 'kibana_system', password: env.TEST_KIBANA_SERVER_PASS || 'changeme', }; From 25468d7977b812301d0f402aaaa1018e4398eeb3 Mon Sep 17 00:00:00 2001 From: Rudolf Meijering Date: Mon, 6 Dec 2021 21:58:30 +0100 Subject: [PATCH 2/2] Fix security api integration tests --- x-pack/test/security_api_integration/tests/pki/pki_auth.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/x-pack/test/security_api_integration/tests/pki/pki_auth.ts b/x-pack/test/security_api_integration/tests/pki/pki_auth.ts index 76e3cb2248815..d6f47b06f4612 100644 --- a/x-pack/test/security_api_integration/tests/pki/pki_auth.ts +++ b/x-pack/test/security_api_integration/tests/pki/pki_auth.ts @@ -150,7 +150,7 @@ export default function ({ getService }: FtrProviderContext) { enabled: true, metadata: { pki_delegated_by_realm: 'reserved', - pki_delegated_by_user: 'kibana', + pki_delegated_by_user: 'kibana_system', pki_dn: 'CN=first_client', }, authentication_realm: { name: 'pki1', type: 'pki' }, @@ -187,7 +187,7 @@ export default function ({ getService }: FtrProviderContext) { enabled: true, metadata: { pki_delegated_by_realm: 'reserved', - pki_delegated_by_user: 'kibana', + pki_delegated_by_user: 'kibana_system', pki_dn: 'CN=second_client', }, authentication_realm: { name: 'pki1', type: 'pki' },