Skip to content

Commit

Permalink
Add states-vulnerabilities index template definition (#405)
Browse files Browse the repository at this point in the history
* Add stateless index template definition

Event generator is pending

* Update to 8.11.0

* Adding template mappings and settings for states-inventory-vulnerabilities index

* Remove event generator script

* Remove hidden flag

* Fix subset.yml indentation

* Recycle ecs/vulnerability-detector

* Add yaml header

---------

Co-authored-by: Álex Ruiz <[email protected]>
  • Loading branch information
f-galland and AlexRuiz7 authored Sep 13, 2024
1 parent c8a1c2b commit 33fd3db
Show file tree
Hide file tree
Showing 8 changed files with 37 additions and 26 deletions.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
- name: vulnerability
title: Vulnerability
group: 2
Expand All @@ -16,4 +17,14 @@
type: date
level: custom
description: >
Vulnerability's publication date.
Vulnerability's publication date.
- name: under_evaluation
type: boolean
level: custom
description: >
Indicates if the vulnerability is awaiting analysis by the NVD.
- name: scanner.source
type: keyword
level: custom
description: >
The origin of the decision of the scanner (AKA feed used to detect the vulnerability).
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,8 @@
level: custom
description: >
Wazuh cluster node name.
- name: manager.name
type: keyword
level: custom
description: >
Wazuh manager name. Used by dashboards to filter results on single node deployments.
- name: schema.version
type: keyword
level: custom
description: >
Wazuh schema version.
Wazuh schema version.
24 changes: 24 additions & 0 deletions ecs/states-vulnerabilities/fields/subset.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
---
name: wazuh-inventory-vulnerabilities
fields:
base:
fields:
tags: []
agent:
fields: "*"
package:
fields: "*"
host:
fields:
os:
fields:
full: ""
kernel: ""
name: ""
platform: ""
type: ""
version: ""
vulnerability:
fields: "*"
wazuh:
fields: "*"
19 changes: 0 additions & 19 deletions ecs/vulnerability-detector/fields/subset.yml

This file was deleted.

0 comments on commit 33fd3db

Please sign in to comment.