From 34f3d17a70c3656e6bb7935187dd6b51efda0873 Mon Sep 17 00:00:00 2001
From: osgn422w <gervais-martial.ngueko@intl.att.com>
Date: Thu, 19 Sep 2019 13:03:50 +0200
Subject: add license note

add some additionnal licensing note

Issue-ID: CLAMP-508

Change-Id: I3b768759709f779833abf7f72c775d90e7e8611a
Signed-off-by: osgn422w <gervais-martial.ngueko@intl.att.com>
---
 src/main/docker/elasticsearch/config/sg/sg_config.yml | 6 ++++++
 src/main/docker/elasticsearch/config/sg/sg_roles.yml  | 6 +++++-
 2 files changed, 11 insertions(+), 1 deletion(-)

(limited to 'src')

diff --git a/src/main/docker/elasticsearch/config/sg/sg_config.yml b/src/main/docker/elasticsearch/config/sg/sg_config.yml
index 1caeb1dd2..9a16a8239 100644
--- a/src/main/docker/elasticsearch/config/sg/sg_config.yml
+++ b/src/main/docker/elasticsearch/config/sg/sg_config.yml
@@ -47,6 +47,12 @@
 
 # Authz
 #   noop
+#
+# Some SearchGuard functionality is licensed under Apache-2.0, while other functionality is non-free;
+# see https://github.com/floragunncom/search-guard. The functionality enabled in this configuration
+# file only include those that are licensed under Apache-2.0. Please use care and review SearchGuard's
+# license details before enabling any additional features here.
+
 
 searchguard:
   dynamic:
diff --git a/src/main/docker/elasticsearch/config/sg/sg_roles.yml b/src/main/docker/elasticsearch/config/sg/sg_roles.yml
index 9f391eb84..1a3a80ce5 100644
--- a/src/main/docker/elasticsearch/config/sg/sg_roles.yml
+++ b/src/main/docker/elasticsearch/config/sg/sg_roles.yml
@@ -32,7 +32,11 @@
 # Reason is that we currently parse the config file into a elasticsearch settings object which cannot cope with dots in keys.
 # Workaround: Just configure something like '?kibana' instead of '.kibana' or 'my?index' instead of 'my.index'
 # This limitation will likely removed with Search Guard 6
-
+#
+# Some SearchGuard functionality is licensed under Apache-2.0, while other functionality is non-free;
+# see https://github.com/floragunncom/search-guard. The functionality enabled in this configuration
+# file only include those that are licensed under Apache-2.0. Please use care and review SearchGuard's
+# license details before enabling any additional features here.
 
 # Allows everything, but no changes to searchguard configuration index
 sg_all_access:
-- 
cgit