From d7ab14ee543ac0d00277584fe71c411b44bd57b9 Mon Sep 17 00:00:00 2001 From: Nik Everett Date: Thu, 19 Oct 2017 13:14:30 -0400 Subject: [PATCH] Fix SQL security build's run config Now it is the same as the integTest config agian. I should have done this in elastic/x-pack-elasticsearch#2753 but I forgot. Original commit: elastic/x-pack-elasticsearch@bbbb8b1dc7ca6a4cbabfe95085f3007769fbe3ae --- qa/sql/security/build.gradle | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/qa/sql/security/build.gradle b/qa/sql/security/build.gradle index d3fb6f88433..7870c8435e9 100644 --- a/qa/sql/security/build.gradle +++ b/qa/sql/security/build.gradle @@ -33,16 +33,9 @@ integTestRunner { } run { - // Enabled audit logging so we can test it + // Setup auditing so we can use it in some tests setting 'xpack.security.audit.enabled', 'true' - setting 'xpack.security.audit.outputs', '[logfile, index]' - // Only log the events we need so we don't have as much to sort through - setting 'xpack.security.audit.index.events.include', '[access_denied, access_granted]' - // Try and speed up audit logging without overwelming it - setting 'xpack.security.audit.index.flush_interval', '250ms' - // NOCOMMIT reenable after https://github.com/elastic/x-pack-elasticsearch/issues/2705 for lower overhead tests - // setting 'xpack.security.audit.index.settings.index.number_of_shards', '1' - // setting 'xpack.security.audit.index.settings.index.refresh_interval', '250ms' + setting 'xpack.security.audit.outputs', 'logfile' // Setup roles used by tests extraConfigFile 'x-pack/roles.yml', 'roles.yml' /* Setup the one admin user that we run the tests as.