mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
* rename siem to security_solution * rename siem to security solution inside of code * rename translation keys * fix snapshot * replace siem for security solution in tutorial * missing translation to be renamed * fix types for api test integration * updates runner file to match the new path * change category for kibana settings * miss renaming in advance settings * fixes cypress tests * fix api integration test * fix new translation * fix unit test * update translation i18n * update translation i18n II Co-authored-by: Gloria Hornero <snootchie.boochies@gmail.com>
44 lines
1.5 KiB
JavaScript
44 lines
1.5 KiB
JavaScript
/*
|
|
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
|
* or more contributor license agreements. Licensed under the Elastic License;
|
|
* you may not use this file except in compliance with the Elastic License.
|
|
*/
|
|
|
|
import { services } from './services';
|
|
|
|
export async function getApiIntegrationConfig({ readConfigFile }) {
|
|
const xPackFunctionalTestsConfig = await readConfigFile(
|
|
require.resolve('../functional/config.js')
|
|
);
|
|
|
|
return {
|
|
testFiles: [require.resolve('./apis')],
|
|
services,
|
|
servers: xPackFunctionalTestsConfig.get('servers'),
|
|
security: xPackFunctionalTestsConfig.get('security'),
|
|
esArchiver: xPackFunctionalTestsConfig.get('esArchiver'),
|
|
junit: {
|
|
reportName: 'X-Pack API Integration Tests',
|
|
},
|
|
kbnTestServer: {
|
|
...xPackFunctionalTestsConfig.get('kbnTestServer'),
|
|
serverArgs: [
|
|
...xPackFunctionalTestsConfig.get('kbnTestServer.serverArgs'),
|
|
'--xpack.security.session.idleTimeout=3600000', // 1 hour
|
|
'--optimize.enabled=false',
|
|
'--telemetry.optIn=true',
|
|
'--xpack.ingestManager.enabled=true',
|
|
'--xpack.securitySolution.alertResultListDefaultDateRange.from=2018-01-10T00:00:00.000Z',
|
|
],
|
|
},
|
|
esTestCluster: {
|
|
...xPackFunctionalTestsConfig.get('esTestCluster'),
|
|
serverArgs: [
|
|
...xPackFunctionalTestsConfig.get('esTestCluster.serverArgs'),
|
|
'node.attr.name=apiIntegrationTestNode',
|
|
],
|
|
},
|
|
};
|
|
}
|
|
|
|
export default getApiIntegrationConfig;
|