forked from opensearch-project/OpenSearch
-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve maintenance of upstream config files (#557)
* Remove security related config files and jvm.prod.options Changes are appended to the original files instead * Update performance-analyzer.service to 2.18.0 * Remove duplicated line * Add PA settings * Fix PA missing permissions on Deb packages * Attempt to properly define OPENSEARCH_PATH_CONF in rpm.spec file
- Loading branch information
Showing
12 changed files
with
73 additions
and
669 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 3 additions & 10 deletions
13
distribution/packages/src/common/wazuh-indexer-performance-analyzer.service
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,15 @@ | ||
# Copyright OpenSearch Contributors | ||
# SPDX-License-Identifier: Apache-2.0 | ||
# | ||
# The OpenSearch Contributors require contributions made to | ||
# this file be licensed under the Apache-2.0 license or a | ||
# compatible open source license. | ||
|
||
[Unit] | ||
Description=OpenSearch Performance Analyzer | ||
PartOf=wazuh-indexer.service | ||
|
||
[Service] | ||
Type=simple | ||
ExecStart=/usr/share/wazuh-indexer/bin/opensearch-performance-analyzer/performance-analyzer-agent-cli | ||
Restart=on-failure | ||
User=wazuh-indexer | ||
Group=wazuh-indexer | ||
Environment=OPENSEARCH_HOME=/usr/share/wazuh-indexer | ||
Environment=OPENSEARCH_PATH_CONF=/etc/wazuh-indexer/ | ||
Environment=OPENSEARCH_PATH_CONF=/etc/wazuh-indexer | ||
WorkingDirectory=/usr/share/wazuh-indexer | ||
|
||
[Install] | ||
WantedBy=multi-user.target | ||
WantedBy=wazuh-indexer.service |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
|
||
# Wazuh monitoring and statistics index permissions | ||
manage_wazuh_index: | ||
reserved: true | ||
hidden: false | ||
cluster_permissions: [] | ||
index_permissions: | ||
- index_patterns: | ||
- "wazuh-*" | ||
dls: "" | ||
fls: [] | ||
masked_fields: [] | ||
allowed_actions: | ||
- "read" | ||
- "delete" | ||
- "manage" | ||
- "index" | ||
tenant_permissions: [] | ||
static: false |
Oops, something went wrong.