-
Notifications
You must be signed in to change notification settings - Fork 8.1k
/
config.ts
39 lines (35 loc) · 1.27 KB
/
config.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License
* 2.0; you may not use this file except in compliance with the Elastic License
* 2.0.
*/
import { createTestConfig } from '../../../config.base';
export default createTestConfig({
serverlessProject: 'security',
testFiles: [require.resolve('./fleet')],
junit: {
reportName: 'Fleet Serverless Security API Integration Tests',
},
suiteTags: { exclude: ['skipSvlSec'] },
// include settings from project controller
// https://github.com/elastic/project-controller/blob/main/internal/project/security/config/elasticsearch.yml
esServerArgs: ['xpack.ml.nlp.enabled=false'],
kbnServerArgs: [
'--xpack.cloud.serverless.project_id=ftr_fake_project_id',
`--xpack.fleet.fleetServerHosts=[${JSON.stringify({
id: 'default-fleet-server',
name: 'Default Fleet Server',
is_default: true,
host_urls: ['https://localhost:8220'],
})}]`,
`--xpack.fleet.outputs=[${JSON.stringify({
id: 'es-default-output',
name: 'Default Output',
type: 'elasticsearch',
is_default: true,
is_default_monitoring: true,
hosts: ['https://localhost:9200'],
})}]`,
],
});