forked from opensearch-project/OpenSearch
-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add states-fim index template definition (#397)
* Add stateless index template definition Event generator is pending * Update to 8.11.0 * Adding ecs mapping files for FIM index * Fix indentation issue in subset.yml * Remove hidden flag and event_generator * Rename states-inventory-fim folder * Fix subset.yml names --------- Co-authored-by: Álex Ruiz <[email protected]>
- Loading branch information
Showing
6 changed files
with
97 additions
and
1 deletion.
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
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,36 @@ | ||
--- | ||
name: wazuh-states-fim | ||
fields: | ||
base: | ||
fields: | ||
tags: [] | ||
agent: | ||
fields: | ||
id: {} | ||
groups: {} | ||
file: | ||
fields: | ||
attributes: {} | ||
name: {} | ||
path: {} | ||
gid: {} | ||
group: {} | ||
inode: {} | ||
hash: | ||
fields: | ||
md5: {} | ||
sha1: {} | ||
sha256: {} | ||
mtime: {} | ||
mode: {} | ||
size: {} | ||
target_path: {} | ||
type: {} | ||
uid: {} | ||
owner: {} | ||
registry: | ||
fields: | ||
key: {} | ||
value: {} | ||
|
||
|
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-fim*"], | ||
"order": 1, | ||
"settings": { | ||
"index": { | ||
"number_of_shards": "1", | ||
"number_of_replicas": "0", | ||
"refresh_interval": "5s", | ||
"query.default_field": [ | ||
"agent.id", | ||
"agent.groups", | ||
"file.name", | ||
"file.path", | ||
"file.target_path", | ||
"file.group", | ||
"file.uid", | ||
"file.gid" | ||
] | ||
} | ||
} | ||
} |
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 @@ | ||
{ | ||
"index_patterns": ["wazuh-states-fim*"], | ||
"priority": 1, | ||
"template": { | ||
"settings": { | ||
"index": { | ||
"number_of_shards": "1", | ||
"number_of_replicas": "0", | ||
"refresh_interval": "5s", | ||
"query.default_field": [ | ||
"agent.id", | ||
"agent.groups", | ||
"file.name", | ||
"file.path", | ||
"file.target_path", | ||
"file.group", | ||
"file.uid", | ||
"file.gid" | ||
] | ||
} | ||
} | ||
} | ||
} |
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,5 +1,5 @@ | ||
--- | ||
name: wazuh-inventory-vulnerabilities | ||
name: wazuh-states-vulnerabilities | ||
fields: | ||
base: | ||
fields: | ||
|