Skip to content

Initial discussion for email object #815

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

Closed
wants to merge 1 commit 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
58 changes: 58 additions & 0 deletions schemas/email.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
---
- name: email
group: 2
title: Email
short: Fields describing emails.
description: >
A file is defined as a set of information that has been created on, or has existed on a filesystem.

File objects can be associated with host events, network events,
and/or file events (e.g., those produced by File Integrity Monitoring [FIM] products or services).
File fields provide details about the affected file associated with the event or metric.
type: group
fields:

- name: id
level: core
type: keyword
description: ID of the email

- name: subject
level: core
type: keyword
description: Subject of the email

- name: from
level: core
type: keyword
description: should be an array with email and fullname

- name: to
level: core
type: keyword
description: should be an array of dicts with email and fullname

- name: cc
level: core
type: keyword
description: should be an array of dicts with email and fullname

- name: reply-to
level: core
type: keyword
description: should be an array of dicts with email and fullname

- name: attachments
level: extended
type: file
description: should be an array of attached files
normalize:
- array

# Additional notes/fields:
# message-id: event.id could be used
# delivered to: destination.host could be used
# received by: should be an array of hosts
# spam grade:
# spf check
# authentication
4 changes: 4 additions & 0 deletions schemas/file.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@
File objects can be associated with host events, network events,
and/or file events (e.g., those produced by File Integrity Monitoring [FIM] products or services).
File fields provide details about the affected file associated with the event or metric.
reusable:
top_level: true
expected:
- email
type: group
fields:

Expand Down
5 changes: 4 additions & 1 deletion schemas/host.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@
ECS host.* fields should be populated with details about the host on which
the event happened, or from which the measurement was taken.
Host types include hardware, virtual machines, Docker containers, and Kubernetes nodes.
reusable:
top_level: true
expected:
- email
type: group
fields:

Expand Down Expand Up @@ -90,4 +94,3 @@
For example, on Windows this could be the host's Active Directory domain or NetBIOS domain name.
For Linux this could be the domain of the host's LDAP provider.
example: CONTOSO