mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
Merge pull request #5671 from spalger/implement/esvmConfigForShield
Implement esvm config for shield
This commit is contained in:
commit
006333fd99
2 changed files with 39 additions and 0 deletions
|
@ -53,6 +53,7 @@
|
|||
"precommit": "grunt precommit",
|
||||
"karma": "karma start",
|
||||
"elasticsearch": "grunt esvm:dev:keepalive",
|
||||
"elasticsearchWithPlugins": "grunt esvm:withPlugins:keepalive",
|
||||
"lint": "grunt eslint:source",
|
||||
"lintroller": "grunt eslint:fixSource",
|
||||
"mocha": "mocha --compilers js:babel/register",
|
||||
|
|
|
@ -62,6 +62,44 @@ module.exports = function (grunt) {
|
|||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
withPlugins: {
|
||||
options: {
|
||||
version: '2.1.0',
|
||||
directory: resolve(directory, 'withPlugins'),
|
||||
plugins: [
|
||||
'license',
|
||||
'shield',
|
||||
'marvel-agent',
|
||||
'watcher'
|
||||
],
|
||||
shield: {
|
||||
users: [
|
||||
{
|
||||
username: 'kibana',
|
||||
password: 'notsecure',
|
||||
roles: ['kibana4_server']
|
||||
},
|
||||
{
|
||||
username: 'user',
|
||||
password: 'notsecure',
|
||||
roles: ['kibana4', 'marvel']
|
||||
},
|
||||
{
|
||||
username: 'admin',
|
||||
password: 'notsecure',
|
||||
roles: ['admin']
|
||||
}
|
||||
]
|
||||
},
|
||||
config: {
|
||||
marvel: {
|
||||
agent: {
|
||||
interval: '60s'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue