Skip to content

Commit

Permalink
Fix template-settings fields (#490)
Browse files Browse the repository at this point in the history
* Update vulnerabilities template-settings fields

* Update ecs templates definitions
  • Loading branch information
QU3B1M authored Oct 23, 2024
1 parent 62e4d4b commit 4fad7ba
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 3 deletions.
12 changes: 12 additions & 0 deletions ecs/alerts/fields/custom/agent.yml
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.
12 changes: 12 additions & 0 deletions ecs/states-vulnerabilities/fields/custom/agent.yml
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.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"refresh_interval": "5s",
"query.default_field": [
"agent.id",
"agent.group",
"agent.groups",
"host.os.full",
"host.os.version",
"package.name",
Expand All @@ -20,4 +20,4 @@
]
}
}
}
}
2 changes: 1 addition & 1 deletion ecs/states-vulnerabilities/fields/template-settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"refresh_interval": "5s",
"query.default_field": [
"agent.id",
"agent.group",
"agent.groups",
"host.os.full",
"host.os.version",
"package.name",
Expand Down

0 comments on commit 4fad7ba

Please sign in to comment.