From 6c660f8f7b1532db6e0c8fea0f10c804220c66bb Mon Sep 17 00:00:00 2001 From: Rudolf Meijering Date: Tue, 7 Dec 2021 11:05:37 +0100 Subject: [PATCH] FTR should use the new kibana_system user (#120436) * FTR should use the new kibana_system user * Fix security api integration tests Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> --- packages/kbn-test/src/kbn/users.ts | 2 +- x-pack/test/security_api_integration/tests/pki/pki_auth.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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', }; 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' },