import { FtrConfigProviderContext } from '@kbn/test' ; export default async function ( { readConfigFile } ) { const baseConfig = await readConfigFile ( require . resolve ( './base_config' ) ) ; return { ... baseConfig . getAll ( ) , esTestCluster : { ... baseConfig . get ( 'esTestCluster' ) , serverArgs : [ ... baseConfig . get ( 'esTestCluster.serverArgs' ) , 'xpack.security.enabled=true' , 'xpack.security.authc.api_key.enabled=true' , ] , } , kbnTestServer : { ... baseConfig . get ( 'kbnTestServer' ) , serverArgs : [ ... baseConfig . get ( 'kbnTestServer.serverArgs' ) , '--csp.strict=false' , '--csp.warnLegacyBrowsers=false' , '--enterpriseSearch.host=http://localhost:3002' , ] , } , } ; }