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.
Update wazuh-states-vulnerabilities index mapping (#191)
* Update wazuh-states-vulnerabilities index mapping * Extend ECS Vulnerability fields
- Loading branch information
Showing
5 changed files
with
26 additions
and
6 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
19 changes: 19 additions & 0 deletions
19
ecs/vulnerability-detector/fields/custom/vulnerability.yml
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 @@ | ||
- name: vulnerability | ||
title: Vulnerability | ||
group: 2 | ||
short: Fields to describe the vulnerability relevant to an event. | ||
description: > | ||
The vulnerability fields describe information about a vulnerability that is | ||
relevant to an event. | ||
type: group | ||
fields: | ||
- name: detected_at | ||
type: date | ||
level: custom | ||
description: > | ||
Vulnerability's detection date. | ||
- name: published_at | ||
type: date | ||
level: custom | ||
description: > | ||
Vulnerability's publication date. |
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 |
---|---|---|
|
@@ -23,4 +23,4 @@ | |
type: keyword | ||
level: custom | ||
description: > | ||
Wazuh schema version. | ||
Wazuh schema 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 |
---|---|---|
|
@@ -3,7 +3,6 @@ name: vulnerability_detector | |
fields: | ||
base: | ||
fields: | ||
"@timestamp": {} | ||
tags: [] | ||
message: "" | ||
agent: | ||
|