aeff8c154b
* add generic audit_trail service in core * expose auditTraik service to plugins * add auditTrail x-pack plugin * fix type errors * update mocks * expose asScoped interface via start. auditor via request context * use type from audit trail service * wrap getActiveSpace in safeCall only. it throws exception for non-authz * pass message to log explicitly * update docs * create one auditor per request * wire es client up to auditor * update docs * withScope accepts only one scope * use scoped client in context for callAsInternalUser * use auditor in scoped cluster client * adopt auditTrail plugin to new interface. configure log from config * do not log audit events in console by default * add audit trail functional tests * cleanup * add example * add mocks for spaces plugin * add unit tests * update docs * test description * Apply suggestions from code review apply @jportner suggestions Co-authored-by: Joe Portner <5295965+jportner@users.noreply.github.com> * add unit tests * more robust tests * make spaces optional * address comments * update docs * fix WebStorm refactoring Co-authored-by: Joe Portner <5295965+jportner@users.noreply.github.com>
11 lines
232 B
JSON
11 lines
232 B
JSON
{
|
|
"id": "auditTrail",
|
|
"version": "8.0.0",
|
|
"kibanaVersion": "kibana",
|
|
"configPath": ["xpack", "audit_trail"],
|
|
"server": true,
|
|
"ui": false,
|
|
"requiredPlugins": ["licensing", "security"],
|
|
"optionalPlugins": ["spaces"]
|
|
}
|