/* * This QA project tests the security plugin when security is not enabled. * It is intended to cover security functionality which is supposed to * function in a specific way even if security is not enabled on the cluster * For example: If a cluster has a pipeline with the set_security_user processor * defined, it should be not fail */ apply plugin: 'elasticsearch.java-rest-test' dependencies { javaRestTestImplementation project(path: xpackModule('core'), configuration: 'default') javaRestTestImplementation project(path: xpackModule('security'), configuration: 'testArtifacts') javaRestTestImplementation project(path: xpackModule('core'), configuration: 'testArtifacts') } testClusters.all { testDistribution = 'DEFAULT' numberOfNodes = 2 setting 'xpack.ml.enabled', 'false' // We run with a trial license, but do not enable security. // This means the security plugin is loaded and all feature are permitted, but they are not enabled setting 'xpack.license.self_generated.type', 'trial' }