forked from opensearch-project/OpenSearch
-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into 396-add-states-inventory-fim-index-templat…
…e-definition
- Loading branch information
Showing
26 changed files
with
330 additions
and
31 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
--- | ||
name: Indexer-Dashboard compatibility testing with OpenSearch | ||
about: Issue to perform internal testing of Indexer-Dashboard packages under a new version of OpenSearch | ||
title: 'Indexer-Dashboard testing under OpenSearch (version)' | ||
labels: request/operational, level/task, type/test | ||
assignees: '' | ||
|
||
--- | ||
|
||
|
||
## Description | ||
|
||
We need to ensure our components work under the new version of OpenSearch. The goal of this issue is to test our packages, their lifecycle and the main correct communication of Indexer and Dashboard. | ||
|
||
For that, we need to: | ||
|
||
- [x] (Prerequisite) \<indexer-opensearch-compatibility-issue> | ||
- [x] (Prerequisite) \<dashboard-opensearch-compatibility-issue> | ||
- [ ] Verify the packages installs | ||
- [ ] Verify the package upgrades: \<from-version> ⇾ \<to-version> | ||
- [ ] Indexer-Dashboard communication works | ||
|
||
|
||
Tests must be performed following the official documentation under RHEL 9 and Ubuntu 22.04 operating systems, or newer versions if available and supported. | ||
|
||
## Issues | ||
- _List here the detected issues_ |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- | ||
- name: agent | ||
title: Wazuh Agents | ||
short: Wazuh Inc. custom fields. | ||
type: group | ||
group: 2 | ||
fields: | ||
- name: groups | ||
type: keyword | ||
level: custom | ||
description: > | ||
The groups the agent belongs to. |
File renamed without changes.
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,21 @@ | ||
--- | ||
name: wazuh-states-inventory-packages | ||
fields: | ||
base: | ||
fields: | ||
"@timestamp": {} | ||
tags: [] | ||
agent: | ||
fields: | ||
id: {} | ||
groups: {} | ||
package: | ||
fields: | ||
architecture: "" | ||
description: "" | ||
installed: {} | ||
name: "" | ||
path: "" | ||
size: {} | ||
type: "" | ||
version: "" |
19 changes: 19 additions & 0 deletions
19
ecs/states-inventory-packages/fields/template-settings-legacy.json
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 @@ | ||
{ | ||
"index_patterns": ["wazuh-states-inventory-packages*"], | ||
"order": 1, | ||
"settings": { | ||
"index": { | ||
"number_of_shards": "1", | ||
"number_of_replicas": "0", | ||
"refresh_interval": "5s", | ||
"query.default_field": [ | ||
"agent.id", | ||
"agent.groups", | ||
"package.architecture", | ||
"package.name", | ||
"package.version", | ||
"package.type" | ||
] | ||
} | ||
} | ||
} |
21 changes: 21 additions & 0 deletions
21
ecs/states-inventory-packages/fields/template-settings.json
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,21 @@ | ||
{ | ||
"index_patterns": ["wazuh-states-inventory-packages*"], | ||
"priority": 1, | ||
"template": { | ||
"settings": { | ||
"index": { | ||
"number_of_shards": "1", | ||
"number_of_replicas": "0", | ||
"refresh_interval": "5s", | ||
"query.default_field": [ | ||
"agent.id", | ||
"agent.groups", | ||
"package.architecture", | ||
"package.name", | ||
"package.version", | ||
"package.type" | ||
] | ||
} | ||
} | ||
} | ||
} |
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,12 @@ | ||
--- | ||
- name: agent | ||
title: Wazuh Agents | ||
short: Wazuh Inc. custom fields. | ||
type: group | ||
group: 2 | ||
fields: | ||
- name: groups | ||
type: keyword | ||
level: custom | ||
description: > | ||
The groups the agent belongs to. |
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,4 @@ | ||
{ | ||
"dynamic": "strict", | ||
"date_detection": false | ||
} |
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,42 @@ | ||
--- | ||
name: wazuh-states-inventory-processes | ||
fields: | ||
base: | ||
fields: | ||
"@timestamp": {} | ||
tags: [] | ||
agent: | ||
fields: | ||
id: {} | ||
groups: {} | ||
process: | ||
fields: | ||
pid: {} | ||
name: "" | ||
parent: | ||
fields: | ||
pid: {} | ||
command_line: "" | ||
args: "" | ||
user: | ||
fields: | ||
id: "" | ||
real_user: | ||
fields: | ||
id: "" | ||
saved_user: | ||
fields: | ||
id: "" | ||
group: | ||
fields: | ||
id: "" | ||
real_group: | ||
fields: | ||
id: "" | ||
saved_group: | ||
fields: | ||
id: "" | ||
start: {} | ||
thread: | ||
fields: | ||
id: "" |
18 changes: 18 additions & 0 deletions
18
ecs/states-inventory-processes/fields/template-settings-legacy.json
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,18 @@ | ||
{ | ||
"index_patterns": ["wazuh-states-inventory-processes*"], | ||
"order": 1, | ||
"settings": { | ||
"index": { | ||
"number_of_shards": "1", | ||
"number_of_replicas": "0", | ||
"refresh_interval": "5s", | ||
"query.default_field": [ | ||
"agent.id", | ||
"agent.groups", | ||
"process.name", | ||
"process.pid", | ||
"process.command_line" | ||
] | ||
} | ||
} | ||
} |
20 changes: 20 additions & 0 deletions
20
ecs/states-inventory-processes/fields/template-settings.json
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,20 @@ | ||
{ | ||
"index_patterns": ["wazuh-states-inventory-processes*"], | ||
"priority": 1, | ||
"template": { | ||
"settings": { | ||
"index": { | ||
"number_of_shards": "1", | ||
"number_of_replicas": "0", | ||
"refresh_interval": "5s", | ||
"query.default_field": [ | ||
"agent.id", | ||
"agent.groups", | ||
"process.name", | ||
"process.pid", | ||
"process.command_line" | ||
] | ||
} | ||
} | ||
} | ||
} |
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,12 @@ | ||
--- | ||
- name: agent | ||
title: Wazuh Agents | ||
short: Wazuh Inc. custom fields. | ||
type: group | ||
group: 2 | ||
fields: | ||
- name: groups | ||
type: keyword | ||
level: custom | ||
description: > | ||
The groups the agent belongs to. |
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,4 @@ | ||
{ | ||
"dynamic": "strict", | ||
"date_detection": false | ||
} |
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,23 @@ | ||
--- | ||
name: wazuh-states-inventory-system | ||
fields: | ||
base: | ||
fields: | ||
tags: [] | ||
"@timestamp": {} | ||
agent: | ||
fields: | ||
id: {} | ||
groups: {} | ||
host: | ||
fields: | ||
architecture: {} | ||
hostname: {} | ||
name: {} | ||
os: | ||
fields: | ||
kernel: {} | ||
full: {} | ||
platform: {} | ||
version: {} | ||
type: {} |
18 changes: 18 additions & 0 deletions
18
ecs/states-inventory-system/fields/template-settings-legacy.json
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,18 @@ | ||
{ | ||
"index_patterns": ["wazuh-states-inventory-system*"], | ||
"order": 1, | ||
"settings": { | ||
"index": { | ||
"number_of_shards": "1", | ||
"number_of_replicas": "0", | ||
"refresh_interval": "5s", | ||
"query.default_field": [ | ||
"agent.id", | ||
"agent.groups", | ||
"host.name", | ||
"host.os.type", | ||
"host.os.version" | ||
] | ||
} | ||
} | ||
} |
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,20 @@ | ||
{ | ||
"index_patterns": ["wazuh-states-inventory-system*"], | ||
"priority": 1, | ||
"template": { | ||
"settings": { | ||
"index": { | ||
"number_of_shards": "1", | ||
"number_of_replicas": "0", | ||
"refresh_interval": "5s", | ||
"query.default_field": [ | ||
"agent.id", | ||
"agent.groups", | ||
"host.name", | ||
"host.os.type", | ||
"host.os.version" | ||
] | ||
} | ||
} | ||
} | ||
} |
File renamed without changes.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"dynamic": "strict", | ||
"date_detection": false | ||
} |
Oops, something went wrong.