Skip to content

Commit

Permalink
Add ports docs
Browse files Browse the repository at this point in the history
  • Loading branch information
f-galland committed Nov 11, 2024
1 parent e22b417 commit 0b6ae82
Showing 1 changed file with 68 additions and 0 deletions.
68 changes: 68 additions & 0 deletions ecs/docs/inventory-ports.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,77 @@ Based on ECS:
### ECS mapping

```yml
---
name: wazuh-states-inventory-ports
fields:
base:
fields:
tags: []
"@timestamp": {}
agent:
fields:
id: {}
groups: {}
destination:
fields:
ip: {}
port: {}
device:
fields:
id: {}
file:
fields:
inode: {}
host:
fields:
network:
fields:
egress:
fields:
queue: {}
ingress:
fields:
queue: {}
network:
fields:
protocol: {}
process:
fields:
name: {}
pid: {}
source:
fields:
ip: {}
port: {}
interface:
fields:
state: {}

```

### Index settings

```json
{
"index_patterns": [
"wazuh-states-inventory-ports*"
],
"priority": 1,
"template": {
"settings": {
"index": {
"number_of_shards": "1",
"number_of_replicas": "0",
"refresh_interval": "5s",
"query.default_field": [
"agent.id",
"agent.groups",
"process.name",
"source.ip",
"destination.ip"
]
}
}
}
}
```

0 comments on commit 0b6ae82

Please sign in to comment.