elastic / elastic/integrations

[stormshield] Follow-up tasks for new integration

Open
#10,114 1 comment 0 reactions 0 assignees View on GitHub
enhancement Integration:stormshield Team:Security-Deployment and Devices
Dominant language
Handlebars
Stars
333
Forks
647
Avg merge
3d 4h
Merged PRs (30d)
209

Description

## Inputs

- [ ] Add filestream input and system test

## ECS Improvements

### New mappings (from existing vendor fields)
- [ ] `in_bytes` -> `source.bytes`
- [ ] `out_bytes` -> `destination.bytes`
- [ ] `dstif` -> `observer.[ingress|egress].interface.alias` (1)
- [ ] `dstifname` -> `observer.[ingress|egress].interface.name` (1)
- [ ] `srcif` -> `observer.[ingress|egress].interface.alias` (1)
- [ ] `srcifname` -> `observer.[ingress|egress].interface.name` (1)
- [ ] `fw` -> `observer.name` (no `observer.id` in https://www.elastic.co/guide/en/ecs/current/ecs-observer.html)
- [ ] `msg` -> `message`
- [ ] `starttime` -> `event.start`
- [ ] `time` -> `@timestamp`

### Cleanup
- [ ] Remove `tz`

### New mappings
- [ ] Add `event.kind`
- [ ] Add `event.category`
- [ ] Add `event.type` (2)
- [ ] Add `destination.mac` to fields.yml
- [ ] Add `network.bytes` (derived from source.bytes + destination.bytes)

1: ingress/egress depends on user-assignment (see fortigate for example).
2: Needs to be set based on contents of log. Other integrations use an log ID/event code to do this. We may only be able to use the log type, unless I'm missing something.

There may be other fields, this is what I saw on an initial look. As always, fortigate is a good integration to reference. Here's its [ecs.yml as reference](https://github.com/elastic/integrations/blob/main/packages/fortinet_fortigate/data_stream/log/fields/ecs.yml), and note that not all fields will be applicable here, it's just to get an idea of what's out there.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.