Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update .agents index data model #542

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions ecs/agent/fields/custom/host.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
- name: host
reusable:
top_level: false
expected:
- agent
6 changes: 6 additions & 0 deletions ecs/agent/fields/custom/os.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
- name: os
reusable:
top_level: false
expected:
- agent.host
6 changes: 6 additions & 0 deletions ecs/agent/fields/custom/risk.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
- name: risk
reusable:
top_level: false
expected:
- agent.host
9 changes: 7 additions & 2 deletions ecs/agent/fields/custom/wazuh-agent.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,13 @@
level: custom
description: >
The agent's last login.
- name: is_connected
type: boolean
- name: status
type: keyword
level: custom
description: >
Agents' interpreted connection status depending on `agent.last_login`.
allowed_values:
- name: active
description: Active agent status
- name: disconnected
description: Disconnected agent status
10 changes: 3 additions & 7 deletions ecs/agent/fields/subset.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,6 @@ fields:
groups: {}
key: {}
last_login: {}
is_connected: {}
host:
fields:
ip: {}
os:
fields:
full: {}
status: {}
host:
fields: "*"