Skip to content

Commit

Permalink
Added config for siem tests
Browse files Browse the repository at this point in the history
  • Loading branch information
YulNaumenko committed Mar 4, 2020
1 parent 9612f3d commit 479d0a5
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions x-pack/test/detection_engine_api_integration/common/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,8 @@ export function createTestConfig(name: string, options: CreateTestConfigOptions)
`--xpack.actions.enabledActionTypes=${JSON.stringify(enabledActionTypes)}`,
'--xpack.alerting.enabled=true',
'--xpack.eventLog.logEntries=true',
'--xpack.triggers_actions_ui.enabled=true',
'--xpack.triggers_actions_ui.createAlertUiEnabled=true',
...disabledPlugins.map(key => `--xpack.${key}.enabled=false`),
`--plugin-path=${path.join(__dirname, 'fixtures', 'plugins', 'alerts')}`,
`--plugin-path=${path.join(__dirname, 'fixtures', 'plugins', 'actions')}`,
Expand Down
2 changes: 2 additions & 0 deletions x-pack/test/licensing_plugin/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ export default async function({ readConfigFile }: FtrConfigProviderContext) {
serverArgs: [
...functionalTestsConfig.get('kbnTestServer.serverArgs'),
'--xpack.licensing.api_polling_frequency=100',
'--xpack.triggers_actions_ui.enabled=true',
'--xpack.triggers_actions_ui.createAlertUiEnabled=true',
],
},

Expand Down
2 changes: 2 additions & 0 deletions x-pack/test/plugin_api_integration/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ export default async function({ readConfigFile }) {
...integrationConfig.get('kbnTestServer'),
serverArgs: [
...integrationConfig.get('kbnTestServer.serverArgs'),
'--xpack.triggers_actions_ui.enabled=true',
'--xpack.triggers_actions_ui.createAlertUiEnabled=true',
...plugins.map(
pluginDir => `--plugin-path=${path.resolve(__dirname, 'plugins', pluginDir)}`
),
Expand Down

0 comments on commit 479d0a5

Please sign in to comment.