Move security api from plugins to clients (#442)

* fix(security): move security api from plugins to clients

Signed-off-by: florian <[email protected]>

* chore(CHANGELOG): update CHANGELOG for the PR#442

Signed-off-by: florian <[email protected]>

---------

Signed-off-by: florian <[email protected]>
This commit is contained in:
florianvazelle
2023-07-21 13:07:20 -04:00
committed by GitHub
parent 4dba35deea
commit 5dc51d4b7f
17 changed files with 17 additions and 15 deletions
-3
View File
@@ -12,7 +12,6 @@ import warnings
from ..plugins.alerting import AlertingClient
from ..plugins.index_management import IndexManagementClient
from ..plugins.security import SecurityClient
from .utils import NamespacedClient
@@ -26,7 +25,6 @@ class PluginsClient(NamespacedClient):
# self.anomaly_detection = AnomalyDetectionClient(client)
# self.trace_analytics = TraceAnalyticsClient(client)
self.index_management = IndexManagementClient(client)
self.security = SecurityClient(client)
self._dynamic_lookup(client)
@@ -41,7 +39,6 @@ class PluginsClient(NamespacedClient):
# "anomaly_detection",
# "trace_analytics",
"index_management",
"security",
]
for plugin in plugins:
if not hasattr(client, plugin):