From 280782c5a73a1459f5502a3c4f74f838e62b53cc Mon Sep 17 00:00:00 2001 From: Eric Beahan Date: Tue, 11 May 2021 17:52:41 -0500 Subject: [PATCH 01/10] move from exp to beta --- {experimental/schemas => schemas}/elf.yml | 2 ++ 1 file changed, 2 insertions(+) rename {experimental/schemas => schemas}/elf.yml (98%) diff --git a/experimental/schemas/elf.yml b/schemas/elf.yml similarity index 98% rename from experimental/schemas/elf.yml rename to schemas/elf.yml index 82b17da920..706498e151 100644 --- a/experimental/schemas/elf.yml +++ b/schemas/elf.yml @@ -4,6 +4,8 @@ group: 2 description: > These fields contain Linux Executable Linkable Format (ELF) metadata. + beta: > + These fields are in beta and are subject to change type: group reusable: top_level: false From 41eeec721d87121c703f2942271888b8bc92e4bc Mon Sep 17 00:00:00 2001 From: Eric Beahan Date: Tue, 11 May 2021 18:00:11 -0500 Subject: [PATCH 02/10] define which fields are expected to be lists --- schemas/elf.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/schemas/elf.yml b/schemas/elf.yml index 706498e151..eb6e357585 100644 --- a/schemas/elf.yml +++ b/schemas/elf.yml @@ -161,12 +161,16 @@ List of exported element names and types. level: extended type: flattened + normalize: + - array - name: imports description: > List of imported element names and types. type: flattened level: extended + normalize: + - array - name: shared_libraries description: > @@ -188,6 +192,8 @@ ELF object segment list. type: nested level: extended + normalize: + - array - name: segments.type description: ELF object segment type. From 348ee59843aba10123279a0279b7a8dbac37a88f Mon Sep 17 00:00:00 2001 From: Eric Beahan Date: Tue, 11 May 2021 18:04:31 -0500 Subject: [PATCH 03/10] use single value for example --- schemas/elf.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/schemas/elf.yml b/schemas/elf.yml index eb6e357585..5221818471 100644 --- a/schemas/elf.yml +++ b/schemas/elf.yml @@ -33,7 +33,7 @@ Byte sequence of ELF file. type: keyword level: extended - example: Little Endian, Big Endian + example: Little Endian - name: cpu_type description: > From 552f50ef3f8d9c62be27523d49a092d8f3b0e030 Mon Sep 17 00:00:00 2001 From: Eric Beahan Date: Tue, 11 May 2021 18:05:53 -0500 Subject: [PATCH 04/10] clear up description --- schemas/elf.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/schemas/elf.yml b/schemas/elf.yml index 5221818471..eed5aae476 100644 --- a/schemas/elf.yml +++ b/schemas/elf.yml @@ -181,9 +181,9 @@ - array - name: telfhash - short: telfhash hash for ELF files + short: telfhash hash for ELF file. description: > - telfhash is symbol hash for ELF files, just like imphash is imports hash for PE files. Learn more at https://github.com/trendmicro/telfhash. + telfhash symbol hash for ELF file. type: keyword level: extended From c85cb49b75ee3896cba04339e9072cff49cbba3d Mon Sep 17 00:00:00 2001 From: Eric Beahan Date: Tue, 11 May 2021 18:06:41 -0500 Subject: [PATCH 05/10] clear up punctuation --- schemas/elf.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/schemas/elf.yml b/schemas/elf.yml index eed5aae476..b39ff13166 100644 --- a/schemas/elf.yml +++ b/schemas/elf.yml @@ -5,7 +5,7 @@ description: > These fields contain Linux Executable Linkable Format (ELF) metadata. beta: > - These fields are in beta and are subject to change + These fields are in beta and are subject to change. type: group reusable: top_level: false @@ -174,7 +174,7 @@ - name: shared_libraries description: > - List of shared libraries used by this ELF object + List of shared libraries used by this ELF object. type: keyword level: extended normalize: From f0eb75839917b6658dc86d478596d4c6bec0159f Mon Sep 17 00:00:00 2001 From: Eric Beahan Date: Tue, 11 May 2021 18:09:55 -0500 Subject: [PATCH 06/10] artifacts --- code/go/ecs/elf.go | 119 + docs/field-details.asciidoc | 518 + docs/fields.asciidoc | 2 + experimental/generated/beats/fields.ecs.yml | 201 +- experimental/generated/csv/fields.csv | 65 +- experimental/generated/ecs/ecs_flat.yml | 382 +- experimental/generated/ecs/ecs_nested.yml | 415 +- .../generated/elasticsearch/7/template.json | 117 + .../elasticsearch/component/threat.json | 117 + experimental/generated/json_schema/agent.json | 88 + experimental/generated/json_schema/base.json | 50 + .../generated/json_schema/client.json | 471 + experimental/generated/json_schema/cloud.json | 176 + .../generated/json_schema/container.json | 88 + .../generated/json_schema/data_stream.json | 45 + .../generated/json_schema/destination.json | 471 + experimental/generated/json_schema/dll.json | 695 + experimental/generated/json_schema/dns.json | 234 + experimental/generated/json_schema/ecs.json | 21 + experimental/generated/json_schema/error.json | 69 + experimental/generated/json_schema/event.json | 309 + experimental/generated/json_schema/file.json | 1598 ++ experimental/generated/json_schema/full.json | 14579 ++++++++++++++++ experimental/generated/json_schema/group.json | 45 + experimental/generated/json_schema/host.json | 614 + experimental/generated/json_schema/http.json | 193 + experimental/generated/json_schema/log.json | 202 + .../generated/json_schema/network.json | 217 + .../generated/json_schema/observer.json | 547 + .../generated/json_schema/orchestrator.json | 131 + .../generated/json_schema/organization.json | 33 + .../generated/json_schema/package.json | 165 + .../generated/json_schema/process.json | 2470 +++ .../generated/json_schema/registry.json | 100 + .../generated/json_schema/related.json | 57 + experimental/generated/json_schema/rule.json | 129 + .../generated/json_schema/server.json | 471 + .../generated/json_schema/service.json | 100 + .../generated/json_schema/source.json | 471 + .../generated/json_schema/threat.json | 1712 ++ experimental/generated/json_schema/tls.json | 1003 ++ .../generated/json_schema/tracing.json | 59 + experimental/generated/json_schema/url.json | 177 + experimental/generated/json_schema/user.json | 538 + .../generated/json_schema/user_agent.json | 155 + .../generated/json_schema/vulnerability.json | 179 + generated/beats/fields.ecs.yml | 698 + generated/csv/fields.csv | 87 + generated/ecs/ecs_flat.yml | 966 + generated/ecs/ecs_nested.yml | 1286 ++ generated/elasticsearch/6/template.json | 351 + generated/elasticsearch/7/template.json | 351 + generated/elasticsearch/component/file.json | 117 + .../elasticsearch/component/process.json | 234 + 54 files changed, 34585 insertions(+), 103 deletions(-) create mode 100644 code/go/ecs/elf.go create mode 100644 experimental/generated/json_schema/agent.json create mode 100644 experimental/generated/json_schema/base.json create mode 100644 experimental/generated/json_schema/client.json create mode 100644 experimental/generated/json_schema/cloud.json create mode 100644 experimental/generated/json_schema/container.json create mode 100644 experimental/generated/json_schema/data_stream.json create mode 100644 experimental/generated/json_schema/destination.json create mode 100644 experimental/generated/json_schema/dll.json create mode 100644 experimental/generated/json_schema/dns.json create mode 100644 experimental/generated/json_schema/ecs.json create mode 100644 experimental/generated/json_schema/error.json create mode 100644 experimental/generated/json_schema/event.json create mode 100644 experimental/generated/json_schema/file.json create mode 100644 experimental/generated/json_schema/full.json create mode 100644 experimental/generated/json_schema/group.json create mode 100644 experimental/generated/json_schema/host.json create mode 100644 experimental/generated/json_schema/http.json create mode 100644 experimental/generated/json_schema/log.json create mode 100644 experimental/generated/json_schema/network.json create mode 100644 experimental/generated/json_schema/observer.json create mode 100644 experimental/generated/json_schema/orchestrator.json create mode 100644 experimental/generated/json_schema/organization.json create mode 100644 experimental/generated/json_schema/package.json create mode 100644 experimental/generated/json_schema/process.json create mode 100644 experimental/generated/json_schema/registry.json create mode 100644 experimental/generated/json_schema/related.json create mode 100644 experimental/generated/json_schema/rule.json create mode 100644 experimental/generated/json_schema/server.json create mode 100644 experimental/generated/json_schema/service.json create mode 100644 experimental/generated/json_schema/source.json create mode 100644 experimental/generated/json_schema/threat.json create mode 100644 experimental/generated/json_schema/tls.json create mode 100644 experimental/generated/json_schema/tracing.json create mode 100644 experimental/generated/json_schema/url.json create mode 100644 experimental/generated/json_schema/user.json create mode 100644 experimental/generated/json_schema/user_agent.json create mode 100644 experimental/generated/json_schema/vulnerability.json diff --git a/code/go/ecs/elf.go b/code/go/ecs/elf.go new file mode 100644 index 0000000000..30e31c9d11 --- /dev/null +++ b/code/go/ecs/elf.go @@ -0,0 +1,119 @@ +// Licensed to Elasticsearch B.V. under one or more contributor +// license agreements. See the NOTICE file distributed with +// this work for additional information regarding copyright +// ownership. Elasticsearch B.V. licenses this file to you under +// the Apache License, Version 2.0 (the "License"); you may +// not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, +// software distributed under the License is distributed on an +// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +// KIND, either express or implied. See the License for the +// specific language governing permissions and limitations +// under the License. + +// Code generated by scripts/gocodegen.go - DO NOT EDIT. + +package ecs + +import ( + "time" +) + +// These fields contain Linux Executable Linkable Format (ELF) metadata. +type Elf struct { + // Extracted when possible from the file's metadata. Indicates when it was + // built or compiled. It can also be faked by malware creators. + CreationDate time.Time `ecs:"creation_date"` + + // Machine architecture of the ELF file. + Architecture string `ecs:"architecture"` + + // Byte sequence of ELF file. + ByteOrder string `ecs:"byte_order"` + + // CPU type of the ELF file. + CpuType string `ecs:"cpu_type"` + + // Header class of the ELF file. + HeaderClass string `ecs:"header.class"` + + // Data table of the ELF header. + HeaderData string `ecs:"header.data"` + + // Application Binary Interface (ABI) of the Linux OS. + HeaderOsAbi string `ecs:"header.os_abi"` + + // Header type of the ELF file. + HeaderType string `ecs:"header.type"` + + // Version of the ELF header. + HeaderVersion string `ecs:"header.version"` + + // Version of the ELF Application Binary Interface (ABI). + HeaderAbiVersion string `ecs:"header.abi_version"` + + // Header entrypoint of the ELF file. + HeaderEntrypoint int64 `ecs:"header.entrypoint"` + + // "0x1" for original ELF files. + HeaderObjectVersion string `ecs:"header.object_version"` + + // Section information of the ELF file. + Sections []Sections `ecs:"sections"` + + // List of exported element names and types. + Exports map[string]interface{} `ecs:"exports"` + + // List of imported element names and types. + Imports map[string]interface{} `ecs:"imports"` + + // List of shared libraries used by this ELF object. + SharedLibraries string `ecs:"shared_libraries"` + + // telfhash symbol hash for ELF file. + Telfhash string `ecs:"telfhash"` + + // ELF object segment list. + Segments []Segments `ecs:"segments"` +} + +type Sections struct { + // ELF Section List flags. + Flags string `ecs:"flags"` + + // ELF Section List name. + Name string `ecs:"name"` + + // ELF Section List offset. + PhysicalOffset string `ecs:"physical_offset"` + + // ELF Section List type. + Type string `ecs:"type"` + + // ELF Section List physical size. + PhysicalSize int64 `ecs:"physical_size"` + + // ELF Section List virtual address. + VirtualAddress int64 `ecs:"virtual_address"` + + // ELF Section List virtual size. + VirtualSize int64 `ecs:"virtual_size"` + + // Shannon entropy calculation from the section. + Entropy int64 `ecs:"entropy"` + + // Chi-square probability distribution of the section. + Chi2 int64 `ecs:"chi2"` +} + +type Segments struct { + // ELF object segment type. + Type string `ecs:"type"` + + // ELF object segment sections. + Sections string `ecs:"sections"` +} diff --git a/docs/field-details.asciidoc b/docs/field-details.asciidoc index b0f96b297d..a0dabdd4ff 100644 --- a/docs/field-details.asciidoc +++ b/docs/field-details.asciidoc @@ -1849,6 +1849,510 @@ example: `1.0.0` |===== +[[ecs-elf]] +=== ELF Header Fields + +These fields contain Linux Executable Linkable Format (ELF) metadata. + +beta::[ These fields are in beta and are subject to change.] + +[discrete] +==== ELF Header Field Details + +[options="header"] +|===== +| Field | Description | Level + +// =============================================================== + +| +[[field-elf-architecture]] +<> + +| Machine architecture of the ELF file. + +type: keyword + + + +example: `x86-64` + +| extended + +// =============================================================== + +| +[[field-elf-byte-order]] +<> + +| Byte sequence of ELF file. + +type: keyword + + + +example: `Little Endian` + +| extended + +// =============================================================== + +| +[[field-elf-cpu-type]] +<> + +| CPU type of the ELF file. + +type: keyword + + + +example: `Intel` + +| extended + +// =============================================================== + +| +[[field-elf-creation-date]] +<> + +| Extracted when possible from the file's metadata. Indicates when it was built or compiled. It can also be faked by malware creators. + +type: date + + + + + +| extended + +// =============================================================== + +| +[[field-elf-exports]] +<> + +| List of exported element names and types. + +type: flattened + + +Note: this field should contain an array of values. + + + + + +| extended + +// =============================================================== + +| +[[field-elf-header-abi-version]] +<> + +| Version of the ELF Application Binary Interface (ABI). + +type: keyword + + + + + +| extended + +// =============================================================== + +| +[[field-elf-header-class]] +<> + +| Header class of the ELF file. + +type: keyword + + + + + +| extended + +// =============================================================== + +| +[[field-elf-header-data]] +<> + +| Data table of the ELF header. + +type: keyword + + + + + +| extended + +// =============================================================== + +| +[[field-elf-header-entrypoint]] +<> + +| Header entrypoint of the ELF file. + +type: long + + + + + +| extended + +// =============================================================== + +| +[[field-elf-header-object-version]] +<> + +| "0x1" for original ELF files. + +type: keyword + + + + + +| extended + +// =============================================================== + +| +[[field-elf-header-os-abi]] +<> + +| Application Binary Interface (ABI) of the Linux OS. + +type: keyword + + + + + +| extended + +// =============================================================== + +| +[[field-elf-header-type]] +<> + +| Header type of the ELF file. + +type: keyword + + + + + +| extended + +// =============================================================== + +| +[[field-elf-header-version]] +<> + +| Version of the ELF header. + +type: keyword + + + + + +| extended + +// =============================================================== + +| +[[field-elf-imports]] +<> + +| List of imported element names and types. + +type: flattened + + +Note: this field should contain an array of values. + + + + + +| extended + +// =============================================================== + +| +[[field-elf-sections]] +<> + +| Section information of the ELF file. + +type: nested + + + + + +| extended + +// =============================================================== + +| +[[field-elf-sections-chi2]] +<> + +| Chi-square probability distribution of the section. + +type: long + + + + + +| extended + +// =============================================================== + +| +[[field-elf-sections-entropy]] +<> + +| Shannon entropy calculation from the section. + +type: long + + + + + +| extended + +// =============================================================== + +| +[[field-elf-sections-flags]] +<> + +| ELF Section List flags. + +type: keyword + + + + + +| extended + +// =============================================================== + +| +[[field-elf-sections-name]] +<> + +| ELF Section List name. + +type: keyword + + + + + +| extended + +// =============================================================== + +| +[[field-elf-sections-physical-offset]] +<> + +| ELF Section List offset. + +type: keyword + + + + + +| extended + +// =============================================================== + +| +[[field-elf-sections-physical-size]] +<> + +| ELF Section List physical size. + +type: long + + + + + +| extended + +// =============================================================== + +| +[[field-elf-sections-type]] +<> + +| ELF Section List type. + +type: keyword + + + + + +| extended + +// =============================================================== + +| +[[field-elf-sections-virtual-address]] +<> + +| ELF Section List virtual address. + +type: long + + + + + +| extended + +// =============================================================== + +| +[[field-elf-sections-virtual-size]] +<> + +| ELF Section List virtual size. + +type: long + + + + + +| extended + +// =============================================================== + +| +[[field-elf-segments]] +<> + +| ELF object segment list. + +type: nested + + +Note: this field should contain an array of values. + + + + + +| extended + +// =============================================================== + +| +[[field-elf-segments-sections]] +<> + +| ELF object segment sections. + +type: keyword + + + + + +| extended + +// =============================================================== + +| +[[field-elf-segments-type]] +<> + +| ELF object segment type. + +type: keyword + + + + + +| extended + +// =============================================================== + +| +[[field-elf-shared-libraries]] +<> + +| List of shared libraries used by this ELF object. + +type: keyword + + +Note: this field should contain an array of values. + + + + + +| extended + +// =============================================================== + +| +[[field-elf-telfhash]] +<> + +| telfhash symbol hash for ELF file. + +type: keyword + + + + + +| extended + +// =============================================================== + +|===== + +[discrete] +==== Field Reuse + +The `elf` fields are expected to be nested at: `file.elf`, `process.elf`. + +Note also that the `elf` fields are not expected to be used directly at the root of the events. + + + + [[ecs-error]] === Error Fields @@ -2874,6 +3378,13 @@ example: `1001` // =============================================================== +| <> +| `file.elf.*` +| These fields contain Linux Executable Linkable Format (ELF) metadata. + +// =============================================================== + + | <> | `file.hash.*` | Hashes, usually file hashes. @@ -5874,6 +6385,13 @@ Note also that the `process` fields may be used directly at the root of the even // =============================================================== +| <> +| `process.elf.*` +| These fields contain Linux Executable Linkable Format (ELF) metadata. + +// =============================================================== + + | <> | `process.hash.*` | Hashes, usually file hashes. diff --git a/docs/fields.asciidoc b/docs/fields.asciidoc index a9adf96872..5da8f2d9d1 100644 --- a/docs/fields.asciidoc +++ b/docs/fields.asciidoc @@ -42,6 +42,8 @@ all fields are defined. | <> | Meta-information specific to ECS. +| <> | These fields contain Linux Executable Linkable Format (ELF) metadata. + | <> | Fields about errors of any kind. | <> | Fields breaking down the event details. diff --git a/experimental/generated/beats/fields.ecs.yml b/experimental/generated/beats/fields.ecs.yml index f2c68b783f..985fab1777 100644 --- a/experimental/generated/beats/fields.ecs.yml +++ b/experimental/generated/beats/fields.ecs.yml @@ -1538,7 +1538,7 @@ type: keyword ignore_above: 1024 description: Byte sequence of ELF file. - example: Little Endian, Big Endian + example: Little Endian default_field: false - name: cpu_type level: extended @@ -1691,14 +1691,13 @@ level: extended type: keyword ignore_above: 1024 - description: List of shared libraries used by this ELF object + description: List of shared libraries used by this ELF object. default_field: false - name: telfhash level: extended type: keyword ignore_above: 1024 - description: telfhash is symbol hash for ELF files, just like imphash is imports - hash for PE files. Learn more at https://github.com/trendmicro/telfhash. + description: telfhash symbol hash for ELF file. default_field: false - name: error title: Error @@ -2169,7 +2168,7 @@ type: keyword ignore_above: 1024 description: Byte sequence of ELF file. - example: Little Endian, Big Endian + example: Little Endian default_field: false - name: elf.cpu_type level: extended @@ -2322,14 +2321,13 @@ level: extended type: keyword ignore_above: 1024 - description: List of shared libraries used by this ELF object + description: List of shared libraries used by this ELF object. default_field: false - name: elf.telfhash level: extended type: keyword ignore_above: 1024 - description: telfhash is symbol hash for ELF files, just like imphash is imports - hash for PE files. Learn more at https://github.com/trendmicro/telfhash. + description: telfhash symbol hash for ELF file. default_field: false - name: extension level: extended @@ -4759,7 +4757,7 @@ type: keyword ignore_above: 1024 description: Byte sequence of ELF file. - example: Little Endian, Big Endian + example: Little Endian default_field: false - name: elf.cpu_type level: extended @@ -4912,14 +4910,13 @@ level: extended type: keyword ignore_above: 1024 - description: List of shared libraries used by this ELF object + description: List of shared libraries used by this ELF object. default_field: false - name: elf.telfhash level: extended type: keyword ignore_above: 1024 - description: telfhash is symbol hash for ELF files, just like imphash is imports - hash for PE files. Learn more at https://github.com/trendmicro/telfhash. + description: telfhash symbol hash for ELF file. default_field: false - name: entity_id level: extended @@ -5100,7 +5097,7 @@ type: keyword ignore_above: 1024 description: Byte sequence of ELF file. - example: Little Endian, Big Endian + example: Little Endian default_field: false - name: parent.elf.cpu_type level: extended @@ -5253,14 +5250,13 @@ level: extended type: keyword ignore_above: 1024 - description: List of shared libraries used by this ELF object + description: List of shared libraries used by this ELF object. default_field: false - name: parent.elf.telfhash level: extended type: keyword ignore_above: 1024 - description: telfhash is symbol hash for ELF files, just like imphash is imports - hash for PE files. Learn more at https://github.com/trendmicro/telfhash. + description: telfhash symbol hash for ELF file. default_field: false - name: parent.entity_id level: extended @@ -7055,6 +7051,179 @@ The value should be uppercase, and not include the colon.' example: C default_field: false + - name: indicator.file.elf.architecture + level: extended + type: keyword + ignore_above: 1024 + description: Machine architecture of the ELF file. + example: x86-64 + default_field: false + - name: indicator.file.elf.byte_order + level: extended + type: keyword + ignore_above: 1024 + description: Byte sequence of ELF file. + example: Little Endian + default_field: false + - name: indicator.file.elf.cpu_type + level: extended + type: keyword + ignore_above: 1024 + description: CPU type of the ELF file. + example: Intel + default_field: false + - name: indicator.file.elf.creation_date + level: extended + type: date + description: Extracted when possible from the file's metadata. Indicates when + it was built or compiled. It can also be faked by malware creators. + default_field: false + - name: indicator.file.elf.exports + level: extended + type: flattened + description: List of exported element names and types. + default_field: false + - name: indicator.file.elf.header.abi_version + level: extended + type: keyword + ignore_above: 1024 + description: Version of the ELF Application Binary Interface (ABI). + default_field: false + - name: indicator.file.elf.header.class + level: extended + type: keyword + ignore_above: 1024 + description: Header class of the ELF file. + default_field: false + - name: indicator.file.elf.header.data + level: extended + type: keyword + ignore_above: 1024 + description: Data table of the ELF header. + default_field: false + - name: indicator.file.elf.header.entrypoint + level: extended + type: long + format: string + description: Header entrypoint of the ELF file. + default_field: false + - name: indicator.file.elf.header.object_version + level: extended + type: keyword + ignore_above: 1024 + description: '"0x1" for original ELF files.' + default_field: false + - name: indicator.file.elf.header.os_abi + level: extended + type: keyword + ignore_above: 1024 + description: Application Binary Interface (ABI) of the Linux OS. + default_field: false + - name: indicator.file.elf.header.type + level: extended + type: keyword + ignore_above: 1024 + description: Header type of the ELF file. + default_field: false + - name: indicator.file.elf.header.version + level: extended + type: keyword + ignore_above: 1024 + description: Version of the ELF header. + default_field: false + - name: indicator.file.elf.imports + level: extended + type: flattened + description: List of imported element names and types. + default_field: false + - name: indicator.file.elf.sections + level: extended + type: nested + description: Section information of the ELF file. + default_field: false + - name: indicator.file.elf.sections.chi2 + level: extended + type: long + format: number + description: Chi-square probability distribution of the section. + default_field: false + - name: indicator.file.elf.sections.entropy + level: extended + type: long + format: number + description: Shannon entropy calculation from the section. + default_field: false + - name: indicator.file.elf.sections.flags + level: extended + type: keyword + ignore_above: 1024 + description: ELF Section List flags. + default_field: false + - name: indicator.file.elf.sections.name + level: extended + type: keyword + ignore_above: 1024 + description: ELF Section List name. + default_field: false + - name: indicator.file.elf.sections.physical_offset + level: extended + type: keyword + ignore_above: 1024 + description: ELF Section List offset. + default_field: false + - name: indicator.file.elf.sections.physical_size + level: extended + type: long + format: bytes + description: ELF Section List physical size. + default_field: false + - name: indicator.file.elf.sections.type + level: extended + type: keyword + ignore_above: 1024 + description: ELF Section List type. + default_field: false + - name: indicator.file.elf.sections.virtual_address + level: extended + type: long + format: string + description: ELF Section List virtual address. + default_field: false + - name: indicator.file.elf.sections.virtual_size + level: extended + type: long + format: string + description: ELF Section List virtual size. + default_field: false + - name: indicator.file.elf.segments + level: extended + type: nested + description: ELF object segment list. + default_field: false + - name: indicator.file.elf.segments.sections + level: extended + type: keyword + ignore_above: 1024 + description: ELF object segment sections. + default_field: false + - name: indicator.file.elf.segments.type + level: extended + type: keyword + ignore_above: 1024 + description: ELF object segment type. + default_field: false + - name: indicator.file.elf.shared_libraries + level: extended + type: keyword + ignore_above: 1024 + description: List of shared libraries used by this ELF object. + default_field: false + - name: indicator.file.elf.telfhash + level: extended + type: keyword + ignore_above: 1024 + description: telfhash symbol hash for ELF file. + default_field: false - name: indicator.file.extension level: extended type: keyword diff --git a/experimental/generated/csv/fields.csv b/experimental/generated/csv/fields.csv index e606d2dc41..0964b09fdb 100644 --- a/experimental/generated/csv/fields.csv +++ b/experimental/generated/csv/fields.csv @@ -222,10 +222,10 @@ ECS_Version,Indexed,Field_Set,Field,Type,Level,Normalization,Example,Description 2.0.0-dev+exp,true,file,file.directory,wildcard,extended,,/home/alice,Directory where the file is located. 2.0.0-dev+exp,true,file,file.drive_letter,keyword,extended,,C,Drive letter where the file is located. 2.0.0-dev+exp,true,file,file.elf.architecture,keyword,extended,,x86-64,Machine architecture of the ELF file. -2.0.0-dev+exp,true,file,file.elf.byte_order,keyword,extended,,"Little Endian, Big Endian",Byte sequence of ELF file. +2.0.0-dev+exp,true,file,file.elf.byte_order,keyword,extended,,Little Endian,Byte sequence of ELF file. 2.0.0-dev+exp,true,file,file.elf.cpu_type,keyword,extended,,Intel,CPU type of the ELF file. 2.0.0-dev+exp,true,file,file.elf.creation_date,date,extended,,,Build or compile date. -2.0.0-dev+exp,true,file,file.elf.exports,flattened,extended,,,List of exported element names and types. +2.0.0-dev+exp,true,file,file.elf.exports,flattened,extended,array,,List of exported element names and types. 2.0.0-dev+exp,true,file,file.elf.header.abi_version,keyword,extended,,,Version of the ELF Application Binary Interface (ABI). 2.0.0-dev+exp,true,file,file.elf.header.class,keyword,extended,,,Header class of the ELF file. 2.0.0-dev+exp,true,file,file.elf.header.data,keyword,extended,,,Data table of the ELF header. @@ -234,7 +234,7 @@ ECS_Version,Indexed,Field_Set,Field,Type,Level,Normalization,Example,Description 2.0.0-dev+exp,true,file,file.elf.header.os_abi,keyword,extended,,,Application Binary Interface (ABI) of the Linux OS. 2.0.0-dev+exp,true,file,file.elf.header.type,keyword,extended,,,Header type of the ELF file. 2.0.0-dev+exp,true,file,file.elf.header.version,keyword,extended,,,Version of the ELF header. -2.0.0-dev+exp,true,file,file.elf.imports,flattened,extended,,,List of imported element names and types. +2.0.0-dev+exp,true,file,file.elf.imports,flattened,extended,array,,List of imported element names and types. 2.0.0-dev+exp,true,file,file.elf.sections,nested,extended,,,Section information of the ELF file. 2.0.0-dev+exp,true,file,file.elf.sections.chi2,long,extended,,,Chi-square probability distribution of the section. 2.0.0-dev+exp,true,file,file.elf.sections.entropy,long,extended,,,Shannon entropy calculation from the section. @@ -245,11 +245,11 @@ ECS_Version,Indexed,Field_Set,Field,Type,Level,Normalization,Example,Description 2.0.0-dev+exp,true,file,file.elf.sections.type,keyword,extended,,,ELF Section List type. 2.0.0-dev+exp,true,file,file.elf.sections.virtual_address,long,extended,,,ELF Section List virtual address. 2.0.0-dev+exp,true,file,file.elf.sections.virtual_size,long,extended,,,ELF Section List virtual size. -2.0.0-dev+exp,true,file,file.elf.segments,nested,extended,,,ELF object segment list. +2.0.0-dev+exp,true,file,file.elf.segments,nested,extended,array,,ELF object segment list. 2.0.0-dev+exp,true,file,file.elf.segments.sections,keyword,extended,,,ELF object segment sections. 2.0.0-dev+exp,true,file,file.elf.segments.type,keyword,extended,,,ELF object segment type. -2.0.0-dev+exp,true,file,file.elf.shared_libraries,keyword,extended,array,,List of shared libraries used by this ELF object -2.0.0-dev+exp,true,file,file.elf.telfhash,keyword,extended,,,telfhash hash for ELF files +2.0.0-dev+exp,true,file,file.elf.shared_libraries,keyword,extended,array,,List of shared libraries used by this ELF object. +2.0.0-dev+exp,true,file,file.elf.telfhash,keyword,extended,,,telfhash hash for ELF file. 2.0.0-dev+exp,true,file,file.extension,keyword,extended,,png,"File extension, excluding the leading dot." 2.0.0-dev+exp,true,file,file.gid,keyword,extended,,1001,Primary group ID (GID) of the file. 2.0.0-dev+exp,true,file,file.group,keyword,extended,,alice,Primary group name of the file. @@ -508,10 +508,10 @@ ECS_Version,Indexed,Field_Set,Field,Type,Level,Normalization,Example,Description 2.0.0-dev+exp,true,process,process.command_line,wildcard,extended,,/usr/bin/ssh -l user 10.0.0.16,Full command line that started the process. 2.0.0-dev+exp,true,process,process.command_line.text,text,extended,,/usr/bin/ssh -l user 10.0.0.16,Full command line that started the process. 2.0.0-dev+exp,true,process,process.elf.architecture,keyword,extended,,x86-64,Machine architecture of the ELF file. -2.0.0-dev+exp,true,process,process.elf.byte_order,keyword,extended,,"Little Endian, Big Endian",Byte sequence of ELF file. +2.0.0-dev+exp,true,process,process.elf.byte_order,keyword,extended,,Little Endian,Byte sequence of ELF file. 2.0.0-dev+exp,true,process,process.elf.cpu_type,keyword,extended,,Intel,CPU type of the ELF file. 2.0.0-dev+exp,true,process,process.elf.creation_date,date,extended,,,Build or compile date. -2.0.0-dev+exp,true,process,process.elf.exports,flattened,extended,,,List of exported element names and types. +2.0.0-dev+exp,true,process,process.elf.exports,flattened,extended,array,,List of exported element names and types. 2.0.0-dev+exp,true,process,process.elf.header.abi_version,keyword,extended,,,Version of the ELF Application Binary Interface (ABI). 2.0.0-dev+exp,true,process,process.elf.header.class,keyword,extended,,,Header class of the ELF file. 2.0.0-dev+exp,true,process,process.elf.header.data,keyword,extended,,,Data table of the ELF header. @@ -520,7 +520,7 @@ ECS_Version,Indexed,Field_Set,Field,Type,Level,Normalization,Example,Description 2.0.0-dev+exp,true,process,process.elf.header.os_abi,keyword,extended,,,Application Binary Interface (ABI) of the Linux OS. 2.0.0-dev+exp,true,process,process.elf.header.type,keyword,extended,,,Header type of the ELF file. 2.0.0-dev+exp,true,process,process.elf.header.version,keyword,extended,,,Version of the ELF header. -2.0.0-dev+exp,true,process,process.elf.imports,flattened,extended,,,List of imported element names and types. +2.0.0-dev+exp,true,process,process.elf.imports,flattened,extended,array,,List of imported element names and types. 2.0.0-dev+exp,true,process,process.elf.sections,nested,extended,,,Section information of the ELF file. 2.0.0-dev+exp,true,process,process.elf.sections.chi2,long,extended,,,Chi-square probability distribution of the section. 2.0.0-dev+exp,true,process,process.elf.sections.entropy,long,extended,,,Shannon entropy calculation from the section. @@ -531,11 +531,11 @@ ECS_Version,Indexed,Field_Set,Field,Type,Level,Normalization,Example,Description 2.0.0-dev+exp,true,process,process.elf.sections.type,keyword,extended,,,ELF Section List type. 2.0.0-dev+exp,true,process,process.elf.sections.virtual_address,long,extended,,,ELF Section List virtual address. 2.0.0-dev+exp,true,process,process.elf.sections.virtual_size,long,extended,,,ELF Section List virtual size. -2.0.0-dev+exp,true,process,process.elf.segments,nested,extended,,,ELF object segment list. +2.0.0-dev+exp,true,process,process.elf.segments,nested,extended,array,,ELF object segment list. 2.0.0-dev+exp,true,process,process.elf.segments.sections,keyword,extended,,,ELF object segment sections. 2.0.0-dev+exp,true,process,process.elf.segments.type,keyword,extended,,,ELF object segment type. -2.0.0-dev+exp,true,process,process.elf.shared_libraries,keyword,extended,array,,List of shared libraries used by this ELF object -2.0.0-dev+exp,true,process,process.elf.telfhash,keyword,extended,,,telfhash hash for ELF files +2.0.0-dev+exp,true,process,process.elf.shared_libraries,keyword,extended,array,,List of shared libraries used by this ELF object. +2.0.0-dev+exp,true,process,process.elf.telfhash,keyword,extended,,,telfhash hash for ELF file. 2.0.0-dev+exp,true,process,process.entity_id,keyword,extended,,c2c455d9f99375d,Unique identifier for the process. 2.0.0-dev+exp,true,process,process.executable,wildcard,extended,,/usr/bin/ssh,Absolute path to the process executable. 2.0.0-dev+exp,true,process,process.executable.text,text,extended,,/usr/bin/ssh,Absolute path to the process executable. @@ -559,10 +559,10 @@ ECS_Version,Indexed,Field_Set,Field,Type,Level,Normalization,Example,Description 2.0.0-dev+exp,true,process,process.parent.command_line,wildcard,extended,,/usr/bin/ssh -l user 10.0.0.16,Full command line that started the process. 2.0.0-dev+exp,true,process,process.parent.command_line.text,text,extended,,/usr/bin/ssh -l user 10.0.0.16,Full command line that started the process. 2.0.0-dev+exp,true,process,process.parent.elf.architecture,keyword,extended,,x86-64,Machine architecture of the ELF file. -2.0.0-dev+exp,true,process,process.parent.elf.byte_order,keyword,extended,,"Little Endian, Big Endian",Byte sequence of ELF file. +2.0.0-dev+exp,true,process,process.parent.elf.byte_order,keyword,extended,,Little Endian,Byte sequence of ELF file. 2.0.0-dev+exp,true,process,process.parent.elf.cpu_type,keyword,extended,,Intel,CPU type of the ELF file. 2.0.0-dev+exp,true,process,process.parent.elf.creation_date,date,extended,,,Build or compile date. -2.0.0-dev+exp,true,process,process.parent.elf.exports,flattened,extended,,,List of exported element names and types. +2.0.0-dev+exp,true,process,process.parent.elf.exports,flattened,extended,array,,List of exported element names and types. 2.0.0-dev+exp,true,process,process.parent.elf.header.abi_version,keyword,extended,,,Version of the ELF Application Binary Interface (ABI). 2.0.0-dev+exp,true,process,process.parent.elf.header.class,keyword,extended,,,Header class of the ELF file. 2.0.0-dev+exp,true,process,process.parent.elf.header.data,keyword,extended,,,Data table of the ELF header. @@ -571,7 +571,7 @@ ECS_Version,Indexed,Field_Set,Field,Type,Level,Normalization,Example,Description 2.0.0-dev+exp,true,process,process.parent.elf.header.os_abi,keyword,extended,,,Application Binary Interface (ABI) of the Linux OS. 2.0.0-dev+exp,true,process,process.parent.elf.header.type,keyword,extended,,,Header type of the ELF file. 2.0.0-dev+exp,true,process,process.parent.elf.header.version,keyword,extended,,,Version of the ELF header. -2.0.0-dev+exp,true,process,process.parent.elf.imports,flattened,extended,,,List of imported element names and types. +2.0.0-dev+exp,true,process,process.parent.elf.imports,flattened,extended,array,,List of imported element names and types. 2.0.0-dev+exp,true,process,process.parent.elf.sections,nested,extended,,,Section information of the ELF file. 2.0.0-dev+exp,true,process,process.parent.elf.sections.chi2,long,extended,,,Chi-square probability distribution of the section. 2.0.0-dev+exp,true,process,process.parent.elf.sections.entropy,long,extended,,,Shannon entropy calculation from the section. @@ -582,11 +582,11 @@ ECS_Version,Indexed,Field_Set,Field,Type,Level,Normalization,Example,Description 2.0.0-dev+exp,true,process,process.parent.elf.sections.type,keyword,extended,,,ELF Section List type. 2.0.0-dev+exp,true,process,process.parent.elf.sections.virtual_address,long,extended,,,ELF Section List virtual address. 2.0.0-dev+exp,true,process,process.parent.elf.sections.virtual_size,long,extended,,,ELF Section List virtual size. -2.0.0-dev+exp,true,process,process.parent.elf.segments,nested,extended,,,ELF object segment list. +2.0.0-dev+exp,true,process,process.parent.elf.segments,nested,extended,array,,ELF object segment list. 2.0.0-dev+exp,true,process,process.parent.elf.segments.sections,keyword,extended,,,ELF object segment sections. 2.0.0-dev+exp,true,process,process.parent.elf.segments.type,keyword,extended,,,ELF object segment type. -2.0.0-dev+exp,true,process,process.parent.elf.shared_libraries,keyword,extended,array,,List of shared libraries used by this ELF object -2.0.0-dev+exp,true,process,process.parent.elf.telfhash,keyword,extended,,,telfhash hash for ELF files +2.0.0-dev+exp,true,process,process.parent.elf.shared_libraries,keyword,extended,array,,List of shared libraries used by this ELF object. +2.0.0-dev+exp,true,process,process.parent.elf.telfhash,keyword,extended,,,telfhash hash for ELF file. 2.0.0-dev+exp,true,process,process.parent.entity_id,keyword,extended,,c2c455d9f99375d,Unique identifier for the process. 2.0.0-dev+exp,true,process,process.parent.executable,wildcard,extended,,/usr/bin/ssh,Absolute path to the process executable. 2.0.0-dev+exp,true,process,process.parent.executable.text,text,extended,,/usr/bin/ssh,Absolute path to the process executable. @@ -828,6 +828,35 @@ ECS_Version,Indexed,Field_Set,Field,Type,Level,Normalization,Example,Description 2.0.0-dev+exp,true,threat,threat.indicator.file.device,keyword,extended,,sda,Device that is the source of the file. 2.0.0-dev+exp,true,threat,threat.indicator.file.directory,wildcard,extended,,/home/alice,Directory where the file is located. 2.0.0-dev+exp,true,threat,threat.indicator.file.drive_letter,keyword,extended,,C,Drive letter where the file is located. +2.0.0-dev+exp,true,threat,threat.indicator.file.elf.architecture,keyword,extended,,x86-64,Machine architecture of the ELF file. +2.0.0-dev+exp,true,threat,threat.indicator.file.elf.byte_order,keyword,extended,,Little Endian,Byte sequence of ELF file. +2.0.0-dev+exp,true,threat,threat.indicator.file.elf.cpu_type,keyword,extended,,Intel,CPU type of the ELF file. +2.0.0-dev+exp,true,threat,threat.indicator.file.elf.creation_date,date,extended,,,Build or compile date. +2.0.0-dev+exp,true,threat,threat.indicator.file.elf.exports,flattened,extended,array,,List of exported element names and types. +2.0.0-dev+exp,true,threat,threat.indicator.file.elf.header.abi_version,keyword,extended,,,Version of the ELF Application Binary Interface (ABI). +2.0.0-dev+exp,true,threat,threat.indicator.file.elf.header.class,keyword,extended,,,Header class of the ELF file. +2.0.0-dev+exp,true,threat,threat.indicator.file.elf.header.data,keyword,extended,,,Data table of the ELF header. +2.0.0-dev+exp,true,threat,threat.indicator.file.elf.header.entrypoint,long,extended,,,Header entrypoint of the ELF file. +2.0.0-dev+exp,true,threat,threat.indicator.file.elf.header.object_version,keyword,extended,,,"""0x1"" for original ELF files." +2.0.0-dev+exp,true,threat,threat.indicator.file.elf.header.os_abi,keyword,extended,,,Application Binary Interface (ABI) of the Linux OS. +2.0.0-dev+exp,true,threat,threat.indicator.file.elf.header.type,keyword,extended,,,Header type of the ELF file. +2.0.0-dev+exp,true,threat,threat.indicator.file.elf.header.version,keyword,extended,,,Version of the ELF header. +2.0.0-dev+exp,true,threat,threat.indicator.file.elf.imports,flattened,extended,array,,List of imported element names and types. +2.0.0-dev+exp,true,threat,threat.indicator.file.elf.sections,nested,extended,,,Section information of the ELF file. +2.0.0-dev+exp,true,threat,threat.indicator.file.elf.sections.chi2,long,extended,,,Chi-square probability distribution of the section. +2.0.0-dev+exp,true,threat,threat.indicator.file.elf.sections.entropy,long,extended,,,Shannon entropy calculation from the section. +2.0.0-dev+exp,true,threat,threat.indicator.file.elf.sections.flags,keyword,extended,,,ELF Section List flags. +2.0.0-dev+exp,true,threat,threat.indicator.file.elf.sections.name,keyword,extended,,,ELF Section List name. +2.0.0-dev+exp,true,threat,threat.indicator.file.elf.sections.physical_offset,keyword,extended,,,ELF Section List offset. +2.0.0-dev+exp,true,threat,threat.indicator.file.elf.sections.physical_size,long,extended,,,ELF Section List physical size. +2.0.0-dev+exp,true,threat,threat.indicator.file.elf.sections.type,keyword,extended,,,ELF Section List type. +2.0.0-dev+exp,true,threat,threat.indicator.file.elf.sections.virtual_address,long,extended,,,ELF Section List virtual address. +2.0.0-dev+exp,true,threat,threat.indicator.file.elf.sections.virtual_size,long,extended,,,ELF Section List virtual size. +2.0.0-dev+exp,true,threat,threat.indicator.file.elf.segments,nested,extended,array,,ELF object segment list. +2.0.0-dev+exp,true,threat,threat.indicator.file.elf.segments.sections,keyword,extended,,,ELF object segment sections. +2.0.0-dev+exp,true,threat,threat.indicator.file.elf.segments.type,keyword,extended,,,ELF object segment type. +2.0.0-dev+exp,true,threat,threat.indicator.file.elf.shared_libraries,keyword,extended,array,,List of shared libraries used by this ELF object. +2.0.0-dev+exp,true,threat,threat.indicator.file.elf.telfhash,keyword,extended,,,telfhash hash for ELF file. 2.0.0-dev+exp,true,threat,threat.indicator.file.extension,keyword,extended,,png,"File extension, excluding the leading dot." 2.0.0-dev+exp,true,threat,threat.indicator.file.gid,keyword,extended,,1001,Primary group ID (GID) of the file. 2.0.0-dev+exp,true,threat,threat.indicator.file.group,keyword,extended,,alice,Primary group name of the file. diff --git a/experimental/generated/ecs/ecs_flat.yml b/experimental/generated/ecs/ecs_flat.yml index 47e425e7c7..14d58be301 100644 --- a/experimental/generated/ecs/ecs_flat.yml +++ b/experimental/generated/ecs/ecs_flat.yml @@ -3145,7 +3145,7 @@ file.elf.architecture: file.elf.byte_order: dashed_name: file-elf-byte-order description: Byte sequence of ELF file. - example: Little Endian, Big Endian + example: Little Endian flat_name: file.elf.byte_order ignore_above: 1024 level: extended @@ -3183,7 +3183,8 @@ file.elf.exports: flat_name: file.elf.exports level: extended name: exports - normalize: [] + normalize: + - array original_fieldset: elf short: List of exported element names and types. type: flattened @@ -3281,7 +3282,8 @@ file.elf.imports: flat_name: file.elf.imports level: extended name: imports - normalize: [] + normalize: + - array original_fieldset: elf short: List of imported element names and types. type: flattened @@ -3400,7 +3402,8 @@ file.elf.segments: flat_name: file.elf.segments level: extended name: segments - normalize: [] + normalize: + - array original_fieldset: elf short: ELF object segment list. type: nested @@ -3428,7 +3431,7 @@ file.elf.segments.type: type: keyword file.elf.shared_libraries: dashed_name: file-elf-shared-libraries - description: List of shared libraries used by this ELF object + description: List of shared libraries used by this ELF object. flat_name: file.elf.shared_libraries ignore_above: 1024 level: extended @@ -3436,19 +3439,18 @@ file.elf.shared_libraries: normalize: - array original_fieldset: elf - short: List of shared libraries used by this ELF object + short: List of shared libraries used by this ELF object. type: keyword file.elf.telfhash: dashed_name: file-elf-telfhash - description: telfhash is symbol hash for ELF files, just like imphash is imports - hash for PE files. Learn more at https://github.com/trendmicro/telfhash. + description: telfhash symbol hash for ELF file. flat_name: file.elf.telfhash ignore_above: 1024 level: extended name: telfhash normalize: [] original_fieldset: elf - short: telfhash hash for ELF files + short: telfhash hash for ELF file. type: keyword file.extension: dashed_name: file-extension @@ -6566,7 +6568,7 @@ process.elf.architecture: process.elf.byte_order: dashed_name: process-elf-byte-order description: Byte sequence of ELF file. - example: Little Endian, Big Endian + example: Little Endian flat_name: process.elf.byte_order ignore_above: 1024 level: extended @@ -6604,7 +6606,8 @@ process.elf.exports: flat_name: process.elf.exports level: extended name: exports - normalize: [] + normalize: + - array original_fieldset: elf short: List of exported element names and types. type: flattened @@ -6702,7 +6705,8 @@ process.elf.imports: flat_name: process.elf.imports level: extended name: imports - normalize: [] + normalize: + - array original_fieldset: elf short: List of imported element names and types. type: flattened @@ -6821,7 +6825,8 @@ process.elf.segments: flat_name: process.elf.segments level: extended name: segments - normalize: [] + normalize: + - array original_fieldset: elf short: ELF object segment list. type: nested @@ -6849,7 +6854,7 @@ process.elf.segments.type: type: keyword process.elf.shared_libraries: dashed_name: process-elf-shared-libraries - description: List of shared libraries used by this ELF object + description: List of shared libraries used by this ELF object. flat_name: process.elf.shared_libraries ignore_above: 1024 level: extended @@ -6857,19 +6862,18 @@ process.elf.shared_libraries: normalize: - array original_fieldset: elf - short: List of shared libraries used by this ELF object + short: List of shared libraries used by this ELF object. type: keyword process.elf.telfhash: dashed_name: process-elf-telfhash - description: telfhash is symbol hash for ELF files, just like imphash is imports - hash for PE files. Learn more at https://github.com/trendmicro/telfhash. + description: telfhash symbol hash for ELF file. flat_name: process.elf.telfhash ignore_above: 1024 level: extended name: telfhash normalize: [] original_fieldset: elf - short: telfhash hash for ELF files + short: telfhash hash for ELF file. type: keyword process.entity_id: dashed_name: process-entity-id @@ -7153,7 +7157,7 @@ process.parent.elf.architecture: process.parent.elf.byte_order: dashed_name: process-parent-elf-byte-order description: Byte sequence of ELF file. - example: Little Endian, Big Endian + example: Little Endian flat_name: process.parent.elf.byte_order ignore_above: 1024 level: extended @@ -7191,7 +7195,8 @@ process.parent.elf.exports: flat_name: process.parent.elf.exports level: extended name: exports - normalize: [] + normalize: + - array original_fieldset: elf short: List of exported element names and types. type: flattened @@ -7289,7 +7294,8 @@ process.parent.elf.imports: flat_name: process.parent.elf.imports level: extended name: imports - normalize: [] + normalize: + - array original_fieldset: elf short: List of imported element names and types. type: flattened @@ -7408,7 +7414,8 @@ process.parent.elf.segments: flat_name: process.parent.elf.segments level: extended name: segments - normalize: [] + normalize: + - array original_fieldset: elf short: ELF object segment list. type: nested @@ -7436,7 +7443,7 @@ process.parent.elf.segments.type: type: keyword process.parent.elf.shared_libraries: dashed_name: process-parent-elf-shared-libraries - description: List of shared libraries used by this ELF object + description: List of shared libraries used by this ELF object. flat_name: process.parent.elf.shared_libraries ignore_above: 1024 level: extended @@ -7444,19 +7451,18 @@ process.parent.elf.shared_libraries: normalize: - array original_fieldset: elf - short: List of shared libraries used by this ELF object + short: List of shared libraries used by this ELF object. type: keyword process.parent.elf.telfhash: dashed_name: process-parent-elf-telfhash - description: telfhash is symbol hash for ELF files, just like imphash is imports - hash for PE files. Learn more at https://github.com/trendmicro/telfhash. + description: telfhash symbol hash for ELF file. flat_name: process.parent.elf.telfhash ignore_above: 1024 level: extended name: telfhash normalize: [] original_fieldset: elf - short: telfhash hash for ELF files + short: telfhash hash for ELF file. type: keyword process.parent.entity_id: dashed_name: process-parent-entity-id @@ -10354,6 +10360,328 @@ threat.indicator.file.drive_letter: original_fieldset: file short: Drive letter where the file is located. type: keyword +threat.indicator.file.elf.architecture: + dashed_name: threat-indicator-file-elf-architecture + description: Machine architecture of the ELF file. + example: x86-64 + flat_name: threat.indicator.file.elf.architecture + ignore_above: 1024 + level: extended + name: architecture + normalize: [] + original_fieldset: elf + short: Machine architecture of the ELF file. + type: keyword +threat.indicator.file.elf.byte_order: + dashed_name: threat-indicator-file-elf-byte-order + description: Byte sequence of ELF file. + example: Little Endian + flat_name: threat.indicator.file.elf.byte_order + ignore_above: 1024 + level: extended + name: byte_order + normalize: [] + original_fieldset: elf + short: Byte sequence of ELF file. + type: keyword +threat.indicator.file.elf.cpu_type: + dashed_name: threat-indicator-file-elf-cpu-type + description: CPU type of the ELF file. + example: Intel + flat_name: threat.indicator.file.elf.cpu_type + ignore_above: 1024 + level: extended + name: cpu_type + normalize: [] + original_fieldset: elf + short: CPU type of the ELF file. + type: keyword +threat.indicator.file.elf.creation_date: + dashed_name: threat-indicator-file-elf-creation-date + description: Extracted when possible from the file's metadata. Indicates when it + was built or compiled. It can also be faked by malware creators. + flat_name: threat.indicator.file.elf.creation_date + level: extended + name: creation_date + normalize: [] + original_fieldset: elf + short: Build or compile date. + type: date +threat.indicator.file.elf.exports: + dashed_name: threat-indicator-file-elf-exports + description: List of exported element names and types. + flat_name: threat.indicator.file.elf.exports + level: extended + name: exports + normalize: + - array + original_fieldset: elf + short: List of exported element names and types. + type: flattened +threat.indicator.file.elf.header.abi_version: + dashed_name: threat-indicator-file-elf-header-abi-version + description: Version of the ELF Application Binary Interface (ABI). + flat_name: threat.indicator.file.elf.header.abi_version + ignore_above: 1024 + level: extended + name: header.abi_version + normalize: [] + original_fieldset: elf + short: Version of the ELF Application Binary Interface (ABI). + type: keyword +threat.indicator.file.elf.header.class: + dashed_name: threat-indicator-file-elf-header-class + description: Header class of the ELF file. + flat_name: threat.indicator.file.elf.header.class + ignore_above: 1024 + level: extended + name: header.class + normalize: [] + original_fieldset: elf + short: Header class of the ELF file. + type: keyword +threat.indicator.file.elf.header.data: + dashed_name: threat-indicator-file-elf-header-data + description: Data table of the ELF header. + flat_name: threat.indicator.file.elf.header.data + ignore_above: 1024 + level: extended + name: header.data + normalize: [] + original_fieldset: elf + short: Data table of the ELF header. + type: keyword +threat.indicator.file.elf.header.entrypoint: + dashed_name: threat-indicator-file-elf-header-entrypoint + description: Header entrypoint of the ELF file. + flat_name: threat.indicator.file.elf.header.entrypoint + format: string + level: extended + name: header.entrypoint + normalize: [] + original_fieldset: elf + short: Header entrypoint of the ELF file. + type: long +threat.indicator.file.elf.header.object_version: + dashed_name: threat-indicator-file-elf-header-object-version + description: '"0x1" for original ELF files.' + flat_name: threat.indicator.file.elf.header.object_version + ignore_above: 1024 + level: extended + name: header.object_version + normalize: [] + original_fieldset: elf + short: '"0x1" for original ELF files.' + type: keyword +threat.indicator.file.elf.header.os_abi: + dashed_name: threat-indicator-file-elf-header-os-abi + description: Application Binary Interface (ABI) of the Linux OS. + flat_name: threat.indicator.file.elf.header.os_abi + ignore_above: 1024 + level: extended + name: header.os_abi + normalize: [] + original_fieldset: elf + short: Application Binary Interface (ABI) of the Linux OS. + type: keyword +threat.indicator.file.elf.header.type: + dashed_name: threat-indicator-file-elf-header-type + description: Header type of the ELF file. + flat_name: threat.indicator.file.elf.header.type + ignore_above: 1024 + level: extended + name: header.type + normalize: [] + original_fieldset: elf + short: Header type of the ELF file. + type: keyword +threat.indicator.file.elf.header.version: + dashed_name: threat-indicator-file-elf-header-version + description: Version of the ELF header. + flat_name: threat.indicator.file.elf.header.version + ignore_above: 1024 + level: extended + name: header.version + normalize: [] + original_fieldset: elf + short: Version of the ELF header. + type: keyword +threat.indicator.file.elf.imports: + dashed_name: threat-indicator-file-elf-imports + description: List of imported element names and types. + flat_name: threat.indicator.file.elf.imports + level: extended + name: imports + normalize: + - array + original_fieldset: elf + short: List of imported element names and types. + type: flattened +threat.indicator.file.elf.sections: + dashed_name: threat-indicator-file-elf-sections + description: Section information of the ELF file. + flat_name: threat.indicator.file.elf.sections + level: extended + name: sections + normalize: [] + original_fieldset: elf + short: Section information of the ELF file. + type: nested +threat.indicator.file.elf.sections.chi2: + dashed_name: threat-indicator-file-elf-sections-chi2 + description: Chi-square probability distribution of the section. + flat_name: threat.indicator.file.elf.sections.chi2 + format: number + level: extended + name: sections.chi2 + normalize: [] + original_fieldset: elf + short: Chi-square probability distribution of the section. + type: long +threat.indicator.file.elf.sections.entropy: + dashed_name: threat-indicator-file-elf-sections-entropy + description: Shannon entropy calculation from the section. + flat_name: threat.indicator.file.elf.sections.entropy + format: number + level: extended + name: sections.entropy + normalize: [] + original_fieldset: elf + short: Shannon entropy calculation from the section. + type: long +threat.indicator.file.elf.sections.flags: + dashed_name: threat-indicator-file-elf-sections-flags + description: ELF Section List flags. + flat_name: threat.indicator.file.elf.sections.flags + ignore_above: 1024 + level: extended + name: sections.flags + normalize: [] + original_fieldset: elf + short: ELF Section List flags. + type: keyword +threat.indicator.file.elf.sections.name: + dashed_name: threat-indicator-file-elf-sections-name + description: ELF Section List name. + flat_name: threat.indicator.file.elf.sections.name + ignore_above: 1024 + level: extended + name: sections.name + normalize: [] + original_fieldset: elf + short: ELF Section List name. + type: keyword +threat.indicator.file.elf.sections.physical_offset: + dashed_name: threat-indicator-file-elf-sections-physical-offset + description: ELF Section List offset. + flat_name: threat.indicator.file.elf.sections.physical_offset + ignore_above: 1024 + level: extended + name: sections.physical_offset + normalize: [] + original_fieldset: elf + short: ELF Section List offset. + type: keyword +threat.indicator.file.elf.sections.physical_size: + dashed_name: threat-indicator-file-elf-sections-physical-size + description: ELF Section List physical size. + flat_name: threat.indicator.file.elf.sections.physical_size + format: bytes + level: extended + name: sections.physical_size + normalize: [] + original_fieldset: elf + short: ELF Section List physical size. + type: long +threat.indicator.file.elf.sections.type: + dashed_name: threat-indicator-file-elf-sections-type + description: ELF Section List type. + flat_name: threat.indicator.file.elf.sections.type + ignore_above: 1024 + level: extended + name: sections.type + normalize: [] + original_fieldset: elf + short: ELF Section List type. + type: keyword +threat.indicator.file.elf.sections.virtual_address: + dashed_name: threat-indicator-file-elf-sections-virtual-address + description: ELF Section List virtual address. + flat_name: threat.indicator.file.elf.sections.virtual_address + format: string + level: extended + name: sections.virtual_address + normalize: [] + original_fieldset: elf + short: ELF Section List virtual address. + type: long +threat.indicator.file.elf.sections.virtual_size: + dashed_name: threat-indicator-file-elf-sections-virtual-size + description: ELF Section List virtual size. + flat_name: threat.indicator.file.elf.sections.virtual_size + format: string + level: extended + name: sections.virtual_size + normalize: [] + original_fieldset: elf + short: ELF Section List virtual size. + type: long +threat.indicator.file.elf.segments: + dashed_name: threat-indicator-file-elf-segments + description: ELF object segment list. + flat_name: threat.indicator.file.elf.segments + level: extended + name: segments + normalize: + - array + original_fieldset: elf + short: ELF object segment list. + type: nested +threat.indicator.file.elf.segments.sections: + dashed_name: threat-indicator-file-elf-segments-sections + description: ELF object segment sections. + flat_name: threat.indicator.file.elf.segments.sections + ignore_above: 1024 + level: extended + name: segments.sections + normalize: [] + original_fieldset: elf + short: ELF object segment sections. + type: keyword +threat.indicator.file.elf.segments.type: + dashed_name: threat-indicator-file-elf-segments-type + description: ELF object segment type. + flat_name: threat.indicator.file.elf.segments.type + ignore_above: 1024 + level: extended + name: segments.type + normalize: [] + original_fieldset: elf + short: ELF object segment type. + type: keyword +threat.indicator.file.elf.shared_libraries: + dashed_name: threat-indicator-file-elf-shared-libraries + description: List of shared libraries used by this ELF object. + flat_name: threat.indicator.file.elf.shared_libraries + ignore_above: 1024 + level: extended + name: shared_libraries + normalize: + - array + original_fieldset: elf + short: List of shared libraries used by this ELF object. + type: keyword +threat.indicator.file.elf.telfhash: + dashed_name: threat-indicator-file-elf-telfhash + description: telfhash symbol hash for ELF file. + flat_name: threat.indicator.file.elf.telfhash + ignore_above: 1024 + level: extended + name: telfhash + normalize: [] + original_fieldset: elf + short: telfhash hash for ELF file. + type: keyword threat.indicator.file.extension: dashed_name: threat-indicator-file-extension description: 'File extension, excluding the leading dot. diff --git a/experimental/generated/ecs/ecs_nested.yml b/experimental/generated/ecs/ecs_nested.yml index 83244a4a5b..6cfcecacb1 100644 --- a/experimental/generated/ecs/ecs_nested.yml +++ b/experimental/generated/ecs/ecs_nested.yml @@ -2570,6 +2570,7 @@ ecs: title: ECS type: group elf: + beta: These fields are in beta and are subject to change. description: These fields contain Linux Executable Linkable Format (ELF) metadata. fields: elf.architecture: @@ -2586,7 +2587,7 @@ elf: elf.byte_order: dashed_name: elf-byte-order description: Byte sequence of ELF file. - example: Little Endian, Big Endian + example: Little Endian flat_name: elf.byte_order ignore_above: 1024 level: extended @@ -2621,7 +2622,8 @@ elf: flat_name: elf.exports level: extended name: exports - normalize: [] + normalize: + - array short: List of exported element names and types. type: flattened elf.header.abi_version: @@ -2710,7 +2712,8 @@ elf: flat_name: elf.imports level: extended name: imports - normalize: [] + normalize: + - array short: List of imported element names and types. type: flattened elf.sections: @@ -2818,7 +2821,8 @@ elf: flat_name: elf.segments level: extended name: segments - normalize: [] + normalize: + - array short: ELF object segment list. type: nested elf.segments.sections: @@ -2843,25 +2847,24 @@ elf: type: keyword elf.shared_libraries: dashed_name: elf-shared-libraries - description: List of shared libraries used by this ELF object + description: List of shared libraries used by this ELF object. flat_name: elf.shared_libraries ignore_above: 1024 level: extended name: shared_libraries normalize: - array - short: List of shared libraries used by this ELF object + short: List of shared libraries used by this ELF object. type: keyword elf.telfhash: dashed_name: elf-telfhash - description: telfhash is symbol hash for ELF files, just like imphash is imports - hash for PE files. Learn more at https://github.com/trendmicro/telfhash. + description: telfhash symbol hash for ELF file. flat_name: elf.telfhash ignore_above: 1024 level: extended name: telfhash normalize: [] - short: telfhash hash for ELF files + short: telfhash hash for ELF file. type: keyword group: 2 name: elf @@ -3935,7 +3938,7 @@ file: file.elf.byte_order: dashed_name: file-elf-byte-order description: Byte sequence of ELF file. - example: Little Endian, Big Endian + example: Little Endian flat_name: file.elf.byte_order ignore_above: 1024 level: extended @@ -3973,7 +3976,8 @@ file: flat_name: file.elf.exports level: extended name: exports - normalize: [] + normalize: + - array original_fieldset: elf short: List of exported element names and types. type: flattened @@ -4071,7 +4075,8 @@ file: flat_name: file.elf.imports level: extended name: imports - normalize: [] + normalize: + - array original_fieldset: elf short: List of imported element names and types. type: flattened @@ -4190,7 +4195,8 @@ file: flat_name: file.elf.segments level: extended name: segments - normalize: [] + normalize: + - array original_fieldset: elf short: ELF object segment list. type: nested @@ -4218,7 +4224,7 @@ file: type: keyword file.elf.shared_libraries: dashed_name: file-elf-shared-libraries - description: List of shared libraries used by this ELF object + description: List of shared libraries used by this ELF object. flat_name: file.elf.shared_libraries ignore_above: 1024 level: extended @@ -4226,19 +4232,18 @@ file: normalize: - array original_fieldset: elf - short: List of shared libraries used by this ELF object + short: List of shared libraries used by this ELF object. type: keyword file.elf.telfhash: dashed_name: file-elf-telfhash - description: telfhash is symbol hash for ELF files, just like imphash is imports - hash for PE files. Learn more at https://github.com/trendmicro/telfhash. + description: telfhash symbol hash for ELF file. flat_name: file.elf.telfhash ignore_above: 1024 level: extended name: telfhash normalize: [] original_fieldset: elf - short: telfhash hash for ELF files + short: telfhash hash for ELF file. type: keyword file.extension: dashed_name: file-extension @@ -5243,6 +5248,9 @@ file: - full: file.code_signature schema_name: code_signature short: These fields contain information about binary code signatures. + - full: file.elf + schema_name: elf + short: These fields contain Linux Executable Linkable Format (ELF) metadata. - full: file.hash schema_name: hash short: Hashes, usually file hashes. @@ -5252,9 +5260,6 @@ file: - full: file.x509 schema_name: x509 short: These fields contain x509 certificate metadata. - - full: file.elf - schema_name: elf - short: These fields contain Linux Executable Linkable Format (ELF) metadata. short: Fields describing files. title: File type: group @@ -8422,7 +8427,7 @@ process: process.elf.byte_order: dashed_name: process-elf-byte-order description: Byte sequence of ELF file. - example: Little Endian, Big Endian + example: Little Endian flat_name: process.elf.byte_order ignore_above: 1024 level: extended @@ -8460,7 +8465,8 @@ process: flat_name: process.elf.exports level: extended name: exports - normalize: [] + normalize: + - array original_fieldset: elf short: List of exported element names and types. type: flattened @@ -8558,7 +8564,8 @@ process: flat_name: process.elf.imports level: extended name: imports - normalize: [] + normalize: + - array original_fieldset: elf short: List of imported element names and types. type: flattened @@ -8677,7 +8684,8 @@ process: flat_name: process.elf.segments level: extended name: segments - normalize: [] + normalize: + - array original_fieldset: elf short: ELF object segment list. type: nested @@ -8705,7 +8713,7 @@ process: type: keyword process.elf.shared_libraries: dashed_name: process-elf-shared-libraries - description: List of shared libraries used by this ELF object + description: List of shared libraries used by this ELF object. flat_name: process.elf.shared_libraries ignore_above: 1024 level: extended @@ -8713,19 +8721,18 @@ process: normalize: - array original_fieldset: elf - short: List of shared libraries used by this ELF object + short: List of shared libraries used by this ELF object. type: keyword process.elf.telfhash: dashed_name: process-elf-telfhash - description: telfhash is symbol hash for ELF files, just like imphash is imports - hash for PE files. Learn more at https://github.com/trendmicro/telfhash. + description: telfhash symbol hash for ELF file. flat_name: process.elf.telfhash ignore_above: 1024 level: extended name: telfhash normalize: [] original_fieldset: elf - short: telfhash hash for ELF files + short: telfhash hash for ELF file. type: keyword process.entity_id: dashed_name: process-entity-id @@ -9009,7 +9016,7 @@ process: process.parent.elf.byte_order: dashed_name: process-parent-elf-byte-order description: Byte sequence of ELF file. - example: Little Endian, Big Endian + example: Little Endian flat_name: process.parent.elf.byte_order ignore_above: 1024 level: extended @@ -9047,7 +9054,8 @@ process: flat_name: process.parent.elf.exports level: extended name: exports - normalize: [] + normalize: + - array original_fieldset: elf short: List of exported element names and types. type: flattened @@ -9145,7 +9153,8 @@ process: flat_name: process.parent.elf.imports level: extended name: imports - normalize: [] + normalize: + - array original_fieldset: elf short: List of imported element names and types. type: flattened @@ -9264,7 +9273,8 @@ process: flat_name: process.parent.elf.segments level: extended name: segments - normalize: [] + normalize: + - array original_fieldset: elf short: ELF object segment list. type: nested @@ -9292,7 +9302,7 @@ process: type: keyword process.parent.elf.shared_libraries: dashed_name: process-parent-elf-shared-libraries - description: List of shared libraries used by this ELF object + description: List of shared libraries used by this ELF object. flat_name: process.parent.elf.shared_libraries ignore_above: 1024 level: extended @@ -9300,19 +9310,18 @@ process: normalize: - array original_fieldset: elf - short: List of shared libraries used by this ELF object + short: List of shared libraries used by this ELF object. type: keyword process.parent.elf.telfhash: dashed_name: process-parent-elf-telfhash - description: telfhash is symbol hash for ELF files, just like imphash is imports - hash for PE files. Learn more at https://github.com/trendmicro/telfhash. + description: telfhash symbol hash for ELF file. flat_name: process.parent.elf.telfhash ignore_above: 1024 level: extended name: telfhash normalize: [] original_fieldset: elf - short: telfhash hash for ELF files + short: telfhash hash for ELF file. type: keyword process.parent.entity_id: dashed_name: process-parent-entity-id @@ -10594,15 +10603,15 @@ process: - full: process.code_signature schema_name: code_signature short: These fields contain information about binary code signatures. + - full: process.elf + schema_name: elf + short: These fields contain Linux Executable Linkable Format (ELF) metadata. - full: process.hash schema_name: hash short: Hashes, usually file hashes. - full: process.pe schema_name: pe short: These fields contain Windows Portable Executable (PE) metadata. - - full: process.elf - schema_name: elf - short: These fields contain Linux Executable Linkable Format (ELF) metadata. - full: process.parent schema_name: process short: Information about the parent process. @@ -12362,6 +12371,328 @@ threat: original_fieldset: file short: Drive letter where the file is located. type: keyword + threat.indicator.file.elf.architecture: + dashed_name: threat-indicator-file-elf-architecture + description: Machine architecture of the ELF file. + example: x86-64 + flat_name: threat.indicator.file.elf.architecture + ignore_above: 1024 + level: extended + name: architecture + normalize: [] + original_fieldset: elf + short: Machine architecture of the ELF file. + type: keyword + threat.indicator.file.elf.byte_order: + dashed_name: threat-indicator-file-elf-byte-order + description: Byte sequence of ELF file. + example: Little Endian + flat_name: threat.indicator.file.elf.byte_order + ignore_above: 1024 + level: extended + name: byte_order + normalize: [] + original_fieldset: elf + short: Byte sequence of ELF file. + type: keyword + threat.indicator.file.elf.cpu_type: + dashed_name: threat-indicator-file-elf-cpu-type + description: CPU type of the ELF file. + example: Intel + flat_name: threat.indicator.file.elf.cpu_type + ignore_above: 1024 + level: extended + name: cpu_type + normalize: [] + original_fieldset: elf + short: CPU type of the ELF file. + type: keyword + threat.indicator.file.elf.creation_date: + dashed_name: threat-indicator-file-elf-creation-date + description: Extracted when possible from the file's metadata. Indicates when + it was built or compiled. It can also be faked by malware creators. + flat_name: threat.indicator.file.elf.creation_date + level: extended + name: creation_date + normalize: [] + original_fieldset: elf + short: Build or compile date. + type: date + threat.indicator.file.elf.exports: + dashed_name: threat-indicator-file-elf-exports + description: List of exported element names and types. + flat_name: threat.indicator.file.elf.exports + level: extended + name: exports + normalize: + - array + original_fieldset: elf + short: List of exported element names and types. + type: flattened + threat.indicator.file.elf.header.abi_version: + dashed_name: threat-indicator-file-elf-header-abi-version + description: Version of the ELF Application Binary Interface (ABI). + flat_name: threat.indicator.file.elf.header.abi_version + ignore_above: 1024 + level: extended + name: header.abi_version + normalize: [] + original_fieldset: elf + short: Version of the ELF Application Binary Interface (ABI). + type: keyword + threat.indicator.file.elf.header.class: + dashed_name: threat-indicator-file-elf-header-class + description: Header class of the ELF file. + flat_name: threat.indicator.file.elf.header.class + ignore_above: 1024 + level: extended + name: header.class + normalize: [] + original_fieldset: elf + short: Header class of the ELF file. + type: keyword + threat.indicator.file.elf.header.data: + dashed_name: threat-indicator-file-elf-header-data + description: Data table of the ELF header. + flat_name: threat.indicator.file.elf.header.data + ignore_above: 1024 + level: extended + name: header.data + normalize: [] + original_fieldset: elf + short: Data table of the ELF header. + type: keyword + threat.indicator.file.elf.header.entrypoint: + dashed_name: threat-indicator-file-elf-header-entrypoint + description: Header entrypoint of the ELF file. + flat_name: threat.indicator.file.elf.header.entrypoint + format: string + level: extended + name: header.entrypoint + normalize: [] + original_fieldset: elf + short: Header entrypoint of the ELF file. + type: long + threat.indicator.file.elf.header.object_version: + dashed_name: threat-indicator-file-elf-header-object-version + description: '"0x1" for original ELF files.' + flat_name: threat.indicator.file.elf.header.object_version + ignore_above: 1024 + level: extended + name: header.object_version + normalize: [] + original_fieldset: elf + short: '"0x1" for original ELF files.' + type: keyword + threat.indicator.file.elf.header.os_abi: + dashed_name: threat-indicator-file-elf-header-os-abi + description: Application Binary Interface (ABI) of the Linux OS. + flat_name: threat.indicator.file.elf.header.os_abi + ignore_above: 1024 + level: extended + name: header.os_abi + normalize: [] + original_fieldset: elf + short: Application Binary Interface (ABI) of the Linux OS. + type: keyword + threat.indicator.file.elf.header.type: + dashed_name: threat-indicator-file-elf-header-type + description: Header type of the ELF file. + flat_name: threat.indicator.file.elf.header.type + ignore_above: 1024 + level: extended + name: header.type + normalize: [] + original_fieldset: elf + short: Header type of the ELF file. + type: keyword + threat.indicator.file.elf.header.version: + dashed_name: threat-indicator-file-elf-header-version + description: Version of the ELF header. + flat_name: threat.indicator.file.elf.header.version + ignore_above: 1024 + level: extended + name: header.version + normalize: [] + original_fieldset: elf + short: Version of the ELF header. + type: keyword + threat.indicator.file.elf.imports: + dashed_name: threat-indicator-file-elf-imports + description: List of imported element names and types. + flat_name: threat.indicator.file.elf.imports + level: extended + name: imports + normalize: + - array + original_fieldset: elf + short: List of imported element names and types. + type: flattened + threat.indicator.file.elf.sections: + dashed_name: threat-indicator-file-elf-sections + description: Section information of the ELF file. + flat_name: threat.indicator.file.elf.sections + level: extended + name: sections + normalize: [] + original_fieldset: elf + short: Section information of the ELF file. + type: nested + threat.indicator.file.elf.sections.chi2: + dashed_name: threat-indicator-file-elf-sections-chi2 + description: Chi-square probability distribution of the section. + flat_name: threat.indicator.file.elf.sections.chi2 + format: number + level: extended + name: sections.chi2 + normalize: [] + original_fieldset: elf + short: Chi-square probability distribution of the section. + type: long + threat.indicator.file.elf.sections.entropy: + dashed_name: threat-indicator-file-elf-sections-entropy + description: Shannon entropy calculation from the section. + flat_name: threat.indicator.file.elf.sections.entropy + format: number + level: extended + name: sections.entropy + normalize: [] + original_fieldset: elf + short: Shannon entropy calculation from the section. + type: long + threat.indicator.file.elf.sections.flags: + dashed_name: threat-indicator-file-elf-sections-flags + description: ELF Section List flags. + flat_name: threat.indicator.file.elf.sections.flags + ignore_above: 1024 + level: extended + name: sections.flags + normalize: [] + original_fieldset: elf + short: ELF Section List flags. + type: keyword + threat.indicator.file.elf.sections.name: + dashed_name: threat-indicator-file-elf-sections-name + description: ELF Section List name. + flat_name: threat.indicator.file.elf.sections.name + ignore_above: 1024 + level: extended + name: sections.name + normalize: [] + original_fieldset: elf + short: ELF Section List name. + type: keyword + threat.indicator.file.elf.sections.physical_offset: + dashed_name: threat-indicator-file-elf-sections-physical-offset + description: ELF Section List offset. + flat_name: threat.indicator.file.elf.sections.physical_offset + ignore_above: 1024 + level: extended + name: sections.physical_offset + normalize: [] + original_fieldset: elf + short: ELF Section List offset. + type: keyword + threat.indicator.file.elf.sections.physical_size: + dashed_name: threat-indicator-file-elf-sections-physical-size + description: ELF Section List physical size. + flat_name: threat.indicator.file.elf.sections.physical_size + format: bytes + level: extended + name: sections.physical_size + normalize: [] + original_fieldset: elf + short: ELF Section List physical size. + type: long + threat.indicator.file.elf.sections.type: + dashed_name: threat-indicator-file-elf-sections-type + description: ELF Section List type. + flat_name: threat.indicator.file.elf.sections.type + ignore_above: 1024 + level: extended + name: sections.type + normalize: [] + original_fieldset: elf + short: ELF Section List type. + type: keyword + threat.indicator.file.elf.sections.virtual_address: + dashed_name: threat-indicator-file-elf-sections-virtual-address + description: ELF Section List virtual address. + flat_name: threat.indicator.file.elf.sections.virtual_address + format: string + level: extended + name: sections.virtual_address + normalize: [] + original_fieldset: elf + short: ELF Section List virtual address. + type: long + threat.indicator.file.elf.sections.virtual_size: + dashed_name: threat-indicator-file-elf-sections-virtual-size + description: ELF Section List virtual size. + flat_name: threat.indicator.file.elf.sections.virtual_size + format: string + level: extended + name: sections.virtual_size + normalize: [] + original_fieldset: elf + short: ELF Section List virtual size. + type: long + threat.indicator.file.elf.segments: + dashed_name: threat-indicator-file-elf-segments + description: ELF object segment list. + flat_name: threat.indicator.file.elf.segments + level: extended + name: segments + normalize: + - array + original_fieldset: elf + short: ELF object segment list. + type: nested + threat.indicator.file.elf.segments.sections: + dashed_name: threat-indicator-file-elf-segments-sections + description: ELF object segment sections. + flat_name: threat.indicator.file.elf.segments.sections + ignore_above: 1024 + level: extended + name: segments.sections + normalize: [] + original_fieldset: elf + short: ELF object segment sections. + type: keyword + threat.indicator.file.elf.segments.type: + dashed_name: threat-indicator-file-elf-segments-type + description: ELF object segment type. + flat_name: threat.indicator.file.elf.segments.type + ignore_above: 1024 + level: extended + name: segments.type + normalize: [] + original_fieldset: elf + short: ELF object segment type. + type: keyword + threat.indicator.file.elf.shared_libraries: + dashed_name: threat-indicator-file-elf-shared-libraries + description: List of shared libraries used by this ELF object. + flat_name: threat.indicator.file.elf.shared_libraries + ignore_above: 1024 + level: extended + name: shared_libraries + normalize: + - array + original_fieldset: elf + short: List of shared libraries used by this ELF object. + type: keyword + threat.indicator.file.elf.telfhash: + dashed_name: threat-indicator-file-elf-telfhash + description: telfhash symbol hash for ELF file. + flat_name: threat.indicator.file.elf.telfhash + ignore_above: 1024 + level: extended + name: telfhash + normalize: [] + original_fieldset: elf + short: telfhash hash for ELF file. + type: keyword threat.indicator.file.extension: dashed_name: threat-indicator-file-extension description: 'File extension, excluding the leading dot. diff --git a/experimental/generated/elasticsearch/7/template.json b/experimental/generated/elasticsearch/7/template.json index e95282fb92..ed0e238b76 100644 --- a/experimental/generated/elasticsearch/7/template.json +++ b/experimental/generated/elasticsearch/7/template.json @@ -3742,6 +3742,123 @@ "ignore_above": 1, "type": "keyword" }, + "elf": { + "properties": { + "architecture": { + "ignore_above": 1024, + "type": "keyword" + }, + "byte_order": { + "ignore_above": 1024, + "type": "keyword" + }, + "cpu_type": { + "ignore_above": 1024, + "type": "keyword" + }, + "creation_date": { + "type": "date" + }, + "exports": { + "type": "flattened" + }, + "header": { + "properties": { + "abi_version": { + "ignore_above": 1024, + "type": "keyword" + }, + "class": { + "ignore_above": 1024, + "type": "keyword" + }, + "data": { + "ignore_above": 1024, + "type": "keyword" + }, + "entrypoint": { + "type": "long" + }, + "object_version": { + "ignore_above": 1024, + "type": "keyword" + }, + "os_abi": { + "ignore_above": 1024, + "type": "keyword" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + }, + "version": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "imports": { + "type": "flattened" + }, + "sections": { + "properties": { + "chi2": { + "type": "long" + }, + "entropy": { + "type": "long" + }, + "flags": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "physical_offset": { + "ignore_above": 1024, + "type": "keyword" + }, + "physical_size": { + "type": "long" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + }, + "virtual_address": { + "type": "long" + }, + "virtual_size": { + "type": "long" + } + }, + "type": "nested" + }, + "segments": { + "properties": { + "sections": { + "ignore_above": 1024, + "type": "keyword" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + } + }, + "type": "nested" + }, + "shared_libraries": { + "ignore_above": 1024, + "type": "keyword" + }, + "telfhash": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, "extension": { "ignore_above": 1024, "type": "keyword" diff --git a/experimental/generated/elasticsearch/component/threat.json b/experimental/generated/elasticsearch/component/threat.json index c4a3056201..123ee68bdc 100644 --- a/experimental/generated/elasticsearch/component/threat.json +++ b/experimental/generated/elasticsearch/component/threat.json @@ -132,6 +132,123 @@ "ignore_above": 1, "type": "keyword" }, + "elf": { + "properties": { + "architecture": { + "ignore_above": 1024, + "type": "keyword" + }, + "byte_order": { + "ignore_above": 1024, + "type": "keyword" + }, + "cpu_type": { + "ignore_above": 1024, + "type": "keyword" + }, + "creation_date": { + "type": "date" + }, + "exports": { + "type": "flattened" + }, + "header": { + "properties": { + "abi_version": { + "ignore_above": 1024, + "type": "keyword" + }, + "class": { + "ignore_above": 1024, + "type": "keyword" + }, + "data": { + "ignore_above": 1024, + "type": "keyword" + }, + "entrypoint": { + "type": "long" + }, + "object_version": { + "ignore_above": 1024, + "type": "keyword" + }, + "os_abi": { + "ignore_above": 1024, + "type": "keyword" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + }, + "version": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "imports": { + "type": "flattened" + }, + "sections": { + "properties": { + "chi2": { + "type": "long" + }, + "entropy": { + "type": "long" + }, + "flags": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "physical_offset": { + "ignore_above": 1024, + "type": "keyword" + }, + "physical_size": { + "type": "long" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + }, + "virtual_address": { + "type": "long" + }, + "virtual_size": { + "type": "long" + } + }, + "type": "nested" + }, + "segments": { + "properties": { + "sections": { + "ignore_above": 1024, + "type": "keyword" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + } + }, + "type": "nested" + }, + "shared_libraries": { + "ignore_above": 1024, + "type": "keyword" + }, + "telfhash": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, "extension": { "ignore_above": 1024, "type": "keyword" diff --git a/experimental/generated/json_schema/agent.json b/experimental/generated/json_schema/agent.json new file mode 100644 index 0000000000..7ba2e76325 --- /dev/null +++ b/experimental/generated/json_schema/agent.json @@ -0,0 +1,88 @@ +{ + "agent": { + "properties": { + "properties": { + "build": { + "properties": { + "properties": { + "original": { + "description": "Extended build information for the agent. This field is intended to contain any build information that a data source may provide, no specific formatting is required.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "type": "object" + } + }, + "ephemeral_id": { + "description": "Ephemeral identifier of this agent (if one exists). This id normally changes across restarts, but `agent.id` does not.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "id": { + "description": "Unique identifier of this agent (if one exists). Example: For Beats this would be beat.id.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "name": { + "description": "Custom name of the agent. This is a name that can be given to an agent. This can be helpful if for example two Filebeat instances are running on the same host but a human readable separation is needed on which Filebeat instance data is coming from. If no name is given, the name is often left empty.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "type": { + "description": "Type of the agent. The agent type always stays the same and should be given by the agent used. In case of Filebeat the agent would always be Filebeat also if two Filebeat instances are run on the same machine.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "version": { + "description": "Version of the agent.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "type": "object" + } + } +} \ No newline at end of file diff --git a/experimental/generated/json_schema/base.json b/experimental/generated/json_schema/base.json new file mode 100644 index 0000000000..dc176f68b2 --- /dev/null +++ b/experimental/generated/json_schema/base.json @@ -0,0 +1,50 @@ +{ + "@timestamp": { + "description": "Date/time when the event originated. This is the date/time extracted from the event, typically representing when the event was generated by the source. If the event source has no original timestamp, this value is typically populated by the first time the event was received by the pipeline. Required field for all events.", + "properties": { + "type": { + "$ref": "#/definitions/types/date" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "labels": { + "description": "Custom key/value pairs. Can be used to add meta information to events. Should not contain nested objects. All values are stored as keyword. Example: `docker` and `k8s` labels.", + "properties": { + "type": { + "$ref": "#/definitions/types/object" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "message": { + "description": "For log events the message field contains the log message, optimized for viewing in a log viewer. For structured logs without an original message field, other fields can be concatenated to form a human-readable summary of the event. If multiple messages exist, they can be combined into one message.", + "properties": { + "type": { + "$ref": "#/definitions/types/text" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "tags": { + "description": "List of keywords used to tag each event.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } +} \ No newline at end of file diff --git a/experimental/generated/json_schema/client.json b/experimental/generated/json_schema/client.json new file mode 100644 index 0000000000..dd35022261 --- /dev/null +++ b/experimental/generated/json_schema/client.json @@ -0,0 +1,471 @@ +{ + "client": { + "properties": { + "properties": { + "address": { + "description": "Some event client addresses are defined ambiguously. The event will sometimes list an IP, a domain or a unix socket. You should always store the raw address in the `.address` field. Then it should be duplicated to `.ip` or `.domain`, depending on which one it is.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "as": { + "properties": { + "properties": { + "number": { + "description": "Unique number allocated to the autonomous system. The autonomous system number (ASN) uniquely identifies each network on the Internet.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "organization": { + "properties": { + "properties": { + "name": { + "description": "Organization name.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "type": "object" + } + } + }, + "type": "object" + } + }, + "bytes": { + "description": "Bytes sent from the client to the server.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "domain": { + "description": "Client domain.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "geo": { + "properties": { + "properties": { + "city_name": { + "description": "City name.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "continent_code": { + "description": "Two-letter code representing continent's name.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "continent_name": { + "description": "Name of the continent.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "country_iso_code": { + "description": "Country ISO code.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "country_name": { + "description": "Country name.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "location": { + "description": "Longitude and latitude.", + "properties": { + "type": { + "$ref": "#/definitions/types/geo_point" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "name": { + "description": "User-defined description of a location, at the level of granularity they care about. Could be the name of their data centers, the floor number, if this describes a local physical entity, city names. Not typically used in automated geolocation.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "postal_code": { + "description": "Postal code associated with the location. Values appropriate for this field may also be known as a postcode or ZIP code and will vary widely from country to country.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "region_iso_code": { + "description": "Region ISO code.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "region_name": { + "description": "Region name.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "timezone": { + "description": "The time zone of the location, such as IANA time zone name.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "type": "object" + } + }, + "ip": { + "description": "IP address of the client (IPv4 or IPv6).", + "properties": { + "type": { + "$ref": "#/definitions/types/ip" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "mac": { + "description": "MAC address of the client. The notation format from RFC 7042 is suggested: Each octet (that is, 8-bit byte) is represented by two [uppercase] hexadecimal digits giving the value of the octet as an unsigned integer. Successive octets are separated by a hyphen.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "nat": { + "properties": { + "properties": { + "ip": { + "description": "Translated IP of source based NAT sessions (e.g. internal client to internet). Typically connections traversing load balancers, firewalls, or routers.", + "properties": { + "type": { + "$ref": "#/definitions/types/ip" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "port": { + "description": "Translated port of source based NAT sessions (e.g. internal client to internet). Typically connections traversing load balancers, firewalls, or routers.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "type": "object" + } + }, + "packets": { + "description": "Packets sent from the client to the server.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "port": { + "description": "Port of the client.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "registered_domain": { + "description": "The highest registered client domain, stripped of the subdomain. For example, the registered domain for \"foo.example.com\" is \"example.com\". This value can be determined precisely with a list like the public suffix list (http://publicsuffix.org). Trying to approximate this by simply taking the last two labels will not work well for TLDs such as \"co.uk\".", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "subdomain": { + "description": "The subdomain portion of a fully qualified domain name includes all of the names except the host name under the registered_domain. In a partially qualified domain, or if the the qualification level of the full name cannot be determined, subdomain contains all of the names below the registered domain. For example the subdomain portion of \"www.east.mydomain.co.uk\" is \"east\". If the domain has multiple levels of subdomain, such as \"sub2.sub1.example.com\", the subdomain field should contain \"sub2.sub1\", with no trailing period.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "top_level_domain": { + "description": "The effective top level domain (eTLD), also known as the domain suffix, is the last part of the domain name. For example, the top level domain for example.com is \"com\". This value can be determined precisely with a list like the public suffix list (http://publicsuffix.org). Trying to approximate this by simply taking the last label will not work well for effective TLDs such as \"co.uk\".", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "user": { + "properties": { + "properties": { + "domain": { + "description": "Name of the directory the user is a member of. For example, an LDAP or Active Directory domain name.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "email": { + "description": "User email address.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "full_name": { + "description": "User's full name, if available.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "group": { + "properties": { + "properties": { + "domain": { + "description": "Name of the directory the group is a member of. For example, an LDAP or Active Directory domain name.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "id": { + "description": "Unique identifier for the group on the system/platform.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "name": { + "description": "Name of the group.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "type": "object" + } + }, + "hash": { + "description": "Unique user hash to correlate information for a user in anonymized form. Useful if `user.id` or `user.name` contain confidential information and cannot be used.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "id": { + "description": "Unique identifier of the user.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "name": { + "description": "Short name or login of the user.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "roles": { + "description": "Array of user roles at the time of the event.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "type": "object" + } + } + }, + "type": "object" + } + } +} \ No newline at end of file diff --git a/experimental/generated/json_schema/cloud.json b/experimental/generated/json_schema/cloud.json new file mode 100644 index 0000000000..093f4788b8 --- /dev/null +++ b/experimental/generated/json_schema/cloud.json @@ -0,0 +1,176 @@ +{ + "cloud": { + "properties": { + "properties": { + "account": { + "properties": { + "properties": { + "id": { + "description": "The cloud account or organization id used to identify different entities in a multi-tenant environment. Examples: AWS account id, Google Cloud ORG Id, or other unique identifier.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "name": { + "description": "The cloud account name or alias used to identify different entities in a multi-tenant environment. Examples: AWS account name, Google Cloud ORG display name.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "type": "object" + } + }, + "availability_zone": { + "description": "Availability zone in which this host is running.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "instance": { + "properties": { + "properties": { + "id": { + "description": "Instance ID of the host machine.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "name": { + "description": "Instance name of the host machine.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "type": "object" + } + }, + "machine": { + "properties": { + "properties": { + "type": { + "description": "Machine type of the host machine.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "type": "object" + } + }, + "project": { + "properties": { + "properties": { + "id": { + "description": "The cloud project identifier. Examples: Google Cloud Project id, Azure Project id.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "name": { + "description": "The cloud project name. Examples: Google Cloud Project name, Azure Project name.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "type": "object" + } + }, + "provider": { + "description": "Name of the cloud provider. Example values are aws, azure, gcp, or digitalocean.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "region": { + "description": "Region in which this host is running.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "service": { + "properties": { + "properties": { + "name": { + "description": "The cloud service name is intended to distinguish services running on different platforms within a provider, eg AWS EC2 vs Lambda, GCP GCE vs App Engine, Azure VM vs App Server. Examples: app engine, app service, cloud run, fargate, lambda.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "type": "object" + } + } + }, + "type": "object" + } + } +} \ No newline at end of file diff --git a/experimental/generated/json_schema/container.json b/experimental/generated/json_schema/container.json new file mode 100644 index 0000000000..6d1e1a7cb8 --- /dev/null +++ b/experimental/generated/json_schema/container.json @@ -0,0 +1,88 @@ +{ + "container": { + "properties": { + "properties": { + "id": { + "description": "Unique container id.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "image": { + "properties": { + "properties": { + "name": { + "description": "Name of the image the container was built on.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "tag": { + "description": "Container image tags.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "type": "object" + } + }, + "labels": { + "description": "Image labels.", + "properties": { + "type": { + "$ref": "#/definitions/types/object" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "name": { + "description": "Container name.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "runtime": { + "description": "Runtime managing this container.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "type": "object" + } + } +} \ No newline at end of file diff --git a/experimental/generated/json_schema/data_stream.json b/experimental/generated/json_schema/data_stream.json new file mode 100644 index 0000000000..a1c4e49994 --- /dev/null +++ b/experimental/generated/json_schema/data_stream.json @@ -0,0 +1,45 @@ +{ + "data_stream": { + "properties": { + "properties": { + "dataset": { + "description": "The field can contain anything that makes sense to signify the source of the data. Examples include `nginx.access`, `prometheus`, `endpoint` etc. For data streams that otherwise fit, but that do not have dataset set we use the value \"generic\" for the dataset value. `event.dataset` should have the same value as `data_stream.dataset`. Beyond the Elasticsearch data stream naming criteria noted above, the `dataset` value has additional restrictions: * Must not contain `-` * No longer than 100 characters", + "properties": { + "type": { + "$ref": "#/definitions/types/constant_keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "namespace": { + "description": "A user defined namespace. Namespaces are useful to allow grouping of data. Many users already organize their indices this way, and the data stream naming scheme now provides this best practice as a default. Many users will populate this field with `default`. If no value is used, it falls back to `default`. Beyond the Elasticsearch index naming criteria noted above, `namespace` value has the additional restrictions: * Must not contain `-` * No longer than 100 characters", + "properties": { + "type": { + "$ref": "#/definitions/types/constant_keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "type": { + "description": "An overarching type for the data stream. Currently allowed values are \"logs\" and \"metrics\". We expect to also add \"traces\" and \"synthetics\" in the near future.", + "properties": { + "type": { + "$ref": "#/definitions/types/constant_keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "type": "object" + } + } +} \ No newline at end of file diff --git a/experimental/generated/json_schema/destination.json b/experimental/generated/json_schema/destination.json new file mode 100644 index 0000000000..5990e44242 --- /dev/null +++ b/experimental/generated/json_schema/destination.json @@ -0,0 +1,471 @@ +{ + "destination": { + "properties": { + "properties": { + "address": { + "description": "Some event destination addresses are defined ambiguously. The event will sometimes list an IP, a domain or a unix socket. You should always store the raw address in the `.address` field. Then it should be duplicated to `.ip` or `.domain`, depending on which one it is.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "as": { + "properties": { + "properties": { + "number": { + "description": "Unique number allocated to the autonomous system. The autonomous system number (ASN) uniquely identifies each network on the Internet.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "organization": { + "properties": { + "properties": { + "name": { + "description": "Organization name.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "type": "object" + } + } + }, + "type": "object" + } + }, + "bytes": { + "description": "Bytes sent from the destination to the source.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "domain": { + "description": "Destination domain.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "geo": { + "properties": { + "properties": { + "city_name": { + "description": "City name.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "continent_code": { + "description": "Two-letter code representing continent's name.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "continent_name": { + "description": "Name of the continent.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "country_iso_code": { + "description": "Country ISO code.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "country_name": { + "description": "Country name.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "location": { + "description": "Longitude and latitude.", + "properties": { + "type": { + "$ref": "#/definitions/types/geo_point" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "name": { + "description": "User-defined description of a location, at the level of granularity they care about. Could be the name of their data centers, the floor number, if this describes a local physical entity, city names. Not typically used in automated geolocation.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "postal_code": { + "description": "Postal code associated with the location. Values appropriate for this field may also be known as a postcode or ZIP code and will vary widely from country to country.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "region_iso_code": { + "description": "Region ISO code.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "region_name": { + "description": "Region name.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "timezone": { + "description": "The time zone of the location, such as IANA time zone name.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "type": "object" + } + }, + "ip": { + "description": "IP address of the destination (IPv4 or IPv6).", + "properties": { + "type": { + "$ref": "#/definitions/types/ip" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "mac": { + "description": "MAC address of the destination. The notation format from RFC 7042 is suggested: Each octet (that is, 8-bit byte) is represented by two [uppercase] hexadecimal digits giving the value of the octet as an unsigned integer. Successive octets are separated by a hyphen.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "nat": { + "properties": { + "properties": { + "ip": { + "description": "Translated ip of destination based NAT sessions (e.g. internet to private DMZ) Typically used with load balancers, firewalls, or routers.", + "properties": { + "type": { + "$ref": "#/definitions/types/ip" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "port": { + "description": "Port the source session is translated to by NAT Device. Typically used with load balancers, firewalls, or routers.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "type": "object" + } + }, + "packets": { + "description": "Packets sent from the destination to the source.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "port": { + "description": "Port of the destination.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "registered_domain": { + "description": "The highest registered destination domain, stripped of the subdomain. For example, the registered domain for \"foo.example.com\" is \"example.com\". This value can be determined precisely with a list like the public suffix list (http://publicsuffix.org). Trying to approximate this by simply taking the last two labels will not work well for TLDs such as \"co.uk\".", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "subdomain": { + "description": "The subdomain portion of a fully qualified domain name includes all of the names except the host name under the registered_domain. In a partially qualified domain, or if the the qualification level of the full name cannot be determined, subdomain contains all of the names below the registered domain. For example the subdomain portion of \"www.east.mydomain.co.uk\" is \"east\". If the domain has multiple levels of subdomain, such as \"sub2.sub1.example.com\", the subdomain field should contain \"sub2.sub1\", with no trailing period.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "top_level_domain": { + "description": "The effective top level domain (eTLD), also known as the domain suffix, is the last part of the domain name. For example, the top level domain for example.com is \"com\". This value can be determined precisely with a list like the public suffix list (http://publicsuffix.org). Trying to approximate this by simply taking the last label will not work well for effective TLDs such as \"co.uk\".", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "user": { + "properties": { + "properties": { + "domain": { + "description": "Name of the directory the user is a member of. For example, an LDAP or Active Directory domain name.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "email": { + "description": "User email address.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "full_name": { + "description": "User's full name, if available.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "group": { + "properties": { + "properties": { + "domain": { + "description": "Name of the directory the group is a member of. For example, an LDAP or Active Directory domain name.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "id": { + "description": "Unique identifier for the group on the system/platform.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "name": { + "description": "Name of the group.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "type": "object" + } + }, + "hash": { + "description": "Unique user hash to correlate information for a user in anonymized form. Useful if `user.id` or `user.name` contain confidential information and cannot be used.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "id": { + "description": "Unique identifier of the user.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "name": { + "description": "Short name or login of the user.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "roles": { + "description": "Array of user roles at the time of the event.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "type": "object" + } + } + }, + "type": "object" + } + } +} \ No newline at end of file diff --git a/experimental/generated/json_schema/dll.json b/experimental/generated/json_schema/dll.json new file mode 100644 index 0000000000..efd5daf055 --- /dev/null +++ b/experimental/generated/json_schema/dll.json @@ -0,0 +1,695 @@ +{ + "dll": { + "properties": { + "properties": { + "code_signature": { + "properties": { + "properties": { + "exists": { + "description": "Boolean to capture if a signature is present.", + "properties": { + "type": { + "$ref": "#/definitions/types/boolean" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "signing_id": { + "description": "The identifier used to sign the process. This is used to identify the application manufactured by a software vendor. The field is relevant to Apple *OS only.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "status": { + "description": "Additional information about the certificate status. This is useful for logging cryptographic errors with the certificate validity or trust status. Leave unpopulated if the validity or trust of the certificate was unchecked.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "subject_name": { + "description": "Subject name of the code signer", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "team_id": { + "description": "The team identifier used to sign the process. This is used to identify the team or vendor of a software product. The field is relevant to Apple *OS only.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "trusted": { + "description": "Stores the trust status of the certificate chain. Validating the trust of the certificate chain may be complicated, and this field should only be populated by tools that actively check the status.", + "properties": { + "type": { + "$ref": "#/definitions/types/boolean" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "valid": { + "description": "Boolean to capture if the digital signature is verified against the binary content. Leave unpopulated if a certificate was unchecked.", + "properties": { + "type": { + "$ref": "#/definitions/types/boolean" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "type": "object" + } + }, + "hash": { + "properties": { + "properties": { + "md5": { + "description": "MD5 hash.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "sha1": { + "description": "SHA1 hash.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "sha256": { + "description": "SHA256 hash.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "sha512": { + "description": "SHA512 hash.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "ssdeep": { + "description": "SSDEEP hash.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "type": "object" + } + }, + "name": { + "description": "Name of the library. This generally maps to the name of the file on disk.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "path": { + "description": "Full file path of the library.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "pe": { + "properties": { + "properties": { + "architecture": { + "description": "CPU architecture target for the file.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "authentihash": { + "description": "Authentihash of the PE file.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "company": { + "description": "Internal company name of the file, provided at compile-time.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "compile_timestamp": { + "description": "Compile timestamp of the PE file.", + "properties": { + "type": { + "$ref": "#/definitions/types/date" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "compiler": { + "properties": { + "properties": { + "name": { + "description": "Name of the compiler", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "version": { + "description": "Version of the compiler.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "type": "object" + } + }, + "creation_date": { + "description": "Extracted when possible from the file's metadata. Indicates when it was built or compiled. It can also be faked by malware creators.", + "properties": { + "type": { + "$ref": "#/definitions/types/date" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "debug": { + "description": "An array containing an object for each debug entry, if present. The expected fields for this nested object fall under the `debug.` prefix.", + "properties": { + "properties": { + "offset": { + "description": "Debug offset information.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "size": { + "description": "Size of the debug information.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "timestamp": { + "description": "Timestamp of the debug information.", + "properties": { + "type": { + "$ref": "#/definitions/types/date" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "type": { + "description": "Information type generated by the debug options.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "type": { + "$ref": "#/definitions/types/nested" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "description": { + "description": "Internal description of the file, provided at compile-time.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "entry_point": { + "description": "Relative byte offset to the base of the PE file.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "exports": { + "description": "List of symbols exported by PE", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "file_version": { + "description": "Internal version of the file, provided at compile-time.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "icon": { + "properties": { + "properties": { + "hash": { + "properties": { + "properties": { + "dhash": { + "description": "Difference Hash (dhash) to find files with a visually similar icon or thumbnail.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "type": "object" + } + } + }, + "type": "object" + } + }, + "imphash": { + "description": "A hash of the imports in a PE file. An imphash -- or import hash -- can be used to fingerprint binaries even after recompilation or other code-level transformations have occurred, which would change more traditional hash values. Learn more at https://www.fireeye.com/blog/threat-research/2014/01/tracking-malware-import-hashing.html.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "imports": { + "description": "List of all imported functions", + "properties": { + "type": { + "$ref": "#/definitions/types/flattened" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "machine_type": { + "description": "Machine type of the PE file.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "original_file_name": { + "description": "Internal name of the file, provided at compile-time.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "packers": { + "description": "List of packers and tools used.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "product": { + "description": "Internal product name of the file, provided at compile-time.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "resources": { + "description": "An array containing an object for each PE resource, if present. The expected fields for this nested object fall under the `resources.` prefix.", + "properties": { + "properties": { + "chi2": { + "description": "Chi-square probability distribution.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "entropy": { + "description": "Measurement of entropy randomness in the resources section.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "filetype": { + "description": "File type of the resources section.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "language": { + "description": "Language identification.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "sha256": { + "description": "SHA256 hash of resources section.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "type": { + "description": "Digest of resource types.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "type": { + "$ref": "#/definitions/types/nested" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "rich_header": { + "properties": { + "properties": { + "hash": { + "properties": { + "properties": { + "md5": { + "description": "MD5 hash of the header for the PE file.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "type": "object" + } + } + }, + "type": "object" + } + }, + "sections": { + "description": "Data about sections of compiled binary PE", + "properties": { + "properties": { + "chi2": { + "description": "Chi-square probability distribution.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "entropy": { + "description": "Measurement of entropy randomness in the file.", + "properties": { + "type": { + "$ref": "#/definitions/types/float" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "flags": { + "description": "Section flags of the file.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "name": { + "description": "Section names of the file.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "raw_size": { + "description": "Size of the section or the dize of the initialized data on disk.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "virtual_address": { + "description": "Virtual address available to the file.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "type": { + "$ref": "#/definitions/types/nested" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "type": "object" + } + } + }, + "type": "object" + } + } +} \ No newline at end of file diff --git a/experimental/generated/json_schema/dns.json b/experimental/generated/json_schema/dns.json new file mode 100644 index 0000000000..dd730c0db3 --- /dev/null +++ b/experimental/generated/json_schema/dns.json @@ -0,0 +1,234 @@ +{ + "dns": { + "properties": { + "properties": { + "answers": { + "description": "An array containing an object for each answer section returned by the server. The main keys that should be present in these objects are defined by ECS. Records that have more information may contain more keys than what ECS defines. Not all DNS data sources give all details about DNS answers. At minimum, answer objects must contain the `data` key. If more information is available, map as much of it to ECS as possible, and add any additional fields to the answer objects as custom fields.", + "properties": { + "properties": { + "class": { + "description": "The class of DNS data contained in this resource record.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "data": { + "description": "The data describing the resource. The meaning of this data depends on the type and class of the resource record.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "name": { + "description": "The domain name to which this resource record pertains. If a chain of CNAME is being resolved, each answer's `name` should be the one that corresponds with the answer's `data`. It should not simply be the original `question.name` repeated.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "ttl": { + "description": "The time interval in seconds that this resource record may be cached before it should be discarded. Zero values mean that the data should not be cached.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "type": { + "description": "The type of data contained in this resource record.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "type": { + "$ref": "#/definitions/types/object" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "header_flags": { + "description": "Array of 2 letter DNS header flags. Expected values are: AA, TC, RD, RA, AD, CD, DO.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "id": { + "description": "The DNS packet identifier assigned by the program that generated the query. The identifier is copied to the response.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "op_code": { + "description": "The DNS operation code that specifies the kind of query in the message. This value is set by the originator of a query and copied into the response.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "question": { + "properties": { + "properties": { + "class": { + "description": "The class of records being queried.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "name": { + "description": "The name being queried. If the name field contains non-printable characters (below 32 or above 126), those characters should be represented as escaped base 10 integers (\\DDD). Back slashes and quotes should be escaped. Tabs, carriage returns, and line feeds should be converted to \\t, \\r, and \\n respectively.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "registered_domain": { + "description": "The highest registered domain, stripped of the subdomain. For example, the registered domain for \"foo.example.com\" is \"example.com\". This value can be determined precisely with a list like the public suffix list (http://publicsuffix.org). Trying to approximate this by simply taking the last two labels will not work well for TLDs such as \"co.uk\".", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "subdomain": { + "description": "The subdomain is all of the labels under the registered_domain. If the domain has multiple levels of subdomain, such as \"sub2.sub1.example.com\", the subdomain field should contain \"sub2.sub1\", with no trailing period.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "top_level_domain": { + "description": "The effective top level domain (eTLD), also known as the domain suffix, is the last part of the domain name. For example, the top level domain for example.com is \"com\". This value can be determined precisely with a list like the public suffix list (http://publicsuffix.org). Trying to approximate this by simply taking the last label will not work well for effective TLDs such as \"co.uk\".", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "type": { + "description": "The type of record being queried.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "type": "object" + } + }, + "resolved_ip": { + "description": "Array containing all IPs seen in `answers.data`. The `answers` array can be difficult to use, because of the variety of data formats it can contain. Extracting all IP addresses seen in there to `dns.resolved_ip` makes it possible to index them as IP addresses, and makes them easier to visualize and query for.", + "properties": { + "type": { + "$ref": "#/definitions/types/ip" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "response_code": { + "description": "The DNS response code.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "type": { + "description": "The type of DNS event captured, query or answer. If your source of DNS events only gives you DNS queries, you should only create dns events of type `dns.type:query`. If your source of DNS events gives you answers as well, you should create one event per query (optionally as soon as the query is seen). And a second event containing all query details as well as an array of answers.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "type": "object" + } + } +} \ No newline at end of file diff --git a/experimental/generated/json_schema/ecs.json b/experimental/generated/json_schema/ecs.json new file mode 100644 index 0000000000..955669eb3b --- /dev/null +++ b/experimental/generated/json_schema/ecs.json @@ -0,0 +1,21 @@ +{ + "ecs": { + "properties": { + "properties": { + "version": { + "description": "ECS version this event conforms to. `ecs.version` is a required field and must exist in all events. When querying across multiple indices -- which may conform to slightly different ECS versions -- this field lets integrations adjust to the schema version of the events.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "type": "object" + } + } +} \ No newline at end of file diff --git a/experimental/generated/json_schema/error.json b/experimental/generated/json_schema/error.json new file mode 100644 index 0000000000..72391d973b --- /dev/null +++ b/experimental/generated/json_schema/error.json @@ -0,0 +1,69 @@ +{ + "error": { + "properties": { + "properties": { + "code": { + "description": "Error code describing the error.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "id": { + "description": "Unique identifier for the error.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "message": { + "description": "Error message.", + "properties": { + "type": { + "$ref": "#/definitions/types/text" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "stack_trace": { + "description": "The stack trace of this error in plain text.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "type": { + "description": "The type of the error, for example the class name of the exception.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "type": "object" + } + } +} \ No newline at end of file diff --git a/experimental/generated/json_schema/event.json b/experimental/generated/json_schema/event.json new file mode 100644 index 0000000000..4d4e216abe --- /dev/null +++ b/experimental/generated/json_schema/event.json @@ -0,0 +1,309 @@ +{ + "event": { + "properties": { + "properties": { + "action": { + "description": "The action captured by the event. This describes the information in the event. It is more specific than `event.category`. Examples are `group-add`, `process-started`, `file-created`. The value is normally defined by the implementer.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "category": { + "description": "This is one of four ECS Categorization Fields, and indicates the second level in the ECS category hierarchy. `event.category` represents the \"big buckets\" of ECS categories. For example, filtering on `event.category:process` yields all events relating to process activity. This field is closely related to `event.type`, which is used as a subcategory. This field is an array. This will allow proper categorization of some events that fall in multiple categories.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "code": { + "description": "Identification code for this event, if one exists. Some event sources use event codes to identify messages unambiguously, regardless of message language or wording adjustments over time. An example of this is the Windows Event ID.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "created": { + "description": "event.created contains the date/time when the event was first read by an agent, or by your pipeline. This field is distinct from @timestamp in that @timestamp typically contain the time extracted from the original event. In most situations, these two timestamps will be slightly different. The difference can be used to calculate the delay between your source generating an event, and the time when your agent first processed it. This can be used to monitor your agent's or pipeline's ability to keep up with your event source. In case the two timestamps are identical, @timestamp should be used.", + "properties": { + "type": { + "$ref": "#/definitions/types/date" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "dataset": { + "description": "Name of the dataset. If an event source publishes more than one type of log or events (e.g. access log, error log), the dataset is used to specify which one the event comes from. It's recommended but not required to start the dataset name with the module name, followed by a dot, then the dataset name.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "duration": { + "description": "Duration of the event in nanoseconds. If event.start and event.end are known this value should be the difference between the end and start time.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "end": { + "description": "event.end contains the date when the event ended or when the activity was last observed.", + "properties": { + "type": { + "$ref": "#/definitions/types/date" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "hash": { + "description": "Hash (perhaps logstash fingerprint) of raw field to be able to demonstrate log integrity.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "id": { + "description": "Unique ID to describe the event.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "ingested": { + "description": "Timestamp when an event arrived in the central data store. This is different from `@timestamp`, which is when the event originally occurred. It's also different from `event.created`, which is meant to capture the first time an agent saw the event. In normal conditions, assuming no tampering, the timestamps should chronologically look like this: `@timestamp` < `event.created` < `event.ingested`.", + "properties": { + "type": { + "$ref": "#/definitions/types/date" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "kind": { + "description": "This is one of four ECS Categorization Fields, and indicates the highest level in the ECS category hierarchy. `event.kind` gives high-level information about what type of information the event contains, without being specific to the contents of the event. For example, values of this field distinguish alert events from metric events. The value of this field can be used to inform how these kinds of events should be handled. They may warrant different retention, different access control, it may also help understand whether the data coming in at a regular interval or not.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "module": { + "description": "Name of the module this data is coming from. If your monitoring agent supports the concept of modules or plugins to process events of a given source (e.g. Apache logs), `event.module` should contain the name of this module.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "original": { + "description": "Raw text message of entire event. Used to demonstrate log integrity. This field is not indexed and doc_values are disabled. It cannot be searched, but it can be retrieved from `_source`. If users wish to override this and index this field, consider using the wildcard data type.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "outcome": { + "description": "This is one of four ECS Categorization Fields, and indicates the lowest level in the ECS category hierarchy. `event.outcome` simply denotes whether the event represents a success or a failure from the perspective of the entity that produced the event. Note that when a single transaction is described in multiple events, each event may populate different values of `event.outcome`, according to their perspective. Also note that in the case of a compound event (a single event that contains multiple logical events), this field should be populated with the value that best captures the overall success or failure from the perspective of the event producer. Further note that not all events will have an associated outcome. For example, this field is generally not populated for metric events, events with `event.type:info`, or any events for which an outcome does not make logical sense.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "provider": { + "description": "Source of the event. Event transports such as Syslog or the Windows Event Log typically mention the source of an event. It can be the name of the software that generated the event (e.g. Sysmon, httpd), or of a subsystem of the operating system (kernel, Microsoft-Windows-Security-Auditing).", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "reason": { + "description": "Reason why this event happened, according to the source. This describes the why of a particular action or outcome captured in the event. Where `event.action` captures the action from the event, `event.reason` describes why that action was taken. For example, a web proxy with an `event.action` which denied the request may also populate `event.reason` with the reason why (e.g. `blocked site`).", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "reference": { + "description": "Reference URL linking to additional information about this event. This URL links to a static definition of this event. Alert events, indicated by `event.kind:alert`, are a common use case for this field.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "risk_score": { + "description": "Risk score or priority of the event (e.g. security solutions). Use your system's original value here.", + "properties": { + "type": { + "$ref": "#/definitions/types/float" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "risk_score_norm": { + "description": "Normalized risk score or priority of the event, on a scale of 0 to 100. This is mainly useful if you use more than one system that assigns risk scores, and you want to see a normalized value across all systems.", + "properties": { + "type": { + "$ref": "#/definitions/types/float" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "sequence": { + "description": "Sequence number of the event. The sequence number is a value published by some event sources, to make the exact ordering of events unambiguous, regardless of the timestamp precision.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "severity": { + "description": "The numeric severity of the event according to your event source. What the different severity values mean can be different between sources and use cases. It's up to the implementer to make sure severities are consistent across events from the same source. The Syslog severity belongs in `log.syslog.severity.code`. `event.severity` is meant to represent the severity according to the event source (e.g. firewall, IDS). If the event source does not publish its own severity, you may optionally copy the `log.syslog.severity.code` to `event.severity`.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "start": { + "description": "event.start contains the date when the event started or when the activity was first observed.", + "properties": { + "type": { + "$ref": "#/definitions/types/date" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "timezone": { + "description": "This field should be populated when the event's timestamp does not include timezone information already (e.g. default Syslog timestamps). It's optional otherwise. Acceptable timezone formats are: a canonical ID (e.g. \"Europe/Amsterdam\"), abbreviated (e.g. \"EST\") or an HH:mm differential (e.g. \"-05:00\").", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "type": { + "description": "This is one of four ECS Categorization Fields, and indicates the third level in the ECS category hierarchy. `event.type` represents a categorization \"sub-bucket\" that, when used along with the `event.category` field values, enables filtering events down to a level appropriate for single visualization. This field is an array. This will allow proper categorization of some events that fall in multiple event types.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "url": { + "description": "URL linking to an external system to continue investigation of this event. This URL links to another system where in-depth investigation of the specific occurrence of this event can take place. Alert events, indicated by `event.kind:alert`, are a common use case for this field.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "type": "object" + } + } +} \ No newline at end of file diff --git a/experimental/generated/json_schema/file.json b/experimental/generated/json_schema/file.json new file mode 100644 index 0000000000..7ce6e402ab --- /dev/null +++ b/experimental/generated/json_schema/file.json @@ -0,0 +1,1598 @@ +{ + "file": { + "properties": { + "properties": { + "accessed": { + "description": "Last time the file was accessed. Note that not all filesystems keep track of access time.", + "properties": { + "type": { + "$ref": "#/definitions/types/date" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "attributes": { + "description": "Array of file attributes. Attributes names will vary by platform. Here's a non-exhaustive list of values that are expected in this field: archive, compressed, directory, encrypted, execute, hidden, read, readonly, system, write.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "code_signature": { + "properties": { + "properties": { + "exists": { + "description": "Boolean to capture if a signature is present.", + "properties": { + "type": { + "$ref": "#/definitions/types/boolean" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "signing_id": { + "description": "The identifier used to sign the process. This is used to identify the application manufactured by a software vendor. The field is relevant to Apple *OS only.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "status": { + "description": "Additional information about the certificate status. This is useful for logging cryptographic errors with the certificate validity or trust status. Leave unpopulated if the validity or trust of the certificate was unchecked.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "subject_name": { + "description": "Subject name of the code signer", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "team_id": { + "description": "The team identifier used to sign the process. This is used to identify the team or vendor of a software product. The field is relevant to Apple *OS only.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "trusted": { + "description": "Stores the trust status of the certificate chain. Validating the trust of the certificate chain may be complicated, and this field should only be populated by tools that actively check the status.", + "properties": { + "type": { + "$ref": "#/definitions/types/boolean" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "valid": { + "description": "Boolean to capture if the digital signature is verified against the binary content. Leave unpopulated if a certificate was unchecked.", + "properties": { + "type": { + "$ref": "#/definitions/types/boolean" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "type": "object" + } + }, + "created": { + "description": "File creation time. Note that not all filesystems store the creation time.", + "properties": { + "type": { + "$ref": "#/definitions/types/date" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "ctime": { + "description": "Last time the file attributes or metadata changed. Note that changes to the file content will update `mtime`. This implies `ctime` will be adjusted at the same time, since `mtime` is an attribute of the file.", + "properties": { + "type": { + "$ref": "#/definitions/types/date" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "device": { + "description": "Device that is the source of the file.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "directory": { + "description": "Directory where the file is located. It should include the drive letter, when appropriate.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "drive_letter": { + "description": "Drive letter where the file is located. This field is only relevant on Windows. The value should be uppercase, and not include the colon.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "elf": { + "properties": { + "properties": { + "architecture": { + "description": "Machine architecture of the ELF file.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "byte_order": { + "description": "Byte sequence of ELF file.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "cpu_type": { + "description": "CPU type of the ELF file.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "creation_date": { + "description": "Extracted when possible from the file's metadata. Indicates when it was built or compiled. It can also be faked by malware creators.", + "properties": { + "type": { + "$ref": "#/definitions/types/date" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "exports": { + "description": "List of exported element names and types.", + "properties": { + "type": { + "$ref": "#/definitions/types/flattened" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "header": { + "properties": { + "properties": { + "abi_version": { + "description": "Version of the ELF Application Binary Interface (ABI).", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "class": { + "description": "Header class of the ELF file.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "data": { + "description": "Data table of the ELF header.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "entrypoint": { + "description": "Header entrypoint of the ELF file.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "object_version": { + "description": "\"0x1\" for original ELF files.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "os_abi": { + "description": "Application Binary Interface (ABI) of the Linux OS.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "type": { + "description": "Header type of the ELF file.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "version": { + "description": "Version of the ELF header.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "type": "object" + } + }, + "imports": { + "description": "List of imported element names and types.", + "properties": { + "type": { + "$ref": "#/definitions/types/flattened" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "sections": { + "description": "Section information of the ELF file.", + "properties": { + "properties": { + "chi2": { + "description": "Chi-square probability distribution of the section.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "entropy": { + "description": "Shannon entropy calculation from the section.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "flags": { + "description": "ELF Section List flags.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "name": { + "description": "ELF Section List name.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "physical_offset": { + "description": "ELF Section List offset.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "physical_size": { + "description": "ELF Section List physical size.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "type": { + "description": "ELF Section List type.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "virtual_address": { + "description": "ELF Section List virtual address.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "virtual_size": { + "description": "ELF Section List virtual size.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "type": { + "$ref": "#/definitions/types/nested" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "segments": { + "description": "ELF object segment list.", + "properties": { + "properties": { + "sections": { + "description": "ELF object segment sections.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "type": { + "description": "ELF object segment type.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "type": { + "$ref": "#/definitions/types/nested" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "shared_libraries": { + "description": "List of shared libraries used by this ELF object", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "telfhash": { + "description": "telfhash is symbol hash for ELF files, just like imphash is imports hash for PE files. Learn more at https://github.com/trendmicro/telfhash.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "type": "object" + } + }, + "extension": { + "description": "File extension, excluding the leading dot. Note that when the file name has multiple extensions (example.tar.gz), only the last one should be captured (\"gz\", not \"tar.gz\").", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "gid": { + "description": "Primary group ID (GID) of the file.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "group": { + "description": "Primary group name of the file.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "hash": { + "properties": { + "properties": { + "md5": { + "description": "MD5 hash.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "sha1": { + "description": "SHA1 hash.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "sha256": { + "description": "SHA256 hash.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "sha512": { + "description": "SHA512 hash.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "ssdeep": { + "description": "SSDEEP hash.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "type": "object" + } + }, + "inode": { + "description": "Inode representing the file in the filesystem.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "mime_type": { + "description": "MIME type should identify the format of the file or stream of bytes using https://www.iana.org/assignments/media-types/media-types.xhtml[IANA official types], where possible. When more than one type is applicable, the most specific type should be used.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "mode": { + "description": "Mode of the file in octal representation.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "mtime": { + "description": "Last time the file content was modified.", + "properties": { + "type": { + "$ref": "#/definitions/types/date" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "name": { + "description": "Name of the file including the extension, without the directory.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "owner": { + "description": "File owner's username.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "path": { + "description": "Full path to the file, including the file name. It should include the drive letter, when appropriate.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "pe": { + "properties": { + "properties": { + "architecture": { + "description": "CPU architecture target for the file.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "authentihash": { + "description": "Authentihash of the PE file.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "company": { + "description": "Internal company name of the file, provided at compile-time.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "compile_timestamp": { + "description": "Compile timestamp of the PE file.", + "properties": { + "type": { + "$ref": "#/definitions/types/date" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "compiler": { + "properties": { + "properties": { + "name": { + "description": "Name of the compiler", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "version": { + "description": "Version of the compiler.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "type": "object" + } + }, + "creation_date": { + "description": "Extracted when possible from the file's metadata. Indicates when it was built or compiled. It can also be faked by malware creators.", + "properties": { + "type": { + "$ref": "#/definitions/types/date" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "debug": { + "description": "An array containing an object for each debug entry, if present. The expected fields for this nested object fall under the `debug.` prefix.", + "properties": { + "properties": { + "offset": { + "description": "Debug offset information.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "size": { + "description": "Size of the debug information.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "timestamp": { + "description": "Timestamp of the debug information.", + "properties": { + "type": { + "$ref": "#/definitions/types/date" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "type": { + "description": "Information type generated by the debug options.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "type": { + "$ref": "#/definitions/types/nested" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "description": { + "description": "Internal description of the file, provided at compile-time.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "entry_point": { + "description": "Relative byte offset to the base of the PE file.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "exports": { + "description": "List of symbols exported by PE", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "file_version": { + "description": "Internal version of the file, provided at compile-time.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "icon": { + "properties": { + "properties": { + "hash": { + "properties": { + "properties": { + "dhash": { + "description": "Difference Hash (dhash) to find files with a visually similar icon or thumbnail.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "type": "object" + } + } + }, + "type": "object" + } + }, + "imphash": { + "description": "A hash of the imports in a PE file. An imphash -- or import hash -- can be used to fingerprint binaries even after recompilation or other code-level transformations have occurred, which would change more traditional hash values. Learn more at https://www.fireeye.com/blog/threat-research/2014/01/tracking-malware-import-hashing.html.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "imports": { + "description": "List of all imported functions", + "properties": { + "type": { + "$ref": "#/definitions/types/flattened" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "machine_type": { + "description": "Machine type of the PE file.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "original_file_name": { + "description": "Internal name of the file, provided at compile-time.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "packers": { + "description": "List of packers and tools used.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "product": { + "description": "Internal product name of the file, provided at compile-time.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "resources": { + "description": "An array containing an object for each PE resource, if present. The expected fields for this nested object fall under the `resources.` prefix.", + "properties": { + "properties": { + "chi2": { + "description": "Chi-square probability distribution.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "entropy": { + "description": "Measurement of entropy randomness in the resources section.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "filetype": { + "description": "File type of the resources section.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "language": { + "description": "Language identification.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "sha256": { + "description": "SHA256 hash of resources section.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "type": { + "description": "Digest of resource types.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "type": { + "$ref": "#/definitions/types/nested" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "rich_header": { + "properties": { + "properties": { + "hash": { + "properties": { + "properties": { + "md5": { + "description": "MD5 hash of the header for the PE file.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "type": "object" + } + } + }, + "type": "object" + } + }, + "sections": { + "description": "Data about sections of compiled binary PE", + "properties": { + "properties": { + "chi2": { + "description": "Chi-square probability distribution.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "entropy": { + "description": "Measurement of entropy randomness in the file.", + "properties": { + "type": { + "$ref": "#/definitions/types/float" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "flags": { + "description": "Section flags of the file.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "name": { + "description": "Section names of the file.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "raw_size": { + "description": "Size of the section or the dize of the initialized data on disk.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "virtual_address": { + "description": "Virtual address available to the file.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "type": { + "$ref": "#/definitions/types/nested" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "type": "object" + } + }, + "size": { + "description": "File size in bytes. Only relevant when `file.type` is \"file\".", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "target_path": { + "description": "Target path for symlinks.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "type": { + "description": "File type (file, dir, or symlink).", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "uid": { + "description": "The user ID (UID) or security identifier (SID) of the file owner.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "x509": { + "properties": { + "properties": { + "alternative_names": { + "description": "List of subject alternative names (SAN). Name types vary by certificate authority and certificate type but commonly contain IP addresses, DNS names (and wildcards), and email addresses.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "issuer": { + "properties": { + "properties": { + "common_name": { + "description": "List of common name (CN) of issuing certificate authority.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "country": { + "description": "List of country (C) codes", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "distinguished_name": { + "description": "Distinguished name (DN) of issuing certificate authority.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "locality": { + "description": "List of locality names (L)", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "organization": { + "description": "List of organizations (O) of issuing certificate authority.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "organizational_unit": { + "description": "List of organizational units (OU) of issuing certificate authority.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "state_or_province": { + "description": "List of state or province names (ST, S, or P)", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "type": "object" + } + }, + "not_after": { + "description": "Time at which the certificate is no longer considered valid.", + "properties": { + "type": { + "$ref": "#/definitions/types/date" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "not_before": { + "description": "Time at which the certificate is first considered valid.", + "properties": { + "type": { + "$ref": "#/definitions/types/date" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "public_key_algorithm": { + "description": "Algorithm used to generate the public key.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "public_key_curve": { + "description": "The curve used by the elliptic curve public key algorithm. This is algorithm specific.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "public_key_exponent": { + "description": "Exponent used to derive the public key. This is algorithm specific.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "public_key_size": { + "description": "The size of the public key space in bits.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "serial_number": { + "description": "Unique serial number issued by the certificate authority. For consistency, if this value is alphanumeric, it should be formatted without colons and uppercase characters.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "signature_algorithm": { + "description": "Identifier for certificate signature algorithm. We recommend using names found in Go Lang Crypto library. See https://github.com/golang/go/blob/go1.14/src/crypto/x509/x509.go#L337-L353.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "subject": { + "properties": { + "properties": { + "common_name": { + "description": "List of common names (CN) of subject.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "country": { + "description": "List of country (C) code", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "distinguished_name": { + "description": "Distinguished name (DN) of the certificate subject entity.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "locality": { + "description": "List of locality names (L)", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "organization": { + "description": "List of organizations (O) of subject.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "organizational_unit": { + "description": "List of organizational units (OU) of subject.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "state_or_province": { + "description": "List of state or province names (ST, S, or P)", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "type": "object" + } + }, + "version_number": { + "description": "Version of x509 format.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "type": "object" + } + } + }, + "type": "object" + } + } +} \ No newline at end of file diff --git a/experimental/generated/json_schema/full.json b/experimental/generated/json_schema/full.json new file mode 100644 index 0000000000..9b67dbc2e0 --- /dev/null +++ b/experimental/generated/json_schema/full.json @@ -0,0 +1,14579 @@ +{ + "definitions": { + "settings": { + "ignore_above": { + "maximum": 2147483647, + "minimum": 0, + "type": "integer" + }, + "type": "object" + }, + "types": { + "boolean": { + "enum": [ + "boolean" + ], + "type": "string" + }, + "constant_keyword": { + "enum": [ + "constant_keyword" + ], + "type": "string" + }, + "date": { + "enum": [ + "date", + "date_nanos" + ], + "type": "string" + }, + "float": { + "enum": [ + "float" + ], + "type": "string" + }, + "geo_point": { + "enum": [ + "geo_point" + ], + "type": "string" + }, + "integer": { + "enum": [ + "integer" + ], + "type": "string" + }, + "ip": { + "enum": [ + "ip" + ], + "type": "string" + }, + "keyword": { + "enum": [ + "keyword" + ], + "type": "string" + }, + "long": { + "enum": [ + "long" + ], + "type": "string" + }, + "object": { + "enum": [ + "object" + ], + "type": "string" + }, + "scaled_float": { + "enum": [ + "scaled_float" + ], + "type": "string" + }, + "text": { + "enum": [ + "text" + ], + "type": "string" + }, + "type": "object" + } + }, + "properties": { + "@timestamp": { + "description": "Date/time when the event originated. This is the date/time extracted from the event, typically representing when the event was generated by the source. If the event source has no original timestamp, this value is typically populated by the first time the event was received by the pipeline. Required field for all events.", + "properties": { + "type": { + "$ref": "#/definitions/types/date" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "agent": { + "description": "The agent fields contain the data about the software entity, if any, that collects, detects, or observes events on a host, or takes measurements on a host.\nExamples include Beats. Agents may also run on observers. ECS agent.* fields shall be populated with details of the agent running on the host or observer where the event happened or the measurement was taken.", + "properties": { + "properties": { + "properties": { + "build": { + "properties": { + "properties": { + "properties": { + "original": { + "description": "Extended build information for the agent. This field is intended to contain any build information that a data source may provide, no specific formatting is required.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + } + } + }, + "type": "object" + } + }, + "ephemeral_id": { + "description": "Ephemeral identifier of this agent (if one exists). This id normally changes across restarts, but `agent.id` does not.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "id": { + "description": "Unique identifier of this agent (if one exists). Example: For Beats this would be beat.id.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "name": { + "description": "Custom name of the agent. This is a name that can be given to an agent. This can be helpful if for example two Filebeat instances are running on the same host but a human readable separation is needed on which Filebeat instance data is coming from. If no name is given, the name is often left empty.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "type": { + "description": "Type of the agent. The agent type always stays the same and should be given by the agent used. In case of Filebeat the agent would always be Filebeat also if two Filebeat instances are run on the same machine.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "version": { + "description": "Version of the agent.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + } + }, + "type": "object" + }, + "type": "object" + }, + "client": { + "description": "A client is defined as the initiator of a network connection for events regarding sessions, connections, or bidirectional flow records.\nFor TCP events, the client is the initiator of the TCP connection that sends the SYN packet(s). For other protocols, the client is generally the initiator or requestor in the network transaction. Some systems use the term \"originator\" to refer the client in TCP connections. The client fields describe details about the system acting as the client in the network event. Client fields are usually populated in conjunction with server fields. Client fields are generally not populated for packet-level events.\nClient / server representations can add semantic context to an exchange, which is helpful to visualize the data in certain situations. If your context falls in that category, you should still ensure that source and destination are filled appropriately.", + "properties": { + "properties": { + "properties": { + "address": { + "description": "Some event client addresses are defined ambiguously. The event will sometimes list an IP, a domain or a unix socket. You should always store the raw address in the `.address` field. Then it should be duplicated to `.ip` or `.domain`, depending on which one it is.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "as": { + "properties": { + "properties": { + "properties": { + "number": { + "description": "Unique number allocated to the autonomous system. The autonomous system number (ASN) uniquely identifies each network on the Internet.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "organization": { + "properties": { + "properties": { + "properties": { + "name": { + "description": "Organization name.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + } + } + }, + "type": "object" + } + } + } + }, + "type": "object" + } + }, + "bytes": { + "description": "Bytes sent from the client to the server.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "domain": { + "description": "Client domain.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "geo": { + "properties": { + "properties": { + "properties": { + "city_name": { + "description": "City name.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "continent_code": { + "description": "Two-letter code representing continent's name.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "continent_name": { + "description": "Name of the continent.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "country_iso_code": { + "description": "Country ISO code.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "country_name": { + "description": "Country name.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "location": { + "description": "Longitude and latitude.", + "properties": { + "type": { + "$ref": "#/definitions/types/geo_point" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "name": { + "description": "User-defined description of a location, at the level of granularity they care about. Could be the name of their data centers, the floor number, if this describes a local physical entity, city names. Not typically used in automated geolocation.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "postal_code": { + "description": "Postal code associated with the location. Values appropriate for this field may also be known as a postcode or ZIP code and will vary widely from country to country.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "region_iso_code": { + "description": "Region ISO code.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "region_name": { + "description": "Region name.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "timezone": { + "description": "The time zone of the location, such as IANA time zone name.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + } + }, + "type": "object" + } + }, + "ip": { + "description": "IP address of the client (IPv4 or IPv6).", + "properties": { + "type": { + "$ref": "#/definitions/types/ip" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "mac": { + "description": "MAC address of the client. The notation format from RFC 7042 is suggested: Each octet (that is, 8-bit byte) is represented by two [uppercase] hexadecimal digits giving the value of the octet as an unsigned integer. Successive octets are separated by a hyphen.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "nat": { + "properties": { + "properties": { + "properties": { + "ip": { + "description": "Translated IP of source based NAT sessions (e.g. internal client to internet). Typically connections traversing load balancers, firewalls, or routers.", + "properties": { + "type": { + "$ref": "#/definitions/types/ip" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "port": { + "description": "Translated port of source based NAT sessions (e.g. internal client to internet). Typically connections traversing load balancers, firewalls, or routers.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + } + } + }, + "type": "object" + } + }, + "packets": { + "description": "Packets sent from the client to the server.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "port": { + "description": "Port of the client.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "registered_domain": { + "description": "The highest registered client domain, stripped of the subdomain. For example, the registered domain for \"foo.example.com\" is \"example.com\". This value can be determined precisely with a list like the public suffix list (http://publicsuffix.org). Trying to approximate this by simply taking the last two labels will not work well for TLDs such as \"co.uk\".", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "subdomain": { + "description": "The subdomain portion of a fully qualified domain name includes all of the names except the host name under the registered_domain. In a partially qualified domain, or if the the qualification level of the full name cannot be determined, subdomain contains all of the names below the registered domain. For example the subdomain portion of \"www.east.mydomain.co.uk\" is \"east\". If the domain has multiple levels of subdomain, such as \"sub2.sub1.example.com\", the subdomain field should contain \"sub2.sub1\", with no trailing period.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "top_level_domain": { + "description": "The effective top level domain (eTLD), also known as the domain suffix, is the last part of the domain name. For example, the top level domain for example.com is \"com\". This value can be determined precisely with a list like the public suffix list (http://publicsuffix.org). Trying to approximate this by simply taking the last label will not work well for effective TLDs such as \"co.uk\".", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "user": { + "properties": { + "properties": { + "properties": { + "domain": { + "description": "Name of the directory the user is a member of. For example, an LDAP or Active Directory domain name.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "email": { + "description": "User email address.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "full_name": { + "description": "User's full name, if available.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "group": { + "properties": { + "properties": { + "properties": { + "domain": { + "description": "Name of the directory the group is a member of. For example, an LDAP or Active Directory domain name.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "id": { + "description": "Unique identifier for the group on the system/platform.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "name": { + "description": "Name of the group.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + } + }, + "type": "object" + } + }, + "hash": { + "description": "Unique user hash to correlate information for a user in anonymized form. Useful if `user.id` or `user.name` contain confidential information and cannot be used.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "id": { + "description": "Unique identifier of the user.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "name": { + "description": "Short name or login of the user.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "roles": { + "description": "Array of user roles at the time of the event.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + } + }, + "type": "object" + } + } + } + }, + "type": "object" + }, + "type": "object" + }, + "cloud": { + "description": "Fields related to the cloud or infrastructure the events are coming from.", + "properties": { + "properties": { + "properties": { + "account": { + "properties": { + "properties": { + "properties": { + "id": { + "description": "The cloud account or organization id used to identify different entities in a multi-tenant environment. Examples: AWS account id, Google Cloud ORG Id, or other unique identifier.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "name": { + "description": "The cloud account name or alias used to identify different entities in a multi-tenant environment. Examples: AWS account name, Google Cloud ORG display name.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + } + }, + "type": "object" + } + }, + "availability_zone": { + "description": "Availability zone in which this host is running.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "instance": { + "properties": { + "properties": { + "properties": { + "id": { + "description": "Instance ID of the host machine.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "name": { + "description": "Instance name of the host machine.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + } + }, + "type": "object" + } + }, + "machine": { + "properties": { + "properties": { + "properties": { + "type": { + "description": "Machine type of the host machine.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + } + }, + "type": "object" + } + }, + "project": { + "properties": { + "properties": { + "properties": { + "id": { + "description": "The cloud project identifier. Examples: Google Cloud Project id, Azure Project id.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "name": { + "description": "The cloud project name. Examples: Google Cloud Project name, Azure Project name.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + } + }, + "type": "object" + } + }, + "provider": { + "description": "Name of the cloud provider. Example values are aws, azure, gcp, or digitalocean.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "region": { + "description": "Region in which this host is running.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "service": { + "properties": { + "properties": { + "properties": { + "name": { + "description": "The cloud service name is intended to distinguish services running on different platforms within a provider, eg AWS EC2 vs Lambda, GCP GCE vs App Engine, Azure VM vs App Server. Examples: app engine, app service, cloud run, fargate, lambda.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + } + }, + "type": "object" + } + } + } + }, + "type": "object" + }, + "type": "object" + }, + "container": { + "description": "Container fields are used for meta information about the specific container that is the source of information.\nThese fields help correlate data based containers from any runtime.", + "properties": { + "properties": { + "properties": { + "id": { + "description": "Unique container id.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "image": { + "properties": { + "properties": { + "properties": { + "name": { + "description": "Name of the image the container was built on.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "tag": { + "description": "Container image tags.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + } + }, + "type": "object" + } + }, + "labels": { + "description": "Image labels.", + "properties": { + "type": { + "$ref": "#/definitions/types/object" + } + }, + "type": "object" + }, + "name": { + "description": "Container name.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "runtime": { + "description": "Runtime managing this container.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + } + }, + "type": "object" + }, + "type": "object" + }, + "data_stream": { + "description": "The data_stream fields take part in defining the new data stream naming scheme.\nIn the new data stream naming scheme the value of the data stream fields combine to the name of the actual data stream in the following manner: `{data_stream.type}-{data_stream.dataset}-{data_stream.namespace}`. This means the fields can only contain characters that are valid as part of names of data streams. More details about this can be found in this https://www.elastic.co/blog/an-introduction-to-the-elastic-data-stream-naming-scheme[blog post].\nAn Elasticsearch data stream consists of one or more backing indices, and a data stream name forms part of the backing indices names. Due to this convention, data streams must also follow index naming restrictions. For example, data stream names cannot include `\\`, `/`, `*`, `?`, `\"`, `<`, `>`, `|`, ` ` (space character), `,`, or `#`. Please see the Elasticsearch reference for additional https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-create-index.html#indices-create-api-path-params[restrictions].", + "properties": { + "properties": { + "properties": { + "dataset": { + "description": "The field can contain anything that makes sense to signify the source of the data. Examples include `nginx.access`, `prometheus`, `endpoint` etc. For data streams that otherwise fit, but that do not have dataset set we use the value \"generic\" for the dataset value. `event.dataset` should have the same value as `data_stream.dataset`. Beyond the Elasticsearch data stream naming criteria noted above, the `dataset` value has additional restrictions: * Must not contain `-` * No longer than 100 characters", + "properties": { + "type": { + "$ref": "#/definitions/types/constant_keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "namespace": { + "description": "A user defined namespace. Namespaces are useful to allow grouping of data. Many users already organize their indices this way, and the data stream naming scheme now provides this best practice as a default. Many users will populate this field with `default`. If no value is used, it falls back to `default`. Beyond the Elasticsearch index naming criteria noted above, `namespace` value has the additional restrictions: * Must not contain `-` * No longer than 100 characters", + "properties": { + "type": { + "$ref": "#/definitions/types/constant_keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "type": { + "description": "An overarching type for the data stream. Currently allowed values are \"logs\" and \"metrics\". We expect to also add \"traces\" and \"synthetics\" in the near future.", + "properties": { + "type": { + "$ref": "#/definitions/types/constant_keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + } + }, + "type": "object" + }, + "type": "object" + }, + "destination": { + "description": "Destination fields capture details about the receiver of a network exchange/packet. These fields are populated from a network event, packet, or other event containing details of a network transaction.\nDestination fields are usually populated in conjunction with source fields. The source and destination fields are considered the baseline and should always be filled if an event contains source and destination details from a network transaction. If the event also contains identification of the client and server roles, then the client and server fields should also be populated.", + "properties": { + "properties": { + "properties": { + "address": { + "description": "Some event destination addresses are defined ambiguously. The event will sometimes list an IP, a domain or a unix socket. You should always store the raw address in the `.address` field. Then it should be duplicated to `.ip` or `.domain`, depending on which one it is.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "as": { + "properties": { + "properties": { + "properties": { + "number": { + "description": "Unique number allocated to the autonomous system. The autonomous system number (ASN) uniquely identifies each network on the Internet.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "organization": { + "properties": { + "properties": { + "properties": { + "name": { + "description": "Organization name.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + } + } + }, + "type": "object" + } + } + } + }, + "type": "object" + } + }, + "bytes": { + "description": "Bytes sent from the destination to the source.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "domain": { + "description": "Destination domain.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "geo": { + "properties": { + "properties": { + "properties": { + "city_name": { + "description": "City name.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "continent_code": { + "description": "Two-letter code representing continent's name.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "continent_name": { + "description": "Name of the continent.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "country_iso_code": { + "description": "Country ISO code.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "country_name": { + "description": "Country name.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "location": { + "description": "Longitude and latitude.", + "properties": { + "type": { + "$ref": "#/definitions/types/geo_point" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "name": { + "description": "User-defined description of a location, at the level of granularity they care about. Could be the name of their data centers, the floor number, if this describes a local physical entity, city names. Not typically used in automated geolocation.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "postal_code": { + "description": "Postal code associated with the location. Values appropriate for this field may also be known as a postcode or ZIP code and will vary widely from country to country.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "region_iso_code": { + "description": "Region ISO code.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "region_name": { + "description": "Region name.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "timezone": { + "description": "The time zone of the location, such as IANA time zone name.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + } + }, + "type": "object" + } + }, + "ip": { + "description": "IP address of the destination (IPv4 or IPv6).", + "properties": { + "type": { + "$ref": "#/definitions/types/ip" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "mac": { + "description": "MAC address of the destination. The notation format from RFC 7042 is suggested: Each octet (that is, 8-bit byte) is represented by two [uppercase] hexadecimal digits giving the value of the octet as an unsigned integer. Successive octets are separated by a hyphen.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "nat": { + "properties": { + "properties": { + "properties": { + "ip": { + "description": "Translated ip of destination based NAT sessions (e.g. internet to private DMZ) Typically used with load balancers, firewalls, or routers.", + "properties": { + "type": { + "$ref": "#/definitions/types/ip" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "port": { + "description": "Port the source session is translated to by NAT Device. Typically used with load balancers, firewalls, or routers.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + } + } + }, + "type": "object" + } + }, + "packets": { + "description": "Packets sent from the destination to the source.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "port": { + "description": "Port of the destination.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "registered_domain": { + "description": "The highest registered destination domain, stripped of the subdomain. For example, the registered domain for \"foo.example.com\" is \"example.com\". This value can be determined precisely with a list like the public suffix list (http://publicsuffix.org). Trying to approximate this by simply taking the last two labels will not work well for TLDs such as \"co.uk\".", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "subdomain": { + "description": "The subdomain portion of a fully qualified domain name includes all of the names except the host name under the registered_domain. In a partially qualified domain, or if the the qualification level of the full name cannot be determined, subdomain contains all of the names below the registered domain. For example the subdomain portion of \"www.east.mydomain.co.uk\" is \"east\". If the domain has multiple levels of subdomain, such as \"sub2.sub1.example.com\", the subdomain field should contain \"sub2.sub1\", with no trailing period.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "top_level_domain": { + "description": "The effective top level domain (eTLD), also known as the domain suffix, is the last part of the domain name. For example, the top level domain for example.com is \"com\". This value can be determined precisely with a list like the public suffix list (http://publicsuffix.org). Trying to approximate this by simply taking the last label will not work well for effective TLDs such as \"co.uk\".", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "user": { + "properties": { + "properties": { + "properties": { + "domain": { + "description": "Name of the directory the user is a member of. For example, an LDAP or Active Directory domain name.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "email": { + "description": "User email address.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "full_name": { + "description": "User's full name, if available.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "group": { + "properties": { + "properties": { + "properties": { + "domain": { + "description": "Name of the directory the group is a member of. For example, an LDAP or Active Directory domain name.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "id": { + "description": "Unique identifier for the group on the system/platform.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "name": { + "description": "Name of the group.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + } + }, + "type": "object" + } + }, + "hash": { + "description": "Unique user hash to correlate information for a user in anonymized form. Useful if `user.id` or `user.name` contain confidential information and cannot be used.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "id": { + "description": "Unique identifier of the user.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "name": { + "description": "Short name or login of the user.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "roles": { + "description": "Array of user roles at the time of the event.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + } + }, + "type": "object" + } + } + } + }, + "type": "object" + }, + "type": "object" + }, + "dll": { + "description": "These fields contain information about code libraries dynamically loaded into processes.\n\nMany operating systems refer to \"shared code libraries\" with different names, but this field set refers to all of the following:\n* Dynamic-link library (`.dll`) commonly used on Windows\n* Shared Object (`.so`) commonly used on Unix-like operating systems\n* Dynamic library (`.dylib`) commonly used on macOS", + "properties": { + "properties": { + "properties": { + "code_signature": { + "properties": { + "properties": { + "properties": { + "exists": { + "description": "Boolean to capture if a signature is present.", + "properties": { + "type": { + "$ref": "#/definitions/types/boolean" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "signing_id": { + "description": "The identifier used to sign the process. This is used to identify the application manufactured by a software vendor. The field is relevant to Apple *OS only.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "status": { + "description": "Additional information about the certificate status. This is useful for logging cryptographic errors with the certificate validity or trust status. Leave unpopulated if the validity or trust of the certificate was unchecked.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "subject_name": { + "description": "Subject name of the code signer", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "team_id": { + "description": "The team identifier used to sign the process. This is used to identify the team or vendor of a software product. The field is relevant to Apple *OS only.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "trusted": { + "description": "Stores the trust status of the certificate chain. Validating the trust of the certificate chain may be complicated, and this field should only be populated by tools that actively check the status.", + "properties": { + "type": { + "$ref": "#/definitions/types/boolean" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "valid": { + "description": "Boolean to capture if the digital signature is verified against the binary content. Leave unpopulated if a certificate was unchecked.", + "properties": { + "type": { + "$ref": "#/definitions/types/boolean" + } + }, + "required": [ + "type" + ], + "type": "object" + } + } + }, + "type": "object" + } + }, + "hash": { + "properties": { + "properties": { + "properties": { + "md5": { + "description": "MD5 hash.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "sha1": { + "description": "SHA1 hash.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "sha256": { + "description": "SHA256 hash.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "sha512": { + "description": "SHA512 hash.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "ssdeep": { + "description": "SSDEEP hash.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + } + }, + "type": "object" + } + }, + "name": { + "description": "Name of the library. This generally maps to the name of the file on disk.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "path": { + "description": "Full file path of the library.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "pe": { + "properties": { + "properties": { + "properties": { + "architecture": { + "description": "CPU architecture target for the file.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "authentihash": { + "description": "Authentihash of the PE file.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "company": { + "description": "Internal company name of the file, provided at compile-time.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "compile_timestamp": { + "description": "Compile timestamp of the PE file.", + "properties": { + "type": { + "$ref": "#/definitions/types/date" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "compiler": { + "properties": { + "properties": { + "properties": { + "name": { + "description": "Name of the compiler", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "version": { + "description": "Version of the compiler.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + } + }, + "type": "object" + } + }, + "creation_date": { + "description": "Extracted when possible from the file's metadata. Indicates when it was built or compiled. It can also be faked by malware creators.", + "properties": { + "type": { + "$ref": "#/definitions/types/date" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "debug": { + "description": "An array containing an object for each debug entry, if present. The expected fields for this nested object fall under the `debug.` prefix.", + "properties": { + "properties": { + "properties": { + "offset": { + "description": "Debug offset information.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "size": { + "description": "Size of the debug information.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "timestamp": { + "description": "Timestamp of the debug information.", + "properties": { + "type": { + "$ref": "#/definitions/types/date" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "type": { + "description": "Information type generated by the debug options.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + } + }, + "type": { + "$ref": "#/definitions/types/nested" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "description": { + "description": "Internal description of the file, provided at compile-time.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "entry_point": { + "description": "Relative byte offset to the base of the PE file.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "exports": { + "description": "List of symbols exported by PE", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "file_version": { + "description": "Internal version of the file, provided at compile-time.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "icon": { + "properties": { + "properties": { + "properties": { + "hash": { + "properties": { + "properties": { + "properties": { + "dhash": { + "description": "Difference Hash (dhash) to find files with a visually similar icon or thumbnail.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + } + }, + "type": "object" + } + } + } + }, + "type": "object" + } + }, + "imphash": { + "description": "A hash of the imports in a PE file. An imphash -- or import hash -- can be used to fingerprint binaries even after recompilation or other code-level transformations have occurred, which would change more traditional hash values. Learn more at https://www.fireeye.com/blog/threat-research/2014/01/tracking-malware-import-hashing.html.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "imports": { + "description": "List of all imported functions", + "properties": { + "type": { + "$ref": "#/definitions/types/flattened" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "machine_type": { + "description": "Machine type of the PE file.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "original_file_name": { + "description": "Internal name of the file, provided at compile-time.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "packers": { + "description": "List of packers and tools used.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "product": { + "description": "Internal product name of the file, provided at compile-time.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "resources": { + "description": "An array containing an object for each PE resource, if present. The expected fields for this nested object fall under the `resources.` prefix.", + "properties": { + "properties": { + "properties": { + "chi2": { + "description": "Chi-square probability distribution.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "entropy": { + "description": "Measurement of entropy randomness in the resources section.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "filetype": { + "description": "File type of the resources section.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "language": { + "description": "Language identification.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "sha256": { + "description": "SHA256 hash of resources section.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "type": { + "description": "Digest of resource types.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + } + }, + "type": { + "$ref": "#/definitions/types/nested" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "rich_header": { + "properties": { + "properties": { + "properties": { + "hash": { + "properties": { + "properties": { + "properties": { + "md5": { + "description": "MD5 hash of the header for the PE file.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + } + }, + "type": "object" + } + } + } + }, + "type": "object" + } + }, + "sections": { + "description": "Data about sections of compiled binary PE", + "properties": { + "properties": { + "properties": { + "chi2": { + "description": "Chi-square probability distribution.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "entropy": { + "description": "Measurement of entropy randomness in the file.", + "properties": { + "type": { + "$ref": "#/definitions/types/float" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "flags": { + "description": "Section flags of the file.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "name": { + "description": "Section names of the file.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "raw_size": { + "description": "Size of the section or the dize of the initialized data on disk.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "virtual_address": { + "description": "Virtual address available to the file.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + } + } + }, + "type": { + "$ref": "#/definitions/types/nested" + } + }, + "required": [ + "type" + ], + "type": "object" + } + } + }, + "type": "object" + } + } + } + }, + "type": "object" + }, + "type": "object" + }, + "dns": { + "description": "Fields describing DNS queries and answers.\nDNS events should either represent a single DNS query prior to getting answers (`dns.type:query`) or they should represent a full exchange and contain the query details as well as all of the answers that were provided for this query (`dns.type:answer`).", + "properties": { + "properties": { + "properties": { + "answers": { + "description": "An array containing an object for each answer section returned by the server. The main keys that should be present in these objects are defined by ECS. Records that have more information may contain more keys than what ECS defines. Not all DNS data sources give all details about DNS answers. At minimum, answer objects must contain the `data` key. If more information is available, map as much of it to ECS as possible, and add any additional fields to the answer objects as custom fields.", + "properties": { + "properties": { + "properties": { + "class": { + "description": "The class of DNS data contained in this resource record.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "data": { + "description": "The data describing the resource. The meaning of this data depends on the type and class of the resource record.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "name": { + "description": "The domain name to which this resource record pertains. If a chain of CNAME is being resolved, each answer's `name` should be the one that corresponds with the answer's `data`. It should not simply be the original `question.name` repeated.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "ttl": { + "description": "The time interval in seconds that this resource record may be cached before it should be discarded. Zero values mean that the data should not be cached.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "type": { + "description": "The type of data contained in this resource record.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + } + }, + "type": { + "$ref": "#/definitions/types/object" + } + }, + "type": "object" + }, + "header_flags": { + "description": "Array of 2 letter DNS header flags. Expected values are: AA, TC, RD, RA, AD, CD, DO.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "id": { + "description": "The DNS packet identifier assigned by the program that generated the query. The identifier is copied to the response.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "op_code": { + "description": "The DNS operation code that specifies the kind of query in the message. This value is set by the originator of a query and copied into the response.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "question": { + "properties": { + "properties": { + "properties": { + "class": { + "description": "The class of records being queried.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "name": { + "description": "The name being queried. If the name field contains non-printable characters (below 32 or above 126), those characters should be represented as escaped base 10 integers (\\DDD). Back slashes and quotes should be escaped. Tabs, carriage returns, and line feeds should be converted to \\t, \\r, and \\n respectively.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "registered_domain": { + "description": "The highest registered domain, stripped of the subdomain. For example, the registered domain for \"foo.example.com\" is \"example.com\". This value can be determined precisely with a list like the public suffix list (http://publicsuffix.org). Trying to approximate this by simply taking the last two labels will not work well for TLDs such as \"co.uk\".", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "subdomain": { + "description": "The subdomain is all of the labels under the registered_domain. If the domain has multiple levels of subdomain, such as \"sub2.sub1.example.com\", the subdomain field should contain \"sub2.sub1\", with no trailing period.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "top_level_domain": { + "description": "The effective top level domain (eTLD), also known as the domain suffix, is the last part of the domain name. For example, the top level domain for example.com is \"com\". This value can be determined precisely with a list like the public suffix list (http://publicsuffix.org). Trying to approximate this by simply taking the last label will not work well for effective TLDs such as \"co.uk\".", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "type": { + "description": "The type of record being queried.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + } + }, + "type": "object" + } + }, + "resolved_ip": { + "description": "Array containing all IPs seen in `answers.data`. The `answers` array can be difficult to use, because of the variety of data formats it can contain. Extracting all IP addresses seen in there to `dns.resolved_ip` makes it possible to index them as IP addresses, and makes them easier to visualize and query for.", + "properties": { + "type": { + "$ref": "#/definitions/types/ip" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "response_code": { + "description": "The DNS response code.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "type": { + "description": "The type of DNS event captured, query or answer. If your source of DNS events only gives you DNS queries, you should only create dns events of type `dns.type:query`. If your source of DNS events gives you answers as well, you should create one event per query (optionally as soon as the query is seen). And a second event containing all query details as well as an array of answers.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + } + }, + "type": "object" + }, + "type": "object" + }, + "ecs": { + "description": "Meta-information specific to ECS.", + "properties": { + "properties": { + "properties": { + "version": { + "description": "ECS version this event conforms to. `ecs.version` is a required field and must exist in all events. When querying across multiple indices -- which may conform to slightly different ECS versions -- this field lets integrations adjust to the schema version of the events.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + } + }, + "type": "object" + }, + "type": "object" + }, + "error": { + "description": "These fields can represent errors of any kind.\nUse them for errors that happen while fetching events or in cases where the event itself contains an error.", + "properties": { + "properties": { + "properties": { + "code": { + "description": "Error code describing the error.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "id": { + "description": "Unique identifier for the error.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "message": { + "description": "Error message.", + "properties": { + "type": { + "$ref": "#/definitions/types/text" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "stack_trace": { + "description": "The stack trace of this error in plain text.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "type": { + "description": "The type of the error, for example the class name of the exception.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + } + } + }, + "type": "object" + }, + "type": "object" + }, + "event": { + "description": "The event fields are used for context information about the log or metric event itself.\nA log is defined as an event containing details of something that happened. Log events must include the time at which the thing happened. Examples of log events include a process starting on a host, a network packet being sent from a source to a destination, or a network connection between a client and a server being initiated or closed. A metric is defined as an event containing one or more numerical measurements and the time at which the measurement was taken. Examples of metric events include memory pressure measured on a host and device temperature. See the `event.kind` definition in this section for additional details about metric and state events.", + "properties": { + "properties": { + "properties": { + "action": { + "description": "The action captured by the event. This describes the information in the event. It is more specific than `event.category`. Examples are `group-add`, `process-started`, `file-created`. The value is normally defined by the implementer.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "category": { + "description": "This is one of four ECS Categorization Fields, and indicates the second level in the ECS category hierarchy. `event.category` represents the \"big buckets\" of ECS categories. For example, filtering on `event.category:process` yields all events relating to process activity. This field is closely related to `event.type`, which is used as a subcategory. This field is an array. This will allow proper categorization of some events that fall in multiple categories.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "code": { + "description": "Identification code for this event, if one exists. Some event sources use event codes to identify messages unambiguously, regardless of message language or wording adjustments over time. An example of this is the Windows Event ID.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "created": { + "description": "event.created contains the date/time when the event was first read by an agent, or by your pipeline. This field is distinct from @timestamp in that @timestamp typically contain the time extracted from the original event. In most situations, these two timestamps will be slightly different. The difference can be used to calculate the delay between your source generating an event, and the time when your agent first processed it. This can be used to monitor your agent's or pipeline's ability to keep up with your event source. In case the two timestamps are identical, @timestamp should be used.", + "properties": { + "type": { + "$ref": "#/definitions/types/date" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "dataset": { + "description": "Name of the dataset. If an event source publishes more than one type of log or events (e.g. access log, error log), the dataset is used to specify which one the event comes from. It's recommended but not required to start the dataset name with the module name, followed by a dot, then the dataset name.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "duration": { + "description": "Duration of the event in nanoseconds. If event.start and event.end are known this value should be the difference between the end and start time.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "end": { + "description": "event.end contains the date when the event ended or when the activity was last observed.", + "properties": { + "type": { + "$ref": "#/definitions/types/date" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "hash": { + "description": "Hash (perhaps logstash fingerprint) of raw field to be able to demonstrate log integrity.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "id": { + "description": "Unique ID to describe the event.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "ingested": { + "description": "Timestamp when an event arrived in the central data store. This is different from `@timestamp`, which is when the event originally occurred. It's also different from `event.created`, which is meant to capture the first time an agent saw the event. In normal conditions, assuming no tampering, the timestamps should chronologically look like this: `@timestamp` < `event.created` < `event.ingested`.", + "properties": { + "type": { + "$ref": "#/definitions/types/date" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "kind": { + "description": "This is one of four ECS Categorization Fields, and indicates the highest level in the ECS category hierarchy. `event.kind` gives high-level information about what type of information the event contains, without being specific to the contents of the event. For example, values of this field distinguish alert events from metric events. The value of this field can be used to inform how these kinds of events should be handled. They may warrant different retention, different access control, it may also help understand whether the data coming in at a regular interval or not.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "module": { + "description": "Name of the module this data is coming from. If your monitoring agent supports the concept of modules or plugins to process events of a given source (e.g. Apache logs), `event.module` should contain the name of this module.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "original": { + "description": "Raw text message of entire event. Used to demonstrate log integrity. This field is not indexed and doc_values are disabled. It cannot be searched, but it can be retrieved from `_source`. If users wish to override this and index this field, consider using the wildcard data type.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "outcome": { + "description": "This is one of four ECS Categorization Fields, and indicates the lowest level in the ECS category hierarchy. `event.outcome` simply denotes whether the event represents a success or a failure from the perspective of the entity that produced the event. Note that when a single transaction is described in multiple events, each event may populate different values of `event.outcome`, according to their perspective. Also note that in the case of a compound event (a single event that contains multiple logical events), this field should be populated with the value that best captures the overall success or failure from the perspective of the event producer. Further note that not all events will have an associated outcome. For example, this field is generally not populated for metric events, events with `event.type:info`, or any events for which an outcome does not make logical sense.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "provider": { + "description": "Source of the event. Event transports such as Syslog or the Windows Event Log typically mention the source of an event. It can be the name of the software that generated the event (e.g. Sysmon, httpd), or of a subsystem of the operating system (kernel, Microsoft-Windows-Security-Auditing).", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "reason": { + "description": "Reason why this event happened, according to the source. This describes the why of a particular action or outcome captured in the event. Where `event.action` captures the action from the event, `event.reason` describes why that action was taken. For example, a web proxy with an `event.action` which denied the request may also populate `event.reason` with the reason why (e.g. `blocked site`).", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "reference": { + "description": "Reference URL linking to additional information about this event. This URL links to a static definition of this event. Alert events, indicated by `event.kind:alert`, are a common use case for this field.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "risk_score": { + "description": "Risk score or priority of the event (e.g. security solutions). Use your system's original value here.", + "properties": { + "type": { + "$ref": "#/definitions/types/float" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "risk_score_norm": { + "description": "Normalized risk score or priority of the event, on a scale of 0 to 100. This is mainly useful if you use more than one system that assigns risk scores, and you want to see a normalized value across all systems.", + "properties": { + "type": { + "$ref": "#/definitions/types/float" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "sequence": { + "description": "Sequence number of the event. The sequence number is a value published by some event sources, to make the exact ordering of events unambiguous, regardless of the timestamp precision.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "severity": { + "description": "The numeric severity of the event according to your event source. What the different severity values mean can be different between sources and use cases. It's up to the implementer to make sure severities are consistent across events from the same source. The Syslog severity belongs in `log.syslog.severity.code`. `event.severity` is meant to represent the severity according to the event source (e.g. firewall, IDS). If the event source does not publish its own severity, you may optionally copy the `log.syslog.severity.code` to `event.severity`.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "start": { + "description": "event.start contains the date when the event started or when the activity was first observed.", + "properties": { + "type": { + "$ref": "#/definitions/types/date" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "timezone": { + "description": "This field should be populated when the event's timestamp does not include timezone information already (e.g. default Syslog timestamps). It's optional otherwise. Acceptable timezone formats are: a canonical ID (e.g. \"Europe/Amsterdam\"), abbreviated (e.g. \"EST\") or an HH:mm differential (e.g. \"-05:00\").", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "type": { + "description": "This is one of four ECS Categorization Fields, and indicates the third level in the ECS category hierarchy. `event.type` represents a categorization \"sub-bucket\" that, when used along with the `event.category` field values, enables filtering events down to a level appropriate for single visualization. This field is an array. This will allow proper categorization of some events that fall in multiple event types.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "url": { + "description": "URL linking to an external system to continue investigation of this event. This URL links to another system where in-depth investigation of the specific occurrence of this event can take place. Alert events, indicated by `event.kind:alert`, are a common use case for this field.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + } + }, + "type": "object" + }, + "type": "object" + }, + "file": { + "description": "A file is defined as a set of information that has been created on, or has existed on a filesystem.\nFile 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.", + "properties": { + "properties": { + "properties": { + "accessed": { + "description": "Last time the file was accessed. Note that not all filesystems keep track of access time.", + "properties": { + "type": { + "$ref": "#/definitions/types/date" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "attributes": { + "description": "Array of file attributes. Attributes names will vary by platform. Here's a non-exhaustive list of values that are expected in this field: archive, compressed, directory, encrypted, execute, hidden, read, readonly, system, write.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "code_signature": { + "properties": { + "properties": { + "properties": { + "exists": { + "description": "Boolean to capture if a signature is present.", + "properties": { + "type": { + "$ref": "#/definitions/types/boolean" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "signing_id": { + "description": "The identifier used to sign the process. This is used to identify the application manufactured by a software vendor. The field is relevant to Apple *OS only.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "status": { + "description": "Additional information about the certificate status. This is useful for logging cryptographic errors with the certificate validity or trust status. Leave unpopulated if the validity or trust of the certificate was unchecked.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "subject_name": { + "description": "Subject name of the code signer", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "team_id": { + "description": "The team identifier used to sign the process. This is used to identify the team or vendor of a software product. The field is relevant to Apple *OS only.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "trusted": { + "description": "Stores the trust status of the certificate chain. Validating the trust of the certificate chain may be complicated, and this field should only be populated by tools that actively check the status.", + "properties": { + "type": { + "$ref": "#/definitions/types/boolean" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "valid": { + "description": "Boolean to capture if the digital signature is verified against the binary content. Leave unpopulated if a certificate was unchecked.", + "properties": { + "type": { + "$ref": "#/definitions/types/boolean" + } + }, + "required": [ + "type" + ], + "type": "object" + } + } + }, + "type": "object" + } + }, + "created": { + "description": "File creation time. Note that not all filesystems store the creation time.", + "properties": { + "type": { + "$ref": "#/definitions/types/date" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "ctime": { + "description": "Last time the file attributes or metadata changed. Note that changes to the file content will update `mtime`. This implies `ctime` will be adjusted at the same time, since `mtime` is an attribute of the file.", + "properties": { + "type": { + "$ref": "#/definitions/types/date" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "device": { + "description": "Device that is the source of the file.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "directory": { + "description": "Directory where the file is located. It should include the drive letter, when appropriate.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "drive_letter": { + "description": "Drive letter where the file is located. This field is only relevant on Windows. The value should be uppercase, and not include the colon.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "elf": { + "properties": { + "properties": { + "properties": { + "architecture": { + "description": "Machine architecture of the ELF file.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "byte_order": { + "description": "Byte sequence of ELF file.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "cpu_type": { + "description": "CPU type of the ELF file.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "creation_date": { + "description": "Extracted when possible from the file's metadata. Indicates when it was built or compiled. It can also be faked by malware creators.", + "properties": { + "type": { + "$ref": "#/definitions/types/date" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "exports": { + "description": "List of exported element names and types.", + "properties": { + "type": { + "$ref": "#/definitions/types/flattened" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "header": { + "properties": { + "properties": { + "properties": { + "abi_version": { + "description": "Version of the ELF Application Binary Interface (ABI).", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "class": { + "description": "Header class of the ELF file.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "data": { + "description": "Data table of the ELF header.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "entrypoint": { + "description": "Header entrypoint of the ELF file.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "object_version": { + "description": "\"0x1\" for original ELF files.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "os_abi": { + "description": "Application Binary Interface (ABI) of the Linux OS.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "type": { + "description": "Header type of the ELF file.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "version": { + "description": "Version of the ELF header.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + } + }, + "type": "object" + } + }, + "imports": { + "description": "List of imported element names and types.", + "properties": { + "type": { + "$ref": "#/definitions/types/flattened" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "sections": { + "description": "Section information of the ELF file.", + "properties": { + "properties": { + "properties": { + "chi2": { + "description": "Chi-square probability distribution of the section.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "entropy": { + "description": "Shannon entropy calculation from the section.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "flags": { + "description": "ELF Section List flags.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "name": { + "description": "ELF Section List name.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "physical_offset": { + "description": "ELF Section List offset.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "physical_size": { + "description": "ELF Section List physical size.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "type": { + "description": "ELF Section List type.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "virtual_address": { + "description": "ELF Section List virtual address.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "virtual_size": { + "description": "ELF Section List virtual size.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + } + } + }, + "type": { + "$ref": "#/definitions/types/nested" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "segments": { + "description": "ELF object segment list.", + "properties": { + "properties": { + "properties": { + "sections": { + "description": "ELF object segment sections.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "type": { + "description": "ELF object segment type.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + } + }, + "type": { + "$ref": "#/definitions/types/nested" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "shared_libraries": { + "description": "List of shared libraries used by this ELF object", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "telfhash": { + "description": "telfhash is symbol hash for ELF files, just like imphash is imports hash for PE files. Learn more at https://github.com/trendmicro/telfhash.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + } + }, + "type": "object" + } + }, + "extension": { + "description": "File extension, excluding the leading dot. Note that when the file name has multiple extensions (example.tar.gz), only the last one should be captured (\"gz\", not \"tar.gz\").", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "gid": { + "description": "Primary group ID (GID) of the file.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "group": { + "description": "Primary group name of the file.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "hash": { + "properties": { + "properties": { + "properties": { + "md5": { + "description": "MD5 hash.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "sha1": { + "description": "SHA1 hash.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "sha256": { + "description": "SHA256 hash.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "sha512": { + "description": "SHA512 hash.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "ssdeep": { + "description": "SSDEEP hash.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + } + }, + "type": "object" + } + }, + "inode": { + "description": "Inode representing the file in the filesystem.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "mime_type": { + "description": "MIME type should identify the format of the file or stream of bytes using https://www.iana.org/assignments/media-types/media-types.xhtml[IANA official types], where possible. When more than one type is applicable, the most specific type should be used.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "mode": { + "description": "Mode of the file in octal representation.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "mtime": { + "description": "Last time the file content was modified.", + "properties": { + "type": { + "$ref": "#/definitions/types/date" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "name": { + "description": "Name of the file including the extension, without the directory.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "owner": { + "description": "File owner's username.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "path": { + "description": "Full path to the file, including the file name. It should include the drive letter, when appropriate.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "pe": { + "properties": { + "properties": { + "properties": { + "architecture": { + "description": "CPU architecture target for the file.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "authentihash": { + "description": "Authentihash of the PE file.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "company": { + "description": "Internal company name of the file, provided at compile-time.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "compile_timestamp": { + "description": "Compile timestamp of the PE file.", + "properties": { + "type": { + "$ref": "#/definitions/types/date" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "compiler": { + "properties": { + "properties": { + "properties": { + "name": { + "description": "Name of the compiler", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "version": { + "description": "Version of the compiler.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + } + }, + "type": "object" + } + }, + "creation_date": { + "description": "Extracted when possible from the file's metadata. Indicates when it was built or compiled. It can also be faked by malware creators.", + "properties": { + "type": { + "$ref": "#/definitions/types/date" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "debug": { + "description": "An array containing an object for each debug entry, if present. The expected fields for this nested object fall under the `debug.` prefix.", + "properties": { + "properties": { + "properties": { + "offset": { + "description": "Debug offset information.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "size": { + "description": "Size of the debug information.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "timestamp": { + "description": "Timestamp of the debug information.", + "properties": { + "type": { + "$ref": "#/definitions/types/date" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "type": { + "description": "Information type generated by the debug options.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + } + }, + "type": { + "$ref": "#/definitions/types/nested" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "description": { + "description": "Internal description of the file, provided at compile-time.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "entry_point": { + "description": "Relative byte offset to the base of the PE file.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "exports": { + "description": "List of symbols exported by PE", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "file_version": { + "description": "Internal version of the file, provided at compile-time.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "icon": { + "properties": { + "properties": { + "properties": { + "hash": { + "properties": { + "properties": { + "properties": { + "dhash": { + "description": "Difference Hash (dhash) to find files with a visually similar icon or thumbnail.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + } + }, + "type": "object" + } + } + } + }, + "type": "object" + } + }, + "imphash": { + "description": "A hash of the imports in a PE file. An imphash -- or import hash -- can be used to fingerprint binaries even after recompilation or other code-level transformations have occurred, which would change more traditional hash values. Learn more at https://www.fireeye.com/blog/threat-research/2014/01/tracking-malware-import-hashing.html.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "imports": { + "description": "List of all imported functions", + "properties": { + "type": { + "$ref": "#/definitions/types/flattened" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "machine_type": { + "description": "Machine type of the PE file.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "original_file_name": { + "description": "Internal name of the file, provided at compile-time.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "packers": { + "description": "List of packers and tools used.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "product": { + "description": "Internal product name of the file, provided at compile-time.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "resources": { + "description": "An array containing an object for each PE resource, if present. The expected fields for this nested object fall under the `resources.` prefix.", + "properties": { + "properties": { + "properties": { + "chi2": { + "description": "Chi-square probability distribution.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "entropy": { + "description": "Measurement of entropy randomness in the resources section.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "filetype": { + "description": "File type of the resources section.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "language": { + "description": "Language identification.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "sha256": { + "description": "SHA256 hash of resources section.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "type": { + "description": "Digest of resource types.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + } + }, + "type": { + "$ref": "#/definitions/types/nested" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "rich_header": { + "properties": { + "properties": { + "properties": { + "hash": { + "properties": { + "properties": { + "properties": { + "md5": { + "description": "MD5 hash of the header for the PE file.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + } + }, + "type": "object" + } + } + } + }, + "type": "object" + } + }, + "sections": { + "description": "Data about sections of compiled binary PE", + "properties": { + "properties": { + "properties": { + "chi2": { + "description": "Chi-square probability distribution.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "entropy": { + "description": "Measurement of entropy randomness in the file.", + "properties": { + "type": { + "$ref": "#/definitions/types/float" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "flags": { + "description": "Section flags of the file.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "name": { + "description": "Section names of the file.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "raw_size": { + "description": "Size of the section or the dize of the initialized data on disk.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "virtual_address": { + "description": "Virtual address available to the file.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + } + } + }, + "type": { + "$ref": "#/definitions/types/nested" + } + }, + "required": [ + "type" + ], + "type": "object" + } + } + }, + "type": "object" + } + }, + "size": { + "description": "File size in bytes. Only relevant when `file.type` is \"file\".", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "target_path": { + "description": "Target path for symlinks.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "type": { + "description": "File type (file, dir, or symlink).", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "uid": { + "description": "The user ID (UID) or security identifier (SID) of the file owner.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "x509": { + "properties": { + "properties": { + "properties": { + "alternative_names": { + "description": "List of subject alternative names (SAN). Name types vary by certificate authority and certificate type but commonly contain IP addresses, DNS names (and wildcards), and email addresses.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "issuer": { + "properties": { + "properties": { + "properties": { + "common_name": { + "description": "List of common name (CN) of issuing certificate authority.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "country": { + "description": "List of country (C) codes", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "distinguished_name": { + "description": "Distinguished name (DN) of issuing certificate authority.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "locality": { + "description": "List of locality names (L)", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "organization": { + "description": "List of organizations (O) of issuing certificate authority.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "organizational_unit": { + "description": "List of organizational units (OU) of issuing certificate authority.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "state_or_province": { + "description": "List of state or province names (ST, S, or P)", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + } + }, + "type": "object" + } + }, + "not_after": { + "description": "Time at which the certificate is no longer considered valid.", + "properties": { + "type": { + "$ref": "#/definitions/types/date" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "not_before": { + "description": "Time at which the certificate is first considered valid.", + "properties": { + "type": { + "$ref": "#/definitions/types/date" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "public_key_algorithm": { + "description": "Algorithm used to generate the public key.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "public_key_curve": { + "description": "The curve used by the elliptic curve public key algorithm. This is algorithm specific.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "public_key_exponent": { + "description": "Exponent used to derive the public key. This is algorithm specific.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "public_key_size": { + "description": "The size of the public key space in bits.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "serial_number": { + "description": "Unique serial number issued by the certificate authority. For consistency, if this value is alphanumeric, it should be formatted without colons and uppercase characters.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "signature_algorithm": { + "description": "Identifier for certificate signature algorithm. We recommend using names found in Go Lang Crypto library. See https://github.com/golang/go/blob/go1.14/src/crypto/x509/x509.go#L337-L353.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "subject": { + "properties": { + "properties": { + "properties": { + "common_name": { + "description": "List of common names (CN) of subject.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "country": { + "description": "List of country (C) code", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "distinguished_name": { + "description": "Distinguished name (DN) of the certificate subject entity.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "locality": { + "description": "List of locality names (L)", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "organization": { + "description": "List of organizations (O) of subject.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "organizational_unit": { + "description": "List of organizational units (OU) of subject.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "state_or_province": { + "description": "List of state or province names (ST, S, or P)", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + } + }, + "type": "object" + } + }, + "version_number": { + "description": "Version of x509 format.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + } + }, + "type": "object" + } + } + } + }, + "type": "object" + }, + "type": "object" + }, + "group": { + "description": "The group fields are meant to represent groups that are relevant to the event.", + "properties": { + "properties": { + "properties": { + "domain": { + "description": "Name of the directory the group is a member of. For example, an LDAP or Active Directory domain name.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "id": { + "description": "Unique identifier for the group on the system/platform.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "name": { + "description": "Name of the group.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + } + }, + "type": "object" + }, + "type": "object" + }, + "host": { + "description": "A host is defined as a general computing instance.\nECS 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.", + "properties": { + "properties": { + "properties": { + "architecture": { + "description": "Operating system architecture.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "cpu": { + "properties": { + "properties": { + "properties": { + "usage": { + "description": "Percent CPU used which is normalized by the number of CPU cores and it ranges from 0 to 1. Scaling factor: 1000. For example: For a two core host, this value should be the average of the two cores, between 0 and 1.", + "properties": { + "type": { + "$ref": "#/definitions/types/scaled_float" + } + }, + "required": [ + "type" + ], + "type": "object" + } + } + }, + "type": "object" + } + }, + "disk": { + "properties": { + "properties": { + "properties": { + "read": { + "properties": { + "properties": { + "properties": { + "bytes": { + "description": "The total number of bytes (gauge) read successfully (aggregated from all disks) since the last metric collection.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + } + } + }, + "type": "object" + } + }, + "write": { + "properties": { + "properties": { + "properties": { + "bytes": { + "description": "The total number of bytes (gauge) written successfully (aggregated from all disks) since the last metric collection.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + } + } + }, + "type": "object" + } + } + } + }, + "type": "object" + } + }, + "domain": { + "description": "Name of the domain of which the host is a member. 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.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "geo": { + "properties": { + "properties": { + "properties": { + "city_name": { + "description": "City name.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "continent_code": { + "description": "Two-letter code representing continent's name.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "continent_name": { + "description": "Name of the continent.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "country_iso_code": { + "description": "Country ISO code.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "country_name": { + "description": "Country name.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "location": { + "description": "Longitude and latitude.", + "properties": { + "type": { + "$ref": "#/definitions/types/geo_point" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "name": { + "description": "User-defined description of a location, at the level of granularity they care about. Could be the name of their data centers, the floor number, if this describes a local physical entity, city names. Not typically used in automated geolocation.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "postal_code": { + "description": "Postal code associated with the location. Values appropriate for this field may also be known as a postcode or ZIP code and will vary widely from country to country.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "region_iso_code": { + "description": "Region ISO code.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "region_name": { + "description": "Region name.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "timezone": { + "description": "The time zone of the location, such as IANA time zone name.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + } + }, + "type": "object" + } + }, + "hostname": { + "description": "Hostname of the host. It normally contains what the `hostname` command returns on the host machine.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "id": { + "description": "Unique host id. As hostname is not always unique, use values that are meaningful in your environment. Example: The current usage of `beat.name`.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "ip": { + "description": "Host ip addresses.", + "properties": { + "type": { + "$ref": "#/definitions/types/ip" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "mac": { + "description": "Host MAC addresses. The notation format from RFC 7042 is suggested: Each octet (that is, 8-bit byte) is represented by two [uppercase] hexadecimal digits giving the value of the octet as an unsigned integer. Successive octets are separated by a hyphen.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "name": { + "description": "Name of the host. It can contain what `hostname` returns on Unix systems, the fully qualified domain name, or a name specified by the user. The sender decides which value to use.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "network": { + "properties": { + "properties": { + "properties": { + "egress": { + "properties": { + "properties": { + "properties": { + "bytes": { + "description": "The number of bytes (gauge) sent out on all network interfaces by the host since the last metric collection.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "packets": { + "description": "The number of packets (gauge) sent out on all network interfaces by the host since the last metric collection.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + } + } + }, + "type": "object" + } + }, + "ingress": { + "properties": { + "properties": { + "properties": { + "bytes": { + "description": "The number of bytes received (gauge) on all network interfaces by the host since the last metric collection.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "packets": { + "description": "The number of packets (gauge) received on all network interfaces by the host since the last metric collection.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + } + } + }, + "type": "object" + } + } + } + }, + "type": "object" + } + }, + "os": { + "properties": { + "properties": { + "properties": { + "family": { + "description": "OS family (such as redhat, debian, freebsd, windows).", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "full": { + "description": "Operating system name, including the version or code name.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "kernel": { + "description": "Operating system kernel version as a raw string.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "name": { + "description": "Operating system name, without the version.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "platform": { + "description": "Operating system platform (such centos, ubuntu, windows).", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "type": { + "description": "Use the `os.type` field to categorize the operating system into one of the broad commercial families. One of these following values should be used (lowercase): linux, macos, unix, windows. If the OS you're dealing with is not in the list, the field should not be populated. Please let us know by opening an issue with ECS, to propose its addition.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "version": { + "description": "Operating system version as a raw string.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + } + }, + "type": "object" + } + }, + "type": { + "description": "Type of host. For Cloud providers this can be the machine type like `t2.medium`. If vm, this could be the container, for example, or other information meaningful in your environment.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "uptime": { + "description": "Seconds the host has been up.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "user": { + "properties": { + "properties": { + "properties": { + "domain": { + "description": "Name of the directory the user is a member of. For example, an LDAP or Active Directory domain name.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "email": { + "description": "User email address.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "full_name": { + "description": "User's full name, if available.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "group": { + "properties": { + "properties": { + "properties": { + "domain": { + "description": "Name of the directory the group is a member of. For example, an LDAP or Active Directory domain name.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "id": { + "description": "Unique identifier for the group on the system/platform.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "name": { + "description": "Name of the group.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + } + }, + "type": "object" + } + }, + "hash": { + "description": "Unique user hash to correlate information for a user in anonymized form. Useful if `user.id` or `user.name` contain confidential information and cannot be used.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "id": { + "description": "Unique identifier of the user.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "name": { + "description": "Short name or login of the user.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "roles": { + "description": "Array of user roles at the time of the event.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + } + }, + "type": "object" + } + } + } + }, + "type": "object" + }, + "type": "object" + }, + "http": { + "description": "Fields related to HTTP activity. Use the `url` field set to store the url of the request.", + "properties": { + "properties": { + "properties": { + "request": { + "properties": { + "properties": { + "properties": { + "body": { + "properties": { + "properties": { + "properties": { + "bytes": { + "description": "Size in bytes of the request body.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "content": { + "description": "The full HTTP request body.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + } + } + }, + "type": "object" + } + }, + "bytes": { + "description": "Total size in bytes of the request (body and headers).", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "id": { + "description": "A unique identifier for each HTTP request to correlate logs between clients and servers in transactions. The id may be contained in a non-standard HTTP header, such as `X-Request-ID` or `X-Correlation-ID`.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "method": { + "description": "HTTP request method. Prior to ECS 1.6.0 the following guidance was provided: \"The field value must be normalized to lowercase for querying.\" As of ECS 1.6.0, the guidance is deprecated because the original case of the method may be useful in anomaly detection. Original case will be mandated in ECS 2.0.0", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "mime_type": { + "description": "Mime type of the body of the request. This value must only be populated based on the content of the request body, not on the `Content-Type` header. Comparing the mime type of a request with the request's Content-Type header can be helpful in detecting threats or misconfigured clients.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "referrer": { + "description": "Referrer for this HTTP request.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + } + } + }, + "type": "object" + } + }, + "response": { + "properties": { + "properties": { + "properties": { + "body": { + "properties": { + "properties": { + "properties": { + "bytes": { + "description": "Size in bytes of the response body.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "content": { + "description": "The full HTTP response body.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + } + } + }, + "type": "object" + } + }, + "bytes": { + "description": "Total size in bytes of the response (body and headers).", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "mime_type": { + "description": "Mime type of the body of the response. This value must only be populated based on the content of the response body, not on the `Content-Type` header. Comparing the mime type of a response with the response's Content-Type header can be helpful in detecting misconfigured servers.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "status_code": { + "description": "HTTP response status code.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + } + } + }, + "type": "object" + } + }, + "version": { + "description": "HTTP version.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + } + }, + "type": "object" + }, + "type": "object" + }, + "labels": { + "description": "Custom key/value pairs. Can be used to add meta information to events. Should not contain nested objects. All values are stored as keyword. Example: `docker` and `k8s` labels.", + "properties": { + "type": { + "$ref": "#/definitions/types/object" + } + }, + "type": "object" + }, + "log": { + "description": "Details about the event's logging mechanism or logging transport.\nThe log.* fields are typically populated with details about the logging mechanism used to create and/or transport the event. For example, syslog details belong under `log.syslog.*`.\nThe details specific to your event source are typically not logged under `log.*`, but rather in `event.*` or in other ECS fields.", + "properties": { + "properties": { + "properties": { + "file": { + "properties": { + "properties": { + "properties": { + "path": { + "description": "Full path to the log file this event came from, including the file name. It should include the drive letter, when appropriate. If the event wasn't read from a log file, do not populate this field.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + } + } + }, + "type": "object" + } + }, + "level": { + "description": "Original log level of the log event. If the source of the event provides a log level or textual severity, this is the one that goes in `log.level`. If your source doesn't specify one, you may put your event transport's severity here (e.g. Syslog severity). Some examples are `warn`, `err`, `i`, `informational`.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "logger": { + "description": "The name of the logger inside an application. This is usually the name of the class which initialized the logger, or can be a custom name.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "origin": { + "properties": { + "properties": { + "properties": { + "file": { + "properties": { + "properties": { + "properties": { + "line": { + "description": "The line number of the file containing the source code which originated the log event.", + "properties": { + "type": { + "$ref": "#/definitions/types/integer" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "name": { + "description": "The name of the file containing the source code which originated the log event. Note that this field is not meant to capture the log file. The correct field to capture the log file is `log.file.path`.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + } + }, + "type": "object" + } + }, + "function": { + "description": "The name of the function or method which originated the log event.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + } + }, + "type": "object" + } + }, + "original": { + "description": "This is the original log message and contains the full log message before splitting it up in multiple parts. In contrast to the `message` field which can contain an extracted part of the log message, this field contains the original, full log message. It can have already some modifications applied like encoding or new lines removed to clean up the log message. This field is not indexed and doc_values are disabled so it can't be queried but the value can be retrieved from `_source`.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "syslog": { + "description": "The Syslog metadata of the event, if the event was transmitted via Syslog. Please see RFCs 5424 or 3164.", + "properties": { + "properties": { + "properties": { + "facility": { + "properties": { + "properties": { + "properties": { + "code": { + "description": "The Syslog numeric facility of the log event, if available. According to RFCs 5424 and 3164, this value should be an integer between 0 and 23.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "name": { + "description": "The Syslog text-based facility of the log event, if available.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + } + }, + "type": "object" + } + }, + "priority": { + "description": "Syslog numeric priority of the event, if available. According to RFCs 5424 and 3164, the priority is 8 * facility + severity. This number is therefore expected to contain a value between 0 and 191.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "severity": { + "properties": { + "properties": { + "properties": { + "code": { + "description": "The Syslog numeric severity of the log event, if available. If the event source publishing via Syslog provides a different numeric severity value (e.g. firewall, IDS), your source's numeric severity should go to `event.severity`. If the event source does not specify a distinct severity, you can optionally copy the Syslog severity to `event.severity`.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "name": { + "description": "The Syslog numeric severity of the log event, if available. If the event source publishing via Syslog provides a different severity value (e.g. firewall, IDS), your source's text severity should go to `log.level`. If the event source does not specify a distinct severity, you can optionally copy the Syslog severity to `log.level`.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + } + }, + "type": "object" + } + } + } + }, + "type": { + "$ref": "#/definitions/types/object" + } + }, + "type": "object" + } + } + }, + "type": "object" + }, + "type": "object" + }, + "message": { + "description": "For log events the message field contains the log message, optimized for viewing in a log viewer. For structured logs without an original message field, other fields can be concatenated to form a human-readable summary of the event. If multiple messages exist, they can be combined into one message.", + "properties": { + "type": { + "$ref": "#/definitions/types/text" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "network": { + "description": "The network is defined as the communication path over which a host or network event happens.\nThe network.* fields should be populated with details about the network activity associated with an event.", + "properties": { + "properties": { + "properties": { + "application": { + "description": "A name given to an application level protocol. This can be arbitrarily assigned for things like microservices, but also apply to things like skype, icq, facebook, twitter. This would be used in situations where the vendor or service can be decoded such as from the source/dest IP owners, ports, or wire format. The field value must be normalized to lowercase for querying. See the documentation section \"Implementing ECS\".", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "bytes": { + "description": "Total bytes transferred in both directions. If `source.bytes` and `destination.bytes` are known, `network.bytes` is their sum.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "community_id": { + "description": "A hash of source and destination IPs and ports, as well as the protocol used in a communication. This is a tool-agnostic standard to identify flows. Learn more at https://github.com/corelight/community-id-spec.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "direction": { + "description": "Direction of the network traffic. Recommended values are: * ingress * egress * inbound * outbound * internal * external * unknown When mapping events from a host-based monitoring context, populate this field from the host's point of view, using the values \"ingress\" or \"egress\". When mapping events from a network or perimeter-based monitoring context, populate this field from the point of view of the network perimeter, using the values \"inbound\", \"outbound\", \"internal\" or \"external\". Note that \"internal\" is not crossing perimeter boundaries, and is meant to describe communication between two hosts within the perimeter. Note also that \"external\" is meant to describe traffic between two hosts that are external to the perimeter. This could for example be useful for ISPs or VPN service providers.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "forwarded_ip": { + "description": "Host IP address when the source IP address is the proxy.", + "properties": { + "type": { + "$ref": "#/definitions/types/ip" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "iana_number": { + "description": "IANA Protocol Number (https://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml). Standardized list of protocols. This aligns well with NetFlow and sFlow related logs which use the IANA Protocol Number.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "inner": { + "description": "Network.inner fields are added in addition to network.vlan fields to describe the innermost VLAN when q-in-q VLAN tagging is present. Allowed fields include vlan.id and vlan.name. Inner vlan fields are typically used when sending traffic with multiple 802.1q encapsulations to a network sensor (e.g. Zeek, Wireshark.)", + "properties": { + "properties": { + "properties": { + "vlan": { + "properties": { + "properties": { + "properties": { + "id": { + "description": "VLAN ID as reported by the observer.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "name": { + "description": "Optional VLAN name as reported by the observer.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + } + }, + "type": "object" + } + } + } + }, + "type": { + "$ref": "#/definitions/types/object" + } + }, + "type": "object" + }, + "name": { + "description": "Name given by operators to sections of their network.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "packets": { + "description": "Total packets transferred in both directions. If `source.packets` and `destination.packets` are known, `network.packets` is their sum.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "protocol": { + "description": "L7 Network protocol name. ex. http, lumberjack, transport protocol. The field value must be normalized to lowercase for querying. See the documentation section \"Implementing ECS\".", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "transport": { + "description": "Same as network.iana_number, but instead using the Keyword name of the transport layer (udp, tcp, ipv6-icmp, etc.) The field value must be normalized to lowercase for querying. See the documentation section \"Implementing ECS\".", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "type": { + "description": "In the OSI Model this would be the Network Layer. ipv4, ipv6, ipsec, pim, etc The field value must be normalized to lowercase for querying. See the documentation section \"Implementing ECS\".", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "vlan": { + "properties": { + "properties": { + "properties": { + "id": { + "description": "VLAN ID as reported by the observer.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "name": { + "description": "Optional VLAN name as reported by the observer.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + } + }, + "type": "object" + } + } + } + }, + "type": "object" + }, + "type": "object" + }, + "observer": { + "description": "An observer is defined as a special network, security, or application device used to detect, observe, or create network, security, or application-related events and metrics.\nThis could be a custom hardware appliance or a server that has been configured to run special network, security, or application software. Examples include firewalls, web proxies, intrusion detection/prevention systems, network monitoring sensors, web application firewalls, data loss prevention systems, and APM servers. The observer.* fields shall be populated with details of the system, if any, that detects, observes and/or creates a network, security, or application event or metric. Message queues and ETL components used in processing events or metrics are not considered observers in ECS.", + "properties": { + "properties": { + "properties": { + "egress": { + "description": "Observer.egress holds information like interface number and name, vlan, and zone information to classify egress traffic. Single armed monitoring such as a network sensor on a span port should only use observer.ingress to categorize traffic.", + "properties": { + "properties": { + "properties": { + "interface": { + "properties": { + "properties": { + "properties": { + "alias": { + "description": "Interface alias as reported by the system, typically used in firewall implementations for e.g. inside, outside, or dmz logical interface naming.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "id": { + "description": "Interface ID as reported by an observer (typically SNMP interface ID).", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "name": { + "description": "Interface name as reported by the system.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + } + }, + "type": "object" + } + }, + "vlan": { + "properties": { + "properties": { + "properties": { + "id": { + "description": "VLAN ID as reported by the observer.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "name": { + "description": "Optional VLAN name as reported by the observer.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + } + }, + "type": "object" + } + }, + "zone": { + "description": "Network zone of outbound traffic as reported by the observer to categorize the destination area of egress traffic, e.g. Internal, External, DMZ, HR, Legal, etc.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + } + }, + "type": { + "$ref": "#/definitions/types/object" + } + }, + "type": "object" + }, + "geo": { + "properties": { + "properties": { + "properties": { + "city_name": { + "description": "City name.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "continent_code": { + "description": "Two-letter code representing continent's name.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "continent_name": { + "description": "Name of the continent.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "country_iso_code": { + "description": "Country ISO code.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "country_name": { + "description": "Country name.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "location": { + "description": "Longitude and latitude.", + "properties": { + "type": { + "$ref": "#/definitions/types/geo_point" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "name": { + "description": "User-defined description of a location, at the level of granularity they care about. Could be the name of their data centers, the floor number, if this describes a local physical entity, city names. Not typically used in automated geolocation.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "postal_code": { + "description": "Postal code associated with the location. Values appropriate for this field may also be known as a postcode or ZIP code and will vary widely from country to country.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "region_iso_code": { + "description": "Region ISO code.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "region_name": { + "description": "Region name.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "timezone": { + "description": "The time zone of the location, such as IANA time zone name.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + } + }, + "type": "object" + } + }, + "hostname": { + "description": "Hostname of the observer.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "ingress": { + "description": "Observer.ingress holds information like interface number and name, vlan, and zone information to classify ingress traffic. Single armed monitoring such as a network sensor on a span port should only use observer.ingress to categorize traffic.", + "properties": { + "properties": { + "properties": { + "interface": { + "properties": { + "properties": { + "properties": { + "alias": { + "description": "Interface alias as reported by the system, typically used in firewall implementations for e.g. inside, outside, or dmz logical interface naming.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "id": { + "description": "Interface ID as reported by an observer (typically SNMP interface ID).", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "name": { + "description": "Interface name as reported by the system.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + } + }, + "type": "object" + } + }, + "vlan": { + "properties": { + "properties": { + "properties": { + "id": { + "description": "VLAN ID as reported by the observer.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "name": { + "description": "Optional VLAN name as reported by the observer.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + } + }, + "type": "object" + } + }, + "zone": { + "description": "Network zone of incoming traffic as reported by the observer to categorize the source area of ingress traffic. e.g. internal, External, DMZ, HR, Legal, etc.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + } + }, + "type": { + "$ref": "#/definitions/types/object" + } + }, + "type": "object" + }, + "ip": { + "description": "IP addresses of the observer.", + "properties": { + "type": { + "$ref": "#/definitions/types/ip" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "mac": { + "description": "MAC addresses of the observer. The notation format from RFC 7042 is suggested: Each octet (that is, 8-bit byte) is represented by two [uppercase] hexadecimal digits giving the value of the octet as an unsigned integer. Successive octets are separated by a hyphen.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "name": { + "description": "Custom name of the observer. This is a name that can be given to an observer. This can be helpful for example if multiple firewalls of the same model are used in an organization. If no custom name is needed, the field can be left empty.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "os": { + "properties": { + "properties": { + "properties": { + "family": { + "description": "OS family (such as redhat, debian, freebsd, windows).", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "full": { + "description": "Operating system name, including the version or code name.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "kernel": { + "description": "Operating system kernel version as a raw string.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "name": { + "description": "Operating system name, without the version.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "platform": { + "description": "Operating system platform (such centos, ubuntu, windows).", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "type": { + "description": "Use the `os.type` field to categorize the operating system into one of the broad commercial families. One of these following values should be used (lowercase): linux, macos, unix, windows. If the OS you're dealing with is not in the list, the field should not be populated. Please let us know by opening an issue with ECS, to propose its addition.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "version": { + "description": "Operating system version as a raw string.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + } + }, + "type": "object" + } + }, + "product": { + "description": "The product name of the observer.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "serial_number": { + "description": "Observer serial number.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "type": { + "description": "The type of the observer the data is coming from. There is no predefined list of observer types. Some examples are `forwarder`, `firewall`, `ids`, `ips`, `proxy`, `poller`, `sensor`, `APM server`.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "vendor": { + "description": "Vendor name of the observer.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "version": { + "description": "Observer version.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + } + }, + "type": "object" + }, + "type": "object" + }, + "orchestrator": { + "description": "Fields that describe the resources which container orchestrators manage or act upon.", + "properties": { + "properties": { + "properties": { + "api_version": { + "description": "API version being used to carry out the action", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "cluster": { + "properties": { + "properties": { + "properties": { + "name": { + "description": "Name of the cluster.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "url": { + "description": "URL of the API used to manage the cluster.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "version": { + "description": "The version of the cluster.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + } + }, + "type": "object" + } + }, + "namespace": { + "description": "Namespace in which the action is taking place.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "organization": { + "description": "Organization affected by the event (for multi-tenant orchestrator setups).", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "resource": { + "properties": { + "properties": { + "properties": { + "name": { + "description": "Name of the resource being acted upon.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "type": { + "description": "Type of resource being acted upon.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + } + }, + "type": "object" + } + }, + "type": { + "description": "Orchestrator cluster type (e.g. kubernetes, nomad or cloudfoundry).", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + } + }, + "type": "object" + }, + "type": "object" + }, + "organization": { + "description": "The organization fields enrich data with information about the company or entity the data is associated with.\nThese fields help you arrange or filter data stored in an index by one or multiple organizations.", + "properties": { + "properties": { + "properties": { + "id": { + "description": "Unique identifier for the organization.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "name": { + "description": "Organization name.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + } + } + }, + "type": "object" + }, + "type": "object" + }, + "package": { + "description": "These fields contain information about an installed software package. It contains general information about a package, such as name, version or size. It also contains installation details, such as time or location.", + "properties": { + "properties": { + "properties": { + "architecture": { + "description": "Package architecture.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "build_version": { + "description": "Additional information about the build version of the installed package. For example use the commit SHA of a non-released package.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "checksum": { + "description": "Checksum of the installed package for verification.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "description": { + "description": "Description of the package.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "install_scope": { + "description": "Indicating how the package was installed, e.g. user-local, global.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "installed": { + "description": "Time when package was installed.", + "properties": { + "type": { + "$ref": "#/definitions/types/date" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "license": { + "description": "License under which the package was released. Use a short name, e.g. the license identifier from SPDX License List where possible (https://spdx.org/licenses/).", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "name": { + "description": "Package name", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "path": { + "description": "Path where the package is installed.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "reference": { + "description": "Home page or reference URL of the software in this package, if available.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "size": { + "description": "Package size in bytes.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "type": { + "description": "Type of package. This should contain the package file type, rather than the package manager name. Examples: rpm, dpkg, brew, npm, gem, nupkg, jar.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "version": { + "description": "Package version", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + } + }, + "type": "object" + }, + "type": "object" + }, + "process": { + "description": "These fields contain information about a process.\nThese fields can help you correlate metrics information with a process id/name from a log message. The `process.pid` often stays in the metric itself and is copied to the global field for correlation.", + "properties": { + "properties": { + "properties": { + "args": { + "description": "Array of process arguments, starting with the absolute path to the executable. May be filtered to protect sensitive information.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "args_count": { + "description": "Length of the process.args array. This field can be useful for querying or performing bucket analysis on how many arguments were provided to start a process. More arguments may be an indication of suspicious activity.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "code_signature": { + "properties": { + "properties": { + "properties": { + "exists": { + "description": "Boolean to capture if a signature is present.", + "properties": { + "type": { + "$ref": "#/definitions/types/boolean" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "signing_id": { + "description": "The identifier used to sign the process. This is used to identify the application manufactured by a software vendor. The field is relevant to Apple *OS only.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "status": { + "description": "Additional information about the certificate status. This is useful for logging cryptographic errors with the certificate validity or trust status. Leave unpopulated if the validity or trust of the certificate was unchecked.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "subject_name": { + "description": "Subject name of the code signer", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "team_id": { + "description": "The team identifier used to sign the process. This is used to identify the team or vendor of a software product. The field is relevant to Apple *OS only.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "trusted": { + "description": "Stores the trust status of the certificate chain. Validating the trust of the certificate chain may be complicated, and this field should only be populated by tools that actively check the status.", + "properties": { + "type": { + "$ref": "#/definitions/types/boolean" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "valid": { + "description": "Boolean to capture if the digital signature is verified against the binary content. Leave unpopulated if a certificate was unchecked.", + "properties": { + "type": { + "$ref": "#/definitions/types/boolean" + } + }, + "required": [ + "type" + ], + "type": "object" + } + } + }, + "type": "object" + } + }, + "command_line": { + "description": "Full command line that started the process, including the absolute path to the executable, and all arguments. Some arguments may be filtered to protect sensitive information.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "elf": { + "properties": { + "properties": { + "properties": { + "architecture": { + "description": "Machine architecture of the ELF file.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "byte_order": { + "description": "Byte sequence of ELF file.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "cpu_type": { + "description": "CPU type of the ELF file.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "creation_date": { + "description": "Extracted when possible from the file's metadata. Indicates when it was built or compiled. It can also be faked by malware creators.", + "properties": { + "type": { + "$ref": "#/definitions/types/date" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "exports": { + "description": "List of exported element names and types.", + "properties": { + "type": { + "$ref": "#/definitions/types/flattened" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "header": { + "properties": { + "properties": { + "properties": { + "abi_version": { + "description": "Version of the ELF Application Binary Interface (ABI).", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "class": { + "description": "Header class of the ELF file.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "data": { + "description": "Data table of the ELF header.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "entrypoint": { + "description": "Header entrypoint of the ELF file.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "object_version": { + "description": "\"0x1\" for original ELF files.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "os_abi": { + "description": "Application Binary Interface (ABI) of the Linux OS.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "type": { + "description": "Header type of the ELF file.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "version": { + "description": "Version of the ELF header.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + } + }, + "type": "object" + } + }, + "imports": { + "description": "List of imported element names and types.", + "properties": { + "type": { + "$ref": "#/definitions/types/flattened" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "sections": { + "description": "Section information of the ELF file.", + "properties": { + "properties": { + "properties": { + "chi2": { + "description": "Chi-square probability distribution of the section.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "entropy": { + "description": "Shannon entropy calculation from the section.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "flags": { + "description": "ELF Section List flags.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "name": { + "description": "ELF Section List name.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "physical_offset": { + "description": "ELF Section List offset.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "physical_size": { + "description": "ELF Section List physical size.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "type": { + "description": "ELF Section List type.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "virtual_address": { + "description": "ELF Section List virtual address.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "virtual_size": { + "description": "ELF Section List virtual size.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + } + } + }, + "type": { + "$ref": "#/definitions/types/nested" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "segments": { + "description": "ELF object segment list.", + "properties": { + "properties": { + "properties": { + "sections": { + "description": "ELF object segment sections.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "type": { + "description": "ELF object segment type.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + } + }, + "type": { + "$ref": "#/definitions/types/nested" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "shared_libraries": { + "description": "List of shared libraries used by this ELF object", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "telfhash": { + "description": "telfhash is symbol hash for ELF files, just like imphash is imports hash for PE files. Learn more at https://github.com/trendmicro/telfhash.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + } + }, + "type": "object" + } + }, + "entity_id": { + "description": "Unique identifier for the process. The implementation of this is specified by the data source, but some examples of what could be used here are a process-generated UUID, Sysmon Process GUIDs, or a hash of some uniquely identifying components of a process. Constructing a globally unique identifier is a common practice to mitigate PID reuse as well as to identify a specific process over time, across multiple monitored hosts.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "executable": { + "description": "Absolute path to the process executable.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "exit_code": { + "description": "The exit code of the process, if this is a termination event. The field should be absent if there is no exit code for the event (e.g. process start).", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "hash": { + "properties": { + "properties": { + "properties": { + "md5": { + "description": "MD5 hash.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "sha1": { + "description": "SHA1 hash.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "sha256": { + "description": "SHA256 hash.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "sha512": { + "description": "SHA512 hash.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "ssdeep": { + "description": "SSDEEP hash.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + } + }, + "type": "object" + } + }, + "name": { + "description": "Process name. Sometimes called program name or similar.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "parent": { + "properties": { + "properties": { + "properties": { + "args": { + "description": "Array of process arguments, starting with the absolute path to the executable. May be filtered to protect sensitive information.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "args_count": { + "description": "Length of the process.args array. This field can be useful for querying or performing bucket analysis on how many arguments were provided to start a process. More arguments may be an indication of suspicious activity.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "code_signature": { + "properties": { + "properties": { + "properties": { + "exists": { + "description": "Boolean to capture if a signature is present.", + "properties": { + "type": { + "$ref": "#/definitions/types/boolean" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "signing_id": { + "description": "The identifier used to sign the process. This is used to identify the application manufactured by a software vendor. The field is relevant to Apple *OS only.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "status": { + "description": "Additional information about the certificate status. This is useful for logging cryptographic errors with the certificate validity or trust status. Leave unpopulated if the validity or trust of the certificate was unchecked.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "subject_name": { + "description": "Subject name of the code signer", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "team_id": { + "description": "The team identifier used to sign the process. This is used to identify the team or vendor of a software product. The field is relevant to Apple *OS only.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "trusted": { + "description": "Stores the trust status of the certificate chain. Validating the trust of the certificate chain may be complicated, and this field should only be populated by tools that actively check the status.", + "properties": { + "type": { + "$ref": "#/definitions/types/boolean" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "valid": { + "description": "Boolean to capture if the digital signature is verified against the binary content. Leave unpopulated if a certificate was unchecked.", + "properties": { + "type": { + "$ref": "#/definitions/types/boolean" + } + }, + "required": [ + "type" + ], + "type": "object" + } + } + }, + "type": "object" + } + }, + "command_line": { + "description": "Full command line that started the process, including the absolute path to the executable, and all arguments. Some arguments may be filtered to protect sensitive information.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "elf": { + "properties": { + "properties": { + "properties": { + "architecture": { + "description": "Machine architecture of the ELF file.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "byte_order": { + "description": "Byte sequence of ELF file.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "cpu_type": { + "description": "CPU type of the ELF file.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "creation_date": { + "description": "Extracted when possible from the file's metadata. Indicates when it was built or compiled. It can also be faked by malware creators.", + "properties": { + "type": { + "$ref": "#/definitions/types/date" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "exports": { + "description": "List of exported element names and types.", + "properties": { + "type": { + "$ref": "#/definitions/types/flattened" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "header": { + "properties": { + "properties": { + "properties": { + "abi_version": { + "description": "Version of the ELF Application Binary Interface (ABI).", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "class": { + "description": "Header class of the ELF file.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "data": { + "description": "Data table of the ELF header.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "entrypoint": { + "description": "Header entrypoint of the ELF file.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "object_version": { + "description": "\"0x1\" for original ELF files.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "os_abi": { + "description": "Application Binary Interface (ABI) of the Linux OS.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "type": { + "description": "Header type of the ELF file.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "version": { + "description": "Version of the ELF header.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + } + }, + "type": "object" + } + }, + "imports": { + "description": "List of imported element names and types.", + "properties": { + "type": { + "$ref": "#/definitions/types/flattened" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "sections": { + "description": "Section information of the ELF file.", + "properties": { + "properties": { + "properties": { + "chi2": { + "description": "Chi-square probability distribution of the section.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "entropy": { + "description": "Shannon entropy calculation from the section.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "flags": { + "description": "ELF Section List flags.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "name": { + "description": "ELF Section List name.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "physical_offset": { + "description": "ELF Section List offset.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "physical_size": { + "description": "ELF Section List physical size.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "type": { + "description": "ELF Section List type.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "virtual_address": { + "description": "ELF Section List virtual address.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "virtual_size": { + "description": "ELF Section List virtual size.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + } + } + }, + "type": { + "$ref": "#/definitions/types/nested" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "segments": { + "description": "ELF object segment list.", + "properties": { + "properties": { + "properties": { + "sections": { + "description": "ELF object segment sections.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "type": { + "description": "ELF object segment type.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + } + }, + "type": { + "$ref": "#/definitions/types/nested" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "shared_libraries": { + "description": "List of shared libraries used by this ELF object", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "telfhash": { + "description": "telfhash is symbol hash for ELF files, just like imphash is imports hash for PE files. Learn more at https://github.com/trendmicro/telfhash.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + } + }, + "type": "object" + } + }, + "entity_id": { + "description": "Unique identifier for the process. The implementation of this is specified by the data source, but some examples of what could be used here are a process-generated UUID, Sysmon Process GUIDs, or a hash of some uniquely identifying components of a process. Constructing a globally unique identifier is a common practice to mitigate PID reuse as well as to identify a specific process over time, across multiple monitored hosts.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "executable": { + "description": "Absolute path to the process executable.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "exit_code": { + "description": "The exit code of the process, if this is a termination event. The field should be absent if there is no exit code for the event (e.g. process start).", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "hash": { + "properties": { + "properties": { + "properties": { + "md5": { + "description": "MD5 hash.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "sha1": { + "description": "SHA1 hash.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "sha256": { + "description": "SHA256 hash.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "sha512": { + "description": "SHA512 hash.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "ssdeep": { + "description": "SSDEEP hash.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + } + }, + "type": "object" + } + }, + "name": { + "description": "Process name. Sometimes called program name or similar.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "pe": { + "properties": { + "properties": { + "properties": { + "architecture": { + "description": "CPU architecture target for the file.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "authentihash": { + "description": "Authentihash of the PE file.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "company": { + "description": "Internal company name of the file, provided at compile-time.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "compile_timestamp": { + "description": "Compile timestamp of the PE file.", + "properties": { + "type": { + "$ref": "#/definitions/types/date" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "compiler": { + "properties": { + "properties": { + "properties": { + "name": { + "description": "Name of the compiler", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "version": { + "description": "Version of the compiler.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + } + }, + "type": "object" + } + }, + "creation_date": { + "description": "Extracted when possible from the file's metadata. Indicates when it was built or compiled. It can also be faked by malware creators.", + "properties": { + "type": { + "$ref": "#/definitions/types/date" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "debug": { + "description": "An array containing an object for each debug entry, if present. The expected fields for this nested object fall under the `debug.` prefix.", + "properties": { + "properties": { + "properties": { + "offset": { + "description": "Debug offset information.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "size": { + "description": "Size of the debug information.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "timestamp": { + "description": "Timestamp of the debug information.", + "properties": { + "type": { + "$ref": "#/definitions/types/date" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "type": { + "description": "Information type generated by the debug options.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + } + }, + "type": { + "$ref": "#/definitions/types/nested" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "description": { + "description": "Internal description of the file, provided at compile-time.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "entry_point": { + "description": "Relative byte offset to the base of the PE file.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "exports": { + "description": "List of symbols exported by PE", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "file_version": { + "description": "Internal version of the file, provided at compile-time.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "icon": { + "properties": { + "properties": { + "properties": { + "hash": { + "properties": { + "properties": { + "properties": { + "dhash": { + "description": "Difference Hash (dhash) to find files with a visually similar icon or thumbnail.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + } + }, + "type": "object" + } + } + } + }, + "type": "object" + } + }, + "imphash": { + "description": "A hash of the imports in a PE file. An imphash -- or import hash -- can be used to fingerprint binaries even after recompilation or other code-level transformations have occurred, which would change more traditional hash values. Learn more at https://www.fireeye.com/blog/threat-research/2014/01/tracking-malware-import-hashing.html.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "imports": { + "description": "List of all imported functions", + "properties": { + "type": { + "$ref": "#/definitions/types/flattened" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "machine_type": { + "description": "Machine type of the PE file.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "original_file_name": { + "description": "Internal name of the file, provided at compile-time.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "packers": { + "description": "List of packers and tools used.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "product": { + "description": "Internal product name of the file, provided at compile-time.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "resources": { + "description": "An array containing an object for each PE resource, if present. The expected fields for this nested object fall under the `resources.` prefix.", + "properties": { + "properties": { + "properties": { + "chi2": { + "description": "Chi-square probability distribution.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "entropy": { + "description": "Measurement of entropy randomness in the resources section.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "filetype": { + "description": "File type of the resources section.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "language": { + "description": "Language identification.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "sha256": { + "description": "SHA256 hash of resources section.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "type": { + "description": "Digest of resource types.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + } + }, + "type": { + "$ref": "#/definitions/types/nested" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "rich_header": { + "properties": { + "properties": { + "properties": { + "hash": { + "properties": { + "properties": { + "properties": { + "md5": { + "description": "MD5 hash of the header for the PE file.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + } + }, + "type": "object" + } + } + } + }, + "type": "object" + } + }, + "sections": { + "description": "Data about sections of compiled binary PE", + "properties": { + "properties": { + "properties": { + "chi2": { + "description": "Chi-square probability distribution.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "entropy": { + "description": "Measurement of entropy randomness in the file.", + "properties": { + "type": { + "$ref": "#/definitions/types/float" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "flags": { + "description": "Section flags of the file.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "name": { + "description": "Section names of the file.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "raw_size": { + "description": "Size of the section or the dize of the initialized data on disk.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "virtual_address": { + "description": "Virtual address available to the file.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + } + } + }, + "type": { + "$ref": "#/definitions/types/nested" + } + }, + "required": [ + "type" + ], + "type": "object" + } + } + }, + "type": "object" + } + }, + "pgid": { + "description": "Identifier of the group of processes the process belongs to.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "pid": { + "description": "Process id.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "ppid": { + "description": "Parent process' pid.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "start": { + "description": "The time the process started.", + "properties": { + "type": { + "$ref": "#/definitions/types/date" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "thread": { + "properties": { + "properties": { + "properties": { + "id": { + "description": "Thread ID.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "name": { + "description": "Thread name.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + } + } + }, + "type": "object" + } + }, + "title": { + "description": "Process title. The proctitle, some times the same as process name. Can also be different: for example a browser setting its title to the web page currently opened.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "uptime": { + "description": "Seconds the process has been up.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "working_directory": { + "description": "The working directory of the process.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + } + } + }, + "type": "object" + } + }, + "pe": { + "properties": { + "properties": { + "properties": { + "architecture": { + "description": "CPU architecture target for the file.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "authentihash": { + "description": "Authentihash of the PE file.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "company": { + "description": "Internal company name of the file, provided at compile-time.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "compile_timestamp": { + "description": "Compile timestamp of the PE file.", + "properties": { + "type": { + "$ref": "#/definitions/types/date" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "compiler": { + "properties": { + "properties": { + "properties": { + "name": { + "description": "Name of the compiler", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "version": { + "description": "Version of the compiler.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + } + }, + "type": "object" + } + }, + "creation_date": { + "description": "Extracted when possible from the file's metadata. Indicates when it was built or compiled. It can also be faked by malware creators.", + "properties": { + "type": { + "$ref": "#/definitions/types/date" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "debug": { + "description": "An array containing an object for each debug entry, if present. The expected fields for this nested object fall under the `debug.` prefix.", + "properties": { + "properties": { + "properties": { + "offset": { + "description": "Debug offset information.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "size": { + "description": "Size of the debug information.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "timestamp": { + "description": "Timestamp of the debug information.", + "properties": { + "type": { + "$ref": "#/definitions/types/date" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "type": { + "description": "Information type generated by the debug options.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + } + }, + "type": { + "$ref": "#/definitions/types/nested" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "description": { + "description": "Internal description of the file, provided at compile-time.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "entry_point": { + "description": "Relative byte offset to the base of the PE file.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "exports": { + "description": "List of symbols exported by PE", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "file_version": { + "description": "Internal version of the file, provided at compile-time.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "icon": { + "properties": { + "properties": { + "properties": { + "hash": { + "properties": { + "properties": { + "properties": { + "dhash": { + "description": "Difference Hash (dhash) to find files with a visually similar icon or thumbnail.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + } + }, + "type": "object" + } + } + } + }, + "type": "object" + } + }, + "imphash": { + "description": "A hash of the imports in a PE file. An imphash -- or import hash -- can be used to fingerprint binaries even after recompilation or other code-level transformations have occurred, which would change more traditional hash values. Learn more at https://www.fireeye.com/blog/threat-research/2014/01/tracking-malware-import-hashing.html.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "imports": { + "description": "List of all imported functions", + "properties": { + "type": { + "$ref": "#/definitions/types/flattened" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "machine_type": { + "description": "Machine type of the PE file.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "original_file_name": { + "description": "Internal name of the file, provided at compile-time.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "packers": { + "description": "List of packers and tools used.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "product": { + "description": "Internal product name of the file, provided at compile-time.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "resources": { + "description": "An array containing an object for each PE resource, if present. The expected fields for this nested object fall under the `resources.` prefix.", + "properties": { + "properties": { + "properties": { + "chi2": { + "description": "Chi-square probability distribution.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "entropy": { + "description": "Measurement of entropy randomness in the resources section.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "filetype": { + "description": "File type of the resources section.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "language": { + "description": "Language identification.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "sha256": { + "description": "SHA256 hash of resources section.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "type": { + "description": "Digest of resource types.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + } + }, + "type": { + "$ref": "#/definitions/types/nested" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "rich_header": { + "properties": { + "properties": { + "properties": { + "hash": { + "properties": { + "properties": { + "properties": { + "md5": { + "description": "MD5 hash of the header for the PE file.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + } + }, + "type": "object" + } + } + } + }, + "type": "object" + } + }, + "sections": { + "description": "Data about sections of compiled binary PE", + "properties": { + "properties": { + "properties": { + "chi2": { + "description": "Chi-square probability distribution.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "entropy": { + "description": "Measurement of entropy randomness in the file.", + "properties": { + "type": { + "$ref": "#/definitions/types/float" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "flags": { + "description": "Section flags of the file.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "name": { + "description": "Section names of the file.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "raw_size": { + "description": "Size of the section or the dize of the initialized data on disk.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "virtual_address": { + "description": "Virtual address available to the file.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + } + } + }, + "type": { + "$ref": "#/definitions/types/nested" + } + }, + "required": [ + "type" + ], + "type": "object" + } + } + }, + "type": "object" + } + }, + "pgid": { + "description": "Identifier of the group of processes the process belongs to.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "pid": { + "description": "Process id.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "ppid": { + "description": "Parent process' pid.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "start": { + "description": "The time the process started.", + "properties": { + "type": { + "$ref": "#/definitions/types/date" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "thread": { + "properties": { + "properties": { + "properties": { + "id": { + "description": "Thread ID.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "name": { + "description": "Thread name.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + } + } + }, + "type": "object" + } + }, + "title": { + "description": "Process title. The proctitle, some times the same as process name. Can also be different: for example a browser setting its title to the web page currently opened.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "uptime": { + "description": "Seconds the process has been up.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "working_directory": { + "description": "The working directory of the process.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + } + } + }, + "type": "object" + }, + "type": "object" + }, + "registry": { + "description": "Fields related to Windows Registry operations.", + "properties": { + "properties": { + "properties": { + "data": { + "properties": { + "properties": { + "properties": { + "bytes": { + "description": "Original bytes written with base64 encoding. For Windows registry operations, such as SetValueEx and RegQueryValueEx, this corresponds to the data pointed by `lp_data`. This is optional but provides better recoverability and should be populated for REG_BINARY encoded values.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "strings": { + "description": "Content when writing string types. Populated as an array when writing string data to the registry. For single string registry types (REG_SZ, REG_EXPAND_SZ), this should be an array with one string. For sequences of string with REG_MULTI_SZ, this array will be variable length. For numeric data, such as REG_DWORD and REG_QWORD, this should be populated with the decimal representation (e.g `\"1\"`).", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "type": { + "description": "Standard registry type for encoding contents", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + } + }, + "type": "object" + } + }, + "hive": { + "description": "Abbreviated name for the hive.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "key": { + "description": "Hive-relative path of keys.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "path": { + "description": "Full path, including hive, key and value", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "value": { + "description": "Name of the value written.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + } + }, + "type": "object" + }, + "type": "object" + }, + "related": { + "description": "This field set is meant to facilitate pivoting around a piece of data.\nSome pieces of information can be seen in many places in an ECS event. To facilitate searching for them, store an array of all seen values to their corresponding field in `related.`.\nA concrete example is IP addresses, which can be under host, observer, source, destination, client, server, and network.forwarded_ip. If you append all IPs to `related.ip`, you can then search for a given IP trivially, no matter where it appeared, by querying `related.ip:192.0.2.15`.", + "properties": { + "properties": { + "properties": { + "hash": { + "description": "All the hashes seen on your event. Populating this field, then using it to search for hashes can help in situations where you're unsure what the hash algorithm is (and therefore which key name to search).", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "hosts": { + "description": "All hostnames or other host identifiers seen on your event. Example identifiers include FQDNs, domain names, workstation names, or aliases.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "ip": { + "description": "All of the IPs seen on your event.", + "properties": { + "type": { + "$ref": "#/definitions/types/ip" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "user": { + "description": "All the user names seen on your event.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + } + }, + "type": "object" + }, + "type": "object" + }, + "rule": { + "description": "Rule fields are used to capture the specifics of any observer or agent rules that generate alerts or other notable events.\nExamples of data sources that would populate the rule fields include: network admission control platforms, network or host IDS/IPS, network firewalls, web application firewalls, url filters, endpoint detection and response (EDR) systems, etc.", + "properties": { + "properties": { + "properties": { + "author": { + "description": "Name, organization, or pseudonym of the author or authors who created the rule used to generate this event.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "category": { + "description": "A categorization value keyword used by the entity using the rule for detection of this event.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "description": { + "description": "The description of the rule generating the event.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "id": { + "description": "A rule ID that is unique within the scope of an agent, observer, or other entity using the rule for detection of this event.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "license": { + "description": "Name of the license under which the rule used to generate this event is made available.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "name": { + "description": "The name of the rule or signature generating the event.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "reference": { + "description": "Reference URL to additional information about the rule used to generate this event. The URL can point to the vendor's documentation about the rule. If that's not available, it can also be a link to a more general page describing this type of alert.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "ruleset": { + "description": "Name of the ruleset, policy, group, or parent category in which the rule used to generate this event is a member.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "uuid": { + "description": "A rule ID that is unique within the scope of a set or group of agents, observers, or other entities using the rule for detection of this event.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "version": { + "description": "The version / revision of the rule being used for analysis.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + } + }, + "type": "object" + }, + "type": "object" + }, + "server": { + "description": "A Server is defined as the responder in a network connection for events regarding sessions, connections, or bidirectional flow records.\nFor TCP events, the server is the receiver of the initial SYN packet(s) of the TCP connection. For other protocols, the server is generally the responder in the network transaction. Some systems actually use the term \"responder\" to refer the server in TCP connections. The server fields describe details about the system acting as the server in the network event. Server fields are usually populated in conjunction with client fields. Server fields are generally not populated for packet-level events.\nClient / server representations can add semantic context to an exchange, which is helpful to visualize the data in certain situations. If your context falls in that category, you should still ensure that source and destination are filled appropriately.", + "properties": { + "properties": { + "properties": { + "address": { + "description": "Some event server addresses are defined ambiguously. The event will sometimes list an IP, a domain or a unix socket. You should always store the raw address in the `.address` field. Then it should be duplicated to `.ip` or `.domain`, depending on which one it is.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "as": { + "properties": { + "properties": { + "properties": { + "number": { + "description": "Unique number allocated to the autonomous system. The autonomous system number (ASN) uniquely identifies each network on the Internet.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "organization": { + "properties": { + "properties": { + "properties": { + "name": { + "description": "Organization name.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + } + } + }, + "type": "object" + } + } + } + }, + "type": "object" + } + }, + "bytes": { + "description": "Bytes sent from the server to the client.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "domain": { + "description": "Server domain.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "geo": { + "properties": { + "properties": { + "properties": { + "city_name": { + "description": "City name.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "continent_code": { + "description": "Two-letter code representing continent's name.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "continent_name": { + "description": "Name of the continent.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "country_iso_code": { + "description": "Country ISO code.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "country_name": { + "description": "Country name.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "location": { + "description": "Longitude and latitude.", + "properties": { + "type": { + "$ref": "#/definitions/types/geo_point" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "name": { + "description": "User-defined description of a location, at the level of granularity they care about. Could be the name of their data centers, the floor number, if this describes a local physical entity, city names. Not typically used in automated geolocation.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "postal_code": { + "description": "Postal code associated with the location. Values appropriate for this field may also be known as a postcode or ZIP code and will vary widely from country to country.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "region_iso_code": { + "description": "Region ISO code.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "region_name": { + "description": "Region name.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "timezone": { + "description": "The time zone of the location, such as IANA time zone name.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + } + }, + "type": "object" + } + }, + "ip": { + "description": "IP address of the server (IPv4 or IPv6).", + "properties": { + "type": { + "$ref": "#/definitions/types/ip" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "mac": { + "description": "MAC address of the server. The notation format from RFC 7042 is suggested: Each octet (that is, 8-bit byte) is represented by two [uppercase] hexadecimal digits giving the value of the octet as an unsigned integer. Successive octets are separated by a hyphen.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "nat": { + "properties": { + "properties": { + "properties": { + "ip": { + "description": "Translated ip of destination based NAT sessions (e.g. internet to private DMZ) Typically used with load balancers, firewalls, or routers.", + "properties": { + "type": { + "$ref": "#/definitions/types/ip" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "port": { + "description": "Translated port of destination based NAT sessions (e.g. internet to private DMZ) Typically used with load balancers, firewalls, or routers.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + } + } + }, + "type": "object" + } + }, + "packets": { + "description": "Packets sent from the server to the client.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "port": { + "description": "Port of the server.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "registered_domain": { + "description": "The highest registered server domain, stripped of the subdomain. For example, the registered domain for \"foo.example.com\" is \"example.com\". This value can be determined precisely with a list like the public suffix list (http://publicsuffix.org). Trying to approximate this by simply taking the last two labels will not work well for TLDs such as \"co.uk\".", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "subdomain": { + "description": "The subdomain portion of a fully qualified domain name includes all of the names except the host name under the registered_domain. In a partially qualified domain, or if the the qualification level of the full name cannot be determined, subdomain contains all of the names below the registered domain. For example the subdomain portion of \"www.east.mydomain.co.uk\" is \"east\". If the domain has multiple levels of subdomain, such as \"sub2.sub1.example.com\", the subdomain field should contain \"sub2.sub1\", with no trailing period.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "top_level_domain": { + "description": "The effective top level domain (eTLD), also known as the domain suffix, is the last part of the domain name. For example, the top level domain for example.com is \"com\". This value can be determined precisely with a list like the public suffix list (http://publicsuffix.org). Trying to approximate this by simply taking the last label will not work well for effective TLDs such as \"co.uk\".", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "user": { + "properties": { + "properties": { + "properties": { + "domain": { + "description": "Name of the directory the user is a member of. For example, an LDAP or Active Directory domain name.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "email": { + "description": "User email address.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "full_name": { + "description": "User's full name, if available.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "group": { + "properties": { + "properties": { + "properties": { + "domain": { + "description": "Name of the directory the group is a member of. For example, an LDAP or Active Directory domain name.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "id": { + "description": "Unique identifier for the group on the system/platform.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "name": { + "description": "Name of the group.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + } + }, + "type": "object" + } + }, + "hash": { + "description": "Unique user hash to correlate information for a user in anonymized form. Useful if `user.id` or `user.name` contain confidential information and cannot be used.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "id": { + "description": "Unique identifier of the user.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "name": { + "description": "Short name or login of the user.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "roles": { + "description": "Array of user roles at the time of the event.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + } + }, + "type": "object" + } + } + } + }, + "type": "object" + }, + "type": "object" + }, + "service": { + "description": "The service fields describe the service for or from which the data was collected.\nThese fields help you find and correlate logs for a specific service and version.", + "properties": { + "properties": { + "properties": { + "ephemeral_id": { + "description": "Ephemeral identifier of this service (if one exists). This id normally changes across restarts, but `service.id` does not.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "id": { + "description": "Unique identifier of the running service. If the service is comprised of many nodes, the `service.id` should be the same for all nodes. This id should uniquely identify the service. This makes it possible to correlate logs and metrics for one specific service, no matter which particular node emitted the event. Note that if you need to see the events from one specific host of the service, you should filter on that `host.name` or `host.id` instead.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "name": { + "description": "Name of the service data is collected from. The name of the service is normally user given. This allows for distributed services that run on multiple hosts to correlate the related instances based on the name. In the case of Elasticsearch the `service.name` could contain the cluster name. For Beats the `service.name` is by default a copy of the `service.type` field if no name is specified.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "node": { + "properties": { + "properties": { + "properties": { + "name": { + "description": "Name of a service node. This allows for two nodes of the same service running on the same host to be differentiated. Therefore, `service.node.name` should typically be unique across nodes of a given service. In the case of Elasticsearch, the `service.node.name` could contain the unique node name within the Elasticsearch cluster. In cases where the service doesn't have the concept of a node name, the host name or container name can be used to distinguish running instances that make up this service. If those do not provide uniqueness (e.g. multiple instances of the service running on the same host) - the node name can be manually set.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + } + }, + "type": "object" + } + }, + "state": { + "description": "Current state of the service.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "type": { + "description": "The type of the service data is collected from. The type can be used to group and correlate logs and metrics from one service type. Example: If logs or metrics are collected from Elasticsearch, `service.type` would be `elasticsearch`.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "version": { + "description": "Version of the service the data was collected from. This allows to look at a data set only for a specific version of a service.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + } + }, + "type": "object" + }, + "type": "object" + }, + "source": { + "description": "Source fields capture details about the sender of a network exchange/packet. These fields are populated from a network event, packet, or other event containing details of a network transaction.\nSource fields are usually populated in conjunction with destination fields. The source and destination fields are considered the baseline and should always be filled if an event contains source and destination details from a network transaction. If the event also contains identification of the client and server roles, then the client and server fields should also be populated.", + "properties": { + "properties": { + "properties": { + "address": { + "description": "Some event source addresses are defined ambiguously. The event will sometimes list an IP, a domain or a unix socket. You should always store the raw address in the `.address` field. Then it should be duplicated to `.ip` or `.domain`, depending on which one it is.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "as": { + "properties": { + "properties": { + "properties": { + "number": { + "description": "Unique number allocated to the autonomous system. The autonomous system number (ASN) uniquely identifies each network on the Internet.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "organization": { + "properties": { + "properties": { + "properties": { + "name": { + "description": "Organization name.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + } + } + }, + "type": "object" + } + } + } + }, + "type": "object" + } + }, + "bytes": { + "description": "Bytes sent from the source to the destination.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "domain": { + "description": "Source domain.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "geo": { + "properties": { + "properties": { + "properties": { + "city_name": { + "description": "City name.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "continent_code": { + "description": "Two-letter code representing continent's name.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "continent_name": { + "description": "Name of the continent.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "country_iso_code": { + "description": "Country ISO code.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "country_name": { + "description": "Country name.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "location": { + "description": "Longitude and latitude.", + "properties": { + "type": { + "$ref": "#/definitions/types/geo_point" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "name": { + "description": "User-defined description of a location, at the level of granularity they care about. Could be the name of their data centers, the floor number, if this describes a local physical entity, city names. Not typically used in automated geolocation.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "postal_code": { + "description": "Postal code associated with the location. Values appropriate for this field may also be known as a postcode or ZIP code and will vary widely from country to country.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "region_iso_code": { + "description": "Region ISO code.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "region_name": { + "description": "Region name.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "timezone": { + "description": "The time zone of the location, such as IANA time zone name.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + } + }, + "type": "object" + } + }, + "ip": { + "description": "IP address of the source (IPv4 or IPv6).", + "properties": { + "type": { + "$ref": "#/definitions/types/ip" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "mac": { + "description": "MAC address of the source. The notation format from RFC 7042 is suggested: Each octet (that is, 8-bit byte) is represented by two [uppercase] hexadecimal digits giving the value of the octet as an unsigned integer. Successive octets are separated by a hyphen.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "nat": { + "properties": { + "properties": { + "properties": { + "ip": { + "description": "Translated ip of source based NAT sessions (e.g. internal client to internet) Typically connections traversing load balancers, firewalls, or routers.", + "properties": { + "type": { + "$ref": "#/definitions/types/ip" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "port": { + "description": "Translated port of source based NAT sessions. (e.g. internal client to internet) Typically used with load balancers, firewalls, or routers.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + } + } + }, + "type": "object" + } + }, + "packets": { + "description": "Packets sent from the source to the destination.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "port": { + "description": "Port of the source.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "registered_domain": { + "description": "The highest registered source domain, stripped of the subdomain. For example, the registered domain for \"foo.example.com\" is \"example.com\". This value can be determined precisely with a list like the public suffix list (http://publicsuffix.org). Trying to approximate this by simply taking the last two labels will not work well for TLDs such as \"co.uk\".", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "subdomain": { + "description": "The subdomain portion of a fully qualified domain name includes all of the names except the host name under the registered_domain. In a partially qualified domain, or if the the qualification level of the full name cannot be determined, subdomain contains all of the names below the registered domain. For example the subdomain portion of \"www.east.mydomain.co.uk\" is \"east\". If the domain has multiple levels of subdomain, such as \"sub2.sub1.example.com\", the subdomain field should contain \"sub2.sub1\", with no trailing period.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "top_level_domain": { + "description": "The effective top level domain (eTLD), also known as the domain suffix, is the last part of the domain name. For example, the top level domain for example.com is \"com\". This value can be determined precisely with a list like the public suffix list (http://publicsuffix.org). Trying to approximate this by simply taking the last label will not work well for effective TLDs such as \"co.uk\".", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "user": { + "properties": { + "properties": { + "properties": { + "domain": { + "description": "Name of the directory the user is a member of. For example, an LDAP or Active Directory domain name.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "email": { + "description": "User email address.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "full_name": { + "description": "User's full name, if available.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "group": { + "properties": { + "properties": { + "properties": { + "domain": { + "description": "Name of the directory the group is a member of. For example, an LDAP or Active Directory domain name.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "id": { + "description": "Unique identifier for the group on the system/platform.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "name": { + "description": "Name of the group.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + } + }, + "type": "object" + } + }, + "hash": { + "description": "Unique user hash to correlate information for a user in anonymized form. Useful if `user.id` or `user.name` contain confidential information and cannot be used.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "id": { + "description": "Unique identifier of the user.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "name": { + "description": "Short name or login of the user.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "roles": { + "description": "Array of user roles at the time of the event.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + } + }, + "type": "object" + } + } + } + }, + "type": "object" + }, + "type": "object" + }, + "span": { + "properties": { + "properties": { + "properties": { + "id": { + "description": "Unique identifier of the span within the scope of its trace. A span represents an operation within a transaction, such as a request to another service, or a database query.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + } + }, + "type": "object" + } + }, + "tags": { + "description": "List of keywords used to tag each event.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "threat": { + "description": "Fields to classify events and alerts according to a threat taxonomy such as the MITRE ATT&CK\u00ae framework.\nThese fields are for users to classify alerts from all of their sources (e.g. IDS, NGFW, etc.) within a common taxonomy. The threat.tactic.* are meant to capture the high level category of the threat (e.g. \"impact\"). The threat.technique.* fields are meant to capture which kind of approach is used by this detected threat, to accomplish the goal (e.g. \"endpoint denial of service\").", + "properties": { + "properties": { + "properties": { + "framework": { + "description": "Name of the threat framework used to further categorize and classify the tactic and technique of the reported threat. Framework classification can be provided by detecting systems, evaluated at ingest time, or retrospectively tagged to events.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "group": { + "properties": { + "properties": { + "properties": { + "alias": { + "description": "The alias(es) of the group for a set of related intrusion activity that are tracked by a common name in the security community. While not required, you can use a MITRE ATT&CK\u00ae group alias(es).", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "id": { + "description": "The id of the group for a set of related intrusion activity that are tracked by a common name in the security community. While not required, you can use a MITRE ATT&CK\u00ae group id.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "name": { + "description": "The name of the group for a set of related intrusion activity that are tracked by a common name in the security community. While not required, you can use a MITRE ATT&CK\u00ae group name.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "reference": { + "description": "The reference URL of the group for a set of related intrusion activity that are tracked by a common name in the security community. While not required, you can use a MITRE ATT&CK\u00ae group reference URL.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + } + }, + "type": "object" + } + }, + "indicator": { + "properties": { + "properties": { + "properties": { + "as": { + "properties": { + "properties": { + "properties": { + "number": { + "description": "Unique number allocated to the autonomous system. The autonomous system number (ASN) uniquely identifies each network on the Internet.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "organization": { + "properties": { + "properties": { + "properties": { + "name": { + "description": "Organization name.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + } + } + }, + "type": "object" + } + } + } + }, + "type": "object" + } + }, + "confidence": { + "description": "Identifies the confidence rating assigned by the provider using STIX confidence scales. Expected values: * Not Specified, None, Low, Medium, High * 0-10 * Admirality Scale (1-6) * DNI Scale (5-95) * WEP Scale (Impossible - Certain)", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "dataset": { + "description": "Identifies the name of specific dataset from the intelligence source.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "description": { + "description": "Describes the type of action conducted by the threat.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "domain": { + "description": "Identifies a threat indicator as a domain (irrespective of direction).", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "email": { + "properties": { + "properties": { + "properties": { + "address": { + "description": "Identifies a threat indicator as an email address (irrespective of direction).", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + } + }, + "type": "object" + } + }, + "file": { + "properties": { + "properties": { + "properties": { + "accessed": { + "description": "Last time the file was accessed. Note that not all filesystems keep track of access time.", + "properties": { + "type": { + "$ref": "#/definitions/types/date" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "attributes": { + "description": "Array of file attributes. Attributes names will vary by platform. Here's a non-exhaustive list of values that are expected in this field: archive, compressed, directory, encrypted, execute, hidden, read, readonly, system, write.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "code_signature": { + "properties": { + "properties": { + "properties": { + "exists": { + "description": "Boolean to capture if a signature is present.", + "properties": { + "type": { + "$ref": "#/definitions/types/boolean" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "signing_id": { + "description": "The identifier used to sign the process. This is used to identify the application manufactured by a software vendor. The field is relevant to Apple *OS only.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "status": { + "description": "Additional information about the certificate status. This is useful for logging cryptographic errors with the certificate validity or trust status. Leave unpopulated if the validity or trust of the certificate was unchecked.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "subject_name": { + "description": "Subject name of the code signer", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "team_id": { + "description": "The team identifier used to sign the process. This is used to identify the team or vendor of a software product. The field is relevant to Apple *OS only.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "trusted": { + "description": "Stores the trust status of the certificate chain. Validating the trust of the certificate chain may be complicated, and this field should only be populated by tools that actively check the status.", + "properties": { + "type": { + "$ref": "#/definitions/types/boolean" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "valid": { + "description": "Boolean to capture if the digital signature is verified against the binary content. Leave unpopulated if a certificate was unchecked.", + "properties": { + "type": { + "$ref": "#/definitions/types/boolean" + } + }, + "required": [ + "type" + ], + "type": "object" + } + } + }, + "type": "object" + } + }, + "created": { + "description": "File creation time. Note that not all filesystems store the creation time.", + "properties": { + "type": { + "$ref": "#/definitions/types/date" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "ctime": { + "description": "Last time the file attributes or metadata changed. Note that changes to the file content will update `mtime`. This implies `ctime` will be adjusted at the same time, since `mtime` is an attribute of the file.", + "properties": { + "type": { + "$ref": "#/definitions/types/date" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "device": { + "description": "Device that is the source of the file.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "directory": { + "description": "Directory where the file is located. It should include the drive letter, when appropriate.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "drive_letter": { + "description": "Drive letter where the file is located. This field is only relevant on Windows. The value should be uppercase, and not include the colon.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "extension": { + "description": "File extension, excluding the leading dot. Note that when the file name has multiple extensions (example.tar.gz), only the last one should be captured (\"gz\", not \"tar.gz\").", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "gid": { + "description": "Primary group ID (GID) of the file.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "group": { + "description": "Primary group name of the file.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "inode": { + "description": "Inode representing the file in the filesystem.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "mime_type": { + "description": "MIME type should identify the format of the file or stream of bytes using https://www.iana.org/assignments/media-types/media-types.xhtml[IANA official types], where possible. When more than one type is applicable, the most specific type should be used.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "mode": { + "description": "Mode of the file in octal representation.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "mtime": { + "description": "Last time the file content was modified.", + "properties": { + "type": { + "$ref": "#/definitions/types/date" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "name": { + "description": "Name of the file including the extension, without the directory.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "owner": { + "description": "File owner's username.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "path": { + "description": "Full path to the file, including the file name. It should include the drive letter, when appropriate.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "size": { + "description": "File size in bytes. Only relevant when `file.type` is \"file\".", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "target_path": { + "description": "Target path for symlinks.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "type": { + "description": "File type (file, dir, or symlink).", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "uid": { + "description": "The user ID (UID) or security identifier (SID) of the file owner.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + } + }, + "type": "object" + } + }, + "first_seen": { + "description": "The date and time when intelligence source first reported sighting this indicator.", + "properties": { + "type": { + "$ref": "#/definitions/types/date" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "geo": { + "properties": { + "properties": { + "properties": { + "city_name": { + "description": "City name.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "continent_code": { + "description": "Two-letter code representing continent's name.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "continent_name": { + "description": "Name of the continent.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "country_iso_code": { + "description": "Country ISO code.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "country_name": { + "description": "Country name.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "location": { + "description": "Longitude and latitude.", + "properties": { + "type": { + "$ref": "#/definitions/types/geo_point" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "name": { + "description": "User-defined description of a location, at the level of granularity they care about. Could be the name of their data centers, the floor number, if this describes a local physical entity, city names. Not typically used in automated geolocation.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "postal_code": { + "description": "Postal code associated with the location. Values appropriate for this field may also be known as a postcode or ZIP code and will vary widely from country to country.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "region_iso_code": { + "description": "Region ISO code.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "region_name": { + "description": "Region name.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "timezone": { + "description": "The time zone of the location, such as IANA time zone name.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + } + }, + "type": "object" + } + }, + "hash": { + "properties": { + "properties": { + "properties": { + "md5": { + "description": "MD5 hash.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "sha1": { + "description": "SHA1 hash.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "sha256": { + "description": "SHA256 hash.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "sha512": { + "description": "SHA512 hash.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "ssdeep": { + "description": "SSDEEP hash.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + } + }, + "type": "object" + } + }, + "ip": { + "description": "Identifies a threat indicator as an IP address (irrespective of direction).", + "properties": { + "type": { + "$ref": "#/definitions/types/ip" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "last_seen": { + "description": "The date and time when intelligence source last reported sighting this indicator.", + "properties": { + "type": { + "$ref": "#/definitions/types/date" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "marking": { + "properties": { + "properties": { + "properties": { + "tlp": { + "description": "Traffic Light Protocol sharing markings. Expected values are: * White * Green * Amber * Red", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + } + }, + "type": "object" + } + }, + "matched": { + "properties": { + "properties": { + "properties": { + "atomic": { + "description": "Identifies the atomic indicator that matched a local environment endpoint or network event.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "field": { + "description": "Identifies the field of the atomic indicator that matched a local environment endpoint or network event.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "type": { + "description": "Identifies the type of the atomic indicator that matched a local environment endpoint or network event.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + } + }, + "type": "object" + } + }, + "module": { + "description": "Identifies the name of specific module this data is coming from.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "pe": { + "properties": { + "properties": { + "properties": { + "architecture": { + "description": "CPU architecture target for the file.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "authentihash": { + "description": "Authentihash of the PE file.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "company": { + "description": "Internal company name of the file, provided at compile-time.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "compile_timestamp": { + "description": "Compile timestamp of the PE file.", + "properties": { + "type": { + "$ref": "#/definitions/types/date" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "compiler": { + "properties": { + "properties": { + "properties": { + "name": { + "description": "Name of the compiler", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "version": { + "description": "Version of the compiler.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + } + }, + "type": "object" + } + }, + "creation_date": { + "description": "Extracted when possible from the file's metadata. Indicates when it was built or compiled. It can also be faked by malware creators.", + "properties": { + "type": { + "$ref": "#/definitions/types/date" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "debug": { + "description": "An array containing an object for each debug entry, if present. The expected fields for this nested object fall under the `debug.` prefix.", + "properties": { + "properties": { + "properties": { + "offset": { + "description": "Debug offset information.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "size": { + "description": "Size of the debug information.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "timestamp": { + "description": "Timestamp of the debug information.", + "properties": { + "type": { + "$ref": "#/definitions/types/date" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "type": { + "description": "Information type generated by the debug options.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + } + }, + "type": { + "$ref": "#/definitions/types/nested" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "description": { + "description": "Internal description of the file, provided at compile-time.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "entry_point": { + "description": "Relative byte offset to the base of the PE file.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "exports": { + "description": "List of symbols exported by PE", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "file_version": { + "description": "Internal version of the file, provided at compile-time.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "icon": { + "properties": { + "properties": { + "properties": { + "hash": { + "properties": { + "properties": { + "properties": { + "dhash": { + "description": "Difference Hash (dhash) to find files with a visually similar icon or thumbnail.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + } + }, + "type": "object" + } + } + } + }, + "type": "object" + } + }, + "imphash": { + "description": "A hash of the imports in a PE file. An imphash -- or import hash -- can be used to fingerprint binaries even after recompilation or other code-level transformations have occurred, which would change more traditional hash values. Learn more at https://www.fireeye.com/blog/threat-research/2014/01/tracking-malware-import-hashing.html.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "imports": { + "description": "List of all imported functions", + "properties": { + "type": { + "$ref": "#/definitions/types/flattened" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "machine_type": { + "description": "Machine type of the PE file.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "original_file_name": { + "description": "Internal name of the file, provided at compile-time.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "packers": { + "description": "List of packers and tools used.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "product": { + "description": "Internal product name of the file, provided at compile-time.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "resources": { + "description": "An array containing an object for each PE resource, if present. The expected fields for this nested object fall under the `resources.` prefix.", + "properties": { + "properties": { + "properties": { + "chi2": { + "description": "Chi-square probability distribution.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "entropy": { + "description": "Measurement of entropy randomness in the resources section.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "filetype": { + "description": "File type of the resources section.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "language": { + "description": "Language identification.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "sha256": { + "description": "SHA256 hash of resources section.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "type": { + "description": "Digest of resource types.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + } + }, + "type": { + "$ref": "#/definitions/types/nested" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "rich_header": { + "properties": { + "properties": { + "properties": { + "hash": { + "properties": { + "properties": { + "properties": { + "md5": { + "description": "MD5 hash of the header for the PE file.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + } + }, + "type": "object" + } + } + } + }, + "type": "object" + } + }, + "sections": { + "description": "Data about sections of compiled binary PE", + "properties": { + "properties": { + "properties": { + "chi2": { + "description": "Chi-square probability distribution.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "entropy": { + "description": "Measurement of entropy randomness in the file.", + "properties": { + "type": { + "$ref": "#/definitions/types/float" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "flags": { + "description": "Section flags of the file.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "name": { + "description": "Section names of the file.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "raw_size": { + "description": "Size of the section or the dize of the initialized data on disk.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "virtual_address": { + "description": "Virtual address available to the file.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + } + } + }, + "type": { + "$ref": "#/definitions/types/nested" + } + }, + "required": [ + "type" + ], + "type": "object" + } + } + }, + "type": "object" + } + }, + "port": { + "description": "Identifies a threat indicator as a port number (irrespective of direction).", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "provider": { + "description": "Identifies the name of the intelligence provider.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "registry": { + "properties": { + "properties": { + "properties": { + "data": { + "properties": { + "properties": { + "properties": { + "bytes": { + "description": "Original bytes written with base64 encoding. For Windows registry operations, such as SetValueEx and RegQueryValueEx, this corresponds to the data pointed by `lp_data`. This is optional but provides better recoverability and should be populated for REG_BINARY encoded values.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "strings": { + "description": "Content when writing string types. Populated as an array when writing string data to the registry. For single string registry types (REG_SZ, REG_EXPAND_SZ), this should be an array with one string. For sequences of string with REG_MULTI_SZ, this array will be variable length. For numeric data, such as REG_DWORD and REG_QWORD, this should be populated with the decimal representation (e.g `\"1\"`).", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "type": { + "description": "Standard registry type for encoding contents", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + } + }, + "type": "object" + } + }, + "hive": { + "description": "Abbreviated name for the hive.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "key": { + "description": "Hive-relative path of keys.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "path": { + "description": "Full path, including hive, key and value", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "value": { + "description": "Name of the value written.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + } + }, + "type": "object" + } + }, + "scanner_stats": { + "description": "Count of AV/EDR vendors that successfully detected malicious file or URL.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "sightings": { + "description": "Number of times this indicator was observed conducting threat activity.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "type": { + "description": "Type of indicator as represented by Cyber Observable in STIX 2.0. Expected values * autonomous-system * artifact * directory * domain-name * email-addr * file * ipv4-addr * ipv6-addr * mac-addr * mutex * process * software * url * user-account * windows-registry-key * x-509-certificate", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + } + }, + "type": "object" + } + }, + "software": { + "properties": { + "properties": { + "properties": { + "id": { + "description": "The id of the software used by this threat to conduct behavior commonly modeled using MITRE ATT&CK\u00ae. While not required, you can use a MITRE ATT&CK\u00ae software id.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "name": { + "description": "The name of the software used by this threat to conduct behavior commonly modeled using MITRE ATT&CK\u00ae. While not required, you can use a MITRE ATT&CK\u00ae software name.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "platforms": { + "description": "The platform of the software used by this threat to conduct behavior commonly modeled using MITRE ATT&CK\u00ae. While not required, you can use a MITRE ATT&CK\u00ae software platform. Expected values * AWS * Azure * Azure AD * GCP * Linux * macOS * Network * Office 365 * PRE * SaaS * Windows", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "reference": { + "description": "The reference URL of the software used by this threat to conduct behavior commonly modeled using MITRE ATT&CK\u00ae. While not required, you can use a MITRE ATT&CK\u00ae software reference URL.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "type": { + "description": "The type of software used by this threat to conduct behavior commonly modeled using MITRE ATT&CK\u00ae. While not required, you can use a MITRE ATT&CK\u00ae software type. Expected values * Malware * Tool", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + } + }, + "type": "object" + } + }, + "tactic": { + "properties": { + "properties": { + "properties": { + "id": { + "description": "The id of tactic used by this threat. You can use a MITRE ATT&CK\u00ae tactic, for example. (ex. https://attack.mitre.org/tactics/TA0002/ )", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "name": { + "description": "Name of the type of tactic used by this threat. You can use a MITRE ATT&CK\u00ae tactic, for example. (ex. https://attack.mitre.org/tactics/TA0002/)", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "reference": { + "description": "The reference url of tactic used by this threat. You can use a MITRE ATT&CK\u00ae tactic, for example. (ex. https://attack.mitre.org/tactics/TA0002/ )", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + } + }, + "type": "object" + } + }, + "technique": { + "properties": { + "properties": { + "properties": { + "id": { + "description": "The id of technique used by this threat. You can use a MITRE ATT&CK\u00ae technique, for example. (ex. https://attack.mitre.org/techniques/T1059/)", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "name": { + "description": "The name of technique used by this threat. You can use a MITRE ATT&CK\u00ae technique, for example. (ex. https://attack.mitre.org/techniques/T1059/)", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "reference": { + "description": "The reference url of technique used by this threat. You can use a MITRE ATT&CK\u00ae technique, for example. (ex. https://attack.mitre.org/techniques/T1059/)", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "subtechnique": { + "properties": { + "properties": { + "properties": { + "id": { + "description": "The full id of subtechnique used by this threat. You can use a MITRE ATT&CK\u00ae subtechnique, for example. (ex. https://attack.mitre.org/techniques/T1059/001/)", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "name": { + "description": "The name of subtechnique used by this threat. You can use a MITRE ATT&CK\u00ae subtechnique, for example. (ex. https://attack.mitre.org/techniques/T1059/001/)", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "reference": { + "description": "The reference url of subtechnique used by this threat. You can use a MITRE ATT&CK\u00ae subtechnique, for example. (ex. https://attack.mitre.org/techniques/T1059/001/)", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + } + }, + "type": "object" + } + } + } + }, + "type": "object" + } + } + } + }, + "type": "object" + }, + "type": "object" + }, + "tls": { + "description": "Fields related to a TLS connection. These fields focus on the TLS protocol itself and intentionally avoids in-depth analysis of the related x.509 certificate files.", + "properties": { + "properties": { + "properties": { + "cipher": { + "description": "String indicating the cipher used during the current connection.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "client": { + "properties": { + "properties": { + "properties": { + "certificate": { + "description": "PEM-encoded stand-alone certificate offered by the client. This is usually mutually-exclusive of `client.certificate_chain` since this value also exists in that list.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "certificate_chain": { + "description": "Array of PEM-encoded certificates that make up the certificate chain offered by the client. This is usually mutually-exclusive of `client.certificate` since that value should be the first certificate in the chain.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "hash": { + "properties": { + "properties": { + "properties": { + "md5": { + "description": "Certificate fingerprint using the MD5 digest of DER-encoded version of certificate offered by the client. For consistency with other hash values, this value should be formatted as an uppercase hash.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "sha1": { + "description": "Certificate fingerprint using the SHA1 digest of DER-encoded version of certificate offered by the client. For consistency with other hash values, this value should be formatted as an uppercase hash.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "sha256": { + "description": "Certificate fingerprint using the SHA256 digest of DER-encoded version of certificate offered by the client. For consistency with other hash values, this value should be formatted as an uppercase hash.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + } + }, + "type": "object" + } + }, + "issuer": { + "description": "Distinguished name of subject of the issuer of the x.509 certificate presented by the client.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "ja3": { + "description": "A hash that identifies clients based on how they perform an SSL/TLS handshake.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "not_after": { + "description": "Date/Time indicating when client certificate is no longer considered valid.", + "properties": { + "type": { + "$ref": "#/definitions/types/date" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "not_before": { + "description": "Date/Time indicating when client certificate is first considered valid.", + "properties": { + "type": { + "$ref": "#/definitions/types/date" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "server_name": { + "description": "Also called an SNI, this tells the server which hostname to which the client is attempting to connect to. When this value is available, it should get copied to `destination.domain`.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "subject": { + "description": "Distinguished name of subject of the x.509 certificate presented by the client.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "supported_ciphers": { + "description": "Array of ciphers offered by the client during the client hello.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "x509": { + "properties": { + "properties": { + "properties": { + "alternative_names": { + "description": "List of subject alternative names (SAN). Name types vary by certificate authority and certificate type but commonly contain IP addresses, DNS names (and wildcards), and email addresses.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "issuer": { + "properties": { + "properties": { + "properties": { + "common_name": { + "description": "List of common name (CN) of issuing certificate authority.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "country": { + "description": "List of country (C) codes", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "distinguished_name": { + "description": "Distinguished name (DN) of issuing certificate authority.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "locality": { + "description": "List of locality names (L)", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "organization": { + "description": "List of organizations (O) of issuing certificate authority.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "organizational_unit": { + "description": "List of organizational units (OU) of issuing certificate authority.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "state_or_province": { + "description": "List of state or province names (ST, S, or P)", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + } + }, + "type": "object" + } + }, + "not_after": { + "description": "Time at which the certificate is no longer considered valid.", + "properties": { + "type": { + "$ref": "#/definitions/types/date" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "not_before": { + "description": "Time at which the certificate is first considered valid.", + "properties": { + "type": { + "$ref": "#/definitions/types/date" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "public_key_algorithm": { + "description": "Algorithm used to generate the public key.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "public_key_curve": { + "description": "The curve used by the elliptic curve public key algorithm. This is algorithm specific.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "public_key_exponent": { + "description": "Exponent used to derive the public key. This is algorithm specific.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "public_key_size": { + "description": "The size of the public key space in bits.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "serial_number": { + "description": "Unique serial number issued by the certificate authority. For consistency, if this value is alphanumeric, it should be formatted without colons and uppercase characters.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "signature_algorithm": { + "description": "Identifier for certificate signature algorithm. We recommend using names found in Go Lang Crypto library. See https://github.com/golang/go/blob/go1.14/src/crypto/x509/x509.go#L337-L353.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "subject": { + "properties": { + "properties": { + "properties": { + "common_name": { + "description": "List of common names (CN) of subject.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "country": { + "description": "List of country (C) code", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "distinguished_name": { + "description": "Distinguished name (DN) of the certificate subject entity.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "locality": { + "description": "List of locality names (L)", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "organization": { + "description": "List of organizations (O) of subject.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "organizational_unit": { + "description": "List of organizational units (OU) of subject.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "state_or_province": { + "description": "List of state or province names (ST, S, or P)", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + } + }, + "type": "object" + } + }, + "version_number": { + "description": "Version of x509 format.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + } + }, + "type": "object" + } + } + } + }, + "type": "object" + } + }, + "curve": { + "description": "String indicating the curve used for the given cipher, when applicable.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "established": { + "description": "Boolean flag indicating if the TLS negotiation was successful and transitioned to an encrypted tunnel.", + "properties": { + "type": { + "$ref": "#/definitions/types/boolean" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "next_protocol": { + "description": "String indicating the protocol being tunneled. Per the values in the IANA registry (https://www.iana.org/assignments/tls-extensiontype-values/tls-extensiontype-values.xhtml#alpn-protocol-ids), this string should be lower case.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "resumed": { + "description": "Boolean flag indicating if this TLS connection was resumed from an existing TLS negotiation.", + "properties": { + "type": { + "$ref": "#/definitions/types/boolean" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "server": { + "properties": { + "properties": { + "properties": { + "certificate": { + "description": "PEM-encoded stand-alone certificate offered by the server. This is usually mutually-exclusive of `server.certificate_chain` since this value also exists in that list.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "certificate_chain": { + "description": "Array of PEM-encoded certificates that make up the certificate chain offered by the server. This is usually mutually-exclusive of `server.certificate` since that value should be the first certificate in the chain.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "hash": { + "properties": { + "properties": { + "properties": { + "md5": { + "description": "Certificate fingerprint using the MD5 digest of DER-encoded version of certificate offered by the server. For consistency with other hash values, this value should be formatted as an uppercase hash.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "sha1": { + "description": "Certificate fingerprint using the SHA1 digest of DER-encoded version of certificate offered by the server. For consistency with other hash values, this value should be formatted as an uppercase hash.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "sha256": { + "description": "Certificate fingerprint using the SHA256 digest of DER-encoded version of certificate offered by the server. For consistency with other hash values, this value should be formatted as an uppercase hash.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + } + }, + "type": "object" + } + }, + "issuer": { + "description": "Subject of the issuer of the x.509 certificate presented by the server.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "ja3s": { + "description": "A hash that identifies servers based on how they perform an SSL/TLS handshake.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "not_after": { + "description": "Timestamp indicating when server certificate is no longer considered valid.", + "properties": { + "type": { + "$ref": "#/definitions/types/date" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "not_before": { + "description": "Timestamp indicating when server certificate is first considered valid.", + "properties": { + "type": { + "$ref": "#/definitions/types/date" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "subject": { + "description": "Subject of the x.509 certificate presented by the server.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "x509": { + "properties": { + "properties": { + "properties": { + "alternative_names": { + "description": "List of subject alternative names (SAN). Name types vary by certificate authority and certificate type but commonly contain IP addresses, DNS names (and wildcards), and email addresses.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "issuer": { + "properties": { + "properties": { + "properties": { + "common_name": { + "description": "List of common name (CN) of issuing certificate authority.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "country": { + "description": "List of country (C) codes", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "distinguished_name": { + "description": "Distinguished name (DN) of issuing certificate authority.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "locality": { + "description": "List of locality names (L)", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "organization": { + "description": "List of organizations (O) of issuing certificate authority.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "organizational_unit": { + "description": "List of organizational units (OU) of issuing certificate authority.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "state_or_province": { + "description": "List of state or province names (ST, S, or P)", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + } + }, + "type": "object" + } + }, + "not_after": { + "description": "Time at which the certificate is no longer considered valid.", + "properties": { + "type": { + "$ref": "#/definitions/types/date" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "not_before": { + "description": "Time at which the certificate is first considered valid.", + "properties": { + "type": { + "$ref": "#/definitions/types/date" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "public_key_algorithm": { + "description": "Algorithm used to generate the public key.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "public_key_curve": { + "description": "The curve used by the elliptic curve public key algorithm. This is algorithm specific.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "public_key_exponent": { + "description": "Exponent used to derive the public key. This is algorithm specific.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "public_key_size": { + "description": "The size of the public key space in bits.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "serial_number": { + "description": "Unique serial number issued by the certificate authority. For consistency, if this value is alphanumeric, it should be formatted without colons and uppercase characters.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "signature_algorithm": { + "description": "Identifier for certificate signature algorithm. We recommend using names found in Go Lang Crypto library. See https://github.com/golang/go/blob/go1.14/src/crypto/x509/x509.go#L337-L353.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "subject": { + "properties": { + "properties": { + "properties": { + "common_name": { + "description": "List of common names (CN) of subject.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "country": { + "description": "List of country (C) code", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "distinguished_name": { + "description": "Distinguished name (DN) of the certificate subject entity.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "locality": { + "description": "List of locality names (L)", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "organization": { + "description": "List of organizations (O) of subject.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "organizational_unit": { + "description": "List of organizational units (OU) of subject.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "state_or_province": { + "description": "List of state or province names (ST, S, or P)", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + } + }, + "type": "object" + } + }, + "version_number": { + "description": "Version of x509 format.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + } + }, + "type": "object" + } + } + } + }, + "type": "object" + } + }, + "version": { + "description": "Numeric part of the version parsed from the original string.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "version_protocol": { + "description": "Normalized lowercase protocol name parsed from original string.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + } + }, + "type": "object" + }, + "type": "object" + }, + "trace": { + "properties": { + "properties": { + "properties": { + "id": { + "description": "Unique identifier of the trace. A trace groups multiple events like transactions that belong together. For example, a user request handled by multiple inter-connected services.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + } + }, + "type": "object" + } + }, + "transaction": { + "properties": { + "properties": { + "properties": { + "id": { + "description": "Unique identifier of the transaction within the scope of its trace. A transaction is the highest level of work measured within a service, such as a request to a server.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + } + }, + "type": "object" + } + }, + "url": { + "description": "URL fields provide support for complete or partial URLs, and supports the breaking down into scheme, domain, path, and so on.", + "properties": { + "properties": { + "properties": { + "domain": { + "description": "Domain of the url, such as \"www.elastic.co\". In some cases a URL may refer to an IP and/or port directly, without a domain name. In this case, the IP address would go to the `domain` field. If the URL contains a literal IPv6 address enclosed by `[` and `]` (IETF RFC 2732), the `[` and `]` characters should also be captured in the `domain` field.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "extension": { + "description": "The field contains the file extension from the original request url, excluding the leading dot. The file extension is only set if it exists, as not every url has a file extension. The leading period must not be included. For example, the value must be \"png\", not \".png\". Note that when the file name has multiple extensions (example.tar.gz), only the last one should be captured (\"gz\", not \"tar.gz\").", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "fragment": { + "description": "Portion of the url after the `#`, such as \"top\". The `#` is not part of the fragment.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "full": { + "description": "If full URLs are important to your use case, they should be stored in `url.full`, whether this field is reconstructed or present in the event source.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "original": { + "description": "Unmodified original url as seen in the event source. Note that in network monitoring, the observed URL may be a full URL, whereas in access logs, the URL is often just represented as a path. This field is meant to represent the URL as it was observed, complete or not.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "password": { + "description": "Password of the request.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "path": { + "description": "Path of the request, such as \"/search\".", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "port": { + "description": "Port of the request, such as 443.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "query": { + "description": "The query field describes the query string of the request, such as \"q=elasticsearch\". The `?` is excluded from the query string. If a URL contains no `?`, there is no query field. If there is a `?` but no query, the query field exists with an empty string. The `exists` query can be used to differentiate between the two cases.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "registered_domain": { + "description": "The highest registered url domain, stripped of the subdomain. For example, the registered domain for \"foo.example.com\" is \"example.com\". This value can be determined precisely with a list like the public suffix list (http://publicsuffix.org). Trying to approximate this by simply taking the last two labels will not work well for TLDs such as \"co.uk\".", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "scheme": { + "description": "Scheme of the request, such as \"https\". Note: The `:` is not part of the scheme.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "subdomain": { + "description": "The subdomain portion of a fully qualified domain name includes all of the names except the host name under the registered_domain. In a partially qualified domain, or if the the qualification level of the full name cannot be determined, subdomain contains all of the names below the registered domain. For example the subdomain portion of \"www.east.mydomain.co.uk\" is \"east\". If the domain has multiple levels of subdomain, such as \"sub2.sub1.example.com\", the subdomain field should contain \"sub2.sub1\", with no trailing period.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "top_level_domain": { + "description": "The effective top level domain (eTLD), also known as the domain suffix, is the last part of the domain name. For example, the top level domain for example.com is \"com\". This value can be determined precisely with a list like the public suffix list (http://publicsuffix.org). Trying to approximate this by simply taking the last label will not work well for effective TLDs such as \"co.uk\".", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "username": { + "description": "Username of the request.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + } + }, + "type": "object" + }, + "type": "object" + }, + "user": { + "description": "The user fields describe information about the user that is relevant to the event.\nFields can have one entry or multiple entries. If a user has more than one id, provide an array that includes all of them.", + "properties": { + "properties": { + "properties": { + "changes": { + "properties": { + "properties": { + "properties": { + "domain": { + "description": "Name of the directory the user is a member of. For example, an LDAP or Active Directory domain name.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "email": { + "description": "User email address.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "full_name": { + "description": "User's full name, if available.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "group": { + "properties": { + "properties": { + "properties": { + "domain": { + "description": "Name of the directory the group is a member of. For example, an LDAP or Active Directory domain name.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "id": { + "description": "Unique identifier for the group on the system/platform.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "name": { + "description": "Name of the group.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + } + }, + "type": "object" + } + }, + "hash": { + "description": "Unique user hash to correlate information for a user in anonymized form. Useful if `user.id` or `user.name` contain confidential information and cannot be used.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "id": { + "description": "Unique identifier of the user.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "name": { + "description": "Short name or login of the user.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "roles": { + "description": "Array of user roles at the time of the event.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + } + }, + "type": "object" + } + }, + "domain": { + "description": "Name of the directory the user is a member of. For example, an LDAP or Active Directory domain name.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "effective": { + "properties": { + "properties": { + "properties": { + "domain": { + "description": "Name of the directory the user is a member of. For example, an LDAP or Active Directory domain name.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "email": { + "description": "User email address.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "full_name": { + "description": "User's full name, if available.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "group": { + "properties": { + "properties": { + "properties": { + "domain": { + "description": "Name of the directory the group is a member of. For example, an LDAP or Active Directory domain name.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "id": { + "description": "Unique identifier for the group on the system/platform.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "name": { + "description": "Name of the group.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + } + }, + "type": "object" + } + }, + "hash": { + "description": "Unique user hash to correlate information for a user in anonymized form. Useful if `user.id` or `user.name` contain confidential information and cannot be used.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "id": { + "description": "Unique identifier of the user.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "name": { + "description": "Short name or login of the user.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "roles": { + "description": "Array of user roles at the time of the event.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + } + }, + "type": "object" + } + }, + "email": { + "description": "User email address.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "full_name": { + "description": "User's full name, if available.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "group": { + "properties": { + "properties": { + "properties": { + "domain": { + "description": "Name of the directory the group is a member of. For example, an LDAP or Active Directory domain name.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "id": { + "description": "Unique identifier for the group on the system/platform.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "name": { + "description": "Name of the group.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + } + }, + "type": "object" + } + }, + "hash": { + "description": "Unique user hash to correlate information for a user in anonymized form. Useful if `user.id` or `user.name` contain confidential information and cannot be used.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "id": { + "description": "Unique identifier of the user.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "name": { + "description": "Short name or login of the user.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "roles": { + "description": "Array of user roles at the time of the event.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "target": { + "properties": { + "properties": { + "properties": { + "domain": { + "description": "Name of the directory the user is a member of. For example, an LDAP or Active Directory domain name.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "email": { + "description": "User email address.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "full_name": { + "description": "User's full name, if available.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "group": { + "properties": { + "properties": { + "properties": { + "domain": { + "description": "Name of the directory the group is a member of. For example, an LDAP or Active Directory domain name.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "id": { + "description": "Unique identifier for the group on the system/platform.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "name": { + "description": "Name of the group.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + } + }, + "type": "object" + } + }, + "hash": { + "description": "Unique user hash to correlate information for a user in anonymized form. Useful if `user.id` or `user.name` contain confidential information and cannot be used.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "id": { + "description": "Unique identifier of the user.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "name": { + "description": "Short name or login of the user.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "roles": { + "description": "Array of user roles at the time of the event.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + } + }, + "type": "object" + } + } + } + }, + "type": "object" + }, + "type": "object" + }, + "user_agent": { + "description": "The user_agent fields normally come from a browser request.\nThey often show up in web service logs coming from the parsed user agent string.", + "properties": { + "properties": { + "properties": { + "device": { + "properties": { + "properties": { + "properties": { + "name": { + "description": "Name of the device.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + } + }, + "type": "object" + } + }, + "name": { + "description": "Name of the user agent.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "original": { + "description": "Unparsed user_agent string.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "os": { + "properties": { + "properties": { + "properties": { + "family": { + "description": "OS family (such as redhat, debian, freebsd, windows).", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "full": { + "description": "Operating system name, including the version or code name.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "kernel": { + "description": "Operating system kernel version as a raw string.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "name": { + "description": "Operating system name, without the version.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "platform": { + "description": "Operating system platform (such centos, ubuntu, windows).", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "type": { + "description": "Use the `os.type` field to categorize the operating system into one of the broad commercial families. One of these following values should be used (lowercase): linux, macos, unix, windows. If the OS you're dealing with is not in the list, the field should not be populated. Please let us know by opening an issue with ECS, to propose its addition.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "version": { + "description": "Operating system version as a raw string.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + } + }, + "type": "object" + } + }, + "version": { + "description": "Version of the user agent.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + } + }, + "type": "object" + }, + "type": "object" + }, + "vulnerability": { + "description": "The vulnerability fields describe information about a vulnerability that is relevant to an event.", + "properties": { + "properties": { + "properties": { + "category": { + "description": "The type of system or architecture that the vulnerability affects. These may be platform-specific (for example, Debian or SUSE) or general (for example, Database or Firewall). For example (https://qualysguard.qualys.com/qwebhelp/fo_portal/knowledgebase/vulnerability_categories.htm[Qualys vulnerability categories]) This field must be an array.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "classification": { + "description": "The classification of the vulnerability scoring system. For example (https://www.first.org/cvss/)", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "description": { + "description": "The description of the vulnerability that provides additional context of the vulnerability. For example (https://cve.mitre.org/about/faqs.html#cve_entry_descriptions_created[Common Vulnerabilities and Exposure CVE description])", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "enumeration": { + "description": "The type of identifier used for this vulnerability. For example (https://cve.mitre.org/about/)", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "id": { + "description": "The identification (ID) is the number portion of a vulnerability entry. It includes a unique identification number for the vulnerability. For example (https://cve.mitre.org/about/faqs.html#what_is_cve_id)[Common Vulnerabilities and Exposure CVE ID]", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "reference": { + "description": "A resource that provides additional information, context, and mitigations for the identified vulnerability.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "report_id": { + "description": "The report or scan identification number.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "scanner": { + "properties": { + "properties": { + "properties": { + "vendor": { + "description": "The name of the vulnerability scanner vendor.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + } + }, + "type": "object" + } + }, + "score": { + "properties": { + "properties": { + "properties": { + "base": { + "description": "Scores can range from 0.0 to 10.0, with 10.0 being the most severe. Base scores cover an assessment for exploitability metrics (attack vector, complexity, privileges, and user interaction), impact metrics (confidentiality, integrity, and availability), and scope. For example (https://www.first.org/cvss/specification-document)", + "properties": { + "type": { + "$ref": "#/definitions/types/float" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "environmental": { + "description": "Scores can range from 0.0 to 10.0, with 10.0 being the most severe. Environmental scores cover an assessment for any modified Base metrics, confidentiality, integrity, and availability requirements. For example (https://www.first.org/cvss/specification-document)", + "properties": { + "type": { + "$ref": "#/definitions/types/float" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "temporal": { + "description": "Scores can range from 0.0 to 10.0, with 10.0 being the most severe. Temporal scores cover an assessment for code maturity, remediation level, and confidence. For example (https://www.first.org/cvss/specification-document)", + "properties": { + "type": { + "$ref": "#/definitions/types/float" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "version": { + "description": "The National Vulnerability Database (NVD) provides qualitative severity rankings of \"Low\", \"Medium\", and \"High\" for CVSS v2.0 base score ranges in addition to the severity ratings for CVSS v3.0 as they are defined in the CVSS v3.0 specification. CVSS is owned and managed by FIRST.Org, Inc. (FIRST), a US-based non-profit organization, whose mission is to help computer security incident response teams across the world. For example (https://nvd.nist.gov/vuln-metrics/cvss)", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + } + }, + "type": "object" + } + }, + "severity": { + "description": "The severity of the vulnerability can help with metrics and internal prioritization regarding remediation. For example (https://nvd.nist.gov/vuln-metrics/cvss)", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + } + }, + "type": "object" + }, + "type": "object" + } + }, + "version": "2.0.0-dev+exp" +} \ No newline at end of file diff --git a/experimental/generated/json_schema/group.json b/experimental/generated/json_schema/group.json new file mode 100644 index 0000000000..3b9f1d1ee6 --- /dev/null +++ b/experimental/generated/json_schema/group.json @@ -0,0 +1,45 @@ +{ + "group": { + "properties": { + "properties": { + "domain": { + "description": "Name of the directory the group is a member of. For example, an LDAP or Active Directory domain name.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "id": { + "description": "Unique identifier for the group on the system/platform.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "name": { + "description": "Name of the group.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "type": "object" + } + } +} \ No newline at end of file diff --git a/experimental/generated/json_schema/host.json b/experimental/generated/json_schema/host.json new file mode 100644 index 0000000000..58b986566b --- /dev/null +++ b/experimental/generated/json_schema/host.json @@ -0,0 +1,614 @@ +{ + "host": { + "properties": { + "properties": { + "architecture": { + "description": "Operating system architecture.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "cpu": { + "properties": { + "properties": { + "usage": { + "description": "Percent CPU used which is normalized by the number of CPU cores and it ranges from 0 to 1. Scaling factor: 1000. For example: For a two core host, this value should be the average of the two cores, between 0 and 1.", + "properties": { + "type": { + "$ref": "#/definitions/types/scaled_float" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "type": "object" + } + }, + "disk": { + "properties": { + "properties": { + "read": { + "properties": { + "properties": { + "bytes": { + "description": "The total number of bytes (gauge) read successfully (aggregated from all disks) since the last metric collection.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "type": "object" + } + }, + "write": { + "properties": { + "properties": { + "bytes": { + "description": "The total number of bytes (gauge) written successfully (aggregated from all disks) since the last metric collection.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "type": "object" + } + } + }, + "type": "object" + } + }, + "domain": { + "description": "Name of the domain of which the host is a member. 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.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "geo": { + "properties": { + "properties": { + "city_name": { + "description": "City name.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "continent_code": { + "description": "Two-letter code representing continent's name.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "continent_name": { + "description": "Name of the continent.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "country_iso_code": { + "description": "Country ISO code.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "country_name": { + "description": "Country name.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "location": { + "description": "Longitude and latitude.", + "properties": { + "type": { + "$ref": "#/definitions/types/geo_point" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "name": { + "description": "User-defined description of a location, at the level of granularity they care about. Could be the name of their data centers, the floor number, if this describes a local physical entity, city names. Not typically used in automated geolocation.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "postal_code": { + "description": "Postal code associated with the location. Values appropriate for this field may also be known as a postcode or ZIP code and will vary widely from country to country.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "region_iso_code": { + "description": "Region ISO code.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "region_name": { + "description": "Region name.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "timezone": { + "description": "The time zone of the location, such as IANA time zone name.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "type": "object" + } + }, + "hostname": { + "description": "Hostname of the host. It normally contains what the `hostname` command returns on the host machine.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "id": { + "description": "Unique host id. As hostname is not always unique, use values that are meaningful in your environment. Example: The current usage of `beat.name`.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "ip": { + "description": "Host ip addresses.", + "properties": { + "type": { + "$ref": "#/definitions/types/ip" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "mac": { + "description": "Host MAC addresses. The notation format from RFC 7042 is suggested: Each octet (that is, 8-bit byte) is represented by two [uppercase] hexadecimal digits giving the value of the octet as an unsigned integer. Successive octets are separated by a hyphen.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "name": { + "description": "Name of the host. It can contain what `hostname` returns on Unix systems, the fully qualified domain name, or a name specified by the user. The sender decides which value to use.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "network": { + "properties": { + "properties": { + "egress": { + "properties": { + "properties": { + "bytes": { + "description": "The number of bytes (gauge) sent out on all network interfaces by the host since the last metric collection.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "packets": { + "description": "The number of packets (gauge) sent out on all network interfaces by the host since the last metric collection.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "type": "object" + } + }, + "ingress": { + "properties": { + "properties": { + "bytes": { + "description": "The number of bytes received (gauge) on all network interfaces by the host since the last metric collection.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "packets": { + "description": "The number of packets (gauge) received on all network interfaces by the host since the last metric collection.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "type": "object" + } + } + }, + "type": "object" + } + }, + "os": { + "properties": { + "properties": { + "family": { + "description": "OS family (such as redhat, debian, freebsd, windows).", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "full": { + "description": "Operating system name, including the version or code name.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "kernel": { + "description": "Operating system kernel version as a raw string.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "name": { + "description": "Operating system name, without the version.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "platform": { + "description": "Operating system platform (such centos, ubuntu, windows).", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "type": { + "description": "Use the `os.type` field to categorize the operating system into one of the broad commercial families. One of these following values should be used (lowercase): linux, macos, unix, windows. If the OS you're dealing with is not in the list, the field should not be populated. Please let us know by opening an issue with ECS, to propose its addition.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "version": { + "description": "Operating system version as a raw string.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "type": "object" + } + }, + "type": { + "description": "Type of host. For Cloud providers this can be the machine type like `t2.medium`. If vm, this could be the container, for example, or other information meaningful in your environment.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "uptime": { + "description": "Seconds the host has been up.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "user": { + "properties": { + "properties": { + "domain": { + "description": "Name of the directory the user is a member of. For example, an LDAP or Active Directory domain name.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "email": { + "description": "User email address.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "full_name": { + "description": "User's full name, if available.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "group": { + "properties": { + "properties": { + "domain": { + "description": "Name of the directory the group is a member of. For example, an LDAP or Active Directory domain name.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "id": { + "description": "Unique identifier for the group on the system/platform.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "name": { + "description": "Name of the group.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "type": "object" + } + }, + "hash": { + "description": "Unique user hash to correlate information for a user in anonymized form. Useful if `user.id` or `user.name` contain confidential information and cannot be used.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "id": { + "description": "Unique identifier of the user.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "name": { + "description": "Short name or login of the user.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "roles": { + "description": "Array of user roles at the time of the event.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "type": "object" + } + } + }, + "type": "object" + } + } +} \ No newline at end of file diff --git a/experimental/generated/json_schema/http.json b/experimental/generated/json_schema/http.json new file mode 100644 index 0000000000..44c6db5d10 --- /dev/null +++ b/experimental/generated/json_schema/http.json @@ -0,0 +1,193 @@ +{ + "http": { + "properties": { + "properties": { + "request": { + "properties": { + "properties": { + "body": { + "properties": { + "properties": { + "bytes": { + "description": "Size in bytes of the request body.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "content": { + "description": "The full HTTP request body.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "type": "object" + } + }, + "bytes": { + "description": "Total size in bytes of the request (body and headers).", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "id": { + "description": "A unique identifier for each HTTP request to correlate logs between clients and servers in transactions. The id may be contained in a non-standard HTTP header, such as `X-Request-ID` or `X-Correlation-ID`.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "method": { + "description": "HTTP request method. Prior to ECS 1.6.0 the following guidance was provided: \"The field value must be normalized to lowercase for querying.\" As of ECS 1.6.0, the guidance is deprecated because the original case of the method may be useful in anomaly detection. Original case will be mandated in ECS 2.0.0", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "mime_type": { + "description": "Mime type of the body of the request. This value must only be populated based on the content of the request body, not on the `Content-Type` header. Comparing the mime type of a request with the request's Content-Type header can be helpful in detecting threats or misconfigured clients.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "referrer": { + "description": "Referrer for this HTTP request.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "type": "object" + } + }, + "response": { + "properties": { + "properties": { + "body": { + "properties": { + "properties": { + "bytes": { + "description": "Size in bytes of the response body.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "content": { + "description": "The full HTTP response body.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "type": "object" + } + }, + "bytes": { + "description": "Total size in bytes of the response (body and headers).", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "mime_type": { + "description": "Mime type of the body of the response. This value must only be populated based on the content of the response body, not on the `Content-Type` header. Comparing the mime type of a response with the response's Content-Type header can be helpful in detecting misconfigured servers.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "status_code": { + "description": "HTTP response status code.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "type": "object" + } + }, + "version": { + "description": "HTTP version.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "type": "object" + } + } +} \ No newline at end of file diff --git a/experimental/generated/json_schema/log.json b/experimental/generated/json_schema/log.json new file mode 100644 index 0000000000..53e6679b03 --- /dev/null +++ b/experimental/generated/json_schema/log.json @@ -0,0 +1,202 @@ +{ + "log": { + "properties": { + "properties": { + "file": { + "properties": { + "properties": { + "path": { + "description": "Full path to the log file this event came from, including the file name. It should include the drive letter, when appropriate. If the event wasn't read from a log file, do not populate this field.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "type": "object" + } + }, + "level": { + "description": "Original log level of the log event. If the source of the event provides a log level or textual severity, this is the one that goes in `log.level`. If your source doesn't specify one, you may put your event transport's severity here (e.g. Syslog severity). Some examples are `warn`, `err`, `i`, `informational`.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "logger": { + "description": "The name of the logger inside an application. This is usually the name of the class which initialized the logger, or can be a custom name.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "origin": { + "properties": { + "properties": { + "file": { + "properties": { + "properties": { + "line": { + "description": "The line number of the file containing the source code which originated the log event.", + "properties": { + "type": { + "$ref": "#/definitions/types/integer" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "name": { + "description": "The name of the file containing the source code which originated the log event. Note that this field is not meant to capture the log file. The correct field to capture the log file is `log.file.path`.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "type": "object" + } + }, + "function": { + "description": "The name of the function or method which originated the log event.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "type": "object" + } + }, + "original": { + "description": "This is the original log message and contains the full log message before splitting it up in multiple parts. In contrast to the `message` field which can contain an extracted part of the log message, this field contains the original, full log message. It can have already some modifications applied like encoding or new lines removed to clean up the log message. This field is not indexed and doc_values are disabled so it can't be queried but the value can be retrieved from `_source`.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "syslog": { + "description": "The Syslog metadata of the event, if the event was transmitted via Syslog. Please see RFCs 5424 or 3164.", + "properties": { + "properties": { + "facility": { + "properties": { + "properties": { + "code": { + "description": "The Syslog numeric facility of the log event, if available. According to RFCs 5424 and 3164, this value should be an integer between 0 and 23.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "name": { + "description": "The Syslog text-based facility of the log event, if available.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "type": "object" + } + }, + "priority": { + "description": "Syslog numeric priority of the event, if available. According to RFCs 5424 and 3164, the priority is 8 * facility + severity. This number is therefore expected to contain a value between 0 and 191.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "severity": { + "properties": { + "properties": { + "code": { + "description": "The Syslog numeric severity of the log event, if available. If the event source publishing via Syslog provides a different numeric severity value (e.g. firewall, IDS), your source's numeric severity should go to `event.severity`. If the event source does not specify a distinct severity, you can optionally copy the Syslog severity to `event.severity`.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "name": { + "description": "The Syslog numeric severity of the log event, if available. If the event source publishing via Syslog provides a different severity value (e.g. firewall, IDS), your source's text severity should go to `log.level`. If the event source does not specify a distinct severity, you can optionally copy the Syslog severity to `log.level`.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "type": "object" + } + } + }, + "type": { + "$ref": "#/definitions/types/object" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "type": "object" + } + } +} \ No newline at end of file diff --git a/experimental/generated/json_schema/network.json b/experimental/generated/json_schema/network.json new file mode 100644 index 0000000000..9e07325814 --- /dev/null +++ b/experimental/generated/json_schema/network.json @@ -0,0 +1,217 @@ +{ + "network": { + "properties": { + "properties": { + "application": { + "description": "A name given to an application level protocol. This can be arbitrarily assigned for things like microservices, but also apply to things like skype, icq, facebook, twitter. This would be used in situations where the vendor or service can be decoded such as from the source/dest IP owners, ports, or wire format. The field value must be normalized to lowercase for querying. See the documentation section \"Implementing ECS\".", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "bytes": { + "description": "Total bytes transferred in both directions. If `source.bytes` and `destination.bytes` are known, `network.bytes` is their sum.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "community_id": { + "description": "A hash of source and destination IPs and ports, as well as the protocol used in a communication. This is a tool-agnostic standard to identify flows. Learn more at https://github.com/corelight/community-id-spec.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "direction": { + "description": "Direction of the network traffic. Recommended values are: * ingress * egress * inbound * outbound * internal * external * unknown When mapping events from a host-based monitoring context, populate this field from the host's point of view, using the values \"ingress\" or \"egress\". When mapping events from a network or perimeter-based monitoring context, populate this field from the point of view of the network perimeter, using the values \"inbound\", \"outbound\", \"internal\" or \"external\". Note that \"internal\" is not crossing perimeter boundaries, and is meant to describe communication between two hosts within the perimeter. Note also that \"external\" is meant to describe traffic between two hosts that are external to the perimeter. This could for example be useful for ISPs or VPN service providers.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "forwarded_ip": { + "description": "Host IP address when the source IP address is the proxy.", + "properties": { + "type": { + "$ref": "#/definitions/types/ip" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "iana_number": { + "description": "IANA Protocol Number (https://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml). Standardized list of protocols. This aligns well with NetFlow and sFlow related logs which use the IANA Protocol Number.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "inner": { + "description": "Network.inner fields are added in addition to network.vlan fields to describe the innermost VLAN when q-in-q VLAN tagging is present. Allowed fields include vlan.id and vlan.name. Inner vlan fields are typically used when sending traffic with multiple 802.1q encapsulations to a network sensor (e.g. Zeek, Wireshark.)", + "properties": { + "properties": { + "vlan": { + "properties": { + "properties": { + "id": { + "description": "VLAN ID as reported by the observer.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "name": { + "description": "Optional VLAN name as reported by the observer.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "type": "object" + } + } + }, + "type": { + "$ref": "#/definitions/types/object" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "name": { + "description": "Name given by operators to sections of their network.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "packets": { + "description": "Total packets transferred in both directions. If `source.packets` and `destination.packets` are known, `network.packets` is their sum.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "protocol": { + "description": "L7 Network protocol name. ex. http, lumberjack, transport protocol. The field value must be normalized to lowercase for querying. See the documentation section \"Implementing ECS\".", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "transport": { + "description": "Same as network.iana_number, but instead using the Keyword name of the transport layer (udp, tcp, ipv6-icmp, etc.) The field value must be normalized to lowercase for querying. See the documentation section \"Implementing ECS\".", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "type": { + "description": "In the OSI Model this would be the Network Layer. ipv4, ipv6, ipsec, pim, etc The field value must be normalized to lowercase for querying. See the documentation section \"Implementing ECS\".", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "vlan": { + "properties": { + "properties": { + "id": { + "description": "VLAN ID as reported by the observer.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "name": { + "description": "Optional VLAN name as reported by the observer.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "type": "object" + } + } + }, + "type": "object" + } + } +} \ No newline at end of file diff --git a/experimental/generated/json_schema/observer.json b/experimental/generated/json_schema/observer.json new file mode 100644 index 0000000000..bb3dfc2847 --- /dev/null +++ b/experimental/generated/json_schema/observer.json @@ -0,0 +1,547 @@ +{ + "observer": { + "properties": { + "properties": { + "egress": { + "description": "Observer.egress holds information like interface number and name, vlan, and zone information to classify egress traffic. Single armed monitoring such as a network sensor on a span port should only use observer.ingress to categorize traffic.", + "properties": { + "properties": { + "interface": { + "properties": { + "properties": { + "alias": { + "description": "Interface alias as reported by the system, typically used in firewall implementations for e.g. inside, outside, or dmz logical interface naming.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "id": { + "description": "Interface ID as reported by an observer (typically SNMP interface ID).", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "name": { + "description": "Interface name as reported by the system.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "type": "object" + } + }, + "vlan": { + "properties": { + "properties": { + "id": { + "description": "VLAN ID as reported by the observer.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "name": { + "description": "Optional VLAN name as reported by the observer.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "type": "object" + } + }, + "zone": { + "description": "Network zone of outbound traffic as reported by the observer to categorize the destination area of egress traffic, e.g. Internal, External, DMZ, HR, Legal, etc.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "type": { + "$ref": "#/definitions/types/object" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "geo": { + "properties": { + "properties": { + "city_name": { + "description": "City name.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "continent_code": { + "description": "Two-letter code representing continent's name.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "continent_name": { + "description": "Name of the continent.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "country_iso_code": { + "description": "Country ISO code.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "country_name": { + "description": "Country name.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "location": { + "description": "Longitude and latitude.", + "properties": { + "type": { + "$ref": "#/definitions/types/geo_point" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "name": { + "description": "User-defined description of a location, at the level of granularity they care about. Could be the name of their data centers, the floor number, if this describes a local physical entity, city names. Not typically used in automated geolocation.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "postal_code": { + "description": "Postal code associated with the location. Values appropriate for this field may also be known as a postcode or ZIP code and will vary widely from country to country.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "region_iso_code": { + "description": "Region ISO code.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "region_name": { + "description": "Region name.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "timezone": { + "description": "The time zone of the location, such as IANA time zone name.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "type": "object" + } + }, + "hostname": { + "description": "Hostname of the observer.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "ingress": { + "description": "Observer.ingress holds information like interface number and name, vlan, and zone information to classify ingress traffic. Single armed monitoring such as a network sensor on a span port should only use observer.ingress to categorize traffic.", + "properties": { + "properties": { + "interface": { + "properties": { + "properties": { + "alias": { + "description": "Interface alias as reported by the system, typically used in firewall implementations for e.g. inside, outside, or dmz logical interface naming.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "id": { + "description": "Interface ID as reported by an observer (typically SNMP interface ID).", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "name": { + "description": "Interface name as reported by the system.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "type": "object" + } + }, + "vlan": { + "properties": { + "properties": { + "id": { + "description": "VLAN ID as reported by the observer.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "name": { + "description": "Optional VLAN name as reported by the observer.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "type": "object" + } + }, + "zone": { + "description": "Network zone of incoming traffic as reported by the observer to categorize the source area of ingress traffic. e.g. internal, External, DMZ, HR, Legal, etc.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "type": { + "$ref": "#/definitions/types/object" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "ip": { + "description": "IP addresses of the observer.", + "properties": { + "type": { + "$ref": "#/definitions/types/ip" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "mac": { + "description": "MAC addresses of the observer. The notation format from RFC 7042 is suggested: Each octet (that is, 8-bit byte) is represented by two [uppercase] hexadecimal digits giving the value of the octet as an unsigned integer. Successive octets are separated by a hyphen.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "name": { + "description": "Custom name of the observer. This is a name that can be given to an observer. This can be helpful for example if multiple firewalls of the same model are used in an organization. If no custom name is needed, the field can be left empty.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "os": { + "properties": { + "properties": { + "family": { + "description": "OS family (such as redhat, debian, freebsd, windows).", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "full": { + "description": "Operating system name, including the version or code name.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "kernel": { + "description": "Operating system kernel version as a raw string.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "name": { + "description": "Operating system name, without the version.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "platform": { + "description": "Operating system platform (such centos, ubuntu, windows).", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "type": { + "description": "Use the `os.type` field to categorize the operating system into one of the broad commercial families. One of these following values should be used (lowercase): linux, macos, unix, windows. If the OS you're dealing with is not in the list, the field should not be populated. Please let us know by opening an issue with ECS, to propose its addition.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "version": { + "description": "Operating system version as a raw string.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "type": "object" + } + }, + "product": { + "description": "The product name of the observer.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "serial_number": { + "description": "Observer serial number.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "type": { + "description": "The type of the observer the data is coming from. There is no predefined list of observer types. Some examples are `forwarder`, `firewall`, `ids`, `ips`, `proxy`, `poller`, `sensor`, `APM server`.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "vendor": { + "description": "Vendor name of the observer.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "version": { + "description": "Observer version.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "type": "object" + } + } +} \ No newline at end of file diff --git a/experimental/generated/json_schema/orchestrator.json b/experimental/generated/json_schema/orchestrator.json new file mode 100644 index 0000000000..9670c9811a --- /dev/null +++ b/experimental/generated/json_schema/orchestrator.json @@ -0,0 +1,131 @@ +{ + "orchestrator": { + "properties": { + "properties": { + "api_version": { + "description": "API version being used to carry out the action", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "cluster": { + "properties": { + "properties": { + "name": { + "description": "Name of the cluster.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "url": { + "description": "URL of the API used to manage the cluster.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "version": { + "description": "The version of the cluster.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "type": "object" + } + }, + "namespace": { + "description": "Namespace in which the action is taking place.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "organization": { + "description": "Organization affected by the event (for multi-tenant orchestrator setups).", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "resource": { + "properties": { + "properties": { + "name": { + "description": "Name of the resource being acted upon.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "type": { + "description": "Type of resource being acted upon.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "type": "object" + } + }, + "type": { + "description": "Orchestrator cluster type (e.g. kubernetes, nomad or cloudfoundry).", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "type": "object" + } + } +} \ No newline at end of file diff --git a/experimental/generated/json_schema/organization.json b/experimental/generated/json_schema/organization.json new file mode 100644 index 0000000000..a1f1be9b48 --- /dev/null +++ b/experimental/generated/json_schema/organization.json @@ -0,0 +1,33 @@ +{ + "organization": { + "properties": { + "properties": { + "id": { + "description": "Unique identifier for the organization.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "name": { + "description": "Organization name.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "type": "object" + } + } +} \ No newline at end of file diff --git a/experimental/generated/json_schema/package.json b/experimental/generated/json_schema/package.json new file mode 100644 index 0000000000..3c1006ac0e --- /dev/null +++ b/experimental/generated/json_schema/package.json @@ -0,0 +1,165 @@ +{ + "package": { + "properties": { + "properties": { + "architecture": { + "description": "Package architecture.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "build_version": { + "description": "Additional information about the build version of the installed package. For example use the commit SHA of a non-released package.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "checksum": { + "description": "Checksum of the installed package for verification.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "description": { + "description": "Description of the package.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "install_scope": { + "description": "Indicating how the package was installed, e.g. user-local, global.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "installed": { + "description": "Time when package was installed.", + "properties": { + "type": { + "$ref": "#/definitions/types/date" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "license": { + "description": "License under which the package was released. Use a short name, e.g. the license identifier from SPDX License List where possible (https://spdx.org/licenses/).", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "name": { + "description": "Package name", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "path": { + "description": "Path where the package is installed.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "reference": { + "description": "Home page or reference URL of the software in this package, if available.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "size": { + "description": "Package size in bytes.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "type": { + "description": "Type of package. This should contain the package file type, rather than the package manager name. Examples: rpm, dpkg, brew, npm, gem, nupkg, jar.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "version": { + "description": "Package version", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "type": "object" + } + } +} \ No newline at end of file diff --git a/experimental/generated/json_schema/process.json b/experimental/generated/json_schema/process.json new file mode 100644 index 0000000000..278d8dedbc --- /dev/null +++ b/experimental/generated/json_schema/process.json @@ -0,0 +1,2470 @@ +{ + "process": { + "properties": { + "properties": { + "args": { + "description": "Array of process arguments, starting with the absolute path to the executable. May be filtered to protect sensitive information.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "args_count": { + "description": "Length of the process.args array. This field can be useful for querying or performing bucket analysis on how many arguments were provided to start a process. More arguments may be an indication of suspicious activity.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "code_signature": { + "properties": { + "properties": { + "exists": { + "description": "Boolean to capture if a signature is present.", + "properties": { + "type": { + "$ref": "#/definitions/types/boolean" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "signing_id": { + "description": "The identifier used to sign the process. This is used to identify the application manufactured by a software vendor. The field is relevant to Apple *OS only.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "status": { + "description": "Additional information about the certificate status. This is useful for logging cryptographic errors with the certificate validity or trust status. Leave unpopulated if the validity or trust of the certificate was unchecked.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "subject_name": { + "description": "Subject name of the code signer", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "team_id": { + "description": "The team identifier used to sign the process. This is used to identify the team or vendor of a software product. The field is relevant to Apple *OS only.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "trusted": { + "description": "Stores the trust status of the certificate chain. Validating the trust of the certificate chain may be complicated, and this field should only be populated by tools that actively check the status.", + "properties": { + "type": { + "$ref": "#/definitions/types/boolean" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "valid": { + "description": "Boolean to capture if the digital signature is verified against the binary content. Leave unpopulated if a certificate was unchecked.", + "properties": { + "type": { + "$ref": "#/definitions/types/boolean" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "type": "object" + } + }, + "command_line": { + "description": "Full command line that started the process, including the absolute path to the executable, and all arguments. Some arguments may be filtered to protect sensitive information.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "elf": { + "properties": { + "properties": { + "architecture": { + "description": "Machine architecture of the ELF file.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "byte_order": { + "description": "Byte sequence of ELF file.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "cpu_type": { + "description": "CPU type of the ELF file.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "creation_date": { + "description": "Extracted when possible from the file's metadata. Indicates when it was built or compiled. It can also be faked by malware creators.", + "properties": { + "type": { + "$ref": "#/definitions/types/date" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "exports": { + "description": "List of exported element names and types.", + "properties": { + "type": { + "$ref": "#/definitions/types/flattened" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "header": { + "properties": { + "properties": { + "abi_version": { + "description": "Version of the ELF Application Binary Interface (ABI).", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "class": { + "description": "Header class of the ELF file.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "data": { + "description": "Data table of the ELF header.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "entrypoint": { + "description": "Header entrypoint of the ELF file.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "object_version": { + "description": "\"0x1\" for original ELF files.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "os_abi": { + "description": "Application Binary Interface (ABI) of the Linux OS.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "type": { + "description": "Header type of the ELF file.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "version": { + "description": "Version of the ELF header.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "type": "object" + } + }, + "imports": { + "description": "List of imported element names and types.", + "properties": { + "type": { + "$ref": "#/definitions/types/flattened" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "sections": { + "description": "Section information of the ELF file.", + "properties": { + "properties": { + "chi2": { + "description": "Chi-square probability distribution of the section.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "entropy": { + "description": "Shannon entropy calculation from the section.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "flags": { + "description": "ELF Section List flags.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "name": { + "description": "ELF Section List name.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "physical_offset": { + "description": "ELF Section List offset.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "physical_size": { + "description": "ELF Section List physical size.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "type": { + "description": "ELF Section List type.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "virtual_address": { + "description": "ELF Section List virtual address.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "virtual_size": { + "description": "ELF Section List virtual size.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "type": { + "$ref": "#/definitions/types/nested" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "segments": { + "description": "ELF object segment list.", + "properties": { + "properties": { + "sections": { + "description": "ELF object segment sections.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "type": { + "description": "ELF object segment type.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "type": { + "$ref": "#/definitions/types/nested" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "shared_libraries": { + "description": "List of shared libraries used by this ELF object", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "telfhash": { + "description": "telfhash is symbol hash for ELF files, just like imphash is imports hash for PE files. Learn more at https://github.com/trendmicro/telfhash.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "type": "object" + } + }, + "entity_id": { + "description": "Unique identifier for the process. The implementation of this is specified by the data source, but some examples of what could be used here are a process-generated UUID, Sysmon Process GUIDs, or a hash of some uniquely identifying components of a process. Constructing a globally unique identifier is a common practice to mitigate PID reuse as well as to identify a specific process over time, across multiple monitored hosts.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "executable": { + "description": "Absolute path to the process executable.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "exit_code": { + "description": "The exit code of the process, if this is a termination event. The field should be absent if there is no exit code for the event (e.g. process start).", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "hash": { + "properties": { + "properties": { + "md5": { + "description": "MD5 hash.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "sha1": { + "description": "SHA1 hash.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "sha256": { + "description": "SHA256 hash.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "sha512": { + "description": "SHA512 hash.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "ssdeep": { + "description": "SSDEEP hash.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "type": "object" + } + }, + "name": { + "description": "Process name. Sometimes called program name or similar.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "parent": { + "properties": { + "properties": { + "args": { + "description": "Array of process arguments, starting with the absolute path to the executable. May be filtered to protect sensitive information.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "args_count": { + "description": "Length of the process.args array. This field can be useful for querying or performing bucket analysis on how many arguments were provided to start a process. More arguments may be an indication of suspicious activity.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "code_signature": { + "properties": { + "properties": { + "exists": { + "description": "Boolean to capture if a signature is present.", + "properties": { + "type": { + "$ref": "#/definitions/types/boolean" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "signing_id": { + "description": "The identifier used to sign the process. This is used to identify the application manufactured by a software vendor. The field is relevant to Apple *OS only.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "status": { + "description": "Additional information about the certificate status. This is useful for logging cryptographic errors with the certificate validity or trust status. Leave unpopulated if the validity or trust of the certificate was unchecked.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "subject_name": { + "description": "Subject name of the code signer", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "team_id": { + "description": "The team identifier used to sign the process. This is used to identify the team or vendor of a software product. The field is relevant to Apple *OS only.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "trusted": { + "description": "Stores the trust status of the certificate chain. Validating the trust of the certificate chain may be complicated, and this field should only be populated by tools that actively check the status.", + "properties": { + "type": { + "$ref": "#/definitions/types/boolean" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "valid": { + "description": "Boolean to capture if the digital signature is verified against the binary content. Leave unpopulated if a certificate was unchecked.", + "properties": { + "type": { + "$ref": "#/definitions/types/boolean" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "type": "object" + } + }, + "command_line": { + "description": "Full command line that started the process, including the absolute path to the executable, and all arguments. Some arguments may be filtered to protect sensitive information.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "elf": { + "properties": { + "properties": { + "architecture": { + "description": "Machine architecture of the ELF file.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "byte_order": { + "description": "Byte sequence of ELF file.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "cpu_type": { + "description": "CPU type of the ELF file.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "creation_date": { + "description": "Extracted when possible from the file's metadata. Indicates when it was built or compiled. It can also be faked by malware creators.", + "properties": { + "type": { + "$ref": "#/definitions/types/date" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "exports": { + "description": "List of exported element names and types.", + "properties": { + "type": { + "$ref": "#/definitions/types/flattened" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "header": { + "properties": { + "properties": { + "abi_version": { + "description": "Version of the ELF Application Binary Interface (ABI).", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "class": { + "description": "Header class of the ELF file.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "data": { + "description": "Data table of the ELF header.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "entrypoint": { + "description": "Header entrypoint of the ELF file.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "object_version": { + "description": "\"0x1\" for original ELF files.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "os_abi": { + "description": "Application Binary Interface (ABI) of the Linux OS.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "type": { + "description": "Header type of the ELF file.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "version": { + "description": "Version of the ELF header.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "type": "object" + } + }, + "imports": { + "description": "List of imported element names and types.", + "properties": { + "type": { + "$ref": "#/definitions/types/flattened" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "sections": { + "description": "Section information of the ELF file.", + "properties": { + "properties": { + "chi2": { + "description": "Chi-square probability distribution of the section.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "entropy": { + "description": "Shannon entropy calculation from the section.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "flags": { + "description": "ELF Section List flags.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "name": { + "description": "ELF Section List name.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "physical_offset": { + "description": "ELF Section List offset.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "physical_size": { + "description": "ELF Section List physical size.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "type": { + "description": "ELF Section List type.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "virtual_address": { + "description": "ELF Section List virtual address.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "virtual_size": { + "description": "ELF Section List virtual size.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "type": { + "$ref": "#/definitions/types/nested" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "segments": { + "description": "ELF object segment list.", + "properties": { + "properties": { + "sections": { + "description": "ELF object segment sections.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "type": { + "description": "ELF object segment type.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "type": { + "$ref": "#/definitions/types/nested" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "shared_libraries": { + "description": "List of shared libraries used by this ELF object", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "telfhash": { + "description": "telfhash is symbol hash for ELF files, just like imphash is imports hash for PE files. Learn more at https://github.com/trendmicro/telfhash.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "type": "object" + } + }, + "entity_id": { + "description": "Unique identifier for the process. The implementation of this is specified by the data source, but some examples of what could be used here are a process-generated UUID, Sysmon Process GUIDs, or a hash of some uniquely identifying components of a process. Constructing a globally unique identifier is a common practice to mitigate PID reuse as well as to identify a specific process over time, across multiple monitored hosts.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "executable": { + "description": "Absolute path to the process executable.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "exit_code": { + "description": "The exit code of the process, if this is a termination event. The field should be absent if there is no exit code for the event (e.g. process start).", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "hash": { + "properties": { + "properties": { + "md5": { + "description": "MD5 hash.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "sha1": { + "description": "SHA1 hash.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "sha256": { + "description": "SHA256 hash.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "sha512": { + "description": "SHA512 hash.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "ssdeep": { + "description": "SSDEEP hash.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "type": "object" + } + }, + "name": { + "description": "Process name. Sometimes called program name or similar.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "pe": { + "properties": { + "properties": { + "architecture": { + "description": "CPU architecture target for the file.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "authentihash": { + "description": "Authentihash of the PE file.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "company": { + "description": "Internal company name of the file, provided at compile-time.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "compile_timestamp": { + "description": "Compile timestamp of the PE file.", + "properties": { + "type": { + "$ref": "#/definitions/types/date" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "compiler": { + "properties": { + "properties": { + "name": { + "description": "Name of the compiler", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "version": { + "description": "Version of the compiler.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "type": "object" + } + }, + "creation_date": { + "description": "Extracted when possible from the file's metadata. Indicates when it was built or compiled. It can also be faked by malware creators.", + "properties": { + "type": { + "$ref": "#/definitions/types/date" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "debug": { + "description": "An array containing an object for each debug entry, if present. The expected fields for this nested object fall under the `debug.` prefix.", + "properties": { + "properties": { + "offset": { + "description": "Debug offset information.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "size": { + "description": "Size of the debug information.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "timestamp": { + "description": "Timestamp of the debug information.", + "properties": { + "type": { + "$ref": "#/definitions/types/date" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "type": { + "description": "Information type generated by the debug options.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "type": { + "$ref": "#/definitions/types/nested" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "description": { + "description": "Internal description of the file, provided at compile-time.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "entry_point": { + "description": "Relative byte offset to the base of the PE file.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "exports": { + "description": "List of symbols exported by PE", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "file_version": { + "description": "Internal version of the file, provided at compile-time.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "icon": { + "properties": { + "properties": { + "hash": { + "properties": { + "properties": { + "dhash": { + "description": "Difference Hash (dhash) to find files with a visually similar icon or thumbnail.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "type": "object" + } + } + }, + "type": "object" + } + }, + "imphash": { + "description": "A hash of the imports in a PE file. An imphash -- or import hash -- can be used to fingerprint binaries even after recompilation or other code-level transformations have occurred, which would change more traditional hash values. Learn more at https://www.fireeye.com/blog/threat-research/2014/01/tracking-malware-import-hashing.html.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "imports": { + "description": "List of all imported functions", + "properties": { + "type": { + "$ref": "#/definitions/types/flattened" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "machine_type": { + "description": "Machine type of the PE file.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "original_file_name": { + "description": "Internal name of the file, provided at compile-time.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "packers": { + "description": "List of packers and tools used.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "product": { + "description": "Internal product name of the file, provided at compile-time.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "resources": { + "description": "An array containing an object for each PE resource, if present. The expected fields for this nested object fall under the `resources.` prefix.", + "properties": { + "properties": { + "chi2": { + "description": "Chi-square probability distribution.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "entropy": { + "description": "Measurement of entropy randomness in the resources section.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "filetype": { + "description": "File type of the resources section.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "language": { + "description": "Language identification.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "sha256": { + "description": "SHA256 hash of resources section.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "type": { + "description": "Digest of resource types.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "type": { + "$ref": "#/definitions/types/nested" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "rich_header": { + "properties": { + "properties": { + "hash": { + "properties": { + "properties": { + "md5": { + "description": "MD5 hash of the header for the PE file.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "type": "object" + } + } + }, + "type": "object" + } + }, + "sections": { + "description": "Data about sections of compiled binary PE", + "properties": { + "properties": { + "chi2": { + "description": "Chi-square probability distribution.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "entropy": { + "description": "Measurement of entropy randomness in the file.", + "properties": { + "type": { + "$ref": "#/definitions/types/float" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "flags": { + "description": "Section flags of the file.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "name": { + "description": "Section names of the file.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "raw_size": { + "description": "Size of the section or the dize of the initialized data on disk.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "virtual_address": { + "description": "Virtual address available to the file.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "type": { + "$ref": "#/definitions/types/nested" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "type": "object" + } + }, + "pgid": { + "description": "Identifier of the group of processes the process belongs to.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "pid": { + "description": "Process id.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "ppid": { + "description": "Parent process' pid.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "start": { + "description": "The time the process started.", + "properties": { + "type": { + "$ref": "#/definitions/types/date" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "thread": { + "properties": { + "properties": { + "id": { + "description": "Thread ID.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "name": { + "description": "Thread name.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "type": "object" + } + }, + "title": { + "description": "Process title. The proctitle, some times the same as process name. Can also be different: for example a browser setting its title to the web page currently opened.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "uptime": { + "description": "Seconds the process has been up.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "working_directory": { + "description": "The working directory of the process.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "type": "object" + } + }, + "pe": { + "properties": { + "properties": { + "architecture": { + "description": "CPU architecture target for the file.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "authentihash": { + "description": "Authentihash of the PE file.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "company": { + "description": "Internal company name of the file, provided at compile-time.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "compile_timestamp": { + "description": "Compile timestamp of the PE file.", + "properties": { + "type": { + "$ref": "#/definitions/types/date" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "compiler": { + "properties": { + "properties": { + "name": { + "description": "Name of the compiler", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "version": { + "description": "Version of the compiler.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "type": "object" + } + }, + "creation_date": { + "description": "Extracted when possible from the file's metadata. Indicates when it was built or compiled. It can also be faked by malware creators.", + "properties": { + "type": { + "$ref": "#/definitions/types/date" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "debug": { + "description": "An array containing an object for each debug entry, if present. The expected fields for this nested object fall under the `debug.` prefix.", + "properties": { + "properties": { + "offset": { + "description": "Debug offset information.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "size": { + "description": "Size of the debug information.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "timestamp": { + "description": "Timestamp of the debug information.", + "properties": { + "type": { + "$ref": "#/definitions/types/date" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "type": { + "description": "Information type generated by the debug options.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "type": { + "$ref": "#/definitions/types/nested" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "description": { + "description": "Internal description of the file, provided at compile-time.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "entry_point": { + "description": "Relative byte offset to the base of the PE file.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "exports": { + "description": "List of symbols exported by PE", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "file_version": { + "description": "Internal version of the file, provided at compile-time.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "icon": { + "properties": { + "properties": { + "hash": { + "properties": { + "properties": { + "dhash": { + "description": "Difference Hash (dhash) to find files with a visually similar icon or thumbnail.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "type": "object" + } + } + }, + "type": "object" + } + }, + "imphash": { + "description": "A hash of the imports in a PE file. An imphash -- or import hash -- can be used to fingerprint binaries even after recompilation or other code-level transformations have occurred, which would change more traditional hash values. Learn more at https://www.fireeye.com/blog/threat-research/2014/01/tracking-malware-import-hashing.html.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "imports": { + "description": "List of all imported functions", + "properties": { + "type": { + "$ref": "#/definitions/types/flattened" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "machine_type": { + "description": "Machine type of the PE file.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "original_file_name": { + "description": "Internal name of the file, provided at compile-time.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "packers": { + "description": "List of packers and tools used.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "product": { + "description": "Internal product name of the file, provided at compile-time.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "resources": { + "description": "An array containing an object for each PE resource, if present. The expected fields for this nested object fall under the `resources.` prefix.", + "properties": { + "properties": { + "chi2": { + "description": "Chi-square probability distribution.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "entropy": { + "description": "Measurement of entropy randomness in the resources section.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "filetype": { + "description": "File type of the resources section.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "language": { + "description": "Language identification.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "sha256": { + "description": "SHA256 hash of resources section.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "type": { + "description": "Digest of resource types.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "type": { + "$ref": "#/definitions/types/nested" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "rich_header": { + "properties": { + "properties": { + "hash": { + "properties": { + "properties": { + "md5": { + "description": "MD5 hash of the header for the PE file.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "type": "object" + } + } + }, + "type": "object" + } + }, + "sections": { + "description": "Data about sections of compiled binary PE", + "properties": { + "properties": { + "chi2": { + "description": "Chi-square probability distribution.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "entropy": { + "description": "Measurement of entropy randomness in the file.", + "properties": { + "type": { + "$ref": "#/definitions/types/float" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "flags": { + "description": "Section flags of the file.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "name": { + "description": "Section names of the file.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "raw_size": { + "description": "Size of the section or the dize of the initialized data on disk.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "virtual_address": { + "description": "Virtual address available to the file.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "type": { + "$ref": "#/definitions/types/nested" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "type": "object" + } + }, + "pgid": { + "description": "Identifier of the group of processes the process belongs to.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "pid": { + "description": "Process id.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "ppid": { + "description": "Parent process' pid.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "start": { + "description": "The time the process started.", + "properties": { + "type": { + "$ref": "#/definitions/types/date" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "thread": { + "properties": { + "properties": { + "id": { + "description": "Thread ID.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "name": { + "description": "Thread name.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "type": "object" + } + }, + "title": { + "description": "Process title. The proctitle, some times the same as process name. Can also be different: for example a browser setting its title to the web page currently opened.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "uptime": { + "description": "Seconds the process has been up.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "working_directory": { + "description": "The working directory of the process.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "type": "object" + } + } +} \ No newline at end of file diff --git a/experimental/generated/json_schema/registry.json b/experimental/generated/json_schema/registry.json new file mode 100644 index 0000000000..a1696ecc08 --- /dev/null +++ b/experimental/generated/json_schema/registry.json @@ -0,0 +1,100 @@ +{ + "registry": { + "properties": { + "properties": { + "data": { + "properties": { + "properties": { + "bytes": { + "description": "Original bytes written with base64 encoding. For Windows registry operations, such as SetValueEx and RegQueryValueEx, this corresponds to the data pointed by `lp_data`. This is optional but provides better recoverability and should be populated for REG_BINARY encoded values.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "strings": { + "description": "Content when writing string types. Populated as an array when writing string data to the registry. For single string registry types (REG_SZ, REG_EXPAND_SZ), this should be an array with one string. For sequences of string with REG_MULTI_SZ, this array will be variable length. For numeric data, such as REG_DWORD and REG_QWORD, this should be populated with the decimal representation (e.g `\"1\"`).", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "type": { + "description": "Standard registry type for encoding contents", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "type": "object" + } + }, + "hive": { + "description": "Abbreviated name for the hive.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "key": { + "description": "Hive-relative path of keys.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "path": { + "description": "Full path, including hive, key and value", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "value": { + "description": "Name of the value written.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "type": "object" + } + } +} \ No newline at end of file diff --git a/experimental/generated/json_schema/related.json b/experimental/generated/json_schema/related.json new file mode 100644 index 0000000000..25ba286016 --- /dev/null +++ b/experimental/generated/json_schema/related.json @@ -0,0 +1,57 @@ +{ + "related": { + "properties": { + "properties": { + "hash": { + "description": "All the hashes seen on your event. Populating this field, then using it to search for hashes can help in situations where you're unsure what the hash algorithm is (and therefore which key name to search).", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "hosts": { + "description": "All hostnames or other host identifiers seen on your event. Example identifiers include FQDNs, domain names, workstation names, or aliases.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "ip": { + "description": "All of the IPs seen on your event.", + "properties": { + "type": { + "$ref": "#/definitions/types/ip" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "user": { + "description": "All the user names seen on your event.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "type": "object" + } + } +} \ No newline at end of file diff --git a/experimental/generated/json_schema/rule.json b/experimental/generated/json_schema/rule.json new file mode 100644 index 0000000000..43b2711545 --- /dev/null +++ b/experimental/generated/json_schema/rule.json @@ -0,0 +1,129 @@ +{ + "rule": { + "properties": { + "properties": { + "author": { + "description": "Name, organization, or pseudonym of the author or authors who created the rule used to generate this event.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "category": { + "description": "A categorization value keyword used by the entity using the rule for detection of this event.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "description": { + "description": "The description of the rule generating the event.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "id": { + "description": "A rule ID that is unique within the scope of an agent, observer, or other entity using the rule for detection of this event.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "license": { + "description": "Name of the license under which the rule used to generate this event is made available.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "name": { + "description": "The name of the rule or signature generating the event.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "reference": { + "description": "Reference URL to additional information about the rule used to generate this event. The URL can point to the vendor's documentation about the rule. If that's not available, it can also be a link to a more general page describing this type of alert.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "ruleset": { + "description": "Name of the ruleset, policy, group, or parent category in which the rule used to generate this event is a member.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "uuid": { + "description": "A rule ID that is unique within the scope of a set or group of agents, observers, or other entities using the rule for detection of this event.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "version": { + "description": "The version / revision of the rule being used for analysis.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "type": "object" + } + } +} \ No newline at end of file diff --git a/experimental/generated/json_schema/server.json b/experimental/generated/json_schema/server.json new file mode 100644 index 0000000000..a806b6b067 --- /dev/null +++ b/experimental/generated/json_schema/server.json @@ -0,0 +1,471 @@ +{ + "server": { + "properties": { + "properties": { + "address": { + "description": "Some event server addresses are defined ambiguously. The event will sometimes list an IP, a domain or a unix socket. You should always store the raw address in the `.address` field. Then it should be duplicated to `.ip` or `.domain`, depending on which one it is.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "as": { + "properties": { + "properties": { + "number": { + "description": "Unique number allocated to the autonomous system. The autonomous system number (ASN) uniquely identifies each network on the Internet.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "organization": { + "properties": { + "properties": { + "name": { + "description": "Organization name.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "type": "object" + } + } + }, + "type": "object" + } + }, + "bytes": { + "description": "Bytes sent from the server to the client.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "domain": { + "description": "Server domain.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "geo": { + "properties": { + "properties": { + "city_name": { + "description": "City name.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "continent_code": { + "description": "Two-letter code representing continent's name.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "continent_name": { + "description": "Name of the continent.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "country_iso_code": { + "description": "Country ISO code.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "country_name": { + "description": "Country name.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "location": { + "description": "Longitude and latitude.", + "properties": { + "type": { + "$ref": "#/definitions/types/geo_point" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "name": { + "description": "User-defined description of a location, at the level of granularity they care about. Could be the name of their data centers, the floor number, if this describes a local physical entity, city names. Not typically used in automated geolocation.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "postal_code": { + "description": "Postal code associated with the location. Values appropriate for this field may also be known as a postcode or ZIP code and will vary widely from country to country.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "region_iso_code": { + "description": "Region ISO code.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "region_name": { + "description": "Region name.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "timezone": { + "description": "The time zone of the location, such as IANA time zone name.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "type": "object" + } + }, + "ip": { + "description": "IP address of the server (IPv4 or IPv6).", + "properties": { + "type": { + "$ref": "#/definitions/types/ip" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "mac": { + "description": "MAC address of the server. The notation format from RFC 7042 is suggested: Each octet (that is, 8-bit byte) is represented by two [uppercase] hexadecimal digits giving the value of the octet as an unsigned integer. Successive octets are separated by a hyphen.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "nat": { + "properties": { + "properties": { + "ip": { + "description": "Translated ip of destination based NAT sessions (e.g. internet to private DMZ) Typically used with load balancers, firewalls, or routers.", + "properties": { + "type": { + "$ref": "#/definitions/types/ip" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "port": { + "description": "Translated port of destination based NAT sessions (e.g. internet to private DMZ) Typically used with load balancers, firewalls, or routers.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "type": "object" + } + }, + "packets": { + "description": "Packets sent from the server to the client.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "port": { + "description": "Port of the server.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "registered_domain": { + "description": "The highest registered server domain, stripped of the subdomain. For example, the registered domain for \"foo.example.com\" is \"example.com\". This value can be determined precisely with a list like the public suffix list (http://publicsuffix.org). Trying to approximate this by simply taking the last two labels will not work well for TLDs such as \"co.uk\".", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "subdomain": { + "description": "The subdomain portion of a fully qualified domain name includes all of the names except the host name under the registered_domain. In a partially qualified domain, or if the the qualification level of the full name cannot be determined, subdomain contains all of the names below the registered domain. For example the subdomain portion of \"www.east.mydomain.co.uk\" is \"east\". If the domain has multiple levels of subdomain, such as \"sub2.sub1.example.com\", the subdomain field should contain \"sub2.sub1\", with no trailing period.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "top_level_domain": { + "description": "The effective top level domain (eTLD), also known as the domain suffix, is the last part of the domain name. For example, the top level domain for example.com is \"com\". This value can be determined precisely with a list like the public suffix list (http://publicsuffix.org). Trying to approximate this by simply taking the last label will not work well for effective TLDs such as \"co.uk\".", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "user": { + "properties": { + "properties": { + "domain": { + "description": "Name of the directory the user is a member of. For example, an LDAP or Active Directory domain name.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "email": { + "description": "User email address.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "full_name": { + "description": "User's full name, if available.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "group": { + "properties": { + "properties": { + "domain": { + "description": "Name of the directory the group is a member of. For example, an LDAP or Active Directory domain name.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "id": { + "description": "Unique identifier for the group on the system/platform.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "name": { + "description": "Name of the group.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "type": "object" + } + }, + "hash": { + "description": "Unique user hash to correlate information for a user in anonymized form. Useful if `user.id` or `user.name` contain confidential information and cannot be used.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "id": { + "description": "Unique identifier of the user.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "name": { + "description": "Short name or login of the user.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "roles": { + "description": "Array of user roles at the time of the event.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "type": "object" + } + } + }, + "type": "object" + } + } +} \ No newline at end of file diff --git a/experimental/generated/json_schema/service.json b/experimental/generated/json_schema/service.json new file mode 100644 index 0000000000..ac13685b53 --- /dev/null +++ b/experimental/generated/json_schema/service.json @@ -0,0 +1,100 @@ +{ + "service": { + "properties": { + "properties": { + "ephemeral_id": { + "description": "Ephemeral identifier of this service (if one exists). This id normally changes across restarts, but `service.id` does not.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "id": { + "description": "Unique identifier of the running service. If the service is comprised of many nodes, the `service.id` should be the same for all nodes. This id should uniquely identify the service. This makes it possible to correlate logs and metrics for one specific service, no matter which particular node emitted the event. Note that if you need to see the events from one specific host of the service, you should filter on that `host.name` or `host.id` instead.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "name": { + "description": "Name of the service data is collected from. The name of the service is normally user given. This allows for distributed services that run on multiple hosts to correlate the related instances based on the name. In the case of Elasticsearch the `service.name` could contain the cluster name. For Beats the `service.name` is by default a copy of the `service.type` field if no name is specified.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "node": { + "properties": { + "properties": { + "name": { + "description": "Name of a service node. This allows for two nodes of the same service running on the same host to be differentiated. Therefore, `service.node.name` should typically be unique across nodes of a given service. In the case of Elasticsearch, the `service.node.name` could contain the unique node name within the Elasticsearch cluster. In cases where the service doesn't have the concept of a node name, the host name or container name can be used to distinguish running instances that make up this service. If those do not provide uniqueness (e.g. multiple instances of the service running on the same host) - the node name can be manually set.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "type": "object" + } + }, + "state": { + "description": "Current state of the service.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "type": { + "description": "The type of the service data is collected from. The type can be used to group and correlate logs and metrics from one service type. Example: If logs or metrics are collected from Elasticsearch, `service.type` would be `elasticsearch`.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "version": { + "description": "Version of the service the data was collected from. This allows to look at a data set only for a specific version of a service.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "type": "object" + } + } +} \ No newline at end of file diff --git a/experimental/generated/json_schema/source.json b/experimental/generated/json_schema/source.json new file mode 100644 index 0000000000..d421e0230a --- /dev/null +++ b/experimental/generated/json_schema/source.json @@ -0,0 +1,471 @@ +{ + "source": { + "properties": { + "properties": { + "address": { + "description": "Some event source addresses are defined ambiguously. The event will sometimes list an IP, a domain or a unix socket. You should always store the raw address in the `.address` field. Then it should be duplicated to `.ip` or `.domain`, depending on which one it is.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "as": { + "properties": { + "properties": { + "number": { + "description": "Unique number allocated to the autonomous system. The autonomous system number (ASN) uniquely identifies each network on the Internet.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "organization": { + "properties": { + "properties": { + "name": { + "description": "Organization name.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "type": "object" + } + } + }, + "type": "object" + } + }, + "bytes": { + "description": "Bytes sent from the source to the destination.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "domain": { + "description": "Source domain.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "geo": { + "properties": { + "properties": { + "city_name": { + "description": "City name.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "continent_code": { + "description": "Two-letter code representing continent's name.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "continent_name": { + "description": "Name of the continent.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "country_iso_code": { + "description": "Country ISO code.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "country_name": { + "description": "Country name.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "location": { + "description": "Longitude and latitude.", + "properties": { + "type": { + "$ref": "#/definitions/types/geo_point" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "name": { + "description": "User-defined description of a location, at the level of granularity they care about. Could be the name of their data centers, the floor number, if this describes a local physical entity, city names. Not typically used in automated geolocation.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "postal_code": { + "description": "Postal code associated with the location. Values appropriate for this field may also be known as a postcode or ZIP code and will vary widely from country to country.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "region_iso_code": { + "description": "Region ISO code.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "region_name": { + "description": "Region name.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "timezone": { + "description": "The time zone of the location, such as IANA time zone name.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "type": "object" + } + }, + "ip": { + "description": "IP address of the source (IPv4 or IPv6).", + "properties": { + "type": { + "$ref": "#/definitions/types/ip" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "mac": { + "description": "MAC address of the source. The notation format from RFC 7042 is suggested: Each octet (that is, 8-bit byte) is represented by two [uppercase] hexadecimal digits giving the value of the octet as an unsigned integer. Successive octets are separated by a hyphen.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "nat": { + "properties": { + "properties": { + "ip": { + "description": "Translated ip of source based NAT sessions (e.g. internal client to internet) Typically connections traversing load balancers, firewalls, or routers.", + "properties": { + "type": { + "$ref": "#/definitions/types/ip" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "port": { + "description": "Translated port of source based NAT sessions. (e.g. internal client to internet) Typically used with load balancers, firewalls, or routers.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "type": "object" + } + }, + "packets": { + "description": "Packets sent from the source to the destination.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "port": { + "description": "Port of the source.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "registered_domain": { + "description": "The highest registered source domain, stripped of the subdomain. For example, the registered domain for \"foo.example.com\" is \"example.com\". This value can be determined precisely with a list like the public suffix list (http://publicsuffix.org). Trying to approximate this by simply taking the last two labels will not work well for TLDs such as \"co.uk\".", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "subdomain": { + "description": "The subdomain portion of a fully qualified domain name includes all of the names except the host name under the registered_domain. In a partially qualified domain, or if the the qualification level of the full name cannot be determined, subdomain contains all of the names below the registered domain. For example the subdomain portion of \"www.east.mydomain.co.uk\" is \"east\". If the domain has multiple levels of subdomain, such as \"sub2.sub1.example.com\", the subdomain field should contain \"sub2.sub1\", with no trailing period.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "top_level_domain": { + "description": "The effective top level domain (eTLD), also known as the domain suffix, is the last part of the domain name. For example, the top level domain for example.com is \"com\". This value can be determined precisely with a list like the public suffix list (http://publicsuffix.org). Trying to approximate this by simply taking the last label will not work well for effective TLDs such as \"co.uk\".", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "user": { + "properties": { + "properties": { + "domain": { + "description": "Name of the directory the user is a member of. For example, an LDAP or Active Directory domain name.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "email": { + "description": "User email address.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "full_name": { + "description": "User's full name, if available.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "group": { + "properties": { + "properties": { + "domain": { + "description": "Name of the directory the group is a member of. For example, an LDAP or Active Directory domain name.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "id": { + "description": "Unique identifier for the group on the system/platform.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "name": { + "description": "Name of the group.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "type": "object" + } + }, + "hash": { + "description": "Unique user hash to correlate information for a user in anonymized form. Useful if `user.id` or `user.name` contain confidential information and cannot be used.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "id": { + "description": "Unique identifier of the user.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "name": { + "description": "Short name or login of the user.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "roles": { + "description": "Array of user roles at the time of the event.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "type": "object" + } + } + }, + "type": "object" + } + } +} \ No newline at end of file diff --git a/experimental/generated/json_schema/threat.json b/experimental/generated/json_schema/threat.json new file mode 100644 index 0000000000..1deff1be02 --- /dev/null +++ b/experimental/generated/json_schema/threat.json @@ -0,0 +1,1712 @@ +{ + "threat": { + "properties": { + "properties": { + "framework": { + "description": "Name of the threat framework used to further categorize and classify the tactic and technique of the reported threat. Framework classification can be provided by detecting systems, evaluated at ingest time, or retrospectively tagged to events.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "group": { + "properties": { + "properties": { + "alias": { + "description": "The alias(es) of the group for a set of related intrusion activity that are tracked by a common name in the security community. While not required, you can use a MITRE ATT&CK\u00ae group alias(es).", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "id": { + "description": "The id of the group for a set of related intrusion activity that are tracked by a common name in the security community. While not required, you can use a MITRE ATT&CK\u00ae group id.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "name": { + "description": "The name of the group for a set of related intrusion activity that are tracked by a common name in the security community. While not required, you can use a MITRE ATT&CK\u00ae group name.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "reference": { + "description": "The reference URL of the group for a set of related intrusion activity that are tracked by a common name in the security community. While not required, you can use a MITRE ATT&CK\u00ae group reference URL.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "type": "object" + } + }, + "indicator": { + "properties": { + "properties": { + "as": { + "properties": { + "properties": { + "number": { + "description": "Unique number allocated to the autonomous system. The autonomous system number (ASN) uniquely identifies each network on the Internet.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "organization": { + "properties": { + "properties": { + "name": { + "description": "Organization name.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "type": "object" + } + } + }, + "type": "object" + } + }, + "confidence": { + "description": "Identifies the confidence rating assigned by the provider using STIX confidence scales. Expected values: * Not Specified, None, Low, Medium, High * 0-10 * Admirality Scale (1-6) * DNI Scale (5-95) * WEP Scale (Impossible - Certain)", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "dataset": { + "description": "Identifies the name of specific dataset from the intelligence source.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "description": { + "description": "Describes the type of action conducted by the threat.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "domain": { + "description": "Identifies a threat indicator as a domain (irrespective of direction).", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "email": { + "properties": { + "properties": { + "address": { + "description": "Identifies a threat indicator as an email address (irrespective of direction).", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "type": "object" + } + }, + "file": { + "properties": { + "properties": { + "accessed": { + "description": "Last time the file was accessed. Note that not all filesystems keep track of access time.", + "properties": { + "type": { + "$ref": "#/definitions/types/date" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "attributes": { + "description": "Array of file attributes. Attributes names will vary by platform. Here's a non-exhaustive list of values that are expected in this field: archive, compressed, directory, encrypted, execute, hidden, read, readonly, system, write.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "code_signature": { + "properties": { + "properties": { + "exists": { + "description": "Boolean to capture if a signature is present.", + "properties": { + "type": { + "$ref": "#/definitions/types/boolean" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "signing_id": { + "description": "The identifier used to sign the process. This is used to identify the application manufactured by a software vendor. The field is relevant to Apple *OS only.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "status": { + "description": "Additional information about the certificate status. This is useful for logging cryptographic errors with the certificate validity or trust status. Leave unpopulated if the validity or trust of the certificate was unchecked.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "subject_name": { + "description": "Subject name of the code signer", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "team_id": { + "description": "The team identifier used to sign the process. This is used to identify the team or vendor of a software product. The field is relevant to Apple *OS only.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "trusted": { + "description": "Stores the trust status of the certificate chain. Validating the trust of the certificate chain may be complicated, and this field should only be populated by tools that actively check the status.", + "properties": { + "type": { + "$ref": "#/definitions/types/boolean" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "valid": { + "description": "Boolean to capture if the digital signature is verified against the binary content. Leave unpopulated if a certificate was unchecked.", + "properties": { + "type": { + "$ref": "#/definitions/types/boolean" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "type": "object" + } + }, + "created": { + "description": "File creation time. Note that not all filesystems store the creation time.", + "properties": { + "type": { + "$ref": "#/definitions/types/date" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "ctime": { + "description": "Last time the file attributes or metadata changed. Note that changes to the file content will update `mtime`. This implies `ctime` will be adjusted at the same time, since `mtime` is an attribute of the file.", + "properties": { + "type": { + "$ref": "#/definitions/types/date" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "device": { + "description": "Device that is the source of the file.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "directory": { + "description": "Directory where the file is located. It should include the drive letter, when appropriate.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "drive_letter": { + "description": "Drive letter where the file is located. This field is only relevant on Windows. The value should be uppercase, and not include the colon.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "extension": { + "description": "File extension, excluding the leading dot. Note that when the file name has multiple extensions (example.tar.gz), only the last one should be captured (\"gz\", not \"tar.gz\").", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "gid": { + "description": "Primary group ID (GID) of the file.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "group": { + "description": "Primary group name of the file.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "inode": { + "description": "Inode representing the file in the filesystem.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "mime_type": { + "description": "MIME type should identify the format of the file or stream of bytes using https://www.iana.org/assignments/media-types/media-types.xhtml[IANA official types], where possible. When more than one type is applicable, the most specific type should be used.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "mode": { + "description": "Mode of the file in octal representation.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "mtime": { + "description": "Last time the file content was modified.", + "properties": { + "type": { + "$ref": "#/definitions/types/date" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "name": { + "description": "Name of the file including the extension, without the directory.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "owner": { + "description": "File owner's username.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "path": { + "description": "Full path to the file, including the file name. It should include the drive letter, when appropriate.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "size": { + "description": "File size in bytes. Only relevant when `file.type` is \"file\".", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "target_path": { + "description": "Target path for symlinks.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "type": { + "description": "File type (file, dir, or symlink).", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "uid": { + "description": "The user ID (UID) or security identifier (SID) of the file owner.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "type": "object" + } + }, + "first_seen": { + "description": "The date and time when intelligence source first reported sighting this indicator.", + "properties": { + "type": { + "$ref": "#/definitions/types/date" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "geo": { + "properties": { + "properties": { + "city_name": { + "description": "City name.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "continent_code": { + "description": "Two-letter code representing continent's name.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "continent_name": { + "description": "Name of the continent.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "country_iso_code": { + "description": "Country ISO code.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "country_name": { + "description": "Country name.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "location": { + "description": "Longitude and latitude.", + "properties": { + "type": { + "$ref": "#/definitions/types/geo_point" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "name": { + "description": "User-defined description of a location, at the level of granularity they care about. Could be the name of their data centers, the floor number, if this describes a local physical entity, city names. Not typically used in automated geolocation.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "postal_code": { + "description": "Postal code associated with the location. Values appropriate for this field may also be known as a postcode or ZIP code and will vary widely from country to country.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "region_iso_code": { + "description": "Region ISO code.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "region_name": { + "description": "Region name.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "timezone": { + "description": "The time zone of the location, such as IANA time zone name.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "type": "object" + } + }, + "hash": { + "properties": { + "properties": { + "md5": { + "description": "MD5 hash.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "sha1": { + "description": "SHA1 hash.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "sha256": { + "description": "SHA256 hash.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "sha512": { + "description": "SHA512 hash.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "ssdeep": { + "description": "SSDEEP hash.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "type": "object" + } + }, + "ip": { + "description": "Identifies a threat indicator as an IP address (irrespective of direction).", + "properties": { + "type": { + "$ref": "#/definitions/types/ip" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "last_seen": { + "description": "The date and time when intelligence source last reported sighting this indicator.", + "properties": { + "type": { + "$ref": "#/definitions/types/date" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "marking": { + "properties": { + "properties": { + "tlp": { + "description": "Traffic Light Protocol sharing markings. Expected values are: * White * Green * Amber * Red", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "type": "object" + } + }, + "matched": { + "properties": { + "properties": { + "atomic": { + "description": "Identifies the atomic indicator that matched a local environment endpoint or network event.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "field": { + "description": "Identifies the field of the atomic indicator that matched a local environment endpoint or network event.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "type": { + "description": "Identifies the type of the atomic indicator that matched a local environment endpoint or network event.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "type": "object" + } + }, + "module": { + "description": "Identifies the name of specific module this data is coming from.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "pe": { + "properties": { + "properties": { + "architecture": { + "description": "CPU architecture target for the file.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "authentihash": { + "description": "Authentihash of the PE file.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "company": { + "description": "Internal company name of the file, provided at compile-time.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "compile_timestamp": { + "description": "Compile timestamp of the PE file.", + "properties": { + "type": { + "$ref": "#/definitions/types/date" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "compiler": { + "properties": { + "properties": { + "name": { + "description": "Name of the compiler", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "version": { + "description": "Version of the compiler.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "type": "object" + } + }, + "creation_date": { + "description": "Extracted when possible from the file's metadata. Indicates when it was built or compiled. It can also be faked by malware creators.", + "properties": { + "type": { + "$ref": "#/definitions/types/date" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "debug": { + "description": "An array containing an object for each debug entry, if present. The expected fields for this nested object fall under the `debug.` prefix.", + "properties": { + "properties": { + "offset": { + "description": "Debug offset information.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "size": { + "description": "Size of the debug information.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "timestamp": { + "description": "Timestamp of the debug information.", + "properties": { + "type": { + "$ref": "#/definitions/types/date" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "type": { + "description": "Information type generated by the debug options.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "type": { + "$ref": "#/definitions/types/nested" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "description": { + "description": "Internal description of the file, provided at compile-time.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "entry_point": { + "description": "Relative byte offset to the base of the PE file.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "exports": { + "description": "List of symbols exported by PE", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "file_version": { + "description": "Internal version of the file, provided at compile-time.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "icon": { + "properties": { + "properties": { + "hash": { + "properties": { + "properties": { + "dhash": { + "description": "Difference Hash (dhash) to find files with a visually similar icon or thumbnail.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "type": "object" + } + } + }, + "type": "object" + } + }, + "imphash": { + "description": "A hash of the imports in a PE file. An imphash -- or import hash -- can be used to fingerprint binaries even after recompilation or other code-level transformations have occurred, which would change more traditional hash values. Learn more at https://www.fireeye.com/blog/threat-research/2014/01/tracking-malware-import-hashing.html.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "imports": { + "description": "List of all imported functions", + "properties": { + "type": { + "$ref": "#/definitions/types/flattened" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "machine_type": { + "description": "Machine type of the PE file.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "original_file_name": { + "description": "Internal name of the file, provided at compile-time.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "packers": { + "description": "List of packers and tools used.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "product": { + "description": "Internal product name of the file, provided at compile-time.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "resources": { + "description": "An array containing an object for each PE resource, if present. The expected fields for this nested object fall under the `resources.` prefix.", + "properties": { + "properties": { + "chi2": { + "description": "Chi-square probability distribution.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "entropy": { + "description": "Measurement of entropy randomness in the resources section.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "filetype": { + "description": "File type of the resources section.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "language": { + "description": "Language identification.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "sha256": { + "description": "SHA256 hash of resources section.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "type": { + "description": "Digest of resource types.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "type": { + "$ref": "#/definitions/types/nested" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "rich_header": { + "properties": { + "properties": { + "hash": { + "properties": { + "properties": { + "md5": { + "description": "MD5 hash of the header for the PE file.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "type": "object" + } + } + }, + "type": "object" + } + }, + "sections": { + "description": "Data about sections of compiled binary PE", + "properties": { + "properties": { + "chi2": { + "description": "Chi-square probability distribution.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "entropy": { + "description": "Measurement of entropy randomness in the file.", + "properties": { + "type": { + "$ref": "#/definitions/types/float" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "flags": { + "description": "Section flags of the file.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "name": { + "description": "Section names of the file.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "raw_size": { + "description": "Size of the section or the dize of the initialized data on disk.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "virtual_address": { + "description": "Virtual address available to the file.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "type": { + "$ref": "#/definitions/types/nested" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "type": "object" + } + }, + "port": { + "description": "Identifies a threat indicator as a port number (irrespective of direction).", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "provider": { + "description": "Identifies the name of the intelligence provider.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "registry": { + "properties": { + "properties": { + "data": { + "properties": { + "properties": { + "bytes": { + "description": "Original bytes written with base64 encoding. For Windows registry operations, such as SetValueEx and RegQueryValueEx, this corresponds to the data pointed by `lp_data`. This is optional but provides better recoverability and should be populated for REG_BINARY encoded values.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "strings": { + "description": "Content when writing string types. Populated as an array when writing string data to the registry. For single string registry types (REG_SZ, REG_EXPAND_SZ), this should be an array with one string. For sequences of string with REG_MULTI_SZ, this array will be variable length. For numeric data, such as REG_DWORD and REG_QWORD, this should be populated with the decimal representation (e.g `\"1\"`).", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "type": { + "description": "Standard registry type for encoding contents", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "type": "object" + } + }, + "hive": { + "description": "Abbreviated name for the hive.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "key": { + "description": "Hive-relative path of keys.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "path": { + "description": "Full path, including hive, key and value", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "value": { + "description": "Name of the value written.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "type": "object" + } + }, + "scanner_stats": { + "description": "Count of AV/EDR vendors that successfully detected malicious file or URL.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "sightings": { + "description": "Number of times this indicator was observed conducting threat activity.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "type": { + "description": "Type of indicator as represented by Cyber Observable in STIX 2.0. Expected values * autonomous-system * artifact * directory * domain-name * email-addr * file * ipv4-addr * ipv6-addr * mac-addr * mutex * process * software * url * user-account * windows-registry-key * x-509-certificate", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "type": "object" + } + }, + "software": { + "properties": { + "properties": { + "id": { + "description": "The id of the software used by this threat to conduct behavior commonly modeled using MITRE ATT&CK\u00ae. While not required, you can use a MITRE ATT&CK\u00ae software id.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "name": { + "description": "The name of the software used by this threat to conduct behavior commonly modeled using MITRE ATT&CK\u00ae. While not required, you can use a MITRE ATT&CK\u00ae software name.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "platforms": { + "description": "The platform of the software used by this threat to conduct behavior commonly modeled using MITRE ATT&CK\u00ae. While not required, you can use a MITRE ATT&CK\u00ae software platform. Expected values * AWS * Azure * Azure AD * GCP * Linux * macOS * Network * Office 365 * PRE * SaaS * Windows", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "reference": { + "description": "The reference URL of the software used by this threat to conduct behavior commonly modeled using MITRE ATT&CK\u00ae. While not required, you can use a MITRE ATT&CK\u00ae software reference URL.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "type": { + "description": "The type of software used by this threat to conduct behavior commonly modeled using MITRE ATT&CK\u00ae. While not required, you can use a MITRE ATT&CK\u00ae software type. Expected values * Malware * Tool", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "type": "object" + } + }, + "tactic": { + "properties": { + "properties": { + "id": { + "description": "The id of tactic used by this threat. You can use a MITRE ATT&CK\u00ae tactic, for example. (ex. https://attack.mitre.org/tactics/TA0002/ )", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "name": { + "description": "Name of the type of tactic used by this threat. You can use a MITRE ATT&CK\u00ae tactic, for example. (ex. https://attack.mitre.org/tactics/TA0002/)", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "reference": { + "description": "The reference url of tactic used by this threat. You can use a MITRE ATT&CK\u00ae tactic, for example. (ex. https://attack.mitre.org/tactics/TA0002/ )", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "type": "object" + } + }, + "technique": { + "properties": { + "properties": { + "id": { + "description": "The id of technique used by this threat. You can use a MITRE ATT&CK\u00ae technique, for example. (ex. https://attack.mitre.org/techniques/T1059/)", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "name": { + "description": "The name of technique used by this threat. You can use a MITRE ATT&CK\u00ae technique, for example. (ex. https://attack.mitre.org/techniques/T1059/)", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "reference": { + "description": "The reference url of technique used by this threat. You can use a MITRE ATT&CK\u00ae technique, for example. (ex. https://attack.mitre.org/techniques/T1059/)", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "subtechnique": { + "properties": { + "properties": { + "id": { + "description": "The full id of subtechnique used by this threat. You can use a MITRE ATT&CK\u00ae subtechnique, for example. (ex. https://attack.mitre.org/techniques/T1059/001/)", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "name": { + "description": "The name of subtechnique used by this threat. You can use a MITRE ATT&CK\u00ae subtechnique, for example. (ex. https://attack.mitre.org/techniques/T1059/001/)", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "reference": { + "description": "The reference url of subtechnique used by this threat. You can use a MITRE ATT&CK\u00ae subtechnique, for example. (ex. https://attack.mitre.org/techniques/T1059/001/)", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "type": "object" + } + } + }, + "type": "object" + } + } + }, + "type": "object" + } + } +} \ No newline at end of file diff --git a/experimental/generated/json_schema/tls.json b/experimental/generated/json_schema/tls.json new file mode 100644 index 0000000000..ab098f1f5e --- /dev/null +++ b/experimental/generated/json_schema/tls.json @@ -0,0 +1,1003 @@ +{ + "tls": { + "properties": { + "properties": { + "cipher": { + "description": "String indicating the cipher used during the current connection.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "client": { + "properties": { + "properties": { + "certificate": { + "description": "PEM-encoded stand-alone certificate offered by the client. This is usually mutually-exclusive of `client.certificate_chain` since this value also exists in that list.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "certificate_chain": { + "description": "Array of PEM-encoded certificates that make up the certificate chain offered by the client. This is usually mutually-exclusive of `client.certificate` since that value should be the first certificate in the chain.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "hash": { + "properties": { + "properties": { + "md5": { + "description": "Certificate fingerprint using the MD5 digest of DER-encoded version of certificate offered by the client. For consistency with other hash values, this value should be formatted as an uppercase hash.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "sha1": { + "description": "Certificate fingerprint using the SHA1 digest of DER-encoded version of certificate offered by the client. For consistency with other hash values, this value should be formatted as an uppercase hash.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "sha256": { + "description": "Certificate fingerprint using the SHA256 digest of DER-encoded version of certificate offered by the client. For consistency with other hash values, this value should be formatted as an uppercase hash.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "type": "object" + } + }, + "issuer": { + "description": "Distinguished name of subject of the issuer of the x.509 certificate presented by the client.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "ja3": { + "description": "A hash that identifies clients based on how they perform an SSL/TLS handshake.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "not_after": { + "description": "Date/Time indicating when client certificate is no longer considered valid.", + "properties": { + "type": { + "$ref": "#/definitions/types/date" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "not_before": { + "description": "Date/Time indicating when client certificate is first considered valid.", + "properties": { + "type": { + "$ref": "#/definitions/types/date" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "server_name": { + "description": "Also called an SNI, this tells the server which hostname to which the client is attempting to connect to. When this value is available, it should get copied to `destination.domain`.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "subject": { + "description": "Distinguished name of subject of the x.509 certificate presented by the client.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "supported_ciphers": { + "description": "Array of ciphers offered by the client during the client hello.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "x509": { + "properties": { + "properties": { + "alternative_names": { + "description": "List of subject alternative names (SAN). Name types vary by certificate authority and certificate type but commonly contain IP addresses, DNS names (and wildcards), and email addresses.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "issuer": { + "properties": { + "properties": { + "common_name": { + "description": "List of common name (CN) of issuing certificate authority.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "country": { + "description": "List of country (C) codes", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "distinguished_name": { + "description": "Distinguished name (DN) of issuing certificate authority.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "locality": { + "description": "List of locality names (L)", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "organization": { + "description": "List of organizations (O) of issuing certificate authority.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "organizational_unit": { + "description": "List of organizational units (OU) of issuing certificate authority.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "state_or_province": { + "description": "List of state or province names (ST, S, or P)", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "type": "object" + } + }, + "not_after": { + "description": "Time at which the certificate is no longer considered valid.", + "properties": { + "type": { + "$ref": "#/definitions/types/date" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "not_before": { + "description": "Time at which the certificate is first considered valid.", + "properties": { + "type": { + "$ref": "#/definitions/types/date" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "public_key_algorithm": { + "description": "Algorithm used to generate the public key.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "public_key_curve": { + "description": "The curve used by the elliptic curve public key algorithm. This is algorithm specific.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "public_key_exponent": { + "description": "Exponent used to derive the public key. This is algorithm specific.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "public_key_size": { + "description": "The size of the public key space in bits.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "serial_number": { + "description": "Unique serial number issued by the certificate authority. For consistency, if this value is alphanumeric, it should be formatted without colons and uppercase characters.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "signature_algorithm": { + "description": "Identifier for certificate signature algorithm. We recommend using names found in Go Lang Crypto library. See https://github.com/golang/go/blob/go1.14/src/crypto/x509/x509.go#L337-L353.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "subject": { + "properties": { + "properties": { + "common_name": { + "description": "List of common names (CN) of subject.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "country": { + "description": "List of country (C) code", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "distinguished_name": { + "description": "Distinguished name (DN) of the certificate subject entity.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "locality": { + "description": "List of locality names (L)", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "organization": { + "description": "List of organizations (O) of subject.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "organizational_unit": { + "description": "List of organizational units (OU) of subject.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "state_or_province": { + "description": "List of state or province names (ST, S, or P)", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "type": "object" + } + }, + "version_number": { + "description": "Version of x509 format.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "type": "object" + } + } + }, + "type": "object" + } + }, + "curve": { + "description": "String indicating the curve used for the given cipher, when applicable.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "established": { + "description": "Boolean flag indicating if the TLS negotiation was successful and transitioned to an encrypted tunnel.", + "properties": { + "type": { + "$ref": "#/definitions/types/boolean" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "next_protocol": { + "description": "String indicating the protocol being tunneled. Per the values in the IANA registry (https://www.iana.org/assignments/tls-extensiontype-values/tls-extensiontype-values.xhtml#alpn-protocol-ids), this string should be lower case.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "resumed": { + "description": "Boolean flag indicating if this TLS connection was resumed from an existing TLS negotiation.", + "properties": { + "type": { + "$ref": "#/definitions/types/boolean" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "server": { + "properties": { + "properties": { + "certificate": { + "description": "PEM-encoded stand-alone certificate offered by the server. This is usually mutually-exclusive of `server.certificate_chain` since this value also exists in that list.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "certificate_chain": { + "description": "Array of PEM-encoded certificates that make up the certificate chain offered by the server. This is usually mutually-exclusive of `server.certificate` since that value should be the first certificate in the chain.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "hash": { + "properties": { + "properties": { + "md5": { + "description": "Certificate fingerprint using the MD5 digest of DER-encoded version of certificate offered by the server. For consistency with other hash values, this value should be formatted as an uppercase hash.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "sha1": { + "description": "Certificate fingerprint using the SHA1 digest of DER-encoded version of certificate offered by the server. For consistency with other hash values, this value should be formatted as an uppercase hash.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "sha256": { + "description": "Certificate fingerprint using the SHA256 digest of DER-encoded version of certificate offered by the server. For consistency with other hash values, this value should be formatted as an uppercase hash.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "type": "object" + } + }, + "issuer": { + "description": "Subject of the issuer of the x.509 certificate presented by the server.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "ja3s": { + "description": "A hash that identifies servers based on how they perform an SSL/TLS handshake.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "not_after": { + "description": "Timestamp indicating when server certificate is no longer considered valid.", + "properties": { + "type": { + "$ref": "#/definitions/types/date" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "not_before": { + "description": "Timestamp indicating when server certificate is first considered valid.", + "properties": { + "type": { + "$ref": "#/definitions/types/date" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "subject": { + "description": "Subject of the x.509 certificate presented by the server.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "x509": { + "properties": { + "properties": { + "alternative_names": { + "description": "List of subject alternative names (SAN). Name types vary by certificate authority and certificate type but commonly contain IP addresses, DNS names (and wildcards), and email addresses.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "issuer": { + "properties": { + "properties": { + "common_name": { + "description": "List of common name (CN) of issuing certificate authority.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "country": { + "description": "List of country (C) codes", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "distinguished_name": { + "description": "Distinguished name (DN) of issuing certificate authority.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "locality": { + "description": "List of locality names (L)", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "organization": { + "description": "List of organizations (O) of issuing certificate authority.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "organizational_unit": { + "description": "List of organizational units (OU) of issuing certificate authority.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "state_or_province": { + "description": "List of state or province names (ST, S, or P)", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "type": "object" + } + }, + "not_after": { + "description": "Time at which the certificate is no longer considered valid.", + "properties": { + "type": { + "$ref": "#/definitions/types/date" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "not_before": { + "description": "Time at which the certificate is first considered valid.", + "properties": { + "type": { + "$ref": "#/definitions/types/date" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "public_key_algorithm": { + "description": "Algorithm used to generate the public key.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "public_key_curve": { + "description": "The curve used by the elliptic curve public key algorithm. This is algorithm specific.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "public_key_exponent": { + "description": "Exponent used to derive the public key. This is algorithm specific.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "public_key_size": { + "description": "The size of the public key space in bits.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "serial_number": { + "description": "Unique serial number issued by the certificate authority. For consistency, if this value is alphanumeric, it should be formatted without colons and uppercase characters.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "signature_algorithm": { + "description": "Identifier for certificate signature algorithm. We recommend using names found in Go Lang Crypto library. See https://github.com/golang/go/blob/go1.14/src/crypto/x509/x509.go#L337-L353.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "subject": { + "properties": { + "properties": { + "common_name": { + "description": "List of common names (CN) of subject.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "country": { + "description": "List of country (C) code", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "distinguished_name": { + "description": "Distinguished name (DN) of the certificate subject entity.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "locality": { + "description": "List of locality names (L)", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "organization": { + "description": "List of organizations (O) of subject.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "organizational_unit": { + "description": "List of organizational units (OU) of subject.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "state_or_province": { + "description": "List of state or province names (ST, S, or P)", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "type": "object" + } + }, + "version_number": { + "description": "Version of x509 format.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "type": "object" + } + } + }, + "type": "object" + } + }, + "version": { + "description": "Numeric part of the version parsed from the original string.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "version_protocol": { + "description": "Normalized lowercase protocol name parsed from original string.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "type": "object" + } + } +} \ No newline at end of file diff --git a/experimental/generated/json_schema/tracing.json b/experimental/generated/json_schema/tracing.json new file mode 100644 index 0000000000..6de709d765 --- /dev/null +++ b/experimental/generated/json_schema/tracing.json @@ -0,0 +1,59 @@ +{ + "span": { + "properties": { + "properties": { + "id": { + "description": "Unique identifier of the span within the scope of its trace. A span represents an operation within a transaction, such as a request to another service, or a database query.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "type": "object" + } + }, + "trace": { + "properties": { + "properties": { + "id": { + "description": "Unique identifier of the trace. A trace groups multiple events like transactions that belong together. For example, a user request handled by multiple inter-connected services.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "type": "object" + } + }, + "transaction": { + "properties": { + "properties": { + "id": { + "description": "Unique identifier of the transaction within the scope of its trace. A transaction is the highest level of work measured within a service, such as a request to a server.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "type": "object" + } + } +} \ No newline at end of file diff --git a/experimental/generated/json_schema/url.json b/experimental/generated/json_schema/url.json new file mode 100644 index 0000000000..e67d119a65 --- /dev/null +++ b/experimental/generated/json_schema/url.json @@ -0,0 +1,177 @@ +{ + "url": { + "properties": { + "properties": { + "domain": { + "description": "Domain of the url, such as \"www.elastic.co\". In some cases a URL may refer to an IP and/or port directly, without a domain name. In this case, the IP address would go to the `domain` field. If the URL contains a literal IPv6 address enclosed by `[` and `]` (IETF RFC 2732), the `[` and `]` characters should also be captured in the `domain` field.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "extension": { + "description": "The field contains the file extension from the original request url, excluding the leading dot. The file extension is only set if it exists, as not every url has a file extension. The leading period must not be included. For example, the value must be \"png\", not \".png\". Note that when the file name has multiple extensions (example.tar.gz), only the last one should be captured (\"gz\", not \"tar.gz\").", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "fragment": { + "description": "Portion of the url after the `#`, such as \"top\". The `#` is not part of the fragment.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "full": { + "description": "If full URLs are important to your use case, they should be stored in `url.full`, whether this field is reconstructed or present in the event source.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "original": { + "description": "Unmodified original url as seen in the event source. Note that in network monitoring, the observed URL may be a full URL, whereas in access logs, the URL is often just represented as a path. This field is meant to represent the URL as it was observed, complete or not.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "password": { + "description": "Password of the request.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "path": { + "description": "Path of the request, such as \"/search\".", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "port": { + "description": "Port of the request, such as 443.", + "properties": { + "type": { + "$ref": "#/definitions/types/long" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "query": { + "description": "The query field describes the query string of the request, such as \"q=elasticsearch\". The `?` is excluded from the query string. If a URL contains no `?`, there is no query field. If there is a `?` but no query, the query field exists with an empty string. The `exists` query can be used to differentiate between the two cases.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "registered_domain": { + "description": "The highest registered url domain, stripped of the subdomain. For example, the registered domain for \"foo.example.com\" is \"example.com\". This value can be determined precisely with a list like the public suffix list (http://publicsuffix.org). Trying to approximate this by simply taking the last two labels will not work well for TLDs such as \"co.uk\".", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "scheme": { + "description": "Scheme of the request, such as \"https\". Note: The `:` is not part of the scheme.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "subdomain": { + "description": "The subdomain portion of a fully qualified domain name includes all of the names except the host name under the registered_domain. In a partially qualified domain, or if the the qualification level of the full name cannot be determined, subdomain contains all of the names below the registered domain. For example the subdomain portion of \"www.east.mydomain.co.uk\" is \"east\". If the domain has multiple levels of subdomain, such as \"sub2.sub1.example.com\", the subdomain field should contain \"sub2.sub1\", with no trailing period.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "top_level_domain": { + "description": "The effective top level domain (eTLD), also known as the domain suffix, is the last part of the domain name. For example, the top level domain for example.com is \"com\". This value can be determined precisely with a list like the public suffix list (http://publicsuffix.org). Trying to approximate this by simply taking the last label will not work well for effective TLDs such as \"co.uk\".", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "username": { + "description": "Username of the request.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "type": "object" + } + } +} \ No newline at end of file diff --git a/experimental/generated/json_schema/user.json b/experimental/generated/json_schema/user.json new file mode 100644 index 0000000000..85dd4d94f6 --- /dev/null +++ b/experimental/generated/json_schema/user.json @@ -0,0 +1,538 @@ +{ + "user": { + "properties": { + "properties": { + "changes": { + "properties": { + "properties": { + "domain": { + "description": "Name of the directory the user is a member of. For example, an LDAP or Active Directory domain name.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "email": { + "description": "User email address.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "full_name": { + "description": "User's full name, if available.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "group": { + "properties": { + "properties": { + "domain": { + "description": "Name of the directory the group is a member of. For example, an LDAP or Active Directory domain name.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "id": { + "description": "Unique identifier for the group on the system/platform.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "name": { + "description": "Name of the group.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "type": "object" + } + }, + "hash": { + "description": "Unique user hash to correlate information for a user in anonymized form. Useful if `user.id` or `user.name` contain confidential information and cannot be used.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "id": { + "description": "Unique identifier of the user.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "name": { + "description": "Short name or login of the user.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "roles": { + "description": "Array of user roles at the time of the event.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "type": "object" + } + }, + "domain": { + "description": "Name of the directory the user is a member of. For example, an LDAP or Active Directory domain name.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "effective": { + "properties": { + "properties": { + "domain": { + "description": "Name of the directory the user is a member of. For example, an LDAP or Active Directory domain name.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "email": { + "description": "User email address.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "full_name": { + "description": "User's full name, if available.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "group": { + "properties": { + "properties": { + "domain": { + "description": "Name of the directory the group is a member of. For example, an LDAP or Active Directory domain name.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "id": { + "description": "Unique identifier for the group on the system/platform.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "name": { + "description": "Name of the group.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "type": "object" + } + }, + "hash": { + "description": "Unique user hash to correlate information for a user in anonymized form. Useful if `user.id` or `user.name` contain confidential information and cannot be used.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "id": { + "description": "Unique identifier of the user.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "name": { + "description": "Short name or login of the user.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "roles": { + "description": "Array of user roles at the time of the event.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "type": "object" + } + }, + "email": { + "description": "User email address.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "full_name": { + "description": "User's full name, if available.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "group": { + "properties": { + "properties": { + "domain": { + "description": "Name of the directory the group is a member of. For example, an LDAP or Active Directory domain name.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "id": { + "description": "Unique identifier for the group on the system/platform.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "name": { + "description": "Name of the group.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "type": "object" + } + }, + "hash": { + "description": "Unique user hash to correlate information for a user in anonymized form. Useful if `user.id` or `user.name` contain confidential information and cannot be used.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "id": { + "description": "Unique identifier of the user.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "name": { + "description": "Short name or login of the user.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "roles": { + "description": "Array of user roles at the time of the event.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "target": { + "properties": { + "properties": { + "domain": { + "description": "Name of the directory the user is a member of. For example, an LDAP or Active Directory domain name.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "email": { + "description": "User email address.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "full_name": { + "description": "User's full name, if available.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "group": { + "properties": { + "properties": { + "domain": { + "description": "Name of the directory the group is a member of. For example, an LDAP or Active Directory domain name.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "id": { + "description": "Unique identifier for the group on the system/platform.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "name": { + "description": "Name of the group.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "type": "object" + } + }, + "hash": { + "description": "Unique user hash to correlate information for a user in anonymized form. Useful if `user.id` or `user.name` contain confidential information and cannot be used.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "id": { + "description": "Unique identifier of the user.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "name": { + "description": "Short name or login of the user.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "roles": { + "description": "Array of user roles at the time of the event.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "type": "object" + } + } + }, + "type": "object" + } + } +} \ No newline at end of file diff --git a/experimental/generated/json_schema/user_agent.json b/experimental/generated/json_schema/user_agent.json new file mode 100644 index 0000000000..661f557850 --- /dev/null +++ b/experimental/generated/json_schema/user_agent.json @@ -0,0 +1,155 @@ +{ + "user_agent": { + "properties": { + "properties": { + "device": { + "properties": { + "properties": { + "name": { + "description": "Name of the device.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "type": "object" + } + }, + "name": { + "description": "Name of the user agent.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "original": { + "description": "Unparsed user_agent string.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "os": { + "properties": { + "properties": { + "family": { + "description": "OS family (such as redhat, debian, freebsd, windows).", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "full": { + "description": "Operating system name, including the version or code name.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "kernel": { + "description": "Operating system kernel version as a raw string.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "name": { + "description": "Operating system name, without the version.", + "properties": { + "type": { + "$ref": "#/definitions/types/wildcard" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "platform": { + "description": "Operating system platform (such centos, ubuntu, windows).", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "type": { + "description": "Use the `os.type` field to categorize the operating system into one of the broad commercial families. One of these following values should be used (lowercase): linux, macos, unix, windows. If the OS you're dealing with is not in the list, the field should not be populated. Please let us know by opening an issue with ECS, to propose its addition.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "version": { + "description": "Operating system version as a raw string.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "type": "object" + } + }, + "version": { + "description": "Version of the user agent.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "type": "object" + } + } +} \ No newline at end of file diff --git a/experimental/generated/json_schema/vulnerability.json b/experimental/generated/json_schema/vulnerability.json new file mode 100644 index 0000000000..17f3972fb7 --- /dev/null +++ b/experimental/generated/json_schema/vulnerability.json @@ -0,0 +1,179 @@ +{ + "vulnerability": { + "properties": { + "properties": { + "category": { + "description": "The type of system or architecture that the vulnerability affects. These may be platform-specific (for example, Debian or SUSE) or general (for example, Database or Firewall). For example (https://qualysguard.qualys.com/qwebhelp/fo_portal/knowledgebase/vulnerability_categories.htm[Qualys vulnerability categories]) This field must be an array.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "classification": { + "description": "The classification of the vulnerability scoring system. For example (https://www.first.org/cvss/)", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "description": { + "description": "The description of the vulnerability that provides additional context of the vulnerability. For example (https://cve.mitre.org/about/faqs.html#cve_entry_descriptions_created[Common Vulnerabilities and Exposure CVE description])", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "enumeration": { + "description": "The type of identifier used for this vulnerability. For example (https://cve.mitre.org/about/)", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "id": { + "description": "The identification (ID) is the number portion of a vulnerability entry. It includes a unique identification number for the vulnerability. For example (https://cve.mitre.org/about/faqs.html#what_is_cve_id)[Common Vulnerabilities and Exposure CVE ID]", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "reference": { + "description": "A resource that provides additional information, context, and mitigations for the identified vulnerability.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "report_id": { + "description": "The report or scan identification number.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "scanner": { + "properties": { + "properties": { + "vendor": { + "description": "The name of the vulnerability scanner vendor.", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "type": "object" + } + }, + "score": { + "properties": { + "properties": { + "base": { + "description": "Scores can range from 0.0 to 10.0, with 10.0 being the most severe. Base scores cover an assessment for exploitability metrics (attack vector, complexity, privileges, and user interaction), impact metrics (confidentiality, integrity, and availability), and scope. For example (https://www.first.org/cvss/specification-document)", + "properties": { + "type": { + "$ref": "#/definitions/types/float" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "environmental": { + "description": "Scores can range from 0.0 to 10.0, with 10.0 being the most severe. Environmental scores cover an assessment for any modified Base metrics, confidentiality, integrity, and availability requirements. For example (https://www.first.org/cvss/specification-document)", + "properties": { + "type": { + "$ref": "#/definitions/types/float" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "temporal": { + "description": "Scores can range from 0.0 to 10.0, with 10.0 being the most severe. Temporal scores cover an assessment for code maturity, remediation level, and confidence. For example (https://www.first.org/cvss/specification-document)", + "properties": { + "type": { + "$ref": "#/definitions/types/float" + } + }, + "required": [ + "type" + ], + "type": "object" + }, + "version": { + "description": "The National Vulnerability Database (NVD) provides qualitative severity rankings of \"Low\", \"Medium\", and \"High\" for CVSS v2.0 base score ranges in addition to the severity ratings for CVSS v3.0 as they are defined in the CVSS v3.0 specification. CVSS is owned and managed by FIRST.Org, Inc. (FIRST), a US-based non-profit organization, whose mission is to help computer security incident response teams across the world. For example (https://nvd.nist.gov/vuln-metrics/cvss)", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "type": "object" + } + }, + "severity": { + "description": "The severity of the vulnerability can help with metrics and internal prioritization regarding remediation. For example (https://nvd.nist.gov/vuln-metrics/cvss)", + "properties": { + "type": { + "$ref": "#/definitions/types/keyword" + } + }, + "required": [ + "type" + ], + "type": "object" + } + }, + "type": "object" + } + } +} \ No newline at end of file diff --git a/generated/beats/fields.ecs.yml b/generated/beats/fields.ecs.yml index 3067eab765..f5056f2415 100644 --- a/generated/beats/fields.ecs.yml +++ b/generated/beats/fields.ecs.yml @@ -1329,6 +1329,185 @@ ECS versions -- this field lets integrations adjust to the schema version of the events.' example: 1.0.0 + - name: elf + title: ELF Header + group: 2 + description: These fields contain Linux Executable Linkable Format (ELF) metadata. + type: group + fields: + - name: architecture + level: extended + type: keyword + ignore_above: 1024 + description: Machine architecture of the ELF file. + example: x86-64 + default_field: false + - name: byte_order + level: extended + type: keyword + ignore_above: 1024 + description: Byte sequence of ELF file. + example: Little Endian + default_field: false + - name: cpu_type + level: extended + type: keyword + ignore_above: 1024 + description: CPU type of the ELF file. + example: Intel + default_field: false + - name: creation_date + level: extended + type: date + description: Extracted when possible from the file's metadata. Indicates when + it was built or compiled. It can also be faked by malware creators. + default_field: false + - name: exports + level: extended + type: flattened + description: List of exported element names and types. + default_field: false + - name: header.abi_version + level: extended + type: keyword + ignore_above: 1024 + description: Version of the ELF Application Binary Interface (ABI). + default_field: false + - name: header.class + level: extended + type: keyword + ignore_above: 1024 + description: Header class of the ELF file. + default_field: false + - name: header.data + level: extended + type: keyword + ignore_above: 1024 + description: Data table of the ELF header. + default_field: false + - name: header.entrypoint + level: extended + type: long + format: string + description: Header entrypoint of the ELF file. + default_field: false + - name: header.object_version + level: extended + type: keyword + ignore_above: 1024 + description: '"0x1" for original ELF files.' + default_field: false + - name: header.os_abi + level: extended + type: keyword + ignore_above: 1024 + description: Application Binary Interface (ABI) of the Linux OS. + default_field: false + - name: header.type + level: extended + type: keyword + ignore_above: 1024 + description: Header type of the ELF file. + default_field: false + - name: header.version + level: extended + type: keyword + ignore_above: 1024 + description: Version of the ELF header. + default_field: false + - name: imports + level: extended + type: flattened + description: List of imported element names and types. + default_field: false + - name: sections + level: extended + type: nested + description: Section information of the ELF file. + default_field: false + - name: sections.chi2 + level: extended + type: long + format: number + description: Chi-square probability distribution of the section. + default_field: false + - name: sections.entropy + level: extended + type: long + format: number + description: Shannon entropy calculation from the section. + default_field: false + - name: sections.flags + level: extended + type: keyword + ignore_above: 1024 + description: ELF Section List flags. + default_field: false + - name: sections.name + level: extended + type: keyword + ignore_above: 1024 + description: ELF Section List name. + default_field: false + - name: sections.physical_offset + level: extended + type: keyword + ignore_above: 1024 + description: ELF Section List offset. + default_field: false + - name: sections.physical_size + level: extended + type: long + format: bytes + description: ELF Section List physical size. + default_field: false + - name: sections.type + level: extended + type: keyword + ignore_above: 1024 + description: ELF Section List type. + default_field: false + - name: sections.virtual_address + level: extended + type: long + format: string + description: ELF Section List virtual address. + default_field: false + - name: sections.virtual_size + level: extended + type: long + format: string + description: ELF Section List virtual size. + default_field: false + - name: segments + level: extended + type: nested + description: ELF object segment list. + default_field: false + - name: segments.sections + level: extended + type: keyword + ignore_above: 1024 + description: ELF object segment sections. + default_field: false + - name: segments.type + level: extended + type: keyword + ignore_above: 1024 + description: ELF object segment type. + default_field: false + - name: shared_libraries + level: extended + type: keyword + ignore_above: 1024 + description: List of shared libraries used by this ELF object. + default_field: false + - name: telfhash + level: extended + type: keyword + ignore_above: 1024 + description: telfhash symbol hash for ELF file. + default_field: false - name: error title: Error group: 2 @@ -1790,6 +1969,179 @@ The value should be uppercase, and not include the colon.' example: C default_field: false + - name: elf.architecture + level: extended + type: keyword + ignore_above: 1024 + description: Machine architecture of the ELF file. + example: x86-64 + default_field: false + - name: elf.byte_order + level: extended + type: keyword + ignore_above: 1024 + description: Byte sequence of ELF file. + example: Little Endian + default_field: false + - name: elf.cpu_type + level: extended + type: keyword + ignore_above: 1024 + description: CPU type of the ELF file. + example: Intel + default_field: false + - name: elf.creation_date + level: extended + type: date + description: Extracted when possible from the file's metadata. Indicates when + it was built or compiled. It can also be faked by malware creators. + default_field: false + - name: elf.exports + level: extended + type: flattened + description: List of exported element names and types. + default_field: false + - name: elf.header.abi_version + level: extended + type: keyword + ignore_above: 1024 + description: Version of the ELF Application Binary Interface (ABI). + default_field: false + - name: elf.header.class + level: extended + type: keyword + ignore_above: 1024 + description: Header class of the ELF file. + default_field: false + - name: elf.header.data + level: extended + type: keyword + ignore_above: 1024 + description: Data table of the ELF header. + default_field: false + - name: elf.header.entrypoint + level: extended + type: long + format: string + description: Header entrypoint of the ELF file. + default_field: false + - name: elf.header.object_version + level: extended + type: keyword + ignore_above: 1024 + description: '"0x1" for original ELF files.' + default_field: false + - name: elf.header.os_abi + level: extended + type: keyword + ignore_above: 1024 + description: Application Binary Interface (ABI) of the Linux OS. + default_field: false + - name: elf.header.type + level: extended + type: keyword + ignore_above: 1024 + description: Header type of the ELF file. + default_field: false + - name: elf.header.version + level: extended + type: keyword + ignore_above: 1024 + description: Version of the ELF header. + default_field: false + - name: elf.imports + level: extended + type: flattened + description: List of imported element names and types. + default_field: false + - name: elf.sections + level: extended + type: nested + description: Section information of the ELF file. + default_field: false + - name: elf.sections.chi2 + level: extended + type: long + format: number + description: Chi-square probability distribution of the section. + default_field: false + - name: elf.sections.entropy + level: extended + type: long + format: number + description: Shannon entropy calculation from the section. + default_field: false + - name: elf.sections.flags + level: extended + type: keyword + ignore_above: 1024 + description: ELF Section List flags. + default_field: false + - name: elf.sections.name + level: extended + type: keyword + ignore_above: 1024 + description: ELF Section List name. + default_field: false + - name: elf.sections.physical_offset + level: extended + type: keyword + ignore_above: 1024 + description: ELF Section List offset. + default_field: false + - name: elf.sections.physical_size + level: extended + type: long + format: bytes + description: ELF Section List physical size. + default_field: false + - name: elf.sections.type + level: extended + type: keyword + ignore_above: 1024 + description: ELF Section List type. + default_field: false + - name: elf.sections.virtual_address + level: extended + type: long + format: string + description: ELF Section List virtual address. + default_field: false + - name: elf.sections.virtual_size + level: extended + type: long + format: string + description: ELF Section List virtual size. + default_field: false + - name: elf.segments + level: extended + type: nested + description: ELF object segment list. + default_field: false + - name: elf.segments.sections + level: extended + type: keyword + ignore_above: 1024 + description: ELF object segment sections. + default_field: false + - name: elf.segments.type + level: extended + type: keyword + ignore_above: 1024 + description: ELF object segment type. + default_field: false + - name: elf.shared_libraries + level: extended + type: keyword + ignore_above: 1024 + description: List of shared libraries used by this ELF object. + default_field: false + - name: elf.telfhash + level: extended + type: keyword + ignore_above: 1024 + description: telfhash symbol hash for ELF file. + default_field: false - name: extension level: extended type: keyword @@ -3812,6 +4164,179 @@ Some arguments may be filtered to protect sensitive information.' example: /usr/bin/ssh -l user 10.0.0.16 default_field: false + - name: elf.architecture + level: extended + type: keyword + ignore_above: 1024 + description: Machine architecture of the ELF file. + example: x86-64 + default_field: false + - name: elf.byte_order + level: extended + type: keyword + ignore_above: 1024 + description: Byte sequence of ELF file. + example: Little Endian + default_field: false + - name: elf.cpu_type + level: extended + type: keyword + ignore_above: 1024 + description: CPU type of the ELF file. + example: Intel + default_field: false + - name: elf.creation_date + level: extended + type: date + description: Extracted when possible from the file's metadata. Indicates when + it was built or compiled. It can also be faked by malware creators. + default_field: false + - name: elf.exports + level: extended + type: flattened + description: List of exported element names and types. + default_field: false + - name: elf.header.abi_version + level: extended + type: keyword + ignore_above: 1024 + description: Version of the ELF Application Binary Interface (ABI). + default_field: false + - name: elf.header.class + level: extended + type: keyword + ignore_above: 1024 + description: Header class of the ELF file. + default_field: false + - name: elf.header.data + level: extended + type: keyword + ignore_above: 1024 + description: Data table of the ELF header. + default_field: false + - name: elf.header.entrypoint + level: extended + type: long + format: string + description: Header entrypoint of the ELF file. + default_field: false + - name: elf.header.object_version + level: extended + type: keyword + ignore_above: 1024 + description: '"0x1" for original ELF files.' + default_field: false + - name: elf.header.os_abi + level: extended + type: keyword + ignore_above: 1024 + description: Application Binary Interface (ABI) of the Linux OS. + default_field: false + - name: elf.header.type + level: extended + type: keyword + ignore_above: 1024 + description: Header type of the ELF file. + default_field: false + - name: elf.header.version + level: extended + type: keyword + ignore_above: 1024 + description: Version of the ELF header. + default_field: false + - name: elf.imports + level: extended + type: flattened + description: List of imported element names and types. + default_field: false + - name: elf.sections + level: extended + type: nested + description: Section information of the ELF file. + default_field: false + - name: elf.sections.chi2 + level: extended + type: long + format: number + description: Chi-square probability distribution of the section. + default_field: false + - name: elf.sections.entropy + level: extended + type: long + format: number + description: Shannon entropy calculation from the section. + default_field: false + - name: elf.sections.flags + level: extended + type: keyword + ignore_above: 1024 + description: ELF Section List flags. + default_field: false + - name: elf.sections.name + level: extended + type: keyword + ignore_above: 1024 + description: ELF Section List name. + default_field: false + - name: elf.sections.physical_offset + level: extended + type: keyword + ignore_above: 1024 + description: ELF Section List offset. + default_field: false + - name: elf.sections.physical_size + level: extended + type: long + format: bytes + description: ELF Section List physical size. + default_field: false + - name: elf.sections.type + level: extended + type: keyword + ignore_above: 1024 + description: ELF Section List type. + default_field: false + - name: elf.sections.virtual_address + level: extended + type: long + format: string + description: ELF Section List virtual address. + default_field: false + - name: elf.sections.virtual_size + level: extended + type: long + format: string + description: ELF Section List virtual size. + default_field: false + - name: elf.segments + level: extended + type: nested + description: ELF object segment list. + default_field: false + - name: elf.segments.sections + level: extended + type: keyword + ignore_above: 1024 + description: ELF object segment sections. + default_field: false + - name: elf.segments.type + level: extended + type: keyword + ignore_above: 1024 + description: ELF object segment type. + default_field: false + - name: elf.shared_libraries + level: extended + type: keyword + ignore_above: 1024 + description: List of shared libraries used by this ELF object. + default_field: false + - name: elf.telfhash + level: extended + type: keyword + ignore_above: 1024 + description: telfhash symbol hash for ELF file. + default_field: false - name: entity_id level: extended type: keyword @@ -3982,6 +4507,179 @@ Some arguments may be filtered to protect sensitive information.' example: /usr/bin/ssh -l user 10.0.0.16 default_field: false + - name: parent.elf.architecture + level: extended + type: keyword + ignore_above: 1024 + description: Machine architecture of the ELF file. + example: x86-64 + default_field: false + - name: parent.elf.byte_order + level: extended + type: keyword + ignore_above: 1024 + description: Byte sequence of ELF file. + example: Little Endian + default_field: false + - name: parent.elf.cpu_type + level: extended + type: keyword + ignore_above: 1024 + description: CPU type of the ELF file. + example: Intel + default_field: false + - name: parent.elf.creation_date + level: extended + type: date + description: Extracted when possible from the file's metadata. Indicates when + it was built or compiled. It can also be faked by malware creators. + default_field: false + - name: parent.elf.exports + level: extended + type: flattened + description: List of exported element names and types. + default_field: false + - name: parent.elf.header.abi_version + level: extended + type: keyword + ignore_above: 1024 + description: Version of the ELF Application Binary Interface (ABI). + default_field: false + - name: parent.elf.header.class + level: extended + type: keyword + ignore_above: 1024 + description: Header class of the ELF file. + default_field: false + - name: parent.elf.header.data + level: extended + type: keyword + ignore_above: 1024 + description: Data table of the ELF header. + default_field: false + - name: parent.elf.header.entrypoint + level: extended + type: long + format: string + description: Header entrypoint of the ELF file. + default_field: false + - name: parent.elf.header.object_version + level: extended + type: keyword + ignore_above: 1024 + description: '"0x1" for original ELF files.' + default_field: false + - name: parent.elf.header.os_abi + level: extended + type: keyword + ignore_above: 1024 + description: Application Binary Interface (ABI) of the Linux OS. + default_field: false + - name: parent.elf.header.type + level: extended + type: keyword + ignore_above: 1024 + description: Header type of the ELF file. + default_field: false + - name: parent.elf.header.version + level: extended + type: keyword + ignore_above: 1024 + description: Version of the ELF header. + default_field: false + - name: parent.elf.imports + level: extended + type: flattened + description: List of imported element names and types. + default_field: false + - name: parent.elf.sections + level: extended + type: nested + description: Section information of the ELF file. + default_field: false + - name: parent.elf.sections.chi2 + level: extended + type: long + format: number + description: Chi-square probability distribution of the section. + default_field: false + - name: parent.elf.sections.entropy + level: extended + type: long + format: number + description: Shannon entropy calculation from the section. + default_field: false + - name: parent.elf.sections.flags + level: extended + type: keyword + ignore_above: 1024 + description: ELF Section List flags. + default_field: false + - name: parent.elf.sections.name + level: extended + type: keyword + ignore_above: 1024 + description: ELF Section List name. + default_field: false + - name: parent.elf.sections.physical_offset + level: extended + type: keyword + ignore_above: 1024 + description: ELF Section List offset. + default_field: false + - name: parent.elf.sections.physical_size + level: extended + type: long + format: bytes + description: ELF Section List physical size. + default_field: false + - name: parent.elf.sections.type + level: extended + type: keyword + ignore_above: 1024 + description: ELF Section List type. + default_field: false + - name: parent.elf.sections.virtual_address + level: extended + type: long + format: string + description: ELF Section List virtual address. + default_field: false + - name: parent.elf.sections.virtual_size + level: extended + type: long + format: string + description: ELF Section List virtual size. + default_field: false + - name: parent.elf.segments + level: extended + type: nested + description: ELF object segment list. + default_field: false + - name: parent.elf.segments.sections + level: extended + type: keyword + ignore_above: 1024 + description: ELF object segment sections. + default_field: false + - name: parent.elf.segments.type + level: extended + type: keyword + ignore_above: 1024 + description: ELF object segment type. + default_field: false + - name: parent.elf.shared_libraries + level: extended + type: keyword + ignore_above: 1024 + description: List of shared libraries used by this ELF object. + default_field: false + - name: parent.elf.telfhash + level: extended + type: keyword + ignore_above: 1024 + description: telfhash symbol hash for ELF file. + default_field: false - name: parent.entity_id level: extended type: keyword diff --git a/generated/csv/fields.csv b/generated/csv/fields.csv index 2ba05d75be..09ccf5d007 100644 --- a/generated/csv/fields.csv +++ b/generated/csv/fields.csv @@ -190,6 +190,35 @@ ECS_Version,Indexed,Field_Set,Field,Type,Level,Normalization,Example,Description 2.0.0-dev,true,file,file.device,keyword,extended,,sda,Device that is the source of the file. 2.0.0-dev,true,file,file.directory,keyword,extended,,/home/alice,Directory where the file is located. 2.0.0-dev,true,file,file.drive_letter,keyword,extended,,C,Drive letter where the file is located. +2.0.0-dev,true,file,file.elf.architecture,keyword,extended,,x86-64,Machine architecture of the ELF file. +2.0.0-dev,true,file,file.elf.byte_order,keyword,extended,,Little Endian,Byte sequence of ELF file. +2.0.0-dev,true,file,file.elf.cpu_type,keyword,extended,,Intel,CPU type of the ELF file. +2.0.0-dev,true,file,file.elf.creation_date,date,extended,,,Build or compile date. +2.0.0-dev,true,file,file.elf.exports,flattened,extended,array,,List of exported element names and types. +2.0.0-dev,true,file,file.elf.header.abi_version,keyword,extended,,,Version of the ELF Application Binary Interface (ABI). +2.0.0-dev,true,file,file.elf.header.class,keyword,extended,,,Header class of the ELF file. +2.0.0-dev,true,file,file.elf.header.data,keyword,extended,,,Data table of the ELF header. +2.0.0-dev,true,file,file.elf.header.entrypoint,long,extended,,,Header entrypoint of the ELF file. +2.0.0-dev,true,file,file.elf.header.object_version,keyword,extended,,,"""0x1"" for original ELF files." +2.0.0-dev,true,file,file.elf.header.os_abi,keyword,extended,,,Application Binary Interface (ABI) of the Linux OS. +2.0.0-dev,true,file,file.elf.header.type,keyword,extended,,,Header type of the ELF file. +2.0.0-dev,true,file,file.elf.header.version,keyword,extended,,,Version of the ELF header. +2.0.0-dev,true,file,file.elf.imports,flattened,extended,array,,List of imported element names and types. +2.0.0-dev,true,file,file.elf.sections,nested,extended,,,Section information of the ELF file. +2.0.0-dev,true,file,file.elf.sections.chi2,long,extended,,,Chi-square probability distribution of the section. +2.0.0-dev,true,file,file.elf.sections.entropy,long,extended,,,Shannon entropy calculation from the section. +2.0.0-dev,true,file,file.elf.sections.flags,keyword,extended,,,ELF Section List flags. +2.0.0-dev,true,file,file.elf.sections.name,keyword,extended,,,ELF Section List name. +2.0.0-dev,true,file,file.elf.sections.physical_offset,keyword,extended,,,ELF Section List offset. +2.0.0-dev,true,file,file.elf.sections.physical_size,long,extended,,,ELF Section List physical size. +2.0.0-dev,true,file,file.elf.sections.type,keyword,extended,,,ELF Section List type. +2.0.0-dev,true,file,file.elf.sections.virtual_address,long,extended,,,ELF Section List virtual address. +2.0.0-dev,true,file,file.elf.sections.virtual_size,long,extended,,,ELF Section List virtual size. +2.0.0-dev,true,file,file.elf.segments,nested,extended,array,,ELF object segment list. +2.0.0-dev,true,file,file.elf.segments.sections,keyword,extended,,,ELF object segment sections. +2.0.0-dev,true,file,file.elf.segments.type,keyword,extended,,,ELF object segment type. +2.0.0-dev,true,file,file.elf.shared_libraries,keyword,extended,array,,List of shared libraries used by this ELF object. +2.0.0-dev,true,file,file.elf.telfhash,keyword,extended,,,telfhash hash for ELF file. 2.0.0-dev,true,file,file.extension,keyword,extended,,png,"File extension, excluding the leading dot." 2.0.0-dev,true,file,file.gid,keyword,extended,,1001,Primary group ID (GID) of the file. 2.0.0-dev,true,file,file.group,keyword,extended,,alice,Primary group name of the file. @@ -416,6 +445,35 @@ ECS_Version,Indexed,Field_Set,Field,Type,Level,Normalization,Example,Description 2.0.0-dev,true,process,process.code_signature.valid,boolean,extended,,true,Boolean to capture if the digital signature is verified against the binary content. 2.0.0-dev,true,process,process.command_line,keyword,extended,,/usr/bin/ssh -l user 10.0.0.16,Full command line that started the process. 2.0.0-dev,true,process,process.command_line.text,text,extended,,/usr/bin/ssh -l user 10.0.0.16,Full command line that started the process. +2.0.0-dev,true,process,process.elf.architecture,keyword,extended,,x86-64,Machine architecture of the ELF file. +2.0.0-dev,true,process,process.elf.byte_order,keyword,extended,,Little Endian,Byte sequence of ELF file. +2.0.0-dev,true,process,process.elf.cpu_type,keyword,extended,,Intel,CPU type of the ELF file. +2.0.0-dev,true,process,process.elf.creation_date,date,extended,,,Build or compile date. +2.0.0-dev,true,process,process.elf.exports,flattened,extended,array,,List of exported element names and types. +2.0.0-dev,true,process,process.elf.header.abi_version,keyword,extended,,,Version of the ELF Application Binary Interface (ABI). +2.0.0-dev,true,process,process.elf.header.class,keyword,extended,,,Header class of the ELF file. +2.0.0-dev,true,process,process.elf.header.data,keyword,extended,,,Data table of the ELF header. +2.0.0-dev,true,process,process.elf.header.entrypoint,long,extended,,,Header entrypoint of the ELF file. +2.0.0-dev,true,process,process.elf.header.object_version,keyword,extended,,,"""0x1"" for original ELF files." +2.0.0-dev,true,process,process.elf.header.os_abi,keyword,extended,,,Application Binary Interface (ABI) of the Linux OS. +2.0.0-dev,true,process,process.elf.header.type,keyword,extended,,,Header type of the ELF file. +2.0.0-dev,true,process,process.elf.header.version,keyword,extended,,,Version of the ELF header. +2.0.0-dev,true,process,process.elf.imports,flattened,extended,array,,List of imported element names and types. +2.0.0-dev,true,process,process.elf.sections,nested,extended,,,Section information of the ELF file. +2.0.0-dev,true,process,process.elf.sections.chi2,long,extended,,,Chi-square probability distribution of the section. +2.0.0-dev,true,process,process.elf.sections.entropy,long,extended,,,Shannon entropy calculation from the section. +2.0.0-dev,true,process,process.elf.sections.flags,keyword,extended,,,ELF Section List flags. +2.0.0-dev,true,process,process.elf.sections.name,keyword,extended,,,ELF Section List name. +2.0.0-dev,true,process,process.elf.sections.physical_offset,keyword,extended,,,ELF Section List offset. +2.0.0-dev,true,process,process.elf.sections.physical_size,long,extended,,,ELF Section List physical size. +2.0.0-dev,true,process,process.elf.sections.type,keyword,extended,,,ELF Section List type. +2.0.0-dev,true,process,process.elf.sections.virtual_address,long,extended,,,ELF Section List virtual address. +2.0.0-dev,true,process,process.elf.sections.virtual_size,long,extended,,,ELF Section List virtual size. +2.0.0-dev,true,process,process.elf.segments,nested,extended,array,,ELF object segment list. +2.0.0-dev,true,process,process.elf.segments.sections,keyword,extended,,,ELF object segment sections. +2.0.0-dev,true,process,process.elf.segments.type,keyword,extended,,,ELF object segment type. +2.0.0-dev,true,process,process.elf.shared_libraries,keyword,extended,array,,List of shared libraries used by this ELF object. +2.0.0-dev,true,process,process.elf.telfhash,keyword,extended,,,telfhash hash for ELF file. 2.0.0-dev,true,process,process.entity_id,keyword,extended,,c2c455d9f99375d,Unique identifier for the process. 2.0.0-dev,true,process,process.executable,keyword,extended,,/usr/bin/ssh,Absolute path to the process executable. 2.0.0-dev,true,process,process.executable.text,text,extended,,/usr/bin/ssh,Absolute path to the process executable. @@ -438,6 +496,35 @@ ECS_Version,Indexed,Field_Set,Field,Type,Level,Normalization,Example,Description 2.0.0-dev,true,process,process.parent.code_signature.valid,boolean,extended,,true,Boolean to capture if the digital signature is verified against the binary content. 2.0.0-dev,true,process,process.parent.command_line,keyword,extended,,/usr/bin/ssh -l user 10.0.0.16,Full command line that started the process. 2.0.0-dev,true,process,process.parent.command_line.text,text,extended,,/usr/bin/ssh -l user 10.0.0.16,Full command line that started the process. +2.0.0-dev,true,process,process.parent.elf.architecture,keyword,extended,,x86-64,Machine architecture of the ELF file. +2.0.0-dev,true,process,process.parent.elf.byte_order,keyword,extended,,Little Endian,Byte sequence of ELF file. +2.0.0-dev,true,process,process.parent.elf.cpu_type,keyword,extended,,Intel,CPU type of the ELF file. +2.0.0-dev,true,process,process.parent.elf.creation_date,date,extended,,,Build or compile date. +2.0.0-dev,true,process,process.parent.elf.exports,flattened,extended,array,,List of exported element names and types. +2.0.0-dev,true,process,process.parent.elf.header.abi_version,keyword,extended,,,Version of the ELF Application Binary Interface (ABI). +2.0.0-dev,true,process,process.parent.elf.header.class,keyword,extended,,,Header class of the ELF file. +2.0.0-dev,true,process,process.parent.elf.header.data,keyword,extended,,,Data table of the ELF header. +2.0.0-dev,true,process,process.parent.elf.header.entrypoint,long,extended,,,Header entrypoint of the ELF file. +2.0.0-dev,true,process,process.parent.elf.header.object_version,keyword,extended,,,"""0x1"" for original ELF files." +2.0.0-dev,true,process,process.parent.elf.header.os_abi,keyword,extended,,,Application Binary Interface (ABI) of the Linux OS. +2.0.0-dev,true,process,process.parent.elf.header.type,keyword,extended,,,Header type of the ELF file. +2.0.0-dev,true,process,process.parent.elf.header.version,keyword,extended,,,Version of the ELF header. +2.0.0-dev,true,process,process.parent.elf.imports,flattened,extended,array,,List of imported element names and types. +2.0.0-dev,true,process,process.parent.elf.sections,nested,extended,,,Section information of the ELF file. +2.0.0-dev,true,process,process.parent.elf.sections.chi2,long,extended,,,Chi-square probability distribution of the section. +2.0.0-dev,true,process,process.parent.elf.sections.entropy,long,extended,,,Shannon entropy calculation from the section. +2.0.0-dev,true,process,process.parent.elf.sections.flags,keyword,extended,,,ELF Section List flags. +2.0.0-dev,true,process,process.parent.elf.sections.name,keyword,extended,,,ELF Section List name. +2.0.0-dev,true,process,process.parent.elf.sections.physical_offset,keyword,extended,,,ELF Section List offset. +2.0.0-dev,true,process,process.parent.elf.sections.physical_size,long,extended,,,ELF Section List physical size. +2.0.0-dev,true,process,process.parent.elf.sections.type,keyword,extended,,,ELF Section List type. +2.0.0-dev,true,process,process.parent.elf.sections.virtual_address,long,extended,,,ELF Section List virtual address. +2.0.0-dev,true,process,process.parent.elf.sections.virtual_size,long,extended,,,ELF Section List virtual size. +2.0.0-dev,true,process,process.parent.elf.segments,nested,extended,array,,ELF object segment list. +2.0.0-dev,true,process,process.parent.elf.segments.sections,keyword,extended,,,ELF object segment sections. +2.0.0-dev,true,process,process.parent.elf.segments.type,keyword,extended,,,ELF object segment type. +2.0.0-dev,true,process,process.parent.elf.shared_libraries,keyword,extended,array,,List of shared libraries used by this ELF object. +2.0.0-dev,true,process,process.parent.elf.telfhash,keyword,extended,,,telfhash hash for ELF file. 2.0.0-dev,true,process,process.parent.entity_id,keyword,extended,,c2c455d9f99375d,Unique identifier for the process. 2.0.0-dev,true,process,process.parent.executable,keyword,extended,,/usr/bin/ssh,Absolute path to the process executable. 2.0.0-dev,true,process,process.parent.executable.text,text,extended,,/usr/bin/ssh,Absolute path to the process executable. diff --git a/generated/ecs/ecs_flat.yml b/generated/ecs/ecs_flat.yml index 3e8772e2b0..8badb0f013 100644 --- a/generated/ecs/ecs_flat.yml +++ b/generated/ecs/ecs_flat.yml @@ -2782,6 +2782,328 @@ file.drive_letter: normalize: [] short: Drive letter where the file is located. type: keyword +file.elf.architecture: + dashed_name: file-elf-architecture + description: Machine architecture of the ELF file. + example: x86-64 + flat_name: file.elf.architecture + ignore_above: 1024 + level: extended + name: architecture + normalize: [] + original_fieldset: elf + short: Machine architecture of the ELF file. + type: keyword +file.elf.byte_order: + dashed_name: file-elf-byte-order + description: Byte sequence of ELF file. + example: Little Endian + flat_name: file.elf.byte_order + ignore_above: 1024 + level: extended + name: byte_order + normalize: [] + original_fieldset: elf + short: Byte sequence of ELF file. + type: keyword +file.elf.cpu_type: + dashed_name: file-elf-cpu-type + description: CPU type of the ELF file. + example: Intel + flat_name: file.elf.cpu_type + ignore_above: 1024 + level: extended + name: cpu_type + normalize: [] + original_fieldset: elf + short: CPU type of the ELF file. + type: keyword +file.elf.creation_date: + dashed_name: file-elf-creation-date + description: Extracted when possible from the file's metadata. Indicates when it + was built or compiled. It can also be faked by malware creators. + flat_name: file.elf.creation_date + level: extended + name: creation_date + normalize: [] + original_fieldset: elf + short: Build or compile date. + type: date +file.elf.exports: + dashed_name: file-elf-exports + description: List of exported element names and types. + flat_name: file.elf.exports + level: extended + name: exports + normalize: + - array + original_fieldset: elf + short: List of exported element names and types. + type: flattened +file.elf.header.abi_version: + dashed_name: file-elf-header-abi-version + description: Version of the ELF Application Binary Interface (ABI). + flat_name: file.elf.header.abi_version + ignore_above: 1024 + level: extended + name: header.abi_version + normalize: [] + original_fieldset: elf + short: Version of the ELF Application Binary Interface (ABI). + type: keyword +file.elf.header.class: + dashed_name: file-elf-header-class + description: Header class of the ELF file. + flat_name: file.elf.header.class + ignore_above: 1024 + level: extended + name: header.class + normalize: [] + original_fieldset: elf + short: Header class of the ELF file. + type: keyword +file.elf.header.data: + dashed_name: file-elf-header-data + description: Data table of the ELF header. + flat_name: file.elf.header.data + ignore_above: 1024 + level: extended + name: header.data + normalize: [] + original_fieldset: elf + short: Data table of the ELF header. + type: keyword +file.elf.header.entrypoint: + dashed_name: file-elf-header-entrypoint + description: Header entrypoint of the ELF file. + flat_name: file.elf.header.entrypoint + format: string + level: extended + name: header.entrypoint + normalize: [] + original_fieldset: elf + short: Header entrypoint of the ELF file. + type: long +file.elf.header.object_version: + dashed_name: file-elf-header-object-version + description: '"0x1" for original ELF files.' + flat_name: file.elf.header.object_version + ignore_above: 1024 + level: extended + name: header.object_version + normalize: [] + original_fieldset: elf + short: '"0x1" for original ELF files.' + type: keyword +file.elf.header.os_abi: + dashed_name: file-elf-header-os-abi + description: Application Binary Interface (ABI) of the Linux OS. + flat_name: file.elf.header.os_abi + ignore_above: 1024 + level: extended + name: header.os_abi + normalize: [] + original_fieldset: elf + short: Application Binary Interface (ABI) of the Linux OS. + type: keyword +file.elf.header.type: + dashed_name: file-elf-header-type + description: Header type of the ELF file. + flat_name: file.elf.header.type + ignore_above: 1024 + level: extended + name: header.type + normalize: [] + original_fieldset: elf + short: Header type of the ELF file. + type: keyword +file.elf.header.version: + dashed_name: file-elf-header-version + description: Version of the ELF header. + flat_name: file.elf.header.version + ignore_above: 1024 + level: extended + name: header.version + normalize: [] + original_fieldset: elf + short: Version of the ELF header. + type: keyword +file.elf.imports: + dashed_name: file-elf-imports + description: List of imported element names and types. + flat_name: file.elf.imports + level: extended + name: imports + normalize: + - array + original_fieldset: elf + short: List of imported element names and types. + type: flattened +file.elf.sections: + dashed_name: file-elf-sections + description: Section information of the ELF file. + flat_name: file.elf.sections + level: extended + name: sections + normalize: [] + original_fieldset: elf + short: Section information of the ELF file. + type: nested +file.elf.sections.chi2: + dashed_name: file-elf-sections-chi2 + description: Chi-square probability distribution of the section. + flat_name: file.elf.sections.chi2 + format: number + level: extended + name: sections.chi2 + normalize: [] + original_fieldset: elf + short: Chi-square probability distribution of the section. + type: long +file.elf.sections.entropy: + dashed_name: file-elf-sections-entropy + description: Shannon entropy calculation from the section. + flat_name: file.elf.sections.entropy + format: number + level: extended + name: sections.entropy + normalize: [] + original_fieldset: elf + short: Shannon entropy calculation from the section. + type: long +file.elf.sections.flags: + dashed_name: file-elf-sections-flags + description: ELF Section List flags. + flat_name: file.elf.sections.flags + ignore_above: 1024 + level: extended + name: sections.flags + normalize: [] + original_fieldset: elf + short: ELF Section List flags. + type: keyword +file.elf.sections.name: + dashed_name: file-elf-sections-name + description: ELF Section List name. + flat_name: file.elf.sections.name + ignore_above: 1024 + level: extended + name: sections.name + normalize: [] + original_fieldset: elf + short: ELF Section List name. + type: keyword +file.elf.sections.physical_offset: + dashed_name: file-elf-sections-physical-offset + description: ELF Section List offset. + flat_name: file.elf.sections.physical_offset + ignore_above: 1024 + level: extended + name: sections.physical_offset + normalize: [] + original_fieldset: elf + short: ELF Section List offset. + type: keyword +file.elf.sections.physical_size: + dashed_name: file-elf-sections-physical-size + description: ELF Section List physical size. + flat_name: file.elf.sections.physical_size + format: bytes + level: extended + name: sections.physical_size + normalize: [] + original_fieldset: elf + short: ELF Section List physical size. + type: long +file.elf.sections.type: + dashed_name: file-elf-sections-type + description: ELF Section List type. + flat_name: file.elf.sections.type + ignore_above: 1024 + level: extended + name: sections.type + normalize: [] + original_fieldset: elf + short: ELF Section List type. + type: keyword +file.elf.sections.virtual_address: + dashed_name: file-elf-sections-virtual-address + description: ELF Section List virtual address. + flat_name: file.elf.sections.virtual_address + format: string + level: extended + name: sections.virtual_address + normalize: [] + original_fieldset: elf + short: ELF Section List virtual address. + type: long +file.elf.sections.virtual_size: + dashed_name: file-elf-sections-virtual-size + description: ELF Section List virtual size. + flat_name: file.elf.sections.virtual_size + format: string + level: extended + name: sections.virtual_size + normalize: [] + original_fieldset: elf + short: ELF Section List virtual size. + type: long +file.elf.segments: + dashed_name: file-elf-segments + description: ELF object segment list. + flat_name: file.elf.segments + level: extended + name: segments + normalize: + - array + original_fieldset: elf + short: ELF object segment list. + type: nested +file.elf.segments.sections: + dashed_name: file-elf-segments-sections + description: ELF object segment sections. + flat_name: file.elf.segments.sections + ignore_above: 1024 + level: extended + name: segments.sections + normalize: [] + original_fieldset: elf + short: ELF object segment sections. + type: keyword +file.elf.segments.type: + dashed_name: file-elf-segments-type + description: ELF object segment type. + flat_name: file.elf.segments.type + ignore_above: 1024 + level: extended + name: segments.type + normalize: [] + original_fieldset: elf + short: ELF object segment type. + type: keyword +file.elf.shared_libraries: + dashed_name: file-elf-shared-libraries + description: List of shared libraries used by this ELF object. + flat_name: file.elf.shared_libraries + ignore_above: 1024 + level: extended + name: shared_libraries + normalize: + - array + original_fieldset: elf + short: List of shared libraries used by this ELF object. + type: keyword +file.elf.telfhash: + dashed_name: file-elf-telfhash + description: telfhash symbol hash for ELF file. + flat_name: file.elf.telfhash + ignore_above: 1024 + level: extended + name: telfhash + normalize: [] + original_fieldset: elf + short: telfhash hash for ELF file. + type: keyword file.extension: dashed_name: file-extension description: 'File extension, excluding the leading dot. @@ -5534,6 +5856,328 @@ process.command_line: normalize: [] short: Full command line that started the process. type: keyword +process.elf.architecture: + dashed_name: process-elf-architecture + description: Machine architecture of the ELF file. + example: x86-64 + flat_name: process.elf.architecture + ignore_above: 1024 + level: extended + name: architecture + normalize: [] + original_fieldset: elf + short: Machine architecture of the ELF file. + type: keyword +process.elf.byte_order: + dashed_name: process-elf-byte-order + description: Byte sequence of ELF file. + example: Little Endian + flat_name: process.elf.byte_order + ignore_above: 1024 + level: extended + name: byte_order + normalize: [] + original_fieldset: elf + short: Byte sequence of ELF file. + type: keyword +process.elf.cpu_type: + dashed_name: process-elf-cpu-type + description: CPU type of the ELF file. + example: Intel + flat_name: process.elf.cpu_type + ignore_above: 1024 + level: extended + name: cpu_type + normalize: [] + original_fieldset: elf + short: CPU type of the ELF file. + type: keyword +process.elf.creation_date: + dashed_name: process-elf-creation-date + description: Extracted when possible from the file's metadata. Indicates when it + was built or compiled. It can also be faked by malware creators. + flat_name: process.elf.creation_date + level: extended + name: creation_date + normalize: [] + original_fieldset: elf + short: Build or compile date. + type: date +process.elf.exports: + dashed_name: process-elf-exports + description: List of exported element names and types. + flat_name: process.elf.exports + level: extended + name: exports + normalize: + - array + original_fieldset: elf + short: List of exported element names and types. + type: flattened +process.elf.header.abi_version: + dashed_name: process-elf-header-abi-version + description: Version of the ELF Application Binary Interface (ABI). + flat_name: process.elf.header.abi_version + ignore_above: 1024 + level: extended + name: header.abi_version + normalize: [] + original_fieldset: elf + short: Version of the ELF Application Binary Interface (ABI). + type: keyword +process.elf.header.class: + dashed_name: process-elf-header-class + description: Header class of the ELF file. + flat_name: process.elf.header.class + ignore_above: 1024 + level: extended + name: header.class + normalize: [] + original_fieldset: elf + short: Header class of the ELF file. + type: keyword +process.elf.header.data: + dashed_name: process-elf-header-data + description: Data table of the ELF header. + flat_name: process.elf.header.data + ignore_above: 1024 + level: extended + name: header.data + normalize: [] + original_fieldset: elf + short: Data table of the ELF header. + type: keyword +process.elf.header.entrypoint: + dashed_name: process-elf-header-entrypoint + description: Header entrypoint of the ELF file. + flat_name: process.elf.header.entrypoint + format: string + level: extended + name: header.entrypoint + normalize: [] + original_fieldset: elf + short: Header entrypoint of the ELF file. + type: long +process.elf.header.object_version: + dashed_name: process-elf-header-object-version + description: '"0x1" for original ELF files.' + flat_name: process.elf.header.object_version + ignore_above: 1024 + level: extended + name: header.object_version + normalize: [] + original_fieldset: elf + short: '"0x1" for original ELF files.' + type: keyword +process.elf.header.os_abi: + dashed_name: process-elf-header-os-abi + description: Application Binary Interface (ABI) of the Linux OS. + flat_name: process.elf.header.os_abi + ignore_above: 1024 + level: extended + name: header.os_abi + normalize: [] + original_fieldset: elf + short: Application Binary Interface (ABI) of the Linux OS. + type: keyword +process.elf.header.type: + dashed_name: process-elf-header-type + description: Header type of the ELF file. + flat_name: process.elf.header.type + ignore_above: 1024 + level: extended + name: header.type + normalize: [] + original_fieldset: elf + short: Header type of the ELF file. + type: keyword +process.elf.header.version: + dashed_name: process-elf-header-version + description: Version of the ELF header. + flat_name: process.elf.header.version + ignore_above: 1024 + level: extended + name: header.version + normalize: [] + original_fieldset: elf + short: Version of the ELF header. + type: keyword +process.elf.imports: + dashed_name: process-elf-imports + description: List of imported element names and types. + flat_name: process.elf.imports + level: extended + name: imports + normalize: + - array + original_fieldset: elf + short: List of imported element names and types. + type: flattened +process.elf.sections: + dashed_name: process-elf-sections + description: Section information of the ELF file. + flat_name: process.elf.sections + level: extended + name: sections + normalize: [] + original_fieldset: elf + short: Section information of the ELF file. + type: nested +process.elf.sections.chi2: + dashed_name: process-elf-sections-chi2 + description: Chi-square probability distribution of the section. + flat_name: process.elf.sections.chi2 + format: number + level: extended + name: sections.chi2 + normalize: [] + original_fieldset: elf + short: Chi-square probability distribution of the section. + type: long +process.elf.sections.entropy: + dashed_name: process-elf-sections-entropy + description: Shannon entropy calculation from the section. + flat_name: process.elf.sections.entropy + format: number + level: extended + name: sections.entropy + normalize: [] + original_fieldset: elf + short: Shannon entropy calculation from the section. + type: long +process.elf.sections.flags: + dashed_name: process-elf-sections-flags + description: ELF Section List flags. + flat_name: process.elf.sections.flags + ignore_above: 1024 + level: extended + name: sections.flags + normalize: [] + original_fieldset: elf + short: ELF Section List flags. + type: keyword +process.elf.sections.name: + dashed_name: process-elf-sections-name + description: ELF Section List name. + flat_name: process.elf.sections.name + ignore_above: 1024 + level: extended + name: sections.name + normalize: [] + original_fieldset: elf + short: ELF Section List name. + type: keyword +process.elf.sections.physical_offset: + dashed_name: process-elf-sections-physical-offset + description: ELF Section List offset. + flat_name: process.elf.sections.physical_offset + ignore_above: 1024 + level: extended + name: sections.physical_offset + normalize: [] + original_fieldset: elf + short: ELF Section List offset. + type: keyword +process.elf.sections.physical_size: + dashed_name: process-elf-sections-physical-size + description: ELF Section List physical size. + flat_name: process.elf.sections.physical_size + format: bytes + level: extended + name: sections.physical_size + normalize: [] + original_fieldset: elf + short: ELF Section List physical size. + type: long +process.elf.sections.type: + dashed_name: process-elf-sections-type + description: ELF Section List type. + flat_name: process.elf.sections.type + ignore_above: 1024 + level: extended + name: sections.type + normalize: [] + original_fieldset: elf + short: ELF Section List type. + type: keyword +process.elf.sections.virtual_address: + dashed_name: process-elf-sections-virtual-address + description: ELF Section List virtual address. + flat_name: process.elf.sections.virtual_address + format: string + level: extended + name: sections.virtual_address + normalize: [] + original_fieldset: elf + short: ELF Section List virtual address. + type: long +process.elf.sections.virtual_size: + dashed_name: process-elf-sections-virtual-size + description: ELF Section List virtual size. + flat_name: process.elf.sections.virtual_size + format: string + level: extended + name: sections.virtual_size + normalize: [] + original_fieldset: elf + short: ELF Section List virtual size. + type: long +process.elf.segments: + dashed_name: process-elf-segments + description: ELF object segment list. + flat_name: process.elf.segments + level: extended + name: segments + normalize: + - array + original_fieldset: elf + short: ELF object segment list. + type: nested +process.elf.segments.sections: + dashed_name: process-elf-segments-sections + description: ELF object segment sections. + flat_name: process.elf.segments.sections + ignore_above: 1024 + level: extended + name: segments.sections + normalize: [] + original_fieldset: elf + short: ELF object segment sections. + type: keyword +process.elf.segments.type: + dashed_name: process-elf-segments-type + description: ELF object segment type. + flat_name: process.elf.segments.type + ignore_above: 1024 + level: extended + name: segments.type + normalize: [] + original_fieldset: elf + short: ELF object segment type. + type: keyword +process.elf.shared_libraries: + dashed_name: process-elf-shared-libraries + description: List of shared libraries used by this ELF object. + flat_name: process.elf.shared_libraries + ignore_above: 1024 + level: extended + name: shared_libraries + normalize: + - array + original_fieldset: elf + short: List of shared libraries used by this ELF object. + type: keyword +process.elf.telfhash: + dashed_name: process-elf-telfhash + description: telfhash symbol hash for ELF file. + flat_name: process.elf.telfhash + ignore_above: 1024 + level: extended + name: telfhash + normalize: [] + original_fieldset: elf + short: telfhash hash for ELF file. + type: keyword process.entity_id: dashed_name: process-entity-id description: 'Unique identifier for the process. @@ -5804,6 +6448,328 @@ process.parent.command_line: original_fieldset: process short: Full command line that started the process. type: keyword +process.parent.elf.architecture: + dashed_name: process-parent-elf-architecture + description: Machine architecture of the ELF file. + example: x86-64 + flat_name: process.parent.elf.architecture + ignore_above: 1024 + level: extended + name: architecture + normalize: [] + original_fieldset: elf + short: Machine architecture of the ELF file. + type: keyword +process.parent.elf.byte_order: + dashed_name: process-parent-elf-byte-order + description: Byte sequence of ELF file. + example: Little Endian + flat_name: process.parent.elf.byte_order + ignore_above: 1024 + level: extended + name: byte_order + normalize: [] + original_fieldset: elf + short: Byte sequence of ELF file. + type: keyword +process.parent.elf.cpu_type: + dashed_name: process-parent-elf-cpu-type + description: CPU type of the ELF file. + example: Intel + flat_name: process.parent.elf.cpu_type + ignore_above: 1024 + level: extended + name: cpu_type + normalize: [] + original_fieldset: elf + short: CPU type of the ELF file. + type: keyword +process.parent.elf.creation_date: + dashed_name: process-parent-elf-creation-date + description: Extracted when possible from the file's metadata. Indicates when it + was built or compiled. It can also be faked by malware creators. + flat_name: process.parent.elf.creation_date + level: extended + name: creation_date + normalize: [] + original_fieldset: elf + short: Build or compile date. + type: date +process.parent.elf.exports: + dashed_name: process-parent-elf-exports + description: List of exported element names and types. + flat_name: process.parent.elf.exports + level: extended + name: exports + normalize: + - array + original_fieldset: elf + short: List of exported element names and types. + type: flattened +process.parent.elf.header.abi_version: + dashed_name: process-parent-elf-header-abi-version + description: Version of the ELF Application Binary Interface (ABI). + flat_name: process.parent.elf.header.abi_version + ignore_above: 1024 + level: extended + name: header.abi_version + normalize: [] + original_fieldset: elf + short: Version of the ELF Application Binary Interface (ABI). + type: keyword +process.parent.elf.header.class: + dashed_name: process-parent-elf-header-class + description: Header class of the ELF file. + flat_name: process.parent.elf.header.class + ignore_above: 1024 + level: extended + name: header.class + normalize: [] + original_fieldset: elf + short: Header class of the ELF file. + type: keyword +process.parent.elf.header.data: + dashed_name: process-parent-elf-header-data + description: Data table of the ELF header. + flat_name: process.parent.elf.header.data + ignore_above: 1024 + level: extended + name: header.data + normalize: [] + original_fieldset: elf + short: Data table of the ELF header. + type: keyword +process.parent.elf.header.entrypoint: + dashed_name: process-parent-elf-header-entrypoint + description: Header entrypoint of the ELF file. + flat_name: process.parent.elf.header.entrypoint + format: string + level: extended + name: header.entrypoint + normalize: [] + original_fieldset: elf + short: Header entrypoint of the ELF file. + type: long +process.parent.elf.header.object_version: + dashed_name: process-parent-elf-header-object-version + description: '"0x1" for original ELF files.' + flat_name: process.parent.elf.header.object_version + ignore_above: 1024 + level: extended + name: header.object_version + normalize: [] + original_fieldset: elf + short: '"0x1" for original ELF files.' + type: keyword +process.parent.elf.header.os_abi: + dashed_name: process-parent-elf-header-os-abi + description: Application Binary Interface (ABI) of the Linux OS. + flat_name: process.parent.elf.header.os_abi + ignore_above: 1024 + level: extended + name: header.os_abi + normalize: [] + original_fieldset: elf + short: Application Binary Interface (ABI) of the Linux OS. + type: keyword +process.parent.elf.header.type: + dashed_name: process-parent-elf-header-type + description: Header type of the ELF file. + flat_name: process.parent.elf.header.type + ignore_above: 1024 + level: extended + name: header.type + normalize: [] + original_fieldset: elf + short: Header type of the ELF file. + type: keyword +process.parent.elf.header.version: + dashed_name: process-parent-elf-header-version + description: Version of the ELF header. + flat_name: process.parent.elf.header.version + ignore_above: 1024 + level: extended + name: header.version + normalize: [] + original_fieldset: elf + short: Version of the ELF header. + type: keyword +process.parent.elf.imports: + dashed_name: process-parent-elf-imports + description: List of imported element names and types. + flat_name: process.parent.elf.imports + level: extended + name: imports + normalize: + - array + original_fieldset: elf + short: List of imported element names and types. + type: flattened +process.parent.elf.sections: + dashed_name: process-parent-elf-sections + description: Section information of the ELF file. + flat_name: process.parent.elf.sections + level: extended + name: sections + normalize: [] + original_fieldset: elf + short: Section information of the ELF file. + type: nested +process.parent.elf.sections.chi2: + dashed_name: process-parent-elf-sections-chi2 + description: Chi-square probability distribution of the section. + flat_name: process.parent.elf.sections.chi2 + format: number + level: extended + name: sections.chi2 + normalize: [] + original_fieldset: elf + short: Chi-square probability distribution of the section. + type: long +process.parent.elf.sections.entropy: + dashed_name: process-parent-elf-sections-entropy + description: Shannon entropy calculation from the section. + flat_name: process.parent.elf.sections.entropy + format: number + level: extended + name: sections.entropy + normalize: [] + original_fieldset: elf + short: Shannon entropy calculation from the section. + type: long +process.parent.elf.sections.flags: + dashed_name: process-parent-elf-sections-flags + description: ELF Section List flags. + flat_name: process.parent.elf.sections.flags + ignore_above: 1024 + level: extended + name: sections.flags + normalize: [] + original_fieldset: elf + short: ELF Section List flags. + type: keyword +process.parent.elf.sections.name: + dashed_name: process-parent-elf-sections-name + description: ELF Section List name. + flat_name: process.parent.elf.sections.name + ignore_above: 1024 + level: extended + name: sections.name + normalize: [] + original_fieldset: elf + short: ELF Section List name. + type: keyword +process.parent.elf.sections.physical_offset: + dashed_name: process-parent-elf-sections-physical-offset + description: ELF Section List offset. + flat_name: process.parent.elf.sections.physical_offset + ignore_above: 1024 + level: extended + name: sections.physical_offset + normalize: [] + original_fieldset: elf + short: ELF Section List offset. + type: keyword +process.parent.elf.sections.physical_size: + dashed_name: process-parent-elf-sections-physical-size + description: ELF Section List physical size. + flat_name: process.parent.elf.sections.physical_size + format: bytes + level: extended + name: sections.physical_size + normalize: [] + original_fieldset: elf + short: ELF Section List physical size. + type: long +process.parent.elf.sections.type: + dashed_name: process-parent-elf-sections-type + description: ELF Section List type. + flat_name: process.parent.elf.sections.type + ignore_above: 1024 + level: extended + name: sections.type + normalize: [] + original_fieldset: elf + short: ELF Section List type. + type: keyword +process.parent.elf.sections.virtual_address: + dashed_name: process-parent-elf-sections-virtual-address + description: ELF Section List virtual address. + flat_name: process.parent.elf.sections.virtual_address + format: string + level: extended + name: sections.virtual_address + normalize: [] + original_fieldset: elf + short: ELF Section List virtual address. + type: long +process.parent.elf.sections.virtual_size: + dashed_name: process-parent-elf-sections-virtual-size + description: ELF Section List virtual size. + flat_name: process.parent.elf.sections.virtual_size + format: string + level: extended + name: sections.virtual_size + normalize: [] + original_fieldset: elf + short: ELF Section List virtual size. + type: long +process.parent.elf.segments: + dashed_name: process-parent-elf-segments + description: ELF object segment list. + flat_name: process.parent.elf.segments + level: extended + name: segments + normalize: + - array + original_fieldset: elf + short: ELF object segment list. + type: nested +process.parent.elf.segments.sections: + dashed_name: process-parent-elf-segments-sections + description: ELF object segment sections. + flat_name: process.parent.elf.segments.sections + ignore_above: 1024 + level: extended + name: segments.sections + normalize: [] + original_fieldset: elf + short: ELF object segment sections. + type: keyword +process.parent.elf.segments.type: + dashed_name: process-parent-elf-segments-type + description: ELF object segment type. + flat_name: process.parent.elf.segments.type + ignore_above: 1024 + level: extended + name: segments.type + normalize: [] + original_fieldset: elf + short: ELF object segment type. + type: keyword +process.parent.elf.shared_libraries: + dashed_name: process-parent-elf-shared-libraries + description: List of shared libraries used by this ELF object. + flat_name: process.parent.elf.shared_libraries + ignore_above: 1024 + level: extended + name: shared_libraries + normalize: + - array + original_fieldset: elf + short: List of shared libraries used by this ELF object. + type: keyword +process.parent.elf.telfhash: + dashed_name: process-parent-elf-telfhash + description: telfhash symbol hash for ELF file. + flat_name: process.parent.elf.telfhash + ignore_above: 1024 + level: extended + name: telfhash + normalize: [] + original_fieldset: elf + short: telfhash hash for ELF file. + type: keyword process.parent.entity_id: dashed_name: process-parent-entity-id description: 'Unique identifier for the process. diff --git a/generated/ecs/ecs_nested.yml b/generated/ecs/ecs_nested.yml index 7913e8897a..e082b7c584 100644 --- a/generated/ecs/ecs_nested.yml +++ b/generated/ecs/ecs_nested.yml @@ -2213,6 +2213,318 @@ ecs: short: Meta-information specific to ECS. title: ECS type: group +elf: + beta: These fields are in beta and are subject to change. + description: These fields contain Linux Executable Linkable Format (ELF) metadata. + fields: + elf.architecture: + dashed_name: elf-architecture + description: Machine architecture of the ELF file. + example: x86-64 + flat_name: elf.architecture + ignore_above: 1024 + level: extended + name: architecture + normalize: [] + short: Machine architecture of the ELF file. + type: keyword + elf.byte_order: + dashed_name: elf-byte-order + description: Byte sequence of ELF file. + example: Little Endian + flat_name: elf.byte_order + ignore_above: 1024 + level: extended + name: byte_order + normalize: [] + short: Byte sequence of ELF file. + type: keyword + elf.cpu_type: + dashed_name: elf-cpu-type + description: CPU type of the ELF file. + example: Intel + flat_name: elf.cpu_type + ignore_above: 1024 + level: extended + name: cpu_type + normalize: [] + short: CPU type of the ELF file. + type: keyword + elf.creation_date: + dashed_name: elf-creation-date + description: Extracted when possible from the file's metadata. Indicates when + it was built or compiled. It can also be faked by malware creators. + flat_name: elf.creation_date + level: extended + name: creation_date + normalize: [] + short: Build or compile date. + type: date + elf.exports: + dashed_name: elf-exports + description: List of exported element names and types. + flat_name: elf.exports + level: extended + name: exports + normalize: + - array + short: List of exported element names and types. + type: flattened + elf.header.abi_version: + dashed_name: elf-header-abi-version + description: Version of the ELF Application Binary Interface (ABI). + flat_name: elf.header.abi_version + ignore_above: 1024 + level: extended + name: header.abi_version + normalize: [] + short: Version of the ELF Application Binary Interface (ABI). + type: keyword + elf.header.class: + dashed_name: elf-header-class + description: Header class of the ELF file. + flat_name: elf.header.class + ignore_above: 1024 + level: extended + name: header.class + normalize: [] + short: Header class of the ELF file. + type: keyword + elf.header.data: + dashed_name: elf-header-data + description: Data table of the ELF header. + flat_name: elf.header.data + ignore_above: 1024 + level: extended + name: header.data + normalize: [] + short: Data table of the ELF header. + type: keyword + elf.header.entrypoint: + dashed_name: elf-header-entrypoint + description: Header entrypoint of the ELF file. + flat_name: elf.header.entrypoint + format: string + level: extended + name: header.entrypoint + normalize: [] + short: Header entrypoint of the ELF file. + type: long + elf.header.object_version: + dashed_name: elf-header-object-version + description: '"0x1" for original ELF files.' + flat_name: elf.header.object_version + ignore_above: 1024 + level: extended + name: header.object_version + normalize: [] + short: '"0x1" for original ELF files.' + type: keyword + elf.header.os_abi: + dashed_name: elf-header-os-abi + description: Application Binary Interface (ABI) of the Linux OS. + flat_name: elf.header.os_abi + ignore_above: 1024 + level: extended + name: header.os_abi + normalize: [] + short: Application Binary Interface (ABI) of the Linux OS. + type: keyword + elf.header.type: + dashed_name: elf-header-type + description: Header type of the ELF file. + flat_name: elf.header.type + ignore_above: 1024 + level: extended + name: header.type + normalize: [] + short: Header type of the ELF file. + type: keyword + elf.header.version: + dashed_name: elf-header-version + description: Version of the ELF header. + flat_name: elf.header.version + ignore_above: 1024 + level: extended + name: header.version + normalize: [] + short: Version of the ELF header. + type: keyword + elf.imports: + dashed_name: elf-imports + description: List of imported element names and types. + flat_name: elf.imports + level: extended + name: imports + normalize: + - array + short: List of imported element names and types. + type: flattened + elf.sections: + dashed_name: elf-sections + description: Section information of the ELF file. + flat_name: elf.sections + level: extended + name: sections + normalize: [] + short: Section information of the ELF file. + type: nested + elf.sections.chi2: + dashed_name: elf-sections-chi2 + description: Chi-square probability distribution of the section. + flat_name: elf.sections.chi2 + format: number + level: extended + name: sections.chi2 + normalize: [] + short: Chi-square probability distribution of the section. + type: long + elf.sections.entropy: + dashed_name: elf-sections-entropy + description: Shannon entropy calculation from the section. + flat_name: elf.sections.entropy + format: number + level: extended + name: sections.entropy + normalize: [] + short: Shannon entropy calculation from the section. + type: long + elf.sections.flags: + dashed_name: elf-sections-flags + description: ELF Section List flags. + flat_name: elf.sections.flags + ignore_above: 1024 + level: extended + name: sections.flags + normalize: [] + short: ELF Section List flags. + type: keyword + elf.sections.name: + dashed_name: elf-sections-name + description: ELF Section List name. + flat_name: elf.sections.name + ignore_above: 1024 + level: extended + name: sections.name + normalize: [] + short: ELF Section List name. + type: keyword + elf.sections.physical_offset: + dashed_name: elf-sections-physical-offset + description: ELF Section List offset. + flat_name: elf.sections.physical_offset + ignore_above: 1024 + level: extended + name: sections.physical_offset + normalize: [] + short: ELF Section List offset. + type: keyword + elf.sections.physical_size: + dashed_name: elf-sections-physical-size + description: ELF Section List physical size. + flat_name: elf.sections.physical_size + format: bytes + level: extended + name: sections.physical_size + normalize: [] + short: ELF Section List physical size. + type: long + elf.sections.type: + dashed_name: elf-sections-type + description: ELF Section List type. + flat_name: elf.sections.type + ignore_above: 1024 + level: extended + name: sections.type + normalize: [] + short: ELF Section List type. + type: keyword + elf.sections.virtual_address: + dashed_name: elf-sections-virtual-address + description: ELF Section List virtual address. + flat_name: elf.sections.virtual_address + format: string + level: extended + name: sections.virtual_address + normalize: [] + short: ELF Section List virtual address. + type: long + elf.sections.virtual_size: + dashed_name: elf-sections-virtual-size + description: ELF Section List virtual size. + flat_name: elf.sections.virtual_size + format: string + level: extended + name: sections.virtual_size + normalize: [] + short: ELF Section List virtual size. + type: long + elf.segments: + dashed_name: elf-segments + description: ELF object segment list. + flat_name: elf.segments + level: extended + name: segments + normalize: + - array + short: ELF object segment list. + type: nested + elf.segments.sections: + dashed_name: elf-segments-sections + description: ELF object segment sections. + flat_name: elf.segments.sections + ignore_above: 1024 + level: extended + name: segments.sections + normalize: [] + short: ELF object segment sections. + type: keyword + elf.segments.type: + dashed_name: elf-segments-type + description: ELF object segment type. + flat_name: elf.segments.type + ignore_above: 1024 + level: extended + name: segments.type + normalize: [] + short: ELF object segment type. + type: keyword + elf.shared_libraries: + dashed_name: elf-shared-libraries + description: List of shared libraries used by this ELF object. + flat_name: elf.shared_libraries + ignore_above: 1024 + level: extended + name: shared_libraries + normalize: + - array + short: List of shared libraries used by this ELF object. + type: keyword + elf.telfhash: + dashed_name: elf-telfhash + description: telfhash symbol hash for ELF file. + flat_name: elf.telfhash + ignore_above: 1024 + level: extended + name: telfhash + normalize: [] + short: telfhash hash for ELF file. + type: keyword + group: 2 + name: elf + prefix: elf. + reusable: + expected: + - as: elf + at: file + full: file.elf + - as: elf + at: process + full: process.elf + top_level: false + short: These fields contain Linux Executable Linkable Format (ELF) metadata. + title: ELF Header + type: group error: description: 'These fields can represent errors of any kind. @@ -3260,6 +3572,328 @@ file: normalize: [] short: Drive letter where the file is located. type: keyword + file.elf.architecture: + dashed_name: file-elf-architecture + description: Machine architecture of the ELF file. + example: x86-64 + flat_name: file.elf.architecture + ignore_above: 1024 + level: extended + name: architecture + normalize: [] + original_fieldset: elf + short: Machine architecture of the ELF file. + type: keyword + file.elf.byte_order: + dashed_name: file-elf-byte-order + description: Byte sequence of ELF file. + example: Little Endian + flat_name: file.elf.byte_order + ignore_above: 1024 + level: extended + name: byte_order + normalize: [] + original_fieldset: elf + short: Byte sequence of ELF file. + type: keyword + file.elf.cpu_type: + dashed_name: file-elf-cpu-type + description: CPU type of the ELF file. + example: Intel + flat_name: file.elf.cpu_type + ignore_above: 1024 + level: extended + name: cpu_type + normalize: [] + original_fieldset: elf + short: CPU type of the ELF file. + type: keyword + file.elf.creation_date: + dashed_name: file-elf-creation-date + description: Extracted when possible from the file's metadata. Indicates when + it was built or compiled. It can also be faked by malware creators. + flat_name: file.elf.creation_date + level: extended + name: creation_date + normalize: [] + original_fieldset: elf + short: Build or compile date. + type: date + file.elf.exports: + dashed_name: file-elf-exports + description: List of exported element names and types. + flat_name: file.elf.exports + level: extended + name: exports + normalize: + - array + original_fieldset: elf + short: List of exported element names and types. + type: flattened + file.elf.header.abi_version: + dashed_name: file-elf-header-abi-version + description: Version of the ELF Application Binary Interface (ABI). + flat_name: file.elf.header.abi_version + ignore_above: 1024 + level: extended + name: header.abi_version + normalize: [] + original_fieldset: elf + short: Version of the ELF Application Binary Interface (ABI). + type: keyword + file.elf.header.class: + dashed_name: file-elf-header-class + description: Header class of the ELF file. + flat_name: file.elf.header.class + ignore_above: 1024 + level: extended + name: header.class + normalize: [] + original_fieldset: elf + short: Header class of the ELF file. + type: keyword + file.elf.header.data: + dashed_name: file-elf-header-data + description: Data table of the ELF header. + flat_name: file.elf.header.data + ignore_above: 1024 + level: extended + name: header.data + normalize: [] + original_fieldset: elf + short: Data table of the ELF header. + type: keyword + file.elf.header.entrypoint: + dashed_name: file-elf-header-entrypoint + description: Header entrypoint of the ELF file. + flat_name: file.elf.header.entrypoint + format: string + level: extended + name: header.entrypoint + normalize: [] + original_fieldset: elf + short: Header entrypoint of the ELF file. + type: long + file.elf.header.object_version: + dashed_name: file-elf-header-object-version + description: '"0x1" for original ELF files.' + flat_name: file.elf.header.object_version + ignore_above: 1024 + level: extended + name: header.object_version + normalize: [] + original_fieldset: elf + short: '"0x1" for original ELF files.' + type: keyword + file.elf.header.os_abi: + dashed_name: file-elf-header-os-abi + description: Application Binary Interface (ABI) of the Linux OS. + flat_name: file.elf.header.os_abi + ignore_above: 1024 + level: extended + name: header.os_abi + normalize: [] + original_fieldset: elf + short: Application Binary Interface (ABI) of the Linux OS. + type: keyword + file.elf.header.type: + dashed_name: file-elf-header-type + description: Header type of the ELF file. + flat_name: file.elf.header.type + ignore_above: 1024 + level: extended + name: header.type + normalize: [] + original_fieldset: elf + short: Header type of the ELF file. + type: keyword + file.elf.header.version: + dashed_name: file-elf-header-version + description: Version of the ELF header. + flat_name: file.elf.header.version + ignore_above: 1024 + level: extended + name: header.version + normalize: [] + original_fieldset: elf + short: Version of the ELF header. + type: keyword + file.elf.imports: + dashed_name: file-elf-imports + description: List of imported element names and types. + flat_name: file.elf.imports + level: extended + name: imports + normalize: + - array + original_fieldset: elf + short: List of imported element names and types. + type: flattened + file.elf.sections: + dashed_name: file-elf-sections + description: Section information of the ELF file. + flat_name: file.elf.sections + level: extended + name: sections + normalize: [] + original_fieldset: elf + short: Section information of the ELF file. + type: nested + file.elf.sections.chi2: + dashed_name: file-elf-sections-chi2 + description: Chi-square probability distribution of the section. + flat_name: file.elf.sections.chi2 + format: number + level: extended + name: sections.chi2 + normalize: [] + original_fieldset: elf + short: Chi-square probability distribution of the section. + type: long + file.elf.sections.entropy: + dashed_name: file-elf-sections-entropy + description: Shannon entropy calculation from the section. + flat_name: file.elf.sections.entropy + format: number + level: extended + name: sections.entropy + normalize: [] + original_fieldset: elf + short: Shannon entropy calculation from the section. + type: long + file.elf.sections.flags: + dashed_name: file-elf-sections-flags + description: ELF Section List flags. + flat_name: file.elf.sections.flags + ignore_above: 1024 + level: extended + name: sections.flags + normalize: [] + original_fieldset: elf + short: ELF Section List flags. + type: keyword + file.elf.sections.name: + dashed_name: file-elf-sections-name + description: ELF Section List name. + flat_name: file.elf.sections.name + ignore_above: 1024 + level: extended + name: sections.name + normalize: [] + original_fieldset: elf + short: ELF Section List name. + type: keyword + file.elf.sections.physical_offset: + dashed_name: file-elf-sections-physical-offset + description: ELF Section List offset. + flat_name: file.elf.sections.physical_offset + ignore_above: 1024 + level: extended + name: sections.physical_offset + normalize: [] + original_fieldset: elf + short: ELF Section List offset. + type: keyword + file.elf.sections.physical_size: + dashed_name: file-elf-sections-physical-size + description: ELF Section List physical size. + flat_name: file.elf.sections.physical_size + format: bytes + level: extended + name: sections.physical_size + normalize: [] + original_fieldset: elf + short: ELF Section List physical size. + type: long + file.elf.sections.type: + dashed_name: file-elf-sections-type + description: ELF Section List type. + flat_name: file.elf.sections.type + ignore_above: 1024 + level: extended + name: sections.type + normalize: [] + original_fieldset: elf + short: ELF Section List type. + type: keyword + file.elf.sections.virtual_address: + dashed_name: file-elf-sections-virtual-address + description: ELF Section List virtual address. + flat_name: file.elf.sections.virtual_address + format: string + level: extended + name: sections.virtual_address + normalize: [] + original_fieldset: elf + short: ELF Section List virtual address. + type: long + file.elf.sections.virtual_size: + dashed_name: file-elf-sections-virtual-size + description: ELF Section List virtual size. + flat_name: file.elf.sections.virtual_size + format: string + level: extended + name: sections.virtual_size + normalize: [] + original_fieldset: elf + short: ELF Section List virtual size. + type: long + file.elf.segments: + dashed_name: file-elf-segments + description: ELF object segment list. + flat_name: file.elf.segments + level: extended + name: segments + normalize: + - array + original_fieldset: elf + short: ELF object segment list. + type: nested + file.elf.segments.sections: + dashed_name: file-elf-segments-sections + description: ELF object segment sections. + flat_name: file.elf.segments.sections + ignore_above: 1024 + level: extended + name: segments.sections + normalize: [] + original_fieldset: elf + short: ELF object segment sections. + type: keyword + file.elf.segments.type: + dashed_name: file-elf-segments-type + description: ELF object segment type. + flat_name: file.elf.segments.type + ignore_above: 1024 + level: extended + name: segments.type + normalize: [] + original_fieldset: elf + short: ELF object segment type. + type: keyword + file.elf.shared_libraries: + dashed_name: file-elf-shared-libraries + description: List of shared libraries used by this ELF object. + flat_name: file.elf.shared_libraries + ignore_above: 1024 + level: extended + name: shared_libraries + normalize: + - array + original_fieldset: elf + short: List of shared libraries used by this ELF object. + type: keyword + file.elf.telfhash: + dashed_name: file-elf-telfhash + description: telfhash symbol hash for ELF file. + flat_name: file.elf.telfhash + ignore_above: 1024 + level: extended + name: telfhash + normalize: [] + original_fieldset: elf + short: telfhash hash for ELF file. + type: keyword file.extension: dashed_name: file-extension description: 'File extension, excluding the leading dot. @@ -3881,6 +4515,7 @@ file: name: file nestings: - file.code_signature + - file.elf - file.hash - file.pe - file.x509 @@ -3889,6 +4524,9 @@ file: - full: file.code_signature schema_name: code_signature short: These fields contain information about binary code signatures. + - full: file.elf + schema_name: elf + short: These fields contain Linux Executable Linkable Format (ELF) metadata. - full: file.hash schema_name: hash short: Hashes, usually file hashes. @@ -6721,6 +7359,328 @@ process: normalize: [] short: Full command line that started the process. type: keyword + process.elf.architecture: + dashed_name: process-elf-architecture + description: Machine architecture of the ELF file. + example: x86-64 + flat_name: process.elf.architecture + ignore_above: 1024 + level: extended + name: architecture + normalize: [] + original_fieldset: elf + short: Machine architecture of the ELF file. + type: keyword + process.elf.byte_order: + dashed_name: process-elf-byte-order + description: Byte sequence of ELF file. + example: Little Endian + flat_name: process.elf.byte_order + ignore_above: 1024 + level: extended + name: byte_order + normalize: [] + original_fieldset: elf + short: Byte sequence of ELF file. + type: keyword + process.elf.cpu_type: + dashed_name: process-elf-cpu-type + description: CPU type of the ELF file. + example: Intel + flat_name: process.elf.cpu_type + ignore_above: 1024 + level: extended + name: cpu_type + normalize: [] + original_fieldset: elf + short: CPU type of the ELF file. + type: keyword + process.elf.creation_date: + dashed_name: process-elf-creation-date + description: Extracted when possible from the file's metadata. Indicates when + it was built or compiled. It can also be faked by malware creators. + flat_name: process.elf.creation_date + level: extended + name: creation_date + normalize: [] + original_fieldset: elf + short: Build or compile date. + type: date + process.elf.exports: + dashed_name: process-elf-exports + description: List of exported element names and types. + flat_name: process.elf.exports + level: extended + name: exports + normalize: + - array + original_fieldset: elf + short: List of exported element names and types. + type: flattened + process.elf.header.abi_version: + dashed_name: process-elf-header-abi-version + description: Version of the ELF Application Binary Interface (ABI). + flat_name: process.elf.header.abi_version + ignore_above: 1024 + level: extended + name: header.abi_version + normalize: [] + original_fieldset: elf + short: Version of the ELF Application Binary Interface (ABI). + type: keyword + process.elf.header.class: + dashed_name: process-elf-header-class + description: Header class of the ELF file. + flat_name: process.elf.header.class + ignore_above: 1024 + level: extended + name: header.class + normalize: [] + original_fieldset: elf + short: Header class of the ELF file. + type: keyword + process.elf.header.data: + dashed_name: process-elf-header-data + description: Data table of the ELF header. + flat_name: process.elf.header.data + ignore_above: 1024 + level: extended + name: header.data + normalize: [] + original_fieldset: elf + short: Data table of the ELF header. + type: keyword + process.elf.header.entrypoint: + dashed_name: process-elf-header-entrypoint + description: Header entrypoint of the ELF file. + flat_name: process.elf.header.entrypoint + format: string + level: extended + name: header.entrypoint + normalize: [] + original_fieldset: elf + short: Header entrypoint of the ELF file. + type: long + process.elf.header.object_version: + dashed_name: process-elf-header-object-version + description: '"0x1" for original ELF files.' + flat_name: process.elf.header.object_version + ignore_above: 1024 + level: extended + name: header.object_version + normalize: [] + original_fieldset: elf + short: '"0x1" for original ELF files.' + type: keyword + process.elf.header.os_abi: + dashed_name: process-elf-header-os-abi + description: Application Binary Interface (ABI) of the Linux OS. + flat_name: process.elf.header.os_abi + ignore_above: 1024 + level: extended + name: header.os_abi + normalize: [] + original_fieldset: elf + short: Application Binary Interface (ABI) of the Linux OS. + type: keyword + process.elf.header.type: + dashed_name: process-elf-header-type + description: Header type of the ELF file. + flat_name: process.elf.header.type + ignore_above: 1024 + level: extended + name: header.type + normalize: [] + original_fieldset: elf + short: Header type of the ELF file. + type: keyword + process.elf.header.version: + dashed_name: process-elf-header-version + description: Version of the ELF header. + flat_name: process.elf.header.version + ignore_above: 1024 + level: extended + name: header.version + normalize: [] + original_fieldset: elf + short: Version of the ELF header. + type: keyword + process.elf.imports: + dashed_name: process-elf-imports + description: List of imported element names and types. + flat_name: process.elf.imports + level: extended + name: imports + normalize: + - array + original_fieldset: elf + short: List of imported element names and types. + type: flattened + process.elf.sections: + dashed_name: process-elf-sections + description: Section information of the ELF file. + flat_name: process.elf.sections + level: extended + name: sections + normalize: [] + original_fieldset: elf + short: Section information of the ELF file. + type: nested + process.elf.sections.chi2: + dashed_name: process-elf-sections-chi2 + description: Chi-square probability distribution of the section. + flat_name: process.elf.sections.chi2 + format: number + level: extended + name: sections.chi2 + normalize: [] + original_fieldset: elf + short: Chi-square probability distribution of the section. + type: long + process.elf.sections.entropy: + dashed_name: process-elf-sections-entropy + description: Shannon entropy calculation from the section. + flat_name: process.elf.sections.entropy + format: number + level: extended + name: sections.entropy + normalize: [] + original_fieldset: elf + short: Shannon entropy calculation from the section. + type: long + process.elf.sections.flags: + dashed_name: process-elf-sections-flags + description: ELF Section List flags. + flat_name: process.elf.sections.flags + ignore_above: 1024 + level: extended + name: sections.flags + normalize: [] + original_fieldset: elf + short: ELF Section List flags. + type: keyword + process.elf.sections.name: + dashed_name: process-elf-sections-name + description: ELF Section List name. + flat_name: process.elf.sections.name + ignore_above: 1024 + level: extended + name: sections.name + normalize: [] + original_fieldset: elf + short: ELF Section List name. + type: keyword + process.elf.sections.physical_offset: + dashed_name: process-elf-sections-physical-offset + description: ELF Section List offset. + flat_name: process.elf.sections.physical_offset + ignore_above: 1024 + level: extended + name: sections.physical_offset + normalize: [] + original_fieldset: elf + short: ELF Section List offset. + type: keyword + process.elf.sections.physical_size: + dashed_name: process-elf-sections-physical-size + description: ELF Section List physical size. + flat_name: process.elf.sections.physical_size + format: bytes + level: extended + name: sections.physical_size + normalize: [] + original_fieldset: elf + short: ELF Section List physical size. + type: long + process.elf.sections.type: + dashed_name: process-elf-sections-type + description: ELF Section List type. + flat_name: process.elf.sections.type + ignore_above: 1024 + level: extended + name: sections.type + normalize: [] + original_fieldset: elf + short: ELF Section List type. + type: keyword + process.elf.sections.virtual_address: + dashed_name: process-elf-sections-virtual-address + description: ELF Section List virtual address. + flat_name: process.elf.sections.virtual_address + format: string + level: extended + name: sections.virtual_address + normalize: [] + original_fieldset: elf + short: ELF Section List virtual address. + type: long + process.elf.sections.virtual_size: + dashed_name: process-elf-sections-virtual-size + description: ELF Section List virtual size. + flat_name: process.elf.sections.virtual_size + format: string + level: extended + name: sections.virtual_size + normalize: [] + original_fieldset: elf + short: ELF Section List virtual size. + type: long + process.elf.segments: + dashed_name: process-elf-segments + description: ELF object segment list. + flat_name: process.elf.segments + level: extended + name: segments + normalize: + - array + original_fieldset: elf + short: ELF object segment list. + type: nested + process.elf.segments.sections: + dashed_name: process-elf-segments-sections + description: ELF object segment sections. + flat_name: process.elf.segments.sections + ignore_above: 1024 + level: extended + name: segments.sections + normalize: [] + original_fieldset: elf + short: ELF object segment sections. + type: keyword + process.elf.segments.type: + dashed_name: process-elf-segments-type + description: ELF object segment type. + flat_name: process.elf.segments.type + ignore_above: 1024 + level: extended + name: segments.type + normalize: [] + original_fieldset: elf + short: ELF object segment type. + type: keyword + process.elf.shared_libraries: + dashed_name: process-elf-shared-libraries + description: List of shared libraries used by this ELF object. + flat_name: process.elf.shared_libraries + ignore_above: 1024 + level: extended + name: shared_libraries + normalize: + - array + original_fieldset: elf + short: List of shared libraries used by this ELF object. + type: keyword + process.elf.telfhash: + dashed_name: process-elf-telfhash + description: telfhash symbol hash for ELF file. + flat_name: process.elf.telfhash + ignore_above: 1024 + level: extended + name: telfhash + normalize: [] + original_fieldset: elf + short: telfhash hash for ELF file. + type: keyword process.entity_id: dashed_name: process-entity-id description: 'Unique identifier for the process. @@ -6991,6 +7951,328 @@ process: original_fieldset: process short: Full command line that started the process. type: keyword + process.parent.elf.architecture: + dashed_name: process-parent-elf-architecture + description: Machine architecture of the ELF file. + example: x86-64 + flat_name: process.parent.elf.architecture + ignore_above: 1024 + level: extended + name: architecture + normalize: [] + original_fieldset: elf + short: Machine architecture of the ELF file. + type: keyword + process.parent.elf.byte_order: + dashed_name: process-parent-elf-byte-order + description: Byte sequence of ELF file. + example: Little Endian + flat_name: process.parent.elf.byte_order + ignore_above: 1024 + level: extended + name: byte_order + normalize: [] + original_fieldset: elf + short: Byte sequence of ELF file. + type: keyword + process.parent.elf.cpu_type: + dashed_name: process-parent-elf-cpu-type + description: CPU type of the ELF file. + example: Intel + flat_name: process.parent.elf.cpu_type + ignore_above: 1024 + level: extended + name: cpu_type + normalize: [] + original_fieldset: elf + short: CPU type of the ELF file. + type: keyword + process.parent.elf.creation_date: + dashed_name: process-parent-elf-creation-date + description: Extracted when possible from the file's metadata. Indicates when + it was built or compiled. It can also be faked by malware creators. + flat_name: process.parent.elf.creation_date + level: extended + name: creation_date + normalize: [] + original_fieldset: elf + short: Build or compile date. + type: date + process.parent.elf.exports: + dashed_name: process-parent-elf-exports + description: List of exported element names and types. + flat_name: process.parent.elf.exports + level: extended + name: exports + normalize: + - array + original_fieldset: elf + short: List of exported element names and types. + type: flattened + process.parent.elf.header.abi_version: + dashed_name: process-parent-elf-header-abi-version + description: Version of the ELF Application Binary Interface (ABI). + flat_name: process.parent.elf.header.abi_version + ignore_above: 1024 + level: extended + name: header.abi_version + normalize: [] + original_fieldset: elf + short: Version of the ELF Application Binary Interface (ABI). + type: keyword + process.parent.elf.header.class: + dashed_name: process-parent-elf-header-class + description: Header class of the ELF file. + flat_name: process.parent.elf.header.class + ignore_above: 1024 + level: extended + name: header.class + normalize: [] + original_fieldset: elf + short: Header class of the ELF file. + type: keyword + process.parent.elf.header.data: + dashed_name: process-parent-elf-header-data + description: Data table of the ELF header. + flat_name: process.parent.elf.header.data + ignore_above: 1024 + level: extended + name: header.data + normalize: [] + original_fieldset: elf + short: Data table of the ELF header. + type: keyword + process.parent.elf.header.entrypoint: + dashed_name: process-parent-elf-header-entrypoint + description: Header entrypoint of the ELF file. + flat_name: process.parent.elf.header.entrypoint + format: string + level: extended + name: header.entrypoint + normalize: [] + original_fieldset: elf + short: Header entrypoint of the ELF file. + type: long + process.parent.elf.header.object_version: + dashed_name: process-parent-elf-header-object-version + description: '"0x1" for original ELF files.' + flat_name: process.parent.elf.header.object_version + ignore_above: 1024 + level: extended + name: header.object_version + normalize: [] + original_fieldset: elf + short: '"0x1" for original ELF files.' + type: keyword + process.parent.elf.header.os_abi: + dashed_name: process-parent-elf-header-os-abi + description: Application Binary Interface (ABI) of the Linux OS. + flat_name: process.parent.elf.header.os_abi + ignore_above: 1024 + level: extended + name: header.os_abi + normalize: [] + original_fieldset: elf + short: Application Binary Interface (ABI) of the Linux OS. + type: keyword + process.parent.elf.header.type: + dashed_name: process-parent-elf-header-type + description: Header type of the ELF file. + flat_name: process.parent.elf.header.type + ignore_above: 1024 + level: extended + name: header.type + normalize: [] + original_fieldset: elf + short: Header type of the ELF file. + type: keyword + process.parent.elf.header.version: + dashed_name: process-parent-elf-header-version + description: Version of the ELF header. + flat_name: process.parent.elf.header.version + ignore_above: 1024 + level: extended + name: header.version + normalize: [] + original_fieldset: elf + short: Version of the ELF header. + type: keyword + process.parent.elf.imports: + dashed_name: process-parent-elf-imports + description: List of imported element names and types. + flat_name: process.parent.elf.imports + level: extended + name: imports + normalize: + - array + original_fieldset: elf + short: List of imported element names and types. + type: flattened + process.parent.elf.sections: + dashed_name: process-parent-elf-sections + description: Section information of the ELF file. + flat_name: process.parent.elf.sections + level: extended + name: sections + normalize: [] + original_fieldset: elf + short: Section information of the ELF file. + type: nested + process.parent.elf.sections.chi2: + dashed_name: process-parent-elf-sections-chi2 + description: Chi-square probability distribution of the section. + flat_name: process.parent.elf.sections.chi2 + format: number + level: extended + name: sections.chi2 + normalize: [] + original_fieldset: elf + short: Chi-square probability distribution of the section. + type: long + process.parent.elf.sections.entropy: + dashed_name: process-parent-elf-sections-entropy + description: Shannon entropy calculation from the section. + flat_name: process.parent.elf.sections.entropy + format: number + level: extended + name: sections.entropy + normalize: [] + original_fieldset: elf + short: Shannon entropy calculation from the section. + type: long + process.parent.elf.sections.flags: + dashed_name: process-parent-elf-sections-flags + description: ELF Section List flags. + flat_name: process.parent.elf.sections.flags + ignore_above: 1024 + level: extended + name: sections.flags + normalize: [] + original_fieldset: elf + short: ELF Section List flags. + type: keyword + process.parent.elf.sections.name: + dashed_name: process-parent-elf-sections-name + description: ELF Section List name. + flat_name: process.parent.elf.sections.name + ignore_above: 1024 + level: extended + name: sections.name + normalize: [] + original_fieldset: elf + short: ELF Section List name. + type: keyword + process.parent.elf.sections.physical_offset: + dashed_name: process-parent-elf-sections-physical-offset + description: ELF Section List offset. + flat_name: process.parent.elf.sections.physical_offset + ignore_above: 1024 + level: extended + name: sections.physical_offset + normalize: [] + original_fieldset: elf + short: ELF Section List offset. + type: keyword + process.parent.elf.sections.physical_size: + dashed_name: process-parent-elf-sections-physical-size + description: ELF Section List physical size. + flat_name: process.parent.elf.sections.physical_size + format: bytes + level: extended + name: sections.physical_size + normalize: [] + original_fieldset: elf + short: ELF Section List physical size. + type: long + process.parent.elf.sections.type: + dashed_name: process-parent-elf-sections-type + description: ELF Section List type. + flat_name: process.parent.elf.sections.type + ignore_above: 1024 + level: extended + name: sections.type + normalize: [] + original_fieldset: elf + short: ELF Section List type. + type: keyword + process.parent.elf.sections.virtual_address: + dashed_name: process-parent-elf-sections-virtual-address + description: ELF Section List virtual address. + flat_name: process.parent.elf.sections.virtual_address + format: string + level: extended + name: sections.virtual_address + normalize: [] + original_fieldset: elf + short: ELF Section List virtual address. + type: long + process.parent.elf.sections.virtual_size: + dashed_name: process-parent-elf-sections-virtual-size + description: ELF Section List virtual size. + flat_name: process.parent.elf.sections.virtual_size + format: string + level: extended + name: sections.virtual_size + normalize: [] + original_fieldset: elf + short: ELF Section List virtual size. + type: long + process.parent.elf.segments: + dashed_name: process-parent-elf-segments + description: ELF object segment list. + flat_name: process.parent.elf.segments + level: extended + name: segments + normalize: + - array + original_fieldset: elf + short: ELF object segment list. + type: nested + process.parent.elf.segments.sections: + dashed_name: process-parent-elf-segments-sections + description: ELF object segment sections. + flat_name: process.parent.elf.segments.sections + ignore_above: 1024 + level: extended + name: segments.sections + normalize: [] + original_fieldset: elf + short: ELF object segment sections. + type: keyword + process.parent.elf.segments.type: + dashed_name: process-parent-elf-segments-type + description: ELF object segment type. + flat_name: process.parent.elf.segments.type + ignore_above: 1024 + level: extended + name: segments.type + normalize: [] + original_fieldset: elf + short: ELF object segment type. + type: keyword + process.parent.elf.shared_libraries: + dashed_name: process-parent-elf-shared-libraries + description: List of shared libraries used by this ELF object. + flat_name: process.parent.elf.shared_libraries + ignore_above: 1024 + level: extended + name: shared_libraries + normalize: + - array + original_fieldset: elf + short: List of shared libraries used by this ELF object. + type: keyword + process.parent.elf.telfhash: + dashed_name: process-parent-elf-telfhash + description: telfhash symbol hash for ELF file. + flat_name: process.parent.elf.telfhash + ignore_above: 1024 + level: extended + name: telfhash + normalize: [] + original_fieldset: elf + short: telfhash hash for ELF file. + type: keyword process.parent.entity_id: dashed_name: process-parent-entity-id description: 'Unique identifier for the process. @@ -7521,6 +8803,7 @@ process: name: process nestings: - process.code_signature + - process.elf - process.hash - process.parent - process.pe @@ -7536,6 +8819,9 @@ process: - full: process.code_signature schema_name: code_signature short: These fields contain information about binary code signatures. + - full: process.elf + schema_name: elf + short: These fields contain Linux Executable Linkable Format (ELF) metadata. - full: process.hash schema_name: hash short: Hashes, usually file hashes. diff --git a/generated/elasticsearch/6/template.json b/generated/elasticsearch/6/template.json index 2a964ae302..b7d1740c69 100644 --- a/generated/elasticsearch/6/template.json +++ b/generated/elasticsearch/6/template.json @@ -895,6 +895,123 @@ "ignore_above": 1, "type": "keyword" }, + "elf": { + "properties": { + "architecture": { + "ignore_above": 1024, + "type": "keyword" + }, + "byte_order": { + "ignore_above": 1024, + "type": "keyword" + }, + "cpu_type": { + "ignore_above": 1024, + "type": "keyword" + }, + "creation_date": { + "type": "date" + }, + "exports": { + "type": "flattened" + }, + "header": { + "properties": { + "abi_version": { + "ignore_above": 1024, + "type": "keyword" + }, + "class": { + "ignore_above": 1024, + "type": "keyword" + }, + "data": { + "ignore_above": 1024, + "type": "keyword" + }, + "entrypoint": { + "type": "long" + }, + "object_version": { + "ignore_above": 1024, + "type": "keyword" + }, + "os_abi": { + "ignore_above": 1024, + "type": "keyword" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + }, + "version": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "imports": { + "type": "flattened" + }, + "sections": { + "properties": { + "chi2": { + "type": "long" + }, + "entropy": { + "type": "long" + }, + "flags": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "physical_offset": { + "ignore_above": 1024, + "type": "keyword" + }, + "physical_size": { + "type": "long" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + }, + "virtual_address": { + "type": "long" + }, + "virtual_size": { + "type": "long" + } + }, + "type": "nested" + }, + "segments": { + "properties": { + "sections": { + "ignore_above": 1024, + "type": "keyword" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + } + }, + "type": "nested" + }, + "shared_libraries": { + "ignore_above": 1024, + "type": "keyword" + }, + "telfhash": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, "extension": { "ignore_above": 1024, "type": "keyword" @@ -1987,6 +2104,123 @@ "ignore_above": 1024, "type": "keyword" }, + "elf": { + "properties": { + "architecture": { + "ignore_above": 1024, + "type": "keyword" + }, + "byte_order": { + "ignore_above": 1024, + "type": "keyword" + }, + "cpu_type": { + "ignore_above": 1024, + "type": "keyword" + }, + "creation_date": { + "type": "date" + }, + "exports": { + "type": "flattened" + }, + "header": { + "properties": { + "abi_version": { + "ignore_above": 1024, + "type": "keyword" + }, + "class": { + "ignore_above": 1024, + "type": "keyword" + }, + "data": { + "ignore_above": 1024, + "type": "keyword" + }, + "entrypoint": { + "type": "long" + }, + "object_version": { + "ignore_above": 1024, + "type": "keyword" + }, + "os_abi": { + "ignore_above": 1024, + "type": "keyword" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + }, + "version": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "imports": { + "type": "flattened" + }, + "sections": { + "properties": { + "chi2": { + "type": "long" + }, + "entropy": { + "type": "long" + }, + "flags": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "physical_offset": { + "ignore_above": 1024, + "type": "keyword" + }, + "physical_size": { + "type": "long" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + }, + "virtual_address": { + "type": "long" + }, + "virtual_size": { + "type": "long" + } + }, + "type": "nested" + }, + "segments": { + "properties": { + "sections": { + "ignore_above": 1024, + "type": "keyword" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + } + }, + "type": "nested" + }, + "shared_libraries": { + "ignore_above": 1024, + "type": "keyword" + }, + "telfhash": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, "entity_id": { "ignore_above": 1024, "type": "keyword" @@ -2086,6 +2320,123 @@ "ignore_above": 1024, "type": "keyword" }, + "elf": { + "properties": { + "architecture": { + "ignore_above": 1024, + "type": "keyword" + }, + "byte_order": { + "ignore_above": 1024, + "type": "keyword" + }, + "cpu_type": { + "ignore_above": 1024, + "type": "keyword" + }, + "creation_date": { + "type": "date" + }, + "exports": { + "type": "flattened" + }, + "header": { + "properties": { + "abi_version": { + "ignore_above": 1024, + "type": "keyword" + }, + "class": { + "ignore_above": 1024, + "type": "keyword" + }, + "data": { + "ignore_above": 1024, + "type": "keyword" + }, + "entrypoint": { + "type": "long" + }, + "object_version": { + "ignore_above": 1024, + "type": "keyword" + }, + "os_abi": { + "ignore_above": 1024, + "type": "keyword" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + }, + "version": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "imports": { + "type": "flattened" + }, + "sections": { + "properties": { + "chi2": { + "type": "long" + }, + "entropy": { + "type": "long" + }, + "flags": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "physical_offset": { + "ignore_above": 1024, + "type": "keyword" + }, + "physical_size": { + "type": "long" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + }, + "virtual_address": { + "type": "long" + }, + "virtual_size": { + "type": "long" + } + }, + "type": "nested" + }, + "segments": { + "properties": { + "sections": { + "ignore_above": 1024, + "type": "keyword" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + } + }, + "type": "nested" + }, + "shared_libraries": { + "ignore_above": 1024, + "type": "keyword" + }, + "telfhash": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, "entity_id": { "ignore_above": 1024, "type": "keyword" diff --git a/generated/elasticsearch/7/template.json b/generated/elasticsearch/7/template.json index fea66d43bb..4a071008ce 100644 --- a/generated/elasticsearch/7/template.json +++ b/generated/elasticsearch/7/template.json @@ -891,6 +891,123 @@ "ignore_above": 1, "type": "keyword" }, + "elf": { + "properties": { + "architecture": { + "ignore_above": 1024, + "type": "keyword" + }, + "byte_order": { + "ignore_above": 1024, + "type": "keyword" + }, + "cpu_type": { + "ignore_above": 1024, + "type": "keyword" + }, + "creation_date": { + "type": "date" + }, + "exports": { + "type": "flattened" + }, + "header": { + "properties": { + "abi_version": { + "ignore_above": 1024, + "type": "keyword" + }, + "class": { + "ignore_above": 1024, + "type": "keyword" + }, + "data": { + "ignore_above": 1024, + "type": "keyword" + }, + "entrypoint": { + "type": "long" + }, + "object_version": { + "ignore_above": 1024, + "type": "keyword" + }, + "os_abi": { + "ignore_above": 1024, + "type": "keyword" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + }, + "version": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "imports": { + "type": "flattened" + }, + "sections": { + "properties": { + "chi2": { + "type": "long" + }, + "entropy": { + "type": "long" + }, + "flags": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "physical_offset": { + "ignore_above": 1024, + "type": "keyword" + }, + "physical_size": { + "type": "long" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + }, + "virtual_address": { + "type": "long" + }, + "virtual_size": { + "type": "long" + } + }, + "type": "nested" + }, + "segments": { + "properties": { + "sections": { + "ignore_above": 1024, + "type": "keyword" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + } + }, + "type": "nested" + }, + "shared_libraries": { + "ignore_above": 1024, + "type": "keyword" + }, + "telfhash": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, "extension": { "ignore_above": 1024, "type": "keyword" @@ -1983,6 +2100,123 @@ "ignore_above": 1024, "type": "keyword" }, + "elf": { + "properties": { + "architecture": { + "ignore_above": 1024, + "type": "keyword" + }, + "byte_order": { + "ignore_above": 1024, + "type": "keyword" + }, + "cpu_type": { + "ignore_above": 1024, + "type": "keyword" + }, + "creation_date": { + "type": "date" + }, + "exports": { + "type": "flattened" + }, + "header": { + "properties": { + "abi_version": { + "ignore_above": 1024, + "type": "keyword" + }, + "class": { + "ignore_above": 1024, + "type": "keyword" + }, + "data": { + "ignore_above": 1024, + "type": "keyword" + }, + "entrypoint": { + "type": "long" + }, + "object_version": { + "ignore_above": 1024, + "type": "keyword" + }, + "os_abi": { + "ignore_above": 1024, + "type": "keyword" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + }, + "version": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "imports": { + "type": "flattened" + }, + "sections": { + "properties": { + "chi2": { + "type": "long" + }, + "entropy": { + "type": "long" + }, + "flags": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "physical_offset": { + "ignore_above": 1024, + "type": "keyword" + }, + "physical_size": { + "type": "long" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + }, + "virtual_address": { + "type": "long" + }, + "virtual_size": { + "type": "long" + } + }, + "type": "nested" + }, + "segments": { + "properties": { + "sections": { + "ignore_above": 1024, + "type": "keyword" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + } + }, + "type": "nested" + }, + "shared_libraries": { + "ignore_above": 1024, + "type": "keyword" + }, + "telfhash": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, "entity_id": { "ignore_above": 1024, "type": "keyword" @@ -2082,6 +2316,123 @@ "ignore_above": 1024, "type": "keyword" }, + "elf": { + "properties": { + "architecture": { + "ignore_above": 1024, + "type": "keyword" + }, + "byte_order": { + "ignore_above": 1024, + "type": "keyword" + }, + "cpu_type": { + "ignore_above": 1024, + "type": "keyword" + }, + "creation_date": { + "type": "date" + }, + "exports": { + "type": "flattened" + }, + "header": { + "properties": { + "abi_version": { + "ignore_above": 1024, + "type": "keyword" + }, + "class": { + "ignore_above": 1024, + "type": "keyword" + }, + "data": { + "ignore_above": 1024, + "type": "keyword" + }, + "entrypoint": { + "type": "long" + }, + "object_version": { + "ignore_above": 1024, + "type": "keyword" + }, + "os_abi": { + "ignore_above": 1024, + "type": "keyword" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + }, + "version": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "imports": { + "type": "flattened" + }, + "sections": { + "properties": { + "chi2": { + "type": "long" + }, + "entropy": { + "type": "long" + }, + "flags": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "physical_offset": { + "ignore_above": 1024, + "type": "keyword" + }, + "physical_size": { + "type": "long" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + }, + "virtual_address": { + "type": "long" + }, + "virtual_size": { + "type": "long" + } + }, + "type": "nested" + }, + "segments": { + "properties": { + "sections": { + "ignore_above": 1024, + "type": "keyword" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + } + }, + "type": "nested" + }, + "shared_libraries": { + "ignore_above": 1024, + "type": "keyword" + }, + "telfhash": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, "entity_id": { "ignore_above": 1024, "type": "keyword" diff --git a/generated/elasticsearch/component/file.json b/generated/elasticsearch/component/file.json index ea4c4a4a1d..464fb1e9eb 100644 --- a/generated/elasticsearch/component/file.json +++ b/generated/elasticsearch/component/file.json @@ -62,6 +62,123 @@ "ignore_above": 1, "type": "keyword" }, + "elf": { + "properties": { + "architecture": { + "ignore_above": 1024, + "type": "keyword" + }, + "byte_order": { + "ignore_above": 1024, + "type": "keyword" + }, + "cpu_type": { + "ignore_above": 1024, + "type": "keyword" + }, + "creation_date": { + "type": "date" + }, + "exports": { + "type": "flattened" + }, + "header": { + "properties": { + "abi_version": { + "ignore_above": 1024, + "type": "keyword" + }, + "class": { + "ignore_above": 1024, + "type": "keyword" + }, + "data": { + "ignore_above": 1024, + "type": "keyword" + }, + "entrypoint": { + "type": "long" + }, + "object_version": { + "ignore_above": 1024, + "type": "keyword" + }, + "os_abi": { + "ignore_above": 1024, + "type": "keyword" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + }, + "version": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "imports": { + "type": "flattened" + }, + "sections": { + "properties": { + "chi2": { + "type": "long" + }, + "entropy": { + "type": "long" + }, + "flags": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "physical_offset": { + "ignore_above": 1024, + "type": "keyword" + }, + "physical_size": { + "type": "long" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + }, + "virtual_address": { + "type": "long" + }, + "virtual_size": { + "type": "long" + } + }, + "type": "nested" + }, + "segments": { + "properties": { + "sections": { + "ignore_above": 1024, + "type": "keyword" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + } + }, + "type": "nested" + }, + "shared_libraries": { + "ignore_above": 1024, + "type": "keyword" + }, + "telfhash": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, "extension": { "ignore_above": 1024, "type": "keyword" diff --git a/generated/elasticsearch/component/process.json b/generated/elasticsearch/component/process.json index 5bbf33b350..e1ab458007 100644 --- a/generated/elasticsearch/component/process.json +++ b/generated/elasticsearch/component/process.json @@ -54,6 +54,123 @@ "ignore_above": 1024, "type": "keyword" }, + "elf": { + "properties": { + "architecture": { + "ignore_above": 1024, + "type": "keyword" + }, + "byte_order": { + "ignore_above": 1024, + "type": "keyword" + }, + "cpu_type": { + "ignore_above": 1024, + "type": "keyword" + }, + "creation_date": { + "type": "date" + }, + "exports": { + "type": "flattened" + }, + "header": { + "properties": { + "abi_version": { + "ignore_above": 1024, + "type": "keyword" + }, + "class": { + "ignore_above": 1024, + "type": "keyword" + }, + "data": { + "ignore_above": 1024, + "type": "keyword" + }, + "entrypoint": { + "type": "long" + }, + "object_version": { + "ignore_above": 1024, + "type": "keyword" + }, + "os_abi": { + "ignore_above": 1024, + "type": "keyword" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + }, + "version": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "imports": { + "type": "flattened" + }, + "sections": { + "properties": { + "chi2": { + "type": "long" + }, + "entropy": { + "type": "long" + }, + "flags": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "physical_offset": { + "ignore_above": 1024, + "type": "keyword" + }, + "physical_size": { + "type": "long" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + }, + "virtual_address": { + "type": "long" + }, + "virtual_size": { + "type": "long" + } + }, + "type": "nested" + }, + "segments": { + "properties": { + "sections": { + "ignore_above": 1024, + "type": "keyword" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + } + }, + "type": "nested" + }, + "shared_libraries": { + "ignore_above": 1024, + "type": "keyword" + }, + "telfhash": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, "entity_id": { "ignore_above": 1024, "type": "keyword" @@ -153,6 +270,123 @@ "ignore_above": 1024, "type": "keyword" }, + "elf": { + "properties": { + "architecture": { + "ignore_above": 1024, + "type": "keyword" + }, + "byte_order": { + "ignore_above": 1024, + "type": "keyword" + }, + "cpu_type": { + "ignore_above": 1024, + "type": "keyword" + }, + "creation_date": { + "type": "date" + }, + "exports": { + "type": "flattened" + }, + "header": { + "properties": { + "abi_version": { + "ignore_above": 1024, + "type": "keyword" + }, + "class": { + "ignore_above": 1024, + "type": "keyword" + }, + "data": { + "ignore_above": 1024, + "type": "keyword" + }, + "entrypoint": { + "type": "long" + }, + "object_version": { + "ignore_above": 1024, + "type": "keyword" + }, + "os_abi": { + "ignore_above": 1024, + "type": "keyword" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + }, + "version": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, + "imports": { + "type": "flattened" + }, + "sections": { + "properties": { + "chi2": { + "type": "long" + }, + "entropy": { + "type": "long" + }, + "flags": { + "ignore_above": 1024, + "type": "keyword" + }, + "name": { + "ignore_above": 1024, + "type": "keyword" + }, + "physical_offset": { + "ignore_above": 1024, + "type": "keyword" + }, + "physical_size": { + "type": "long" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + }, + "virtual_address": { + "type": "long" + }, + "virtual_size": { + "type": "long" + } + }, + "type": "nested" + }, + "segments": { + "properties": { + "sections": { + "ignore_above": 1024, + "type": "keyword" + }, + "type": { + "ignore_above": 1024, + "type": "keyword" + } + }, + "type": "nested" + }, + "shared_libraries": { + "ignore_above": 1024, + "type": "keyword" + }, + "telfhash": { + "ignore_above": 1024, + "type": "keyword" + } + } + }, "entity_id": { "ignore_above": 1024, "type": "keyword" From cb88423ed0bf4c4baa2e533f6f75722ee6a1f22f Mon Sep 17 00:00:00 2001 From: Eric Beahan Date: Fri, 14 May 2021 13:44:32 -0500 Subject: [PATCH 07/10] remove json schema experimental files --- experimental/generated/json_schema/agent.json | 88 - experimental/generated/json_schema/base.json | 50 - .../generated/json_schema/client.json | 471 - experimental/generated/json_schema/cloud.json | 176 - .../generated/json_schema/container.json | 88 - .../generated/json_schema/data_stream.json | 45 - .../generated/json_schema/destination.json | 471 - experimental/generated/json_schema/dll.json | 695 - experimental/generated/json_schema/dns.json | 234 - experimental/generated/json_schema/ecs.json | 21 - experimental/generated/json_schema/error.json | 69 - experimental/generated/json_schema/event.json | 309 - experimental/generated/json_schema/file.json | 1598 -- experimental/generated/json_schema/full.json | 14579 ---------------- experimental/generated/json_schema/group.json | 45 - experimental/generated/json_schema/host.json | 614 - experimental/generated/json_schema/http.json | 193 - experimental/generated/json_schema/log.json | 202 - .../generated/json_schema/network.json | 217 - .../generated/json_schema/observer.json | 547 - .../generated/json_schema/orchestrator.json | 131 - .../generated/json_schema/organization.json | 33 - .../generated/json_schema/package.json | 165 - .../generated/json_schema/process.json | 2470 --- .../generated/json_schema/registry.json | 100 - .../generated/json_schema/related.json | 57 - experimental/generated/json_schema/rule.json | 129 - .../generated/json_schema/server.json | 471 - .../generated/json_schema/service.json | 100 - .../generated/json_schema/source.json | 471 - .../generated/json_schema/threat.json | 1712 -- experimental/generated/json_schema/tls.json | 1003 -- .../generated/json_schema/tracing.json | 59 - experimental/generated/json_schema/url.json | 177 - experimental/generated/json_schema/user.json | 538 - .../generated/json_schema/user_agent.json | 155 - .../generated/json_schema/vulnerability.json | 179 - 37 files changed, 28662 deletions(-) delete mode 100644 experimental/generated/json_schema/agent.json delete mode 100644 experimental/generated/json_schema/base.json delete mode 100644 experimental/generated/json_schema/client.json delete mode 100644 experimental/generated/json_schema/cloud.json delete mode 100644 experimental/generated/json_schema/container.json delete mode 100644 experimental/generated/json_schema/data_stream.json delete mode 100644 experimental/generated/json_schema/destination.json delete mode 100644 experimental/generated/json_schema/dll.json delete mode 100644 experimental/generated/json_schema/dns.json delete mode 100644 experimental/generated/json_schema/ecs.json delete mode 100644 experimental/generated/json_schema/error.json delete mode 100644 experimental/generated/json_schema/event.json delete mode 100644 experimental/generated/json_schema/file.json delete mode 100644 experimental/generated/json_schema/full.json delete mode 100644 experimental/generated/json_schema/group.json delete mode 100644 experimental/generated/json_schema/host.json delete mode 100644 experimental/generated/json_schema/http.json delete mode 100644 experimental/generated/json_schema/log.json delete mode 100644 experimental/generated/json_schema/network.json delete mode 100644 experimental/generated/json_schema/observer.json delete mode 100644 experimental/generated/json_schema/orchestrator.json delete mode 100644 experimental/generated/json_schema/organization.json delete mode 100644 experimental/generated/json_schema/package.json delete mode 100644 experimental/generated/json_schema/process.json delete mode 100644 experimental/generated/json_schema/registry.json delete mode 100644 experimental/generated/json_schema/related.json delete mode 100644 experimental/generated/json_schema/rule.json delete mode 100644 experimental/generated/json_schema/server.json delete mode 100644 experimental/generated/json_schema/service.json delete mode 100644 experimental/generated/json_schema/source.json delete mode 100644 experimental/generated/json_schema/threat.json delete mode 100644 experimental/generated/json_schema/tls.json delete mode 100644 experimental/generated/json_schema/tracing.json delete mode 100644 experimental/generated/json_schema/url.json delete mode 100644 experimental/generated/json_schema/user.json delete mode 100644 experimental/generated/json_schema/user_agent.json delete mode 100644 experimental/generated/json_schema/vulnerability.json diff --git a/experimental/generated/json_schema/agent.json b/experimental/generated/json_schema/agent.json deleted file mode 100644 index 7ba2e76325..0000000000 --- a/experimental/generated/json_schema/agent.json +++ /dev/null @@ -1,88 +0,0 @@ -{ - "agent": { - "properties": { - "properties": { - "build": { - "properties": { - "properties": { - "original": { - "description": "Extended build information for the agent. This field is intended to contain any build information that a data source may provide, no specific formatting is required.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "type": "object" - } - }, - "ephemeral_id": { - "description": "Ephemeral identifier of this agent (if one exists). This id normally changes across restarts, but `agent.id` does not.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "id": { - "description": "Unique identifier of this agent (if one exists). Example: For Beats this would be beat.id.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "name": { - "description": "Custom name of the agent. This is a name that can be given to an agent. This can be helpful if for example two Filebeat instances are running on the same host but a human readable separation is needed on which Filebeat instance data is coming from. If no name is given, the name is often left empty.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "type": { - "description": "Type of the agent. The agent type always stays the same and should be given by the agent used. In case of Filebeat the agent would always be Filebeat also if two Filebeat instances are run on the same machine.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "version": { - "description": "Version of the agent.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "type": "object" - } - } -} \ No newline at end of file diff --git a/experimental/generated/json_schema/base.json b/experimental/generated/json_schema/base.json deleted file mode 100644 index dc176f68b2..0000000000 --- a/experimental/generated/json_schema/base.json +++ /dev/null @@ -1,50 +0,0 @@ -{ - "@timestamp": { - "description": "Date/time when the event originated. This is the date/time extracted from the event, typically representing when the event was generated by the source. If the event source has no original timestamp, this value is typically populated by the first time the event was received by the pipeline. Required field for all events.", - "properties": { - "type": { - "$ref": "#/definitions/types/date" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "labels": { - "description": "Custom key/value pairs. Can be used to add meta information to events. Should not contain nested objects. All values are stored as keyword. Example: `docker` and `k8s` labels.", - "properties": { - "type": { - "$ref": "#/definitions/types/object" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "message": { - "description": "For log events the message field contains the log message, optimized for viewing in a log viewer. For structured logs without an original message field, other fields can be concatenated to form a human-readable summary of the event. If multiple messages exist, they can be combined into one message.", - "properties": { - "type": { - "$ref": "#/definitions/types/text" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "tags": { - "description": "List of keywords used to tag each event.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } -} \ No newline at end of file diff --git a/experimental/generated/json_schema/client.json b/experimental/generated/json_schema/client.json deleted file mode 100644 index dd35022261..0000000000 --- a/experimental/generated/json_schema/client.json +++ /dev/null @@ -1,471 +0,0 @@ -{ - "client": { - "properties": { - "properties": { - "address": { - "description": "Some event client addresses are defined ambiguously. The event will sometimes list an IP, a domain or a unix socket. You should always store the raw address in the `.address` field. Then it should be duplicated to `.ip` or `.domain`, depending on which one it is.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "as": { - "properties": { - "properties": { - "number": { - "description": "Unique number allocated to the autonomous system. The autonomous system number (ASN) uniquely identifies each network on the Internet.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "organization": { - "properties": { - "properties": { - "name": { - "description": "Organization name.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "type": "object" - } - } - }, - "type": "object" - } - }, - "bytes": { - "description": "Bytes sent from the client to the server.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "domain": { - "description": "Client domain.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "geo": { - "properties": { - "properties": { - "city_name": { - "description": "City name.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "continent_code": { - "description": "Two-letter code representing continent's name.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "continent_name": { - "description": "Name of the continent.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "country_iso_code": { - "description": "Country ISO code.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "country_name": { - "description": "Country name.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "location": { - "description": "Longitude and latitude.", - "properties": { - "type": { - "$ref": "#/definitions/types/geo_point" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "name": { - "description": "User-defined description of a location, at the level of granularity they care about. Could be the name of their data centers, the floor number, if this describes a local physical entity, city names. Not typically used in automated geolocation.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "postal_code": { - "description": "Postal code associated with the location. Values appropriate for this field may also be known as a postcode or ZIP code and will vary widely from country to country.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "region_iso_code": { - "description": "Region ISO code.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "region_name": { - "description": "Region name.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "timezone": { - "description": "The time zone of the location, such as IANA time zone name.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "type": "object" - } - }, - "ip": { - "description": "IP address of the client (IPv4 or IPv6).", - "properties": { - "type": { - "$ref": "#/definitions/types/ip" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "mac": { - "description": "MAC address of the client. The notation format from RFC 7042 is suggested: Each octet (that is, 8-bit byte) is represented by two [uppercase] hexadecimal digits giving the value of the octet as an unsigned integer. Successive octets are separated by a hyphen.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "nat": { - "properties": { - "properties": { - "ip": { - "description": "Translated IP of source based NAT sessions (e.g. internal client to internet). Typically connections traversing load balancers, firewalls, or routers.", - "properties": { - "type": { - "$ref": "#/definitions/types/ip" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "port": { - "description": "Translated port of source based NAT sessions (e.g. internal client to internet). Typically connections traversing load balancers, firewalls, or routers.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "type": "object" - } - }, - "packets": { - "description": "Packets sent from the client to the server.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "port": { - "description": "Port of the client.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "registered_domain": { - "description": "The highest registered client domain, stripped of the subdomain. For example, the registered domain for \"foo.example.com\" is \"example.com\". This value can be determined precisely with a list like the public suffix list (http://publicsuffix.org). Trying to approximate this by simply taking the last two labels will not work well for TLDs such as \"co.uk\".", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "subdomain": { - "description": "The subdomain portion of a fully qualified domain name includes all of the names except the host name under the registered_domain. In a partially qualified domain, or if the the qualification level of the full name cannot be determined, subdomain contains all of the names below the registered domain. For example the subdomain portion of \"www.east.mydomain.co.uk\" is \"east\". If the domain has multiple levels of subdomain, such as \"sub2.sub1.example.com\", the subdomain field should contain \"sub2.sub1\", with no trailing period.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "top_level_domain": { - "description": "The effective top level domain (eTLD), also known as the domain suffix, is the last part of the domain name. For example, the top level domain for example.com is \"com\". This value can be determined precisely with a list like the public suffix list (http://publicsuffix.org). Trying to approximate this by simply taking the last label will not work well for effective TLDs such as \"co.uk\".", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "user": { - "properties": { - "properties": { - "domain": { - "description": "Name of the directory the user is a member of. For example, an LDAP or Active Directory domain name.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "email": { - "description": "User email address.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "full_name": { - "description": "User's full name, if available.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "group": { - "properties": { - "properties": { - "domain": { - "description": "Name of the directory the group is a member of. For example, an LDAP or Active Directory domain name.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "id": { - "description": "Unique identifier for the group on the system/platform.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "name": { - "description": "Name of the group.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "type": "object" - } - }, - "hash": { - "description": "Unique user hash to correlate information for a user in anonymized form. Useful if `user.id` or `user.name` contain confidential information and cannot be used.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "id": { - "description": "Unique identifier of the user.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "name": { - "description": "Short name or login of the user.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "roles": { - "description": "Array of user roles at the time of the event.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "type": "object" - } - } - }, - "type": "object" - } - } -} \ No newline at end of file diff --git a/experimental/generated/json_schema/cloud.json b/experimental/generated/json_schema/cloud.json deleted file mode 100644 index 093f4788b8..0000000000 --- a/experimental/generated/json_schema/cloud.json +++ /dev/null @@ -1,176 +0,0 @@ -{ - "cloud": { - "properties": { - "properties": { - "account": { - "properties": { - "properties": { - "id": { - "description": "The cloud account or organization id used to identify different entities in a multi-tenant environment. Examples: AWS account id, Google Cloud ORG Id, or other unique identifier.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "name": { - "description": "The cloud account name or alias used to identify different entities in a multi-tenant environment. Examples: AWS account name, Google Cloud ORG display name.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "type": "object" - } - }, - "availability_zone": { - "description": "Availability zone in which this host is running.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "instance": { - "properties": { - "properties": { - "id": { - "description": "Instance ID of the host machine.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "name": { - "description": "Instance name of the host machine.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "type": "object" - } - }, - "machine": { - "properties": { - "properties": { - "type": { - "description": "Machine type of the host machine.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "type": "object" - } - }, - "project": { - "properties": { - "properties": { - "id": { - "description": "The cloud project identifier. Examples: Google Cloud Project id, Azure Project id.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "name": { - "description": "The cloud project name. Examples: Google Cloud Project name, Azure Project name.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "type": "object" - } - }, - "provider": { - "description": "Name of the cloud provider. Example values are aws, azure, gcp, or digitalocean.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "region": { - "description": "Region in which this host is running.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "service": { - "properties": { - "properties": { - "name": { - "description": "The cloud service name is intended to distinguish services running on different platforms within a provider, eg AWS EC2 vs Lambda, GCP GCE vs App Engine, Azure VM vs App Server. Examples: app engine, app service, cloud run, fargate, lambda.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "type": "object" - } - } - }, - "type": "object" - } - } -} \ No newline at end of file diff --git a/experimental/generated/json_schema/container.json b/experimental/generated/json_schema/container.json deleted file mode 100644 index 6d1e1a7cb8..0000000000 --- a/experimental/generated/json_schema/container.json +++ /dev/null @@ -1,88 +0,0 @@ -{ - "container": { - "properties": { - "properties": { - "id": { - "description": "Unique container id.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "image": { - "properties": { - "properties": { - "name": { - "description": "Name of the image the container was built on.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "tag": { - "description": "Container image tags.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "type": "object" - } - }, - "labels": { - "description": "Image labels.", - "properties": { - "type": { - "$ref": "#/definitions/types/object" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "name": { - "description": "Container name.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "runtime": { - "description": "Runtime managing this container.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "type": "object" - } - } -} \ No newline at end of file diff --git a/experimental/generated/json_schema/data_stream.json b/experimental/generated/json_schema/data_stream.json deleted file mode 100644 index a1c4e49994..0000000000 --- a/experimental/generated/json_schema/data_stream.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "data_stream": { - "properties": { - "properties": { - "dataset": { - "description": "The field can contain anything that makes sense to signify the source of the data. Examples include `nginx.access`, `prometheus`, `endpoint` etc. For data streams that otherwise fit, but that do not have dataset set we use the value \"generic\" for the dataset value. `event.dataset` should have the same value as `data_stream.dataset`. Beyond the Elasticsearch data stream naming criteria noted above, the `dataset` value has additional restrictions: * Must not contain `-` * No longer than 100 characters", - "properties": { - "type": { - "$ref": "#/definitions/types/constant_keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "namespace": { - "description": "A user defined namespace. Namespaces are useful to allow grouping of data. Many users already organize their indices this way, and the data stream naming scheme now provides this best practice as a default. Many users will populate this field with `default`. If no value is used, it falls back to `default`. Beyond the Elasticsearch index naming criteria noted above, `namespace` value has the additional restrictions: * Must not contain `-` * No longer than 100 characters", - "properties": { - "type": { - "$ref": "#/definitions/types/constant_keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "type": { - "description": "An overarching type for the data stream. Currently allowed values are \"logs\" and \"metrics\". We expect to also add \"traces\" and \"synthetics\" in the near future.", - "properties": { - "type": { - "$ref": "#/definitions/types/constant_keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "type": "object" - } - } -} \ No newline at end of file diff --git a/experimental/generated/json_schema/destination.json b/experimental/generated/json_schema/destination.json deleted file mode 100644 index 5990e44242..0000000000 --- a/experimental/generated/json_schema/destination.json +++ /dev/null @@ -1,471 +0,0 @@ -{ - "destination": { - "properties": { - "properties": { - "address": { - "description": "Some event destination addresses are defined ambiguously. The event will sometimes list an IP, a domain or a unix socket. You should always store the raw address in the `.address` field. Then it should be duplicated to `.ip` or `.domain`, depending on which one it is.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "as": { - "properties": { - "properties": { - "number": { - "description": "Unique number allocated to the autonomous system. The autonomous system number (ASN) uniquely identifies each network on the Internet.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "organization": { - "properties": { - "properties": { - "name": { - "description": "Organization name.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "type": "object" - } - } - }, - "type": "object" - } - }, - "bytes": { - "description": "Bytes sent from the destination to the source.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "domain": { - "description": "Destination domain.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "geo": { - "properties": { - "properties": { - "city_name": { - "description": "City name.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "continent_code": { - "description": "Two-letter code representing continent's name.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "continent_name": { - "description": "Name of the continent.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "country_iso_code": { - "description": "Country ISO code.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "country_name": { - "description": "Country name.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "location": { - "description": "Longitude and latitude.", - "properties": { - "type": { - "$ref": "#/definitions/types/geo_point" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "name": { - "description": "User-defined description of a location, at the level of granularity they care about. Could be the name of their data centers, the floor number, if this describes a local physical entity, city names. Not typically used in automated geolocation.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "postal_code": { - "description": "Postal code associated with the location. Values appropriate for this field may also be known as a postcode or ZIP code and will vary widely from country to country.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "region_iso_code": { - "description": "Region ISO code.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "region_name": { - "description": "Region name.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "timezone": { - "description": "The time zone of the location, such as IANA time zone name.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "type": "object" - } - }, - "ip": { - "description": "IP address of the destination (IPv4 or IPv6).", - "properties": { - "type": { - "$ref": "#/definitions/types/ip" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "mac": { - "description": "MAC address of the destination. The notation format from RFC 7042 is suggested: Each octet (that is, 8-bit byte) is represented by two [uppercase] hexadecimal digits giving the value of the octet as an unsigned integer. Successive octets are separated by a hyphen.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "nat": { - "properties": { - "properties": { - "ip": { - "description": "Translated ip of destination based NAT sessions (e.g. internet to private DMZ) Typically used with load balancers, firewalls, or routers.", - "properties": { - "type": { - "$ref": "#/definitions/types/ip" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "port": { - "description": "Port the source session is translated to by NAT Device. Typically used with load balancers, firewalls, or routers.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "type": "object" - } - }, - "packets": { - "description": "Packets sent from the destination to the source.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "port": { - "description": "Port of the destination.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "registered_domain": { - "description": "The highest registered destination domain, stripped of the subdomain. For example, the registered domain for \"foo.example.com\" is \"example.com\". This value can be determined precisely with a list like the public suffix list (http://publicsuffix.org). Trying to approximate this by simply taking the last two labels will not work well for TLDs such as \"co.uk\".", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "subdomain": { - "description": "The subdomain portion of a fully qualified domain name includes all of the names except the host name under the registered_domain. In a partially qualified domain, or if the the qualification level of the full name cannot be determined, subdomain contains all of the names below the registered domain. For example the subdomain portion of \"www.east.mydomain.co.uk\" is \"east\". If the domain has multiple levels of subdomain, such as \"sub2.sub1.example.com\", the subdomain field should contain \"sub2.sub1\", with no trailing period.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "top_level_domain": { - "description": "The effective top level domain (eTLD), also known as the domain suffix, is the last part of the domain name. For example, the top level domain for example.com is \"com\". This value can be determined precisely with a list like the public suffix list (http://publicsuffix.org). Trying to approximate this by simply taking the last label will not work well for effective TLDs such as \"co.uk\".", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "user": { - "properties": { - "properties": { - "domain": { - "description": "Name of the directory the user is a member of. For example, an LDAP or Active Directory domain name.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "email": { - "description": "User email address.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "full_name": { - "description": "User's full name, if available.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "group": { - "properties": { - "properties": { - "domain": { - "description": "Name of the directory the group is a member of. For example, an LDAP or Active Directory domain name.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "id": { - "description": "Unique identifier for the group on the system/platform.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "name": { - "description": "Name of the group.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "type": "object" - } - }, - "hash": { - "description": "Unique user hash to correlate information for a user in anonymized form. Useful if `user.id` or `user.name` contain confidential information and cannot be used.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "id": { - "description": "Unique identifier of the user.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "name": { - "description": "Short name or login of the user.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "roles": { - "description": "Array of user roles at the time of the event.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "type": "object" - } - } - }, - "type": "object" - } - } -} \ No newline at end of file diff --git a/experimental/generated/json_schema/dll.json b/experimental/generated/json_schema/dll.json deleted file mode 100644 index efd5daf055..0000000000 --- a/experimental/generated/json_schema/dll.json +++ /dev/null @@ -1,695 +0,0 @@ -{ - "dll": { - "properties": { - "properties": { - "code_signature": { - "properties": { - "properties": { - "exists": { - "description": "Boolean to capture if a signature is present.", - "properties": { - "type": { - "$ref": "#/definitions/types/boolean" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "signing_id": { - "description": "The identifier used to sign the process. This is used to identify the application manufactured by a software vendor. The field is relevant to Apple *OS only.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "status": { - "description": "Additional information about the certificate status. This is useful for logging cryptographic errors with the certificate validity or trust status. Leave unpopulated if the validity or trust of the certificate was unchecked.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "subject_name": { - "description": "Subject name of the code signer", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "team_id": { - "description": "The team identifier used to sign the process. This is used to identify the team or vendor of a software product. The field is relevant to Apple *OS only.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "trusted": { - "description": "Stores the trust status of the certificate chain. Validating the trust of the certificate chain may be complicated, and this field should only be populated by tools that actively check the status.", - "properties": { - "type": { - "$ref": "#/definitions/types/boolean" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "valid": { - "description": "Boolean to capture if the digital signature is verified against the binary content. Leave unpopulated if a certificate was unchecked.", - "properties": { - "type": { - "$ref": "#/definitions/types/boolean" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "type": "object" - } - }, - "hash": { - "properties": { - "properties": { - "md5": { - "description": "MD5 hash.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "sha1": { - "description": "SHA1 hash.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "sha256": { - "description": "SHA256 hash.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "sha512": { - "description": "SHA512 hash.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "ssdeep": { - "description": "SSDEEP hash.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "type": "object" - } - }, - "name": { - "description": "Name of the library. This generally maps to the name of the file on disk.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "path": { - "description": "Full file path of the library.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "pe": { - "properties": { - "properties": { - "architecture": { - "description": "CPU architecture target for the file.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "authentihash": { - "description": "Authentihash of the PE file.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "company": { - "description": "Internal company name of the file, provided at compile-time.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "compile_timestamp": { - "description": "Compile timestamp of the PE file.", - "properties": { - "type": { - "$ref": "#/definitions/types/date" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "compiler": { - "properties": { - "properties": { - "name": { - "description": "Name of the compiler", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "version": { - "description": "Version of the compiler.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "type": "object" - } - }, - "creation_date": { - "description": "Extracted when possible from the file's metadata. Indicates when it was built or compiled. It can also be faked by malware creators.", - "properties": { - "type": { - "$ref": "#/definitions/types/date" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "debug": { - "description": "An array containing an object for each debug entry, if present. The expected fields for this nested object fall under the `debug.` prefix.", - "properties": { - "properties": { - "offset": { - "description": "Debug offset information.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "size": { - "description": "Size of the debug information.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "timestamp": { - "description": "Timestamp of the debug information.", - "properties": { - "type": { - "$ref": "#/definitions/types/date" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "type": { - "description": "Information type generated by the debug options.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "type": { - "$ref": "#/definitions/types/nested" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "description": { - "description": "Internal description of the file, provided at compile-time.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "entry_point": { - "description": "Relative byte offset to the base of the PE file.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "exports": { - "description": "List of symbols exported by PE", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "file_version": { - "description": "Internal version of the file, provided at compile-time.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "icon": { - "properties": { - "properties": { - "hash": { - "properties": { - "properties": { - "dhash": { - "description": "Difference Hash (dhash) to find files with a visually similar icon or thumbnail.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "type": "object" - } - } - }, - "type": "object" - } - }, - "imphash": { - "description": "A hash of the imports in a PE file. An imphash -- or import hash -- can be used to fingerprint binaries even after recompilation or other code-level transformations have occurred, which would change more traditional hash values. Learn more at https://www.fireeye.com/blog/threat-research/2014/01/tracking-malware-import-hashing.html.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "imports": { - "description": "List of all imported functions", - "properties": { - "type": { - "$ref": "#/definitions/types/flattened" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "machine_type": { - "description": "Machine type of the PE file.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "original_file_name": { - "description": "Internal name of the file, provided at compile-time.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "packers": { - "description": "List of packers and tools used.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "product": { - "description": "Internal product name of the file, provided at compile-time.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "resources": { - "description": "An array containing an object for each PE resource, if present. The expected fields for this nested object fall under the `resources.` prefix.", - "properties": { - "properties": { - "chi2": { - "description": "Chi-square probability distribution.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "entropy": { - "description": "Measurement of entropy randomness in the resources section.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "filetype": { - "description": "File type of the resources section.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "language": { - "description": "Language identification.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "sha256": { - "description": "SHA256 hash of resources section.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "type": { - "description": "Digest of resource types.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "type": { - "$ref": "#/definitions/types/nested" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "rich_header": { - "properties": { - "properties": { - "hash": { - "properties": { - "properties": { - "md5": { - "description": "MD5 hash of the header for the PE file.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "type": "object" - } - } - }, - "type": "object" - } - }, - "sections": { - "description": "Data about sections of compiled binary PE", - "properties": { - "properties": { - "chi2": { - "description": "Chi-square probability distribution.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "entropy": { - "description": "Measurement of entropy randomness in the file.", - "properties": { - "type": { - "$ref": "#/definitions/types/float" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "flags": { - "description": "Section flags of the file.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "name": { - "description": "Section names of the file.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "raw_size": { - "description": "Size of the section or the dize of the initialized data on disk.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "virtual_address": { - "description": "Virtual address available to the file.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "type": { - "$ref": "#/definitions/types/nested" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "type": "object" - } - } - }, - "type": "object" - } - } -} \ No newline at end of file diff --git a/experimental/generated/json_schema/dns.json b/experimental/generated/json_schema/dns.json deleted file mode 100644 index dd730c0db3..0000000000 --- a/experimental/generated/json_schema/dns.json +++ /dev/null @@ -1,234 +0,0 @@ -{ - "dns": { - "properties": { - "properties": { - "answers": { - "description": "An array containing an object for each answer section returned by the server. The main keys that should be present in these objects are defined by ECS. Records that have more information may contain more keys than what ECS defines. Not all DNS data sources give all details about DNS answers. At minimum, answer objects must contain the `data` key. If more information is available, map as much of it to ECS as possible, and add any additional fields to the answer objects as custom fields.", - "properties": { - "properties": { - "class": { - "description": "The class of DNS data contained in this resource record.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "data": { - "description": "The data describing the resource. The meaning of this data depends on the type and class of the resource record.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "name": { - "description": "The domain name to which this resource record pertains. If a chain of CNAME is being resolved, each answer's `name` should be the one that corresponds with the answer's `data`. It should not simply be the original `question.name` repeated.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "ttl": { - "description": "The time interval in seconds that this resource record may be cached before it should be discarded. Zero values mean that the data should not be cached.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "type": { - "description": "The type of data contained in this resource record.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "type": { - "$ref": "#/definitions/types/object" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "header_flags": { - "description": "Array of 2 letter DNS header flags. Expected values are: AA, TC, RD, RA, AD, CD, DO.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "id": { - "description": "The DNS packet identifier assigned by the program that generated the query. The identifier is copied to the response.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "op_code": { - "description": "The DNS operation code that specifies the kind of query in the message. This value is set by the originator of a query and copied into the response.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "question": { - "properties": { - "properties": { - "class": { - "description": "The class of records being queried.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "name": { - "description": "The name being queried. If the name field contains non-printable characters (below 32 or above 126), those characters should be represented as escaped base 10 integers (\\DDD). Back slashes and quotes should be escaped. Tabs, carriage returns, and line feeds should be converted to \\t, \\r, and \\n respectively.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "registered_domain": { - "description": "The highest registered domain, stripped of the subdomain. For example, the registered domain for \"foo.example.com\" is \"example.com\". This value can be determined precisely with a list like the public suffix list (http://publicsuffix.org). Trying to approximate this by simply taking the last two labels will not work well for TLDs such as \"co.uk\".", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "subdomain": { - "description": "The subdomain is all of the labels under the registered_domain. If the domain has multiple levels of subdomain, such as \"sub2.sub1.example.com\", the subdomain field should contain \"sub2.sub1\", with no trailing period.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "top_level_domain": { - "description": "The effective top level domain (eTLD), also known as the domain suffix, is the last part of the domain name. For example, the top level domain for example.com is \"com\". This value can be determined precisely with a list like the public suffix list (http://publicsuffix.org). Trying to approximate this by simply taking the last label will not work well for effective TLDs such as \"co.uk\".", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "type": { - "description": "The type of record being queried.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "type": "object" - } - }, - "resolved_ip": { - "description": "Array containing all IPs seen in `answers.data`. The `answers` array can be difficult to use, because of the variety of data formats it can contain. Extracting all IP addresses seen in there to `dns.resolved_ip` makes it possible to index them as IP addresses, and makes them easier to visualize and query for.", - "properties": { - "type": { - "$ref": "#/definitions/types/ip" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "response_code": { - "description": "The DNS response code.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "type": { - "description": "The type of DNS event captured, query or answer. If your source of DNS events only gives you DNS queries, you should only create dns events of type `dns.type:query`. If your source of DNS events gives you answers as well, you should create one event per query (optionally as soon as the query is seen). And a second event containing all query details as well as an array of answers.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "type": "object" - } - } -} \ No newline at end of file diff --git a/experimental/generated/json_schema/ecs.json b/experimental/generated/json_schema/ecs.json deleted file mode 100644 index 955669eb3b..0000000000 --- a/experimental/generated/json_schema/ecs.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "ecs": { - "properties": { - "properties": { - "version": { - "description": "ECS version this event conforms to. `ecs.version` is a required field and must exist in all events. When querying across multiple indices -- which may conform to slightly different ECS versions -- this field lets integrations adjust to the schema version of the events.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "type": "object" - } - } -} \ No newline at end of file diff --git a/experimental/generated/json_schema/error.json b/experimental/generated/json_schema/error.json deleted file mode 100644 index 72391d973b..0000000000 --- a/experimental/generated/json_schema/error.json +++ /dev/null @@ -1,69 +0,0 @@ -{ - "error": { - "properties": { - "properties": { - "code": { - "description": "Error code describing the error.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "id": { - "description": "Unique identifier for the error.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "message": { - "description": "Error message.", - "properties": { - "type": { - "$ref": "#/definitions/types/text" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "stack_trace": { - "description": "The stack trace of this error in plain text.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "type": { - "description": "The type of the error, for example the class name of the exception.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "type": "object" - } - } -} \ No newline at end of file diff --git a/experimental/generated/json_schema/event.json b/experimental/generated/json_schema/event.json deleted file mode 100644 index 4d4e216abe..0000000000 --- a/experimental/generated/json_schema/event.json +++ /dev/null @@ -1,309 +0,0 @@ -{ - "event": { - "properties": { - "properties": { - "action": { - "description": "The action captured by the event. This describes the information in the event. It is more specific than `event.category`. Examples are `group-add`, `process-started`, `file-created`. The value is normally defined by the implementer.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "category": { - "description": "This is one of four ECS Categorization Fields, and indicates the second level in the ECS category hierarchy. `event.category` represents the \"big buckets\" of ECS categories. For example, filtering on `event.category:process` yields all events relating to process activity. This field is closely related to `event.type`, which is used as a subcategory. This field is an array. This will allow proper categorization of some events that fall in multiple categories.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "code": { - "description": "Identification code for this event, if one exists. Some event sources use event codes to identify messages unambiguously, regardless of message language or wording adjustments over time. An example of this is the Windows Event ID.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "created": { - "description": "event.created contains the date/time when the event was first read by an agent, or by your pipeline. This field is distinct from @timestamp in that @timestamp typically contain the time extracted from the original event. In most situations, these two timestamps will be slightly different. The difference can be used to calculate the delay between your source generating an event, and the time when your agent first processed it. This can be used to monitor your agent's or pipeline's ability to keep up with your event source. In case the two timestamps are identical, @timestamp should be used.", - "properties": { - "type": { - "$ref": "#/definitions/types/date" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "dataset": { - "description": "Name of the dataset. If an event source publishes more than one type of log or events (e.g. access log, error log), the dataset is used to specify which one the event comes from. It's recommended but not required to start the dataset name with the module name, followed by a dot, then the dataset name.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "duration": { - "description": "Duration of the event in nanoseconds. If event.start and event.end are known this value should be the difference between the end and start time.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "end": { - "description": "event.end contains the date when the event ended or when the activity was last observed.", - "properties": { - "type": { - "$ref": "#/definitions/types/date" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "hash": { - "description": "Hash (perhaps logstash fingerprint) of raw field to be able to demonstrate log integrity.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "id": { - "description": "Unique ID to describe the event.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "ingested": { - "description": "Timestamp when an event arrived in the central data store. This is different from `@timestamp`, which is when the event originally occurred. It's also different from `event.created`, which is meant to capture the first time an agent saw the event. In normal conditions, assuming no tampering, the timestamps should chronologically look like this: `@timestamp` < `event.created` < `event.ingested`.", - "properties": { - "type": { - "$ref": "#/definitions/types/date" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "kind": { - "description": "This is one of four ECS Categorization Fields, and indicates the highest level in the ECS category hierarchy. `event.kind` gives high-level information about what type of information the event contains, without being specific to the contents of the event. For example, values of this field distinguish alert events from metric events. The value of this field can be used to inform how these kinds of events should be handled. They may warrant different retention, different access control, it may also help understand whether the data coming in at a regular interval or not.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "module": { - "description": "Name of the module this data is coming from. If your monitoring agent supports the concept of modules or plugins to process events of a given source (e.g. Apache logs), `event.module` should contain the name of this module.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "original": { - "description": "Raw text message of entire event. Used to demonstrate log integrity. This field is not indexed and doc_values are disabled. It cannot be searched, but it can be retrieved from `_source`. If users wish to override this and index this field, consider using the wildcard data type.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "outcome": { - "description": "This is one of four ECS Categorization Fields, and indicates the lowest level in the ECS category hierarchy. `event.outcome` simply denotes whether the event represents a success or a failure from the perspective of the entity that produced the event. Note that when a single transaction is described in multiple events, each event may populate different values of `event.outcome`, according to their perspective. Also note that in the case of a compound event (a single event that contains multiple logical events), this field should be populated with the value that best captures the overall success or failure from the perspective of the event producer. Further note that not all events will have an associated outcome. For example, this field is generally not populated for metric events, events with `event.type:info`, or any events for which an outcome does not make logical sense.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "provider": { - "description": "Source of the event. Event transports such as Syslog or the Windows Event Log typically mention the source of an event. It can be the name of the software that generated the event (e.g. Sysmon, httpd), or of a subsystem of the operating system (kernel, Microsoft-Windows-Security-Auditing).", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "reason": { - "description": "Reason why this event happened, according to the source. This describes the why of a particular action or outcome captured in the event. Where `event.action` captures the action from the event, `event.reason` describes why that action was taken. For example, a web proxy with an `event.action` which denied the request may also populate `event.reason` with the reason why (e.g. `blocked site`).", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "reference": { - "description": "Reference URL linking to additional information about this event. This URL links to a static definition of this event. Alert events, indicated by `event.kind:alert`, are a common use case for this field.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "risk_score": { - "description": "Risk score or priority of the event (e.g. security solutions). Use your system's original value here.", - "properties": { - "type": { - "$ref": "#/definitions/types/float" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "risk_score_norm": { - "description": "Normalized risk score or priority of the event, on a scale of 0 to 100. This is mainly useful if you use more than one system that assigns risk scores, and you want to see a normalized value across all systems.", - "properties": { - "type": { - "$ref": "#/definitions/types/float" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "sequence": { - "description": "Sequence number of the event. The sequence number is a value published by some event sources, to make the exact ordering of events unambiguous, regardless of the timestamp precision.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "severity": { - "description": "The numeric severity of the event according to your event source. What the different severity values mean can be different between sources and use cases. It's up to the implementer to make sure severities are consistent across events from the same source. The Syslog severity belongs in `log.syslog.severity.code`. `event.severity` is meant to represent the severity according to the event source (e.g. firewall, IDS). If the event source does not publish its own severity, you may optionally copy the `log.syslog.severity.code` to `event.severity`.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "start": { - "description": "event.start contains the date when the event started or when the activity was first observed.", - "properties": { - "type": { - "$ref": "#/definitions/types/date" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "timezone": { - "description": "This field should be populated when the event's timestamp does not include timezone information already (e.g. default Syslog timestamps). It's optional otherwise. Acceptable timezone formats are: a canonical ID (e.g. \"Europe/Amsterdam\"), abbreviated (e.g. \"EST\") or an HH:mm differential (e.g. \"-05:00\").", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "type": { - "description": "This is one of four ECS Categorization Fields, and indicates the third level in the ECS category hierarchy. `event.type` represents a categorization \"sub-bucket\" that, when used along with the `event.category` field values, enables filtering events down to a level appropriate for single visualization. This field is an array. This will allow proper categorization of some events that fall in multiple event types.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "url": { - "description": "URL linking to an external system to continue investigation of this event. This URL links to another system where in-depth investigation of the specific occurrence of this event can take place. Alert events, indicated by `event.kind:alert`, are a common use case for this field.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "type": "object" - } - } -} \ No newline at end of file diff --git a/experimental/generated/json_schema/file.json b/experimental/generated/json_schema/file.json deleted file mode 100644 index 7ce6e402ab..0000000000 --- a/experimental/generated/json_schema/file.json +++ /dev/null @@ -1,1598 +0,0 @@ -{ - "file": { - "properties": { - "properties": { - "accessed": { - "description": "Last time the file was accessed. Note that not all filesystems keep track of access time.", - "properties": { - "type": { - "$ref": "#/definitions/types/date" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "attributes": { - "description": "Array of file attributes. Attributes names will vary by platform. Here's a non-exhaustive list of values that are expected in this field: archive, compressed, directory, encrypted, execute, hidden, read, readonly, system, write.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "code_signature": { - "properties": { - "properties": { - "exists": { - "description": "Boolean to capture if a signature is present.", - "properties": { - "type": { - "$ref": "#/definitions/types/boolean" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "signing_id": { - "description": "The identifier used to sign the process. This is used to identify the application manufactured by a software vendor. The field is relevant to Apple *OS only.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "status": { - "description": "Additional information about the certificate status. This is useful for logging cryptographic errors with the certificate validity or trust status. Leave unpopulated if the validity or trust of the certificate was unchecked.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "subject_name": { - "description": "Subject name of the code signer", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "team_id": { - "description": "The team identifier used to sign the process. This is used to identify the team or vendor of a software product. The field is relevant to Apple *OS only.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "trusted": { - "description": "Stores the trust status of the certificate chain. Validating the trust of the certificate chain may be complicated, and this field should only be populated by tools that actively check the status.", - "properties": { - "type": { - "$ref": "#/definitions/types/boolean" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "valid": { - "description": "Boolean to capture if the digital signature is verified against the binary content. Leave unpopulated if a certificate was unchecked.", - "properties": { - "type": { - "$ref": "#/definitions/types/boolean" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "type": "object" - } - }, - "created": { - "description": "File creation time. Note that not all filesystems store the creation time.", - "properties": { - "type": { - "$ref": "#/definitions/types/date" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "ctime": { - "description": "Last time the file attributes or metadata changed. Note that changes to the file content will update `mtime`. This implies `ctime` will be adjusted at the same time, since `mtime` is an attribute of the file.", - "properties": { - "type": { - "$ref": "#/definitions/types/date" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "device": { - "description": "Device that is the source of the file.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "directory": { - "description": "Directory where the file is located. It should include the drive letter, when appropriate.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "drive_letter": { - "description": "Drive letter where the file is located. This field is only relevant on Windows. The value should be uppercase, and not include the colon.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "elf": { - "properties": { - "properties": { - "architecture": { - "description": "Machine architecture of the ELF file.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "byte_order": { - "description": "Byte sequence of ELF file.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "cpu_type": { - "description": "CPU type of the ELF file.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "creation_date": { - "description": "Extracted when possible from the file's metadata. Indicates when it was built or compiled. It can also be faked by malware creators.", - "properties": { - "type": { - "$ref": "#/definitions/types/date" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "exports": { - "description": "List of exported element names and types.", - "properties": { - "type": { - "$ref": "#/definitions/types/flattened" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "header": { - "properties": { - "properties": { - "abi_version": { - "description": "Version of the ELF Application Binary Interface (ABI).", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "class": { - "description": "Header class of the ELF file.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "data": { - "description": "Data table of the ELF header.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "entrypoint": { - "description": "Header entrypoint of the ELF file.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "object_version": { - "description": "\"0x1\" for original ELF files.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "os_abi": { - "description": "Application Binary Interface (ABI) of the Linux OS.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "type": { - "description": "Header type of the ELF file.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "version": { - "description": "Version of the ELF header.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "type": "object" - } - }, - "imports": { - "description": "List of imported element names and types.", - "properties": { - "type": { - "$ref": "#/definitions/types/flattened" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "sections": { - "description": "Section information of the ELF file.", - "properties": { - "properties": { - "chi2": { - "description": "Chi-square probability distribution of the section.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "entropy": { - "description": "Shannon entropy calculation from the section.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "flags": { - "description": "ELF Section List flags.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "name": { - "description": "ELF Section List name.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "physical_offset": { - "description": "ELF Section List offset.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "physical_size": { - "description": "ELF Section List physical size.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "type": { - "description": "ELF Section List type.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "virtual_address": { - "description": "ELF Section List virtual address.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "virtual_size": { - "description": "ELF Section List virtual size.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "type": { - "$ref": "#/definitions/types/nested" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "segments": { - "description": "ELF object segment list.", - "properties": { - "properties": { - "sections": { - "description": "ELF object segment sections.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "type": { - "description": "ELF object segment type.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "type": { - "$ref": "#/definitions/types/nested" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "shared_libraries": { - "description": "List of shared libraries used by this ELF object", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "telfhash": { - "description": "telfhash is symbol hash for ELF files, just like imphash is imports hash for PE files. Learn more at https://github.com/trendmicro/telfhash.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "type": "object" - } - }, - "extension": { - "description": "File extension, excluding the leading dot. Note that when the file name has multiple extensions (example.tar.gz), only the last one should be captured (\"gz\", not \"tar.gz\").", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "gid": { - "description": "Primary group ID (GID) of the file.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "group": { - "description": "Primary group name of the file.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "hash": { - "properties": { - "properties": { - "md5": { - "description": "MD5 hash.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "sha1": { - "description": "SHA1 hash.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "sha256": { - "description": "SHA256 hash.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "sha512": { - "description": "SHA512 hash.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "ssdeep": { - "description": "SSDEEP hash.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "type": "object" - } - }, - "inode": { - "description": "Inode representing the file in the filesystem.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "mime_type": { - "description": "MIME type should identify the format of the file or stream of bytes using https://www.iana.org/assignments/media-types/media-types.xhtml[IANA official types], where possible. When more than one type is applicable, the most specific type should be used.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "mode": { - "description": "Mode of the file in octal representation.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "mtime": { - "description": "Last time the file content was modified.", - "properties": { - "type": { - "$ref": "#/definitions/types/date" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "name": { - "description": "Name of the file including the extension, without the directory.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "owner": { - "description": "File owner's username.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "path": { - "description": "Full path to the file, including the file name. It should include the drive letter, when appropriate.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "pe": { - "properties": { - "properties": { - "architecture": { - "description": "CPU architecture target for the file.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "authentihash": { - "description": "Authentihash of the PE file.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "company": { - "description": "Internal company name of the file, provided at compile-time.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "compile_timestamp": { - "description": "Compile timestamp of the PE file.", - "properties": { - "type": { - "$ref": "#/definitions/types/date" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "compiler": { - "properties": { - "properties": { - "name": { - "description": "Name of the compiler", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "version": { - "description": "Version of the compiler.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "type": "object" - } - }, - "creation_date": { - "description": "Extracted when possible from the file's metadata. Indicates when it was built or compiled. It can also be faked by malware creators.", - "properties": { - "type": { - "$ref": "#/definitions/types/date" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "debug": { - "description": "An array containing an object for each debug entry, if present. The expected fields for this nested object fall under the `debug.` prefix.", - "properties": { - "properties": { - "offset": { - "description": "Debug offset information.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "size": { - "description": "Size of the debug information.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "timestamp": { - "description": "Timestamp of the debug information.", - "properties": { - "type": { - "$ref": "#/definitions/types/date" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "type": { - "description": "Information type generated by the debug options.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "type": { - "$ref": "#/definitions/types/nested" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "description": { - "description": "Internal description of the file, provided at compile-time.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "entry_point": { - "description": "Relative byte offset to the base of the PE file.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "exports": { - "description": "List of symbols exported by PE", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "file_version": { - "description": "Internal version of the file, provided at compile-time.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "icon": { - "properties": { - "properties": { - "hash": { - "properties": { - "properties": { - "dhash": { - "description": "Difference Hash (dhash) to find files with a visually similar icon or thumbnail.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "type": "object" - } - } - }, - "type": "object" - } - }, - "imphash": { - "description": "A hash of the imports in a PE file. An imphash -- or import hash -- can be used to fingerprint binaries even after recompilation or other code-level transformations have occurred, which would change more traditional hash values. Learn more at https://www.fireeye.com/blog/threat-research/2014/01/tracking-malware-import-hashing.html.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "imports": { - "description": "List of all imported functions", - "properties": { - "type": { - "$ref": "#/definitions/types/flattened" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "machine_type": { - "description": "Machine type of the PE file.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "original_file_name": { - "description": "Internal name of the file, provided at compile-time.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "packers": { - "description": "List of packers and tools used.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "product": { - "description": "Internal product name of the file, provided at compile-time.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "resources": { - "description": "An array containing an object for each PE resource, if present. The expected fields for this nested object fall under the `resources.` prefix.", - "properties": { - "properties": { - "chi2": { - "description": "Chi-square probability distribution.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "entropy": { - "description": "Measurement of entropy randomness in the resources section.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "filetype": { - "description": "File type of the resources section.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "language": { - "description": "Language identification.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "sha256": { - "description": "SHA256 hash of resources section.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "type": { - "description": "Digest of resource types.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "type": { - "$ref": "#/definitions/types/nested" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "rich_header": { - "properties": { - "properties": { - "hash": { - "properties": { - "properties": { - "md5": { - "description": "MD5 hash of the header for the PE file.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "type": "object" - } - } - }, - "type": "object" - } - }, - "sections": { - "description": "Data about sections of compiled binary PE", - "properties": { - "properties": { - "chi2": { - "description": "Chi-square probability distribution.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "entropy": { - "description": "Measurement of entropy randomness in the file.", - "properties": { - "type": { - "$ref": "#/definitions/types/float" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "flags": { - "description": "Section flags of the file.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "name": { - "description": "Section names of the file.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "raw_size": { - "description": "Size of the section or the dize of the initialized data on disk.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "virtual_address": { - "description": "Virtual address available to the file.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "type": { - "$ref": "#/definitions/types/nested" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "type": "object" - } - }, - "size": { - "description": "File size in bytes. Only relevant when `file.type` is \"file\".", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "target_path": { - "description": "Target path for symlinks.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "type": { - "description": "File type (file, dir, or symlink).", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "uid": { - "description": "The user ID (UID) or security identifier (SID) of the file owner.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "x509": { - "properties": { - "properties": { - "alternative_names": { - "description": "List of subject alternative names (SAN). Name types vary by certificate authority and certificate type but commonly contain IP addresses, DNS names (and wildcards), and email addresses.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "issuer": { - "properties": { - "properties": { - "common_name": { - "description": "List of common name (CN) of issuing certificate authority.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "country": { - "description": "List of country (C) codes", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "distinguished_name": { - "description": "Distinguished name (DN) of issuing certificate authority.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "locality": { - "description": "List of locality names (L)", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "organization": { - "description": "List of organizations (O) of issuing certificate authority.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "organizational_unit": { - "description": "List of organizational units (OU) of issuing certificate authority.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "state_or_province": { - "description": "List of state or province names (ST, S, or P)", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "type": "object" - } - }, - "not_after": { - "description": "Time at which the certificate is no longer considered valid.", - "properties": { - "type": { - "$ref": "#/definitions/types/date" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "not_before": { - "description": "Time at which the certificate is first considered valid.", - "properties": { - "type": { - "$ref": "#/definitions/types/date" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "public_key_algorithm": { - "description": "Algorithm used to generate the public key.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "public_key_curve": { - "description": "The curve used by the elliptic curve public key algorithm. This is algorithm specific.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "public_key_exponent": { - "description": "Exponent used to derive the public key. This is algorithm specific.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "public_key_size": { - "description": "The size of the public key space in bits.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "serial_number": { - "description": "Unique serial number issued by the certificate authority. For consistency, if this value is alphanumeric, it should be formatted without colons and uppercase characters.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "signature_algorithm": { - "description": "Identifier for certificate signature algorithm. We recommend using names found in Go Lang Crypto library. See https://github.com/golang/go/blob/go1.14/src/crypto/x509/x509.go#L337-L353.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "subject": { - "properties": { - "properties": { - "common_name": { - "description": "List of common names (CN) of subject.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "country": { - "description": "List of country (C) code", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "distinguished_name": { - "description": "Distinguished name (DN) of the certificate subject entity.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "locality": { - "description": "List of locality names (L)", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "organization": { - "description": "List of organizations (O) of subject.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "organizational_unit": { - "description": "List of organizational units (OU) of subject.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "state_or_province": { - "description": "List of state or province names (ST, S, or P)", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "type": "object" - } - }, - "version_number": { - "description": "Version of x509 format.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "type": "object" - } - } - }, - "type": "object" - } - } -} \ No newline at end of file diff --git a/experimental/generated/json_schema/full.json b/experimental/generated/json_schema/full.json deleted file mode 100644 index 9b67dbc2e0..0000000000 --- a/experimental/generated/json_schema/full.json +++ /dev/null @@ -1,14579 +0,0 @@ -{ - "definitions": { - "settings": { - "ignore_above": { - "maximum": 2147483647, - "minimum": 0, - "type": "integer" - }, - "type": "object" - }, - "types": { - "boolean": { - "enum": [ - "boolean" - ], - "type": "string" - }, - "constant_keyword": { - "enum": [ - "constant_keyword" - ], - "type": "string" - }, - "date": { - "enum": [ - "date", - "date_nanos" - ], - "type": "string" - }, - "float": { - "enum": [ - "float" - ], - "type": "string" - }, - "geo_point": { - "enum": [ - "geo_point" - ], - "type": "string" - }, - "integer": { - "enum": [ - "integer" - ], - "type": "string" - }, - "ip": { - "enum": [ - "ip" - ], - "type": "string" - }, - "keyword": { - "enum": [ - "keyword" - ], - "type": "string" - }, - "long": { - "enum": [ - "long" - ], - "type": "string" - }, - "object": { - "enum": [ - "object" - ], - "type": "string" - }, - "scaled_float": { - "enum": [ - "scaled_float" - ], - "type": "string" - }, - "text": { - "enum": [ - "text" - ], - "type": "string" - }, - "type": "object" - } - }, - "properties": { - "@timestamp": { - "description": "Date/time when the event originated. This is the date/time extracted from the event, typically representing when the event was generated by the source. If the event source has no original timestamp, this value is typically populated by the first time the event was received by the pipeline. Required field for all events.", - "properties": { - "type": { - "$ref": "#/definitions/types/date" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "agent": { - "description": "The agent fields contain the data about the software entity, if any, that collects, detects, or observes events on a host, or takes measurements on a host.\nExamples include Beats. Agents may also run on observers. ECS agent.* fields shall be populated with details of the agent running on the host or observer where the event happened or the measurement was taken.", - "properties": { - "properties": { - "properties": { - "build": { - "properties": { - "properties": { - "properties": { - "original": { - "description": "Extended build information for the agent. This field is intended to contain any build information that a data source may provide, no specific formatting is required.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - } - } - }, - "type": "object" - } - }, - "ephemeral_id": { - "description": "Ephemeral identifier of this agent (if one exists). This id normally changes across restarts, but `agent.id` does not.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "id": { - "description": "Unique identifier of this agent (if one exists). Example: For Beats this would be beat.id.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "name": { - "description": "Custom name of the agent. This is a name that can be given to an agent. This can be helpful if for example two Filebeat instances are running on the same host but a human readable separation is needed on which Filebeat instance data is coming from. If no name is given, the name is often left empty.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "type": { - "description": "Type of the agent. The agent type always stays the same and should be given by the agent used. In case of Filebeat the agent would always be Filebeat also if two Filebeat instances are run on the same machine.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "version": { - "description": "Version of the agent.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - } - }, - "type": "object" - }, - "type": "object" - }, - "client": { - "description": "A client is defined as the initiator of a network connection for events regarding sessions, connections, or bidirectional flow records.\nFor TCP events, the client is the initiator of the TCP connection that sends the SYN packet(s). For other protocols, the client is generally the initiator or requestor in the network transaction. Some systems use the term \"originator\" to refer the client in TCP connections. The client fields describe details about the system acting as the client in the network event. Client fields are usually populated in conjunction with server fields. Client fields are generally not populated for packet-level events.\nClient / server representations can add semantic context to an exchange, which is helpful to visualize the data in certain situations. If your context falls in that category, you should still ensure that source and destination are filled appropriately.", - "properties": { - "properties": { - "properties": { - "address": { - "description": "Some event client addresses are defined ambiguously. The event will sometimes list an IP, a domain or a unix socket. You should always store the raw address in the `.address` field. Then it should be duplicated to `.ip` or `.domain`, depending on which one it is.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "as": { - "properties": { - "properties": { - "properties": { - "number": { - "description": "Unique number allocated to the autonomous system. The autonomous system number (ASN) uniquely identifies each network on the Internet.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "organization": { - "properties": { - "properties": { - "properties": { - "name": { - "description": "Organization name.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - } - } - }, - "type": "object" - } - } - } - }, - "type": "object" - } - }, - "bytes": { - "description": "Bytes sent from the client to the server.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "domain": { - "description": "Client domain.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "geo": { - "properties": { - "properties": { - "properties": { - "city_name": { - "description": "City name.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "continent_code": { - "description": "Two-letter code representing continent's name.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "continent_name": { - "description": "Name of the continent.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "country_iso_code": { - "description": "Country ISO code.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "country_name": { - "description": "Country name.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "location": { - "description": "Longitude and latitude.", - "properties": { - "type": { - "$ref": "#/definitions/types/geo_point" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "name": { - "description": "User-defined description of a location, at the level of granularity they care about. Could be the name of their data centers, the floor number, if this describes a local physical entity, city names. Not typically used in automated geolocation.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "postal_code": { - "description": "Postal code associated with the location. Values appropriate for this field may also be known as a postcode or ZIP code and will vary widely from country to country.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "region_iso_code": { - "description": "Region ISO code.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "region_name": { - "description": "Region name.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "timezone": { - "description": "The time zone of the location, such as IANA time zone name.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - } - }, - "type": "object" - } - }, - "ip": { - "description": "IP address of the client (IPv4 or IPv6).", - "properties": { - "type": { - "$ref": "#/definitions/types/ip" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "mac": { - "description": "MAC address of the client. The notation format from RFC 7042 is suggested: Each octet (that is, 8-bit byte) is represented by two [uppercase] hexadecimal digits giving the value of the octet as an unsigned integer. Successive octets are separated by a hyphen.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "nat": { - "properties": { - "properties": { - "properties": { - "ip": { - "description": "Translated IP of source based NAT sessions (e.g. internal client to internet). Typically connections traversing load balancers, firewalls, or routers.", - "properties": { - "type": { - "$ref": "#/definitions/types/ip" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "port": { - "description": "Translated port of source based NAT sessions (e.g. internal client to internet). Typically connections traversing load balancers, firewalls, or routers.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - } - } - }, - "type": "object" - } - }, - "packets": { - "description": "Packets sent from the client to the server.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "port": { - "description": "Port of the client.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "registered_domain": { - "description": "The highest registered client domain, stripped of the subdomain. For example, the registered domain for \"foo.example.com\" is \"example.com\". This value can be determined precisely with a list like the public suffix list (http://publicsuffix.org). Trying to approximate this by simply taking the last two labels will not work well for TLDs such as \"co.uk\".", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "subdomain": { - "description": "The subdomain portion of a fully qualified domain name includes all of the names except the host name under the registered_domain. In a partially qualified domain, or if the the qualification level of the full name cannot be determined, subdomain contains all of the names below the registered domain. For example the subdomain portion of \"www.east.mydomain.co.uk\" is \"east\". If the domain has multiple levels of subdomain, such as \"sub2.sub1.example.com\", the subdomain field should contain \"sub2.sub1\", with no trailing period.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "top_level_domain": { - "description": "The effective top level domain (eTLD), also known as the domain suffix, is the last part of the domain name. For example, the top level domain for example.com is \"com\". This value can be determined precisely with a list like the public suffix list (http://publicsuffix.org). Trying to approximate this by simply taking the last label will not work well for effective TLDs such as \"co.uk\".", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "user": { - "properties": { - "properties": { - "properties": { - "domain": { - "description": "Name of the directory the user is a member of. For example, an LDAP or Active Directory domain name.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "email": { - "description": "User email address.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "full_name": { - "description": "User's full name, if available.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "group": { - "properties": { - "properties": { - "properties": { - "domain": { - "description": "Name of the directory the group is a member of. For example, an LDAP or Active Directory domain name.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "id": { - "description": "Unique identifier for the group on the system/platform.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "name": { - "description": "Name of the group.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - } - }, - "type": "object" - } - }, - "hash": { - "description": "Unique user hash to correlate information for a user in anonymized form. Useful if `user.id` or `user.name` contain confidential information and cannot be used.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "id": { - "description": "Unique identifier of the user.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "name": { - "description": "Short name or login of the user.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "roles": { - "description": "Array of user roles at the time of the event.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - } - }, - "type": "object" - } - } - } - }, - "type": "object" - }, - "type": "object" - }, - "cloud": { - "description": "Fields related to the cloud or infrastructure the events are coming from.", - "properties": { - "properties": { - "properties": { - "account": { - "properties": { - "properties": { - "properties": { - "id": { - "description": "The cloud account or organization id used to identify different entities in a multi-tenant environment. Examples: AWS account id, Google Cloud ORG Id, or other unique identifier.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "name": { - "description": "The cloud account name or alias used to identify different entities in a multi-tenant environment. Examples: AWS account name, Google Cloud ORG display name.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - } - }, - "type": "object" - } - }, - "availability_zone": { - "description": "Availability zone in which this host is running.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "instance": { - "properties": { - "properties": { - "properties": { - "id": { - "description": "Instance ID of the host machine.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "name": { - "description": "Instance name of the host machine.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - } - }, - "type": "object" - } - }, - "machine": { - "properties": { - "properties": { - "properties": { - "type": { - "description": "Machine type of the host machine.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - } - }, - "type": "object" - } - }, - "project": { - "properties": { - "properties": { - "properties": { - "id": { - "description": "The cloud project identifier. Examples: Google Cloud Project id, Azure Project id.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "name": { - "description": "The cloud project name. Examples: Google Cloud Project name, Azure Project name.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - } - }, - "type": "object" - } - }, - "provider": { - "description": "Name of the cloud provider. Example values are aws, azure, gcp, or digitalocean.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "region": { - "description": "Region in which this host is running.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "service": { - "properties": { - "properties": { - "properties": { - "name": { - "description": "The cloud service name is intended to distinguish services running on different platforms within a provider, eg AWS EC2 vs Lambda, GCP GCE vs App Engine, Azure VM vs App Server. Examples: app engine, app service, cloud run, fargate, lambda.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - } - }, - "type": "object" - } - } - } - }, - "type": "object" - }, - "type": "object" - }, - "container": { - "description": "Container fields are used for meta information about the specific container that is the source of information.\nThese fields help correlate data based containers from any runtime.", - "properties": { - "properties": { - "properties": { - "id": { - "description": "Unique container id.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "image": { - "properties": { - "properties": { - "properties": { - "name": { - "description": "Name of the image the container was built on.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "tag": { - "description": "Container image tags.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - } - }, - "type": "object" - } - }, - "labels": { - "description": "Image labels.", - "properties": { - "type": { - "$ref": "#/definitions/types/object" - } - }, - "type": "object" - }, - "name": { - "description": "Container name.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "runtime": { - "description": "Runtime managing this container.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - } - }, - "type": "object" - }, - "type": "object" - }, - "data_stream": { - "description": "The data_stream fields take part in defining the new data stream naming scheme.\nIn the new data stream naming scheme the value of the data stream fields combine to the name of the actual data stream in the following manner: `{data_stream.type}-{data_stream.dataset}-{data_stream.namespace}`. This means the fields can only contain characters that are valid as part of names of data streams. More details about this can be found in this https://www.elastic.co/blog/an-introduction-to-the-elastic-data-stream-naming-scheme[blog post].\nAn Elasticsearch data stream consists of one or more backing indices, and a data stream name forms part of the backing indices names. Due to this convention, data streams must also follow index naming restrictions. For example, data stream names cannot include `\\`, `/`, `*`, `?`, `\"`, `<`, `>`, `|`, ` ` (space character), `,`, or `#`. Please see the Elasticsearch reference for additional https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-create-index.html#indices-create-api-path-params[restrictions].", - "properties": { - "properties": { - "properties": { - "dataset": { - "description": "The field can contain anything that makes sense to signify the source of the data. Examples include `nginx.access`, `prometheus`, `endpoint` etc. For data streams that otherwise fit, but that do not have dataset set we use the value \"generic\" for the dataset value. `event.dataset` should have the same value as `data_stream.dataset`. Beyond the Elasticsearch data stream naming criteria noted above, the `dataset` value has additional restrictions: * Must not contain `-` * No longer than 100 characters", - "properties": { - "type": { - "$ref": "#/definitions/types/constant_keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "namespace": { - "description": "A user defined namespace. Namespaces are useful to allow grouping of data. Many users already organize their indices this way, and the data stream naming scheme now provides this best practice as a default. Many users will populate this field with `default`. If no value is used, it falls back to `default`. Beyond the Elasticsearch index naming criteria noted above, `namespace` value has the additional restrictions: * Must not contain `-` * No longer than 100 characters", - "properties": { - "type": { - "$ref": "#/definitions/types/constant_keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "type": { - "description": "An overarching type for the data stream. Currently allowed values are \"logs\" and \"metrics\". We expect to also add \"traces\" and \"synthetics\" in the near future.", - "properties": { - "type": { - "$ref": "#/definitions/types/constant_keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - } - }, - "type": "object" - }, - "type": "object" - }, - "destination": { - "description": "Destination fields capture details about the receiver of a network exchange/packet. These fields are populated from a network event, packet, or other event containing details of a network transaction.\nDestination fields are usually populated in conjunction with source fields. The source and destination fields are considered the baseline and should always be filled if an event contains source and destination details from a network transaction. If the event also contains identification of the client and server roles, then the client and server fields should also be populated.", - "properties": { - "properties": { - "properties": { - "address": { - "description": "Some event destination addresses are defined ambiguously. The event will sometimes list an IP, a domain or a unix socket. You should always store the raw address in the `.address` field. Then it should be duplicated to `.ip` or `.domain`, depending on which one it is.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "as": { - "properties": { - "properties": { - "properties": { - "number": { - "description": "Unique number allocated to the autonomous system. The autonomous system number (ASN) uniquely identifies each network on the Internet.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "organization": { - "properties": { - "properties": { - "properties": { - "name": { - "description": "Organization name.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - } - } - }, - "type": "object" - } - } - } - }, - "type": "object" - } - }, - "bytes": { - "description": "Bytes sent from the destination to the source.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "domain": { - "description": "Destination domain.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "geo": { - "properties": { - "properties": { - "properties": { - "city_name": { - "description": "City name.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "continent_code": { - "description": "Two-letter code representing continent's name.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "continent_name": { - "description": "Name of the continent.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "country_iso_code": { - "description": "Country ISO code.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "country_name": { - "description": "Country name.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "location": { - "description": "Longitude and latitude.", - "properties": { - "type": { - "$ref": "#/definitions/types/geo_point" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "name": { - "description": "User-defined description of a location, at the level of granularity they care about. Could be the name of their data centers, the floor number, if this describes a local physical entity, city names. Not typically used in automated geolocation.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "postal_code": { - "description": "Postal code associated with the location. Values appropriate for this field may also be known as a postcode or ZIP code and will vary widely from country to country.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "region_iso_code": { - "description": "Region ISO code.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "region_name": { - "description": "Region name.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "timezone": { - "description": "The time zone of the location, such as IANA time zone name.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - } - }, - "type": "object" - } - }, - "ip": { - "description": "IP address of the destination (IPv4 or IPv6).", - "properties": { - "type": { - "$ref": "#/definitions/types/ip" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "mac": { - "description": "MAC address of the destination. The notation format from RFC 7042 is suggested: Each octet (that is, 8-bit byte) is represented by two [uppercase] hexadecimal digits giving the value of the octet as an unsigned integer. Successive octets are separated by a hyphen.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "nat": { - "properties": { - "properties": { - "properties": { - "ip": { - "description": "Translated ip of destination based NAT sessions (e.g. internet to private DMZ) Typically used with load balancers, firewalls, or routers.", - "properties": { - "type": { - "$ref": "#/definitions/types/ip" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "port": { - "description": "Port the source session is translated to by NAT Device. Typically used with load balancers, firewalls, or routers.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - } - } - }, - "type": "object" - } - }, - "packets": { - "description": "Packets sent from the destination to the source.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "port": { - "description": "Port of the destination.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "registered_domain": { - "description": "The highest registered destination domain, stripped of the subdomain. For example, the registered domain for \"foo.example.com\" is \"example.com\". This value can be determined precisely with a list like the public suffix list (http://publicsuffix.org). Trying to approximate this by simply taking the last two labels will not work well for TLDs such as \"co.uk\".", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "subdomain": { - "description": "The subdomain portion of a fully qualified domain name includes all of the names except the host name under the registered_domain. In a partially qualified domain, or if the the qualification level of the full name cannot be determined, subdomain contains all of the names below the registered domain. For example the subdomain portion of \"www.east.mydomain.co.uk\" is \"east\". If the domain has multiple levels of subdomain, such as \"sub2.sub1.example.com\", the subdomain field should contain \"sub2.sub1\", with no trailing period.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "top_level_domain": { - "description": "The effective top level domain (eTLD), also known as the domain suffix, is the last part of the domain name. For example, the top level domain for example.com is \"com\". This value can be determined precisely with a list like the public suffix list (http://publicsuffix.org). Trying to approximate this by simply taking the last label will not work well for effective TLDs such as \"co.uk\".", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "user": { - "properties": { - "properties": { - "properties": { - "domain": { - "description": "Name of the directory the user is a member of. For example, an LDAP or Active Directory domain name.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "email": { - "description": "User email address.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "full_name": { - "description": "User's full name, if available.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "group": { - "properties": { - "properties": { - "properties": { - "domain": { - "description": "Name of the directory the group is a member of. For example, an LDAP or Active Directory domain name.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "id": { - "description": "Unique identifier for the group on the system/platform.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "name": { - "description": "Name of the group.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - } - }, - "type": "object" - } - }, - "hash": { - "description": "Unique user hash to correlate information for a user in anonymized form. Useful if `user.id` or `user.name` contain confidential information and cannot be used.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "id": { - "description": "Unique identifier of the user.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "name": { - "description": "Short name or login of the user.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "roles": { - "description": "Array of user roles at the time of the event.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - } - }, - "type": "object" - } - } - } - }, - "type": "object" - }, - "type": "object" - }, - "dll": { - "description": "These fields contain information about code libraries dynamically loaded into processes.\n\nMany operating systems refer to \"shared code libraries\" with different names, but this field set refers to all of the following:\n* Dynamic-link library (`.dll`) commonly used on Windows\n* Shared Object (`.so`) commonly used on Unix-like operating systems\n* Dynamic library (`.dylib`) commonly used on macOS", - "properties": { - "properties": { - "properties": { - "code_signature": { - "properties": { - "properties": { - "properties": { - "exists": { - "description": "Boolean to capture if a signature is present.", - "properties": { - "type": { - "$ref": "#/definitions/types/boolean" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "signing_id": { - "description": "The identifier used to sign the process. This is used to identify the application manufactured by a software vendor. The field is relevant to Apple *OS only.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "status": { - "description": "Additional information about the certificate status. This is useful for logging cryptographic errors with the certificate validity or trust status. Leave unpopulated if the validity or trust of the certificate was unchecked.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "subject_name": { - "description": "Subject name of the code signer", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "team_id": { - "description": "The team identifier used to sign the process. This is used to identify the team or vendor of a software product. The field is relevant to Apple *OS only.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "trusted": { - "description": "Stores the trust status of the certificate chain. Validating the trust of the certificate chain may be complicated, and this field should only be populated by tools that actively check the status.", - "properties": { - "type": { - "$ref": "#/definitions/types/boolean" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "valid": { - "description": "Boolean to capture if the digital signature is verified against the binary content. Leave unpopulated if a certificate was unchecked.", - "properties": { - "type": { - "$ref": "#/definitions/types/boolean" - } - }, - "required": [ - "type" - ], - "type": "object" - } - } - }, - "type": "object" - } - }, - "hash": { - "properties": { - "properties": { - "properties": { - "md5": { - "description": "MD5 hash.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "sha1": { - "description": "SHA1 hash.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "sha256": { - "description": "SHA256 hash.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "sha512": { - "description": "SHA512 hash.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "ssdeep": { - "description": "SSDEEP hash.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - } - }, - "type": "object" - } - }, - "name": { - "description": "Name of the library. This generally maps to the name of the file on disk.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "path": { - "description": "Full file path of the library.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "pe": { - "properties": { - "properties": { - "properties": { - "architecture": { - "description": "CPU architecture target for the file.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "authentihash": { - "description": "Authentihash of the PE file.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "company": { - "description": "Internal company name of the file, provided at compile-time.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "compile_timestamp": { - "description": "Compile timestamp of the PE file.", - "properties": { - "type": { - "$ref": "#/definitions/types/date" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "compiler": { - "properties": { - "properties": { - "properties": { - "name": { - "description": "Name of the compiler", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "version": { - "description": "Version of the compiler.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - } - }, - "type": "object" - } - }, - "creation_date": { - "description": "Extracted when possible from the file's metadata. Indicates when it was built or compiled. It can also be faked by malware creators.", - "properties": { - "type": { - "$ref": "#/definitions/types/date" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "debug": { - "description": "An array containing an object for each debug entry, if present. The expected fields for this nested object fall under the `debug.` prefix.", - "properties": { - "properties": { - "properties": { - "offset": { - "description": "Debug offset information.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "size": { - "description": "Size of the debug information.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "timestamp": { - "description": "Timestamp of the debug information.", - "properties": { - "type": { - "$ref": "#/definitions/types/date" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "type": { - "description": "Information type generated by the debug options.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - } - }, - "type": { - "$ref": "#/definitions/types/nested" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "description": { - "description": "Internal description of the file, provided at compile-time.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "entry_point": { - "description": "Relative byte offset to the base of the PE file.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "exports": { - "description": "List of symbols exported by PE", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "file_version": { - "description": "Internal version of the file, provided at compile-time.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "icon": { - "properties": { - "properties": { - "properties": { - "hash": { - "properties": { - "properties": { - "properties": { - "dhash": { - "description": "Difference Hash (dhash) to find files with a visually similar icon or thumbnail.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - } - }, - "type": "object" - } - } - } - }, - "type": "object" - } - }, - "imphash": { - "description": "A hash of the imports in a PE file. An imphash -- or import hash -- can be used to fingerprint binaries even after recompilation or other code-level transformations have occurred, which would change more traditional hash values. Learn more at https://www.fireeye.com/blog/threat-research/2014/01/tracking-malware-import-hashing.html.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "imports": { - "description": "List of all imported functions", - "properties": { - "type": { - "$ref": "#/definitions/types/flattened" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "machine_type": { - "description": "Machine type of the PE file.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "original_file_name": { - "description": "Internal name of the file, provided at compile-time.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "packers": { - "description": "List of packers and tools used.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "product": { - "description": "Internal product name of the file, provided at compile-time.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "resources": { - "description": "An array containing an object for each PE resource, if present. The expected fields for this nested object fall under the `resources.` prefix.", - "properties": { - "properties": { - "properties": { - "chi2": { - "description": "Chi-square probability distribution.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "entropy": { - "description": "Measurement of entropy randomness in the resources section.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "filetype": { - "description": "File type of the resources section.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "language": { - "description": "Language identification.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "sha256": { - "description": "SHA256 hash of resources section.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "type": { - "description": "Digest of resource types.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - } - }, - "type": { - "$ref": "#/definitions/types/nested" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "rich_header": { - "properties": { - "properties": { - "properties": { - "hash": { - "properties": { - "properties": { - "properties": { - "md5": { - "description": "MD5 hash of the header for the PE file.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - } - }, - "type": "object" - } - } - } - }, - "type": "object" - } - }, - "sections": { - "description": "Data about sections of compiled binary PE", - "properties": { - "properties": { - "properties": { - "chi2": { - "description": "Chi-square probability distribution.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "entropy": { - "description": "Measurement of entropy randomness in the file.", - "properties": { - "type": { - "$ref": "#/definitions/types/float" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "flags": { - "description": "Section flags of the file.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "name": { - "description": "Section names of the file.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "raw_size": { - "description": "Size of the section or the dize of the initialized data on disk.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "virtual_address": { - "description": "Virtual address available to the file.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - } - } - }, - "type": { - "$ref": "#/definitions/types/nested" - } - }, - "required": [ - "type" - ], - "type": "object" - } - } - }, - "type": "object" - } - } - } - }, - "type": "object" - }, - "type": "object" - }, - "dns": { - "description": "Fields describing DNS queries and answers.\nDNS events should either represent a single DNS query prior to getting answers (`dns.type:query`) or they should represent a full exchange and contain the query details as well as all of the answers that were provided for this query (`dns.type:answer`).", - "properties": { - "properties": { - "properties": { - "answers": { - "description": "An array containing an object for each answer section returned by the server. The main keys that should be present in these objects are defined by ECS. Records that have more information may contain more keys than what ECS defines. Not all DNS data sources give all details about DNS answers. At minimum, answer objects must contain the `data` key. If more information is available, map as much of it to ECS as possible, and add any additional fields to the answer objects as custom fields.", - "properties": { - "properties": { - "properties": { - "class": { - "description": "The class of DNS data contained in this resource record.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "data": { - "description": "The data describing the resource. The meaning of this data depends on the type and class of the resource record.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "name": { - "description": "The domain name to which this resource record pertains. If a chain of CNAME is being resolved, each answer's `name` should be the one that corresponds with the answer's `data`. It should not simply be the original `question.name` repeated.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "ttl": { - "description": "The time interval in seconds that this resource record may be cached before it should be discarded. Zero values mean that the data should not be cached.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "type": { - "description": "The type of data contained in this resource record.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - } - }, - "type": { - "$ref": "#/definitions/types/object" - } - }, - "type": "object" - }, - "header_flags": { - "description": "Array of 2 letter DNS header flags. Expected values are: AA, TC, RD, RA, AD, CD, DO.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "id": { - "description": "The DNS packet identifier assigned by the program that generated the query. The identifier is copied to the response.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "op_code": { - "description": "The DNS operation code that specifies the kind of query in the message. This value is set by the originator of a query and copied into the response.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "question": { - "properties": { - "properties": { - "properties": { - "class": { - "description": "The class of records being queried.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "name": { - "description": "The name being queried. If the name field contains non-printable characters (below 32 or above 126), those characters should be represented as escaped base 10 integers (\\DDD). Back slashes and quotes should be escaped. Tabs, carriage returns, and line feeds should be converted to \\t, \\r, and \\n respectively.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "registered_domain": { - "description": "The highest registered domain, stripped of the subdomain. For example, the registered domain for \"foo.example.com\" is \"example.com\". This value can be determined precisely with a list like the public suffix list (http://publicsuffix.org). Trying to approximate this by simply taking the last two labels will not work well for TLDs such as \"co.uk\".", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "subdomain": { - "description": "The subdomain is all of the labels under the registered_domain. If the domain has multiple levels of subdomain, such as \"sub2.sub1.example.com\", the subdomain field should contain \"sub2.sub1\", with no trailing period.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "top_level_domain": { - "description": "The effective top level domain (eTLD), also known as the domain suffix, is the last part of the domain name. For example, the top level domain for example.com is \"com\". This value can be determined precisely with a list like the public suffix list (http://publicsuffix.org). Trying to approximate this by simply taking the last label will not work well for effective TLDs such as \"co.uk\".", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "type": { - "description": "The type of record being queried.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - } - }, - "type": "object" - } - }, - "resolved_ip": { - "description": "Array containing all IPs seen in `answers.data`. The `answers` array can be difficult to use, because of the variety of data formats it can contain. Extracting all IP addresses seen in there to `dns.resolved_ip` makes it possible to index them as IP addresses, and makes them easier to visualize and query for.", - "properties": { - "type": { - "$ref": "#/definitions/types/ip" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "response_code": { - "description": "The DNS response code.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "type": { - "description": "The type of DNS event captured, query or answer. If your source of DNS events only gives you DNS queries, you should only create dns events of type `dns.type:query`. If your source of DNS events gives you answers as well, you should create one event per query (optionally as soon as the query is seen). And a second event containing all query details as well as an array of answers.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - } - }, - "type": "object" - }, - "type": "object" - }, - "ecs": { - "description": "Meta-information specific to ECS.", - "properties": { - "properties": { - "properties": { - "version": { - "description": "ECS version this event conforms to. `ecs.version` is a required field and must exist in all events. When querying across multiple indices -- which may conform to slightly different ECS versions -- this field lets integrations adjust to the schema version of the events.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - } - }, - "type": "object" - }, - "type": "object" - }, - "error": { - "description": "These fields can represent errors of any kind.\nUse them for errors that happen while fetching events or in cases where the event itself contains an error.", - "properties": { - "properties": { - "properties": { - "code": { - "description": "Error code describing the error.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "id": { - "description": "Unique identifier for the error.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "message": { - "description": "Error message.", - "properties": { - "type": { - "$ref": "#/definitions/types/text" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "stack_trace": { - "description": "The stack trace of this error in plain text.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "type": { - "description": "The type of the error, for example the class name of the exception.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - } - } - }, - "type": "object" - }, - "type": "object" - }, - "event": { - "description": "The event fields are used for context information about the log or metric event itself.\nA log is defined as an event containing details of something that happened. Log events must include the time at which the thing happened. Examples of log events include a process starting on a host, a network packet being sent from a source to a destination, or a network connection between a client and a server being initiated or closed. A metric is defined as an event containing one or more numerical measurements and the time at which the measurement was taken. Examples of metric events include memory pressure measured on a host and device temperature. See the `event.kind` definition in this section for additional details about metric and state events.", - "properties": { - "properties": { - "properties": { - "action": { - "description": "The action captured by the event. This describes the information in the event. It is more specific than `event.category`. Examples are `group-add`, `process-started`, `file-created`. The value is normally defined by the implementer.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "category": { - "description": "This is one of four ECS Categorization Fields, and indicates the second level in the ECS category hierarchy. `event.category` represents the \"big buckets\" of ECS categories. For example, filtering on `event.category:process` yields all events relating to process activity. This field is closely related to `event.type`, which is used as a subcategory. This field is an array. This will allow proper categorization of some events that fall in multiple categories.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "code": { - "description": "Identification code for this event, if one exists. Some event sources use event codes to identify messages unambiguously, regardless of message language or wording adjustments over time. An example of this is the Windows Event ID.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "created": { - "description": "event.created contains the date/time when the event was first read by an agent, or by your pipeline. This field is distinct from @timestamp in that @timestamp typically contain the time extracted from the original event. In most situations, these two timestamps will be slightly different. The difference can be used to calculate the delay between your source generating an event, and the time when your agent first processed it. This can be used to monitor your agent's or pipeline's ability to keep up with your event source. In case the two timestamps are identical, @timestamp should be used.", - "properties": { - "type": { - "$ref": "#/definitions/types/date" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "dataset": { - "description": "Name of the dataset. If an event source publishes more than one type of log or events (e.g. access log, error log), the dataset is used to specify which one the event comes from. It's recommended but not required to start the dataset name with the module name, followed by a dot, then the dataset name.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "duration": { - "description": "Duration of the event in nanoseconds. If event.start and event.end are known this value should be the difference between the end and start time.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "end": { - "description": "event.end contains the date when the event ended or when the activity was last observed.", - "properties": { - "type": { - "$ref": "#/definitions/types/date" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "hash": { - "description": "Hash (perhaps logstash fingerprint) of raw field to be able to demonstrate log integrity.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "id": { - "description": "Unique ID to describe the event.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "ingested": { - "description": "Timestamp when an event arrived in the central data store. This is different from `@timestamp`, which is when the event originally occurred. It's also different from `event.created`, which is meant to capture the first time an agent saw the event. In normal conditions, assuming no tampering, the timestamps should chronologically look like this: `@timestamp` < `event.created` < `event.ingested`.", - "properties": { - "type": { - "$ref": "#/definitions/types/date" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "kind": { - "description": "This is one of four ECS Categorization Fields, and indicates the highest level in the ECS category hierarchy. `event.kind` gives high-level information about what type of information the event contains, without being specific to the contents of the event. For example, values of this field distinguish alert events from metric events. The value of this field can be used to inform how these kinds of events should be handled. They may warrant different retention, different access control, it may also help understand whether the data coming in at a regular interval or not.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "module": { - "description": "Name of the module this data is coming from. If your monitoring agent supports the concept of modules or plugins to process events of a given source (e.g. Apache logs), `event.module` should contain the name of this module.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "original": { - "description": "Raw text message of entire event. Used to demonstrate log integrity. This field is not indexed and doc_values are disabled. It cannot be searched, but it can be retrieved from `_source`. If users wish to override this and index this field, consider using the wildcard data type.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "outcome": { - "description": "This is one of four ECS Categorization Fields, and indicates the lowest level in the ECS category hierarchy. `event.outcome` simply denotes whether the event represents a success or a failure from the perspective of the entity that produced the event. Note that when a single transaction is described in multiple events, each event may populate different values of `event.outcome`, according to their perspective. Also note that in the case of a compound event (a single event that contains multiple logical events), this field should be populated with the value that best captures the overall success or failure from the perspective of the event producer. Further note that not all events will have an associated outcome. For example, this field is generally not populated for metric events, events with `event.type:info`, or any events for which an outcome does not make logical sense.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "provider": { - "description": "Source of the event. Event transports such as Syslog or the Windows Event Log typically mention the source of an event. It can be the name of the software that generated the event (e.g. Sysmon, httpd), or of a subsystem of the operating system (kernel, Microsoft-Windows-Security-Auditing).", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "reason": { - "description": "Reason why this event happened, according to the source. This describes the why of a particular action or outcome captured in the event. Where `event.action` captures the action from the event, `event.reason` describes why that action was taken. For example, a web proxy with an `event.action` which denied the request may also populate `event.reason` with the reason why (e.g. `blocked site`).", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "reference": { - "description": "Reference URL linking to additional information about this event. This URL links to a static definition of this event. Alert events, indicated by `event.kind:alert`, are a common use case for this field.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "risk_score": { - "description": "Risk score or priority of the event (e.g. security solutions). Use your system's original value here.", - "properties": { - "type": { - "$ref": "#/definitions/types/float" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "risk_score_norm": { - "description": "Normalized risk score or priority of the event, on a scale of 0 to 100. This is mainly useful if you use more than one system that assigns risk scores, and you want to see a normalized value across all systems.", - "properties": { - "type": { - "$ref": "#/definitions/types/float" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "sequence": { - "description": "Sequence number of the event. The sequence number is a value published by some event sources, to make the exact ordering of events unambiguous, regardless of the timestamp precision.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "severity": { - "description": "The numeric severity of the event according to your event source. What the different severity values mean can be different between sources and use cases. It's up to the implementer to make sure severities are consistent across events from the same source. The Syslog severity belongs in `log.syslog.severity.code`. `event.severity` is meant to represent the severity according to the event source (e.g. firewall, IDS). If the event source does not publish its own severity, you may optionally copy the `log.syslog.severity.code` to `event.severity`.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "start": { - "description": "event.start contains the date when the event started or when the activity was first observed.", - "properties": { - "type": { - "$ref": "#/definitions/types/date" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "timezone": { - "description": "This field should be populated when the event's timestamp does not include timezone information already (e.g. default Syslog timestamps). It's optional otherwise. Acceptable timezone formats are: a canonical ID (e.g. \"Europe/Amsterdam\"), abbreviated (e.g. \"EST\") or an HH:mm differential (e.g. \"-05:00\").", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "type": { - "description": "This is one of four ECS Categorization Fields, and indicates the third level in the ECS category hierarchy. `event.type` represents a categorization \"sub-bucket\" that, when used along with the `event.category` field values, enables filtering events down to a level appropriate for single visualization. This field is an array. This will allow proper categorization of some events that fall in multiple event types.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "url": { - "description": "URL linking to an external system to continue investigation of this event. This URL links to another system where in-depth investigation of the specific occurrence of this event can take place. Alert events, indicated by `event.kind:alert`, are a common use case for this field.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - } - }, - "type": "object" - }, - "type": "object" - }, - "file": { - "description": "A file is defined as a set of information that has been created on, or has existed on a filesystem.\nFile 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.", - "properties": { - "properties": { - "properties": { - "accessed": { - "description": "Last time the file was accessed. Note that not all filesystems keep track of access time.", - "properties": { - "type": { - "$ref": "#/definitions/types/date" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "attributes": { - "description": "Array of file attributes. Attributes names will vary by platform. Here's a non-exhaustive list of values that are expected in this field: archive, compressed, directory, encrypted, execute, hidden, read, readonly, system, write.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "code_signature": { - "properties": { - "properties": { - "properties": { - "exists": { - "description": "Boolean to capture if a signature is present.", - "properties": { - "type": { - "$ref": "#/definitions/types/boolean" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "signing_id": { - "description": "The identifier used to sign the process. This is used to identify the application manufactured by a software vendor. The field is relevant to Apple *OS only.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "status": { - "description": "Additional information about the certificate status. This is useful for logging cryptographic errors with the certificate validity or trust status. Leave unpopulated if the validity or trust of the certificate was unchecked.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "subject_name": { - "description": "Subject name of the code signer", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "team_id": { - "description": "The team identifier used to sign the process. This is used to identify the team or vendor of a software product. The field is relevant to Apple *OS only.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "trusted": { - "description": "Stores the trust status of the certificate chain. Validating the trust of the certificate chain may be complicated, and this field should only be populated by tools that actively check the status.", - "properties": { - "type": { - "$ref": "#/definitions/types/boolean" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "valid": { - "description": "Boolean to capture if the digital signature is verified against the binary content. Leave unpopulated if a certificate was unchecked.", - "properties": { - "type": { - "$ref": "#/definitions/types/boolean" - } - }, - "required": [ - "type" - ], - "type": "object" - } - } - }, - "type": "object" - } - }, - "created": { - "description": "File creation time. Note that not all filesystems store the creation time.", - "properties": { - "type": { - "$ref": "#/definitions/types/date" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "ctime": { - "description": "Last time the file attributes or metadata changed. Note that changes to the file content will update `mtime`. This implies `ctime` will be adjusted at the same time, since `mtime` is an attribute of the file.", - "properties": { - "type": { - "$ref": "#/definitions/types/date" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "device": { - "description": "Device that is the source of the file.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "directory": { - "description": "Directory where the file is located. It should include the drive letter, when appropriate.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "drive_letter": { - "description": "Drive letter where the file is located. This field is only relevant on Windows. The value should be uppercase, and not include the colon.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "elf": { - "properties": { - "properties": { - "properties": { - "architecture": { - "description": "Machine architecture of the ELF file.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "byte_order": { - "description": "Byte sequence of ELF file.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "cpu_type": { - "description": "CPU type of the ELF file.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "creation_date": { - "description": "Extracted when possible from the file's metadata. Indicates when it was built or compiled. It can also be faked by malware creators.", - "properties": { - "type": { - "$ref": "#/definitions/types/date" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "exports": { - "description": "List of exported element names and types.", - "properties": { - "type": { - "$ref": "#/definitions/types/flattened" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "header": { - "properties": { - "properties": { - "properties": { - "abi_version": { - "description": "Version of the ELF Application Binary Interface (ABI).", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "class": { - "description": "Header class of the ELF file.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "data": { - "description": "Data table of the ELF header.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "entrypoint": { - "description": "Header entrypoint of the ELF file.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "object_version": { - "description": "\"0x1\" for original ELF files.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "os_abi": { - "description": "Application Binary Interface (ABI) of the Linux OS.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "type": { - "description": "Header type of the ELF file.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "version": { - "description": "Version of the ELF header.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - } - }, - "type": "object" - } - }, - "imports": { - "description": "List of imported element names and types.", - "properties": { - "type": { - "$ref": "#/definitions/types/flattened" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "sections": { - "description": "Section information of the ELF file.", - "properties": { - "properties": { - "properties": { - "chi2": { - "description": "Chi-square probability distribution of the section.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "entropy": { - "description": "Shannon entropy calculation from the section.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "flags": { - "description": "ELF Section List flags.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "name": { - "description": "ELF Section List name.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "physical_offset": { - "description": "ELF Section List offset.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "physical_size": { - "description": "ELF Section List physical size.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "type": { - "description": "ELF Section List type.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "virtual_address": { - "description": "ELF Section List virtual address.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "virtual_size": { - "description": "ELF Section List virtual size.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - } - } - }, - "type": { - "$ref": "#/definitions/types/nested" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "segments": { - "description": "ELF object segment list.", - "properties": { - "properties": { - "properties": { - "sections": { - "description": "ELF object segment sections.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "type": { - "description": "ELF object segment type.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - } - }, - "type": { - "$ref": "#/definitions/types/nested" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "shared_libraries": { - "description": "List of shared libraries used by this ELF object", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "telfhash": { - "description": "telfhash is symbol hash for ELF files, just like imphash is imports hash for PE files. Learn more at https://github.com/trendmicro/telfhash.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - } - }, - "type": "object" - } - }, - "extension": { - "description": "File extension, excluding the leading dot. Note that when the file name has multiple extensions (example.tar.gz), only the last one should be captured (\"gz\", not \"tar.gz\").", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "gid": { - "description": "Primary group ID (GID) of the file.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "group": { - "description": "Primary group name of the file.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "hash": { - "properties": { - "properties": { - "properties": { - "md5": { - "description": "MD5 hash.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "sha1": { - "description": "SHA1 hash.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "sha256": { - "description": "SHA256 hash.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "sha512": { - "description": "SHA512 hash.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "ssdeep": { - "description": "SSDEEP hash.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - } - }, - "type": "object" - } - }, - "inode": { - "description": "Inode representing the file in the filesystem.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "mime_type": { - "description": "MIME type should identify the format of the file or stream of bytes using https://www.iana.org/assignments/media-types/media-types.xhtml[IANA official types], where possible. When more than one type is applicable, the most specific type should be used.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "mode": { - "description": "Mode of the file in octal representation.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "mtime": { - "description": "Last time the file content was modified.", - "properties": { - "type": { - "$ref": "#/definitions/types/date" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "name": { - "description": "Name of the file including the extension, without the directory.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "owner": { - "description": "File owner's username.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "path": { - "description": "Full path to the file, including the file name. It should include the drive letter, when appropriate.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "pe": { - "properties": { - "properties": { - "properties": { - "architecture": { - "description": "CPU architecture target for the file.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "authentihash": { - "description": "Authentihash of the PE file.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "company": { - "description": "Internal company name of the file, provided at compile-time.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "compile_timestamp": { - "description": "Compile timestamp of the PE file.", - "properties": { - "type": { - "$ref": "#/definitions/types/date" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "compiler": { - "properties": { - "properties": { - "properties": { - "name": { - "description": "Name of the compiler", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "version": { - "description": "Version of the compiler.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - } - }, - "type": "object" - } - }, - "creation_date": { - "description": "Extracted when possible from the file's metadata. Indicates when it was built or compiled. It can also be faked by malware creators.", - "properties": { - "type": { - "$ref": "#/definitions/types/date" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "debug": { - "description": "An array containing an object for each debug entry, if present. The expected fields for this nested object fall under the `debug.` prefix.", - "properties": { - "properties": { - "properties": { - "offset": { - "description": "Debug offset information.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "size": { - "description": "Size of the debug information.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "timestamp": { - "description": "Timestamp of the debug information.", - "properties": { - "type": { - "$ref": "#/definitions/types/date" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "type": { - "description": "Information type generated by the debug options.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - } - }, - "type": { - "$ref": "#/definitions/types/nested" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "description": { - "description": "Internal description of the file, provided at compile-time.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "entry_point": { - "description": "Relative byte offset to the base of the PE file.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "exports": { - "description": "List of symbols exported by PE", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "file_version": { - "description": "Internal version of the file, provided at compile-time.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "icon": { - "properties": { - "properties": { - "properties": { - "hash": { - "properties": { - "properties": { - "properties": { - "dhash": { - "description": "Difference Hash (dhash) to find files with a visually similar icon or thumbnail.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - } - }, - "type": "object" - } - } - } - }, - "type": "object" - } - }, - "imphash": { - "description": "A hash of the imports in a PE file. An imphash -- or import hash -- can be used to fingerprint binaries even after recompilation or other code-level transformations have occurred, which would change more traditional hash values. Learn more at https://www.fireeye.com/blog/threat-research/2014/01/tracking-malware-import-hashing.html.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "imports": { - "description": "List of all imported functions", - "properties": { - "type": { - "$ref": "#/definitions/types/flattened" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "machine_type": { - "description": "Machine type of the PE file.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "original_file_name": { - "description": "Internal name of the file, provided at compile-time.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "packers": { - "description": "List of packers and tools used.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "product": { - "description": "Internal product name of the file, provided at compile-time.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "resources": { - "description": "An array containing an object for each PE resource, if present. The expected fields for this nested object fall under the `resources.` prefix.", - "properties": { - "properties": { - "properties": { - "chi2": { - "description": "Chi-square probability distribution.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "entropy": { - "description": "Measurement of entropy randomness in the resources section.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "filetype": { - "description": "File type of the resources section.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "language": { - "description": "Language identification.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "sha256": { - "description": "SHA256 hash of resources section.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "type": { - "description": "Digest of resource types.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - } - }, - "type": { - "$ref": "#/definitions/types/nested" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "rich_header": { - "properties": { - "properties": { - "properties": { - "hash": { - "properties": { - "properties": { - "properties": { - "md5": { - "description": "MD5 hash of the header for the PE file.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - } - }, - "type": "object" - } - } - } - }, - "type": "object" - } - }, - "sections": { - "description": "Data about sections of compiled binary PE", - "properties": { - "properties": { - "properties": { - "chi2": { - "description": "Chi-square probability distribution.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "entropy": { - "description": "Measurement of entropy randomness in the file.", - "properties": { - "type": { - "$ref": "#/definitions/types/float" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "flags": { - "description": "Section flags of the file.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "name": { - "description": "Section names of the file.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "raw_size": { - "description": "Size of the section or the dize of the initialized data on disk.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "virtual_address": { - "description": "Virtual address available to the file.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - } - } - }, - "type": { - "$ref": "#/definitions/types/nested" - } - }, - "required": [ - "type" - ], - "type": "object" - } - } - }, - "type": "object" - } - }, - "size": { - "description": "File size in bytes. Only relevant when `file.type` is \"file\".", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "target_path": { - "description": "Target path for symlinks.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "type": { - "description": "File type (file, dir, or symlink).", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "uid": { - "description": "The user ID (UID) or security identifier (SID) of the file owner.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "x509": { - "properties": { - "properties": { - "properties": { - "alternative_names": { - "description": "List of subject alternative names (SAN). Name types vary by certificate authority and certificate type but commonly contain IP addresses, DNS names (and wildcards), and email addresses.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "issuer": { - "properties": { - "properties": { - "properties": { - "common_name": { - "description": "List of common name (CN) of issuing certificate authority.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "country": { - "description": "List of country (C) codes", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "distinguished_name": { - "description": "Distinguished name (DN) of issuing certificate authority.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "locality": { - "description": "List of locality names (L)", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "organization": { - "description": "List of organizations (O) of issuing certificate authority.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "organizational_unit": { - "description": "List of organizational units (OU) of issuing certificate authority.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "state_or_province": { - "description": "List of state or province names (ST, S, or P)", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - } - }, - "type": "object" - } - }, - "not_after": { - "description": "Time at which the certificate is no longer considered valid.", - "properties": { - "type": { - "$ref": "#/definitions/types/date" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "not_before": { - "description": "Time at which the certificate is first considered valid.", - "properties": { - "type": { - "$ref": "#/definitions/types/date" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "public_key_algorithm": { - "description": "Algorithm used to generate the public key.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "public_key_curve": { - "description": "The curve used by the elliptic curve public key algorithm. This is algorithm specific.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "public_key_exponent": { - "description": "Exponent used to derive the public key. This is algorithm specific.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "public_key_size": { - "description": "The size of the public key space in bits.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "serial_number": { - "description": "Unique serial number issued by the certificate authority. For consistency, if this value is alphanumeric, it should be formatted without colons and uppercase characters.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "signature_algorithm": { - "description": "Identifier for certificate signature algorithm. We recommend using names found in Go Lang Crypto library. See https://github.com/golang/go/blob/go1.14/src/crypto/x509/x509.go#L337-L353.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "subject": { - "properties": { - "properties": { - "properties": { - "common_name": { - "description": "List of common names (CN) of subject.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "country": { - "description": "List of country (C) code", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "distinguished_name": { - "description": "Distinguished name (DN) of the certificate subject entity.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "locality": { - "description": "List of locality names (L)", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "organization": { - "description": "List of organizations (O) of subject.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "organizational_unit": { - "description": "List of organizational units (OU) of subject.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "state_or_province": { - "description": "List of state or province names (ST, S, or P)", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - } - }, - "type": "object" - } - }, - "version_number": { - "description": "Version of x509 format.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - } - }, - "type": "object" - } - } - } - }, - "type": "object" - }, - "type": "object" - }, - "group": { - "description": "The group fields are meant to represent groups that are relevant to the event.", - "properties": { - "properties": { - "properties": { - "domain": { - "description": "Name of the directory the group is a member of. For example, an LDAP or Active Directory domain name.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "id": { - "description": "Unique identifier for the group on the system/platform.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "name": { - "description": "Name of the group.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - } - }, - "type": "object" - }, - "type": "object" - }, - "host": { - "description": "A host is defined as a general computing instance.\nECS 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.", - "properties": { - "properties": { - "properties": { - "architecture": { - "description": "Operating system architecture.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "cpu": { - "properties": { - "properties": { - "properties": { - "usage": { - "description": "Percent CPU used which is normalized by the number of CPU cores and it ranges from 0 to 1. Scaling factor: 1000. For example: For a two core host, this value should be the average of the two cores, between 0 and 1.", - "properties": { - "type": { - "$ref": "#/definitions/types/scaled_float" - } - }, - "required": [ - "type" - ], - "type": "object" - } - } - }, - "type": "object" - } - }, - "disk": { - "properties": { - "properties": { - "properties": { - "read": { - "properties": { - "properties": { - "properties": { - "bytes": { - "description": "The total number of bytes (gauge) read successfully (aggregated from all disks) since the last metric collection.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - } - } - }, - "type": "object" - } - }, - "write": { - "properties": { - "properties": { - "properties": { - "bytes": { - "description": "The total number of bytes (gauge) written successfully (aggregated from all disks) since the last metric collection.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - } - } - }, - "type": "object" - } - } - } - }, - "type": "object" - } - }, - "domain": { - "description": "Name of the domain of which the host is a member. 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.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "geo": { - "properties": { - "properties": { - "properties": { - "city_name": { - "description": "City name.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "continent_code": { - "description": "Two-letter code representing continent's name.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "continent_name": { - "description": "Name of the continent.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "country_iso_code": { - "description": "Country ISO code.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "country_name": { - "description": "Country name.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "location": { - "description": "Longitude and latitude.", - "properties": { - "type": { - "$ref": "#/definitions/types/geo_point" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "name": { - "description": "User-defined description of a location, at the level of granularity they care about. Could be the name of their data centers, the floor number, if this describes a local physical entity, city names. Not typically used in automated geolocation.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "postal_code": { - "description": "Postal code associated with the location. Values appropriate for this field may also be known as a postcode or ZIP code and will vary widely from country to country.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "region_iso_code": { - "description": "Region ISO code.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "region_name": { - "description": "Region name.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "timezone": { - "description": "The time zone of the location, such as IANA time zone name.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - } - }, - "type": "object" - } - }, - "hostname": { - "description": "Hostname of the host. It normally contains what the `hostname` command returns on the host machine.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "id": { - "description": "Unique host id. As hostname is not always unique, use values that are meaningful in your environment. Example: The current usage of `beat.name`.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "ip": { - "description": "Host ip addresses.", - "properties": { - "type": { - "$ref": "#/definitions/types/ip" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "mac": { - "description": "Host MAC addresses. The notation format from RFC 7042 is suggested: Each octet (that is, 8-bit byte) is represented by two [uppercase] hexadecimal digits giving the value of the octet as an unsigned integer. Successive octets are separated by a hyphen.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "name": { - "description": "Name of the host. It can contain what `hostname` returns on Unix systems, the fully qualified domain name, or a name specified by the user. The sender decides which value to use.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "network": { - "properties": { - "properties": { - "properties": { - "egress": { - "properties": { - "properties": { - "properties": { - "bytes": { - "description": "The number of bytes (gauge) sent out on all network interfaces by the host since the last metric collection.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "packets": { - "description": "The number of packets (gauge) sent out on all network interfaces by the host since the last metric collection.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - } - } - }, - "type": "object" - } - }, - "ingress": { - "properties": { - "properties": { - "properties": { - "bytes": { - "description": "The number of bytes received (gauge) on all network interfaces by the host since the last metric collection.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "packets": { - "description": "The number of packets (gauge) received on all network interfaces by the host since the last metric collection.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - } - } - }, - "type": "object" - } - } - } - }, - "type": "object" - } - }, - "os": { - "properties": { - "properties": { - "properties": { - "family": { - "description": "OS family (such as redhat, debian, freebsd, windows).", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "full": { - "description": "Operating system name, including the version or code name.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "kernel": { - "description": "Operating system kernel version as a raw string.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "name": { - "description": "Operating system name, without the version.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "platform": { - "description": "Operating system platform (such centos, ubuntu, windows).", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "type": { - "description": "Use the `os.type` field to categorize the operating system into one of the broad commercial families. One of these following values should be used (lowercase): linux, macos, unix, windows. If the OS you're dealing with is not in the list, the field should not be populated. Please let us know by opening an issue with ECS, to propose its addition.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "version": { - "description": "Operating system version as a raw string.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - } - }, - "type": "object" - } - }, - "type": { - "description": "Type of host. For Cloud providers this can be the machine type like `t2.medium`. If vm, this could be the container, for example, or other information meaningful in your environment.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "uptime": { - "description": "Seconds the host has been up.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "user": { - "properties": { - "properties": { - "properties": { - "domain": { - "description": "Name of the directory the user is a member of. For example, an LDAP or Active Directory domain name.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "email": { - "description": "User email address.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "full_name": { - "description": "User's full name, if available.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "group": { - "properties": { - "properties": { - "properties": { - "domain": { - "description": "Name of the directory the group is a member of. For example, an LDAP or Active Directory domain name.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "id": { - "description": "Unique identifier for the group on the system/platform.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "name": { - "description": "Name of the group.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - } - }, - "type": "object" - } - }, - "hash": { - "description": "Unique user hash to correlate information for a user in anonymized form. Useful if `user.id` or `user.name` contain confidential information and cannot be used.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "id": { - "description": "Unique identifier of the user.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "name": { - "description": "Short name or login of the user.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "roles": { - "description": "Array of user roles at the time of the event.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - } - }, - "type": "object" - } - } - } - }, - "type": "object" - }, - "type": "object" - }, - "http": { - "description": "Fields related to HTTP activity. Use the `url` field set to store the url of the request.", - "properties": { - "properties": { - "properties": { - "request": { - "properties": { - "properties": { - "properties": { - "body": { - "properties": { - "properties": { - "properties": { - "bytes": { - "description": "Size in bytes of the request body.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "content": { - "description": "The full HTTP request body.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - } - } - }, - "type": "object" - } - }, - "bytes": { - "description": "Total size in bytes of the request (body and headers).", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "id": { - "description": "A unique identifier for each HTTP request to correlate logs between clients and servers in transactions. The id may be contained in a non-standard HTTP header, such as `X-Request-ID` or `X-Correlation-ID`.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "method": { - "description": "HTTP request method. Prior to ECS 1.6.0 the following guidance was provided: \"The field value must be normalized to lowercase for querying.\" As of ECS 1.6.0, the guidance is deprecated because the original case of the method may be useful in anomaly detection. Original case will be mandated in ECS 2.0.0", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "mime_type": { - "description": "Mime type of the body of the request. This value must only be populated based on the content of the request body, not on the `Content-Type` header. Comparing the mime type of a request with the request's Content-Type header can be helpful in detecting threats or misconfigured clients.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "referrer": { - "description": "Referrer for this HTTP request.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - } - } - }, - "type": "object" - } - }, - "response": { - "properties": { - "properties": { - "properties": { - "body": { - "properties": { - "properties": { - "properties": { - "bytes": { - "description": "Size in bytes of the response body.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "content": { - "description": "The full HTTP response body.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - } - } - }, - "type": "object" - } - }, - "bytes": { - "description": "Total size in bytes of the response (body and headers).", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "mime_type": { - "description": "Mime type of the body of the response. This value must only be populated based on the content of the response body, not on the `Content-Type` header. Comparing the mime type of a response with the response's Content-Type header can be helpful in detecting misconfigured servers.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "status_code": { - "description": "HTTP response status code.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - } - } - }, - "type": "object" - } - }, - "version": { - "description": "HTTP version.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - } - }, - "type": "object" - }, - "type": "object" - }, - "labels": { - "description": "Custom key/value pairs. Can be used to add meta information to events. Should not contain nested objects. All values are stored as keyword. Example: `docker` and `k8s` labels.", - "properties": { - "type": { - "$ref": "#/definitions/types/object" - } - }, - "type": "object" - }, - "log": { - "description": "Details about the event's logging mechanism or logging transport.\nThe log.* fields are typically populated with details about the logging mechanism used to create and/or transport the event. For example, syslog details belong under `log.syslog.*`.\nThe details specific to your event source are typically not logged under `log.*`, but rather in `event.*` or in other ECS fields.", - "properties": { - "properties": { - "properties": { - "file": { - "properties": { - "properties": { - "properties": { - "path": { - "description": "Full path to the log file this event came from, including the file name. It should include the drive letter, when appropriate. If the event wasn't read from a log file, do not populate this field.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - } - } - }, - "type": "object" - } - }, - "level": { - "description": "Original log level of the log event. If the source of the event provides a log level or textual severity, this is the one that goes in `log.level`. If your source doesn't specify one, you may put your event transport's severity here (e.g. Syslog severity). Some examples are `warn`, `err`, `i`, `informational`.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "logger": { - "description": "The name of the logger inside an application. This is usually the name of the class which initialized the logger, or can be a custom name.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "origin": { - "properties": { - "properties": { - "properties": { - "file": { - "properties": { - "properties": { - "properties": { - "line": { - "description": "The line number of the file containing the source code which originated the log event.", - "properties": { - "type": { - "$ref": "#/definitions/types/integer" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "name": { - "description": "The name of the file containing the source code which originated the log event. Note that this field is not meant to capture the log file. The correct field to capture the log file is `log.file.path`.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - } - }, - "type": "object" - } - }, - "function": { - "description": "The name of the function or method which originated the log event.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - } - }, - "type": "object" - } - }, - "original": { - "description": "This is the original log message and contains the full log message before splitting it up in multiple parts. In contrast to the `message` field which can contain an extracted part of the log message, this field contains the original, full log message. It can have already some modifications applied like encoding or new lines removed to clean up the log message. This field is not indexed and doc_values are disabled so it can't be queried but the value can be retrieved from `_source`.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "syslog": { - "description": "The Syslog metadata of the event, if the event was transmitted via Syslog. Please see RFCs 5424 or 3164.", - "properties": { - "properties": { - "properties": { - "facility": { - "properties": { - "properties": { - "properties": { - "code": { - "description": "The Syslog numeric facility of the log event, if available. According to RFCs 5424 and 3164, this value should be an integer between 0 and 23.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "name": { - "description": "The Syslog text-based facility of the log event, if available.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - } - }, - "type": "object" - } - }, - "priority": { - "description": "Syslog numeric priority of the event, if available. According to RFCs 5424 and 3164, the priority is 8 * facility + severity. This number is therefore expected to contain a value between 0 and 191.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "severity": { - "properties": { - "properties": { - "properties": { - "code": { - "description": "The Syslog numeric severity of the log event, if available. If the event source publishing via Syslog provides a different numeric severity value (e.g. firewall, IDS), your source's numeric severity should go to `event.severity`. If the event source does not specify a distinct severity, you can optionally copy the Syslog severity to `event.severity`.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "name": { - "description": "The Syslog numeric severity of the log event, if available. If the event source publishing via Syslog provides a different severity value (e.g. firewall, IDS), your source's text severity should go to `log.level`. If the event source does not specify a distinct severity, you can optionally copy the Syslog severity to `log.level`.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - } - }, - "type": "object" - } - } - } - }, - "type": { - "$ref": "#/definitions/types/object" - } - }, - "type": "object" - } - } - }, - "type": "object" - }, - "type": "object" - }, - "message": { - "description": "For log events the message field contains the log message, optimized for viewing in a log viewer. For structured logs without an original message field, other fields can be concatenated to form a human-readable summary of the event. If multiple messages exist, they can be combined into one message.", - "properties": { - "type": { - "$ref": "#/definitions/types/text" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "network": { - "description": "The network is defined as the communication path over which a host or network event happens.\nThe network.* fields should be populated with details about the network activity associated with an event.", - "properties": { - "properties": { - "properties": { - "application": { - "description": "A name given to an application level protocol. This can be arbitrarily assigned for things like microservices, but also apply to things like skype, icq, facebook, twitter. This would be used in situations where the vendor or service can be decoded such as from the source/dest IP owners, ports, or wire format. The field value must be normalized to lowercase for querying. See the documentation section \"Implementing ECS\".", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "bytes": { - "description": "Total bytes transferred in both directions. If `source.bytes` and `destination.bytes` are known, `network.bytes` is their sum.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "community_id": { - "description": "A hash of source and destination IPs and ports, as well as the protocol used in a communication. This is a tool-agnostic standard to identify flows. Learn more at https://github.com/corelight/community-id-spec.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "direction": { - "description": "Direction of the network traffic. Recommended values are: * ingress * egress * inbound * outbound * internal * external * unknown When mapping events from a host-based monitoring context, populate this field from the host's point of view, using the values \"ingress\" or \"egress\". When mapping events from a network or perimeter-based monitoring context, populate this field from the point of view of the network perimeter, using the values \"inbound\", \"outbound\", \"internal\" or \"external\". Note that \"internal\" is not crossing perimeter boundaries, and is meant to describe communication between two hosts within the perimeter. Note also that \"external\" is meant to describe traffic between two hosts that are external to the perimeter. This could for example be useful for ISPs or VPN service providers.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "forwarded_ip": { - "description": "Host IP address when the source IP address is the proxy.", - "properties": { - "type": { - "$ref": "#/definitions/types/ip" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "iana_number": { - "description": "IANA Protocol Number (https://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml). Standardized list of protocols. This aligns well with NetFlow and sFlow related logs which use the IANA Protocol Number.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "inner": { - "description": "Network.inner fields are added in addition to network.vlan fields to describe the innermost VLAN when q-in-q VLAN tagging is present. Allowed fields include vlan.id and vlan.name. Inner vlan fields are typically used when sending traffic with multiple 802.1q encapsulations to a network sensor (e.g. Zeek, Wireshark.)", - "properties": { - "properties": { - "properties": { - "vlan": { - "properties": { - "properties": { - "properties": { - "id": { - "description": "VLAN ID as reported by the observer.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "name": { - "description": "Optional VLAN name as reported by the observer.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - } - }, - "type": "object" - } - } - } - }, - "type": { - "$ref": "#/definitions/types/object" - } - }, - "type": "object" - }, - "name": { - "description": "Name given by operators to sections of their network.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "packets": { - "description": "Total packets transferred in both directions. If `source.packets` and `destination.packets` are known, `network.packets` is their sum.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "protocol": { - "description": "L7 Network protocol name. ex. http, lumberjack, transport protocol. The field value must be normalized to lowercase for querying. See the documentation section \"Implementing ECS\".", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "transport": { - "description": "Same as network.iana_number, but instead using the Keyword name of the transport layer (udp, tcp, ipv6-icmp, etc.) The field value must be normalized to lowercase for querying. See the documentation section \"Implementing ECS\".", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "type": { - "description": "In the OSI Model this would be the Network Layer. ipv4, ipv6, ipsec, pim, etc The field value must be normalized to lowercase for querying. See the documentation section \"Implementing ECS\".", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "vlan": { - "properties": { - "properties": { - "properties": { - "id": { - "description": "VLAN ID as reported by the observer.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "name": { - "description": "Optional VLAN name as reported by the observer.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - } - }, - "type": "object" - } - } - } - }, - "type": "object" - }, - "type": "object" - }, - "observer": { - "description": "An observer is defined as a special network, security, or application device used to detect, observe, or create network, security, or application-related events and metrics.\nThis could be a custom hardware appliance or a server that has been configured to run special network, security, or application software. Examples include firewalls, web proxies, intrusion detection/prevention systems, network monitoring sensors, web application firewalls, data loss prevention systems, and APM servers. The observer.* fields shall be populated with details of the system, if any, that detects, observes and/or creates a network, security, or application event or metric. Message queues and ETL components used in processing events or metrics are not considered observers in ECS.", - "properties": { - "properties": { - "properties": { - "egress": { - "description": "Observer.egress holds information like interface number and name, vlan, and zone information to classify egress traffic. Single armed monitoring such as a network sensor on a span port should only use observer.ingress to categorize traffic.", - "properties": { - "properties": { - "properties": { - "interface": { - "properties": { - "properties": { - "properties": { - "alias": { - "description": "Interface alias as reported by the system, typically used in firewall implementations for e.g. inside, outside, or dmz logical interface naming.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "id": { - "description": "Interface ID as reported by an observer (typically SNMP interface ID).", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "name": { - "description": "Interface name as reported by the system.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - } - }, - "type": "object" - } - }, - "vlan": { - "properties": { - "properties": { - "properties": { - "id": { - "description": "VLAN ID as reported by the observer.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "name": { - "description": "Optional VLAN name as reported by the observer.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - } - }, - "type": "object" - } - }, - "zone": { - "description": "Network zone of outbound traffic as reported by the observer to categorize the destination area of egress traffic, e.g. Internal, External, DMZ, HR, Legal, etc.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - } - }, - "type": { - "$ref": "#/definitions/types/object" - } - }, - "type": "object" - }, - "geo": { - "properties": { - "properties": { - "properties": { - "city_name": { - "description": "City name.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "continent_code": { - "description": "Two-letter code representing continent's name.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "continent_name": { - "description": "Name of the continent.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "country_iso_code": { - "description": "Country ISO code.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "country_name": { - "description": "Country name.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "location": { - "description": "Longitude and latitude.", - "properties": { - "type": { - "$ref": "#/definitions/types/geo_point" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "name": { - "description": "User-defined description of a location, at the level of granularity they care about. Could be the name of their data centers, the floor number, if this describes a local physical entity, city names. Not typically used in automated geolocation.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "postal_code": { - "description": "Postal code associated with the location. Values appropriate for this field may also be known as a postcode or ZIP code and will vary widely from country to country.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "region_iso_code": { - "description": "Region ISO code.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "region_name": { - "description": "Region name.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "timezone": { - "description": "The time zone of the location, such as IANA time zone name.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - } - }, - "type": "object" - } - }, - "hostname": { - "description": "Hostname of the observer.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "ingress": { - "description": "Observer.ingress holds information like interface number and name, vlan, and zone information to classify ingress traffic. Single armed monitoring such as a network sensor on a span port should only use observer.ingress to categorize traffic.", - "properties": { - "properties": { - "properties": { - "interface": { - "properties": { - "properties": { - "properties": { - "alias": { - "description": "Interface alias as reported by the system, typically used in firewall implementations for e.g. inside, outside, or dmz logical interface naming.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "id": { - "description": "Interface ID as reported by an observer (typically SNMP interface ID).", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "name": { - "description": "Interface name as reported by the system.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - } - }, - "type": "object" - } - }, - "vlan": { - "properties": { - "properties": { - "properties": { - "id": { - "description": "VLAN ID as reported by the observer.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "name": { - "description": "Optional VLAN name as reported by the observer.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - } - }, - "type": "object" - } - }, - "zone": { - "description": "Network zone of incoming traffic as reported by the observer to categorize the source area of ingress traffic. e.g. internal, External, DMZ, HR, Legal, etc.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - } - }, - "type": { - "$ref": "#/definitions/types/object" - } - }, - "type": "object" - }, - "ip": { - "description": "IP addresses of the observer.", - "properties": { - "type": { - "$ref": "#/definitions/types/ip" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "mac": { - "description": "MAC addresses of the observer. The notation format from RFC 7042 is suggested: Each octet (that is, 8-bit byte) is represented by two [uppercase] hexadecimal digits giving the value of the octet as an unsigned integer. Successive octets are separated by a hyphen.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "name": { - "description": "Custom name of the observer. This is a name that can be given to an observer. This can be helpful for example if multiple firewalls of the same model are used in an organization. If no custom name is needed, the field can be left empty.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "os": { - "properties": { - "properties": { - "properties": { - "family": { - "description": "OS family (such as redhat, debian, freebsd, windows).", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "full": { - "description": "Operating system name, including the version or code name.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "kernel": { - "description": "Operating system kernel version as a raw string.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "name": { - "description": "Operating system name, without the version.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "platform": { - "description": "Operating system platform (such centos, ubuntu, windows).", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "type": { - "description": "Use the `os.type` field to categorize the operating system into one of the broad commercial families. One of these following values should be used (lowercase): linux, macos, unix, windows. If the OS you're dealing with is not in the list, the field should not be populated. Please let us know by opening an issue with ECS, to propose its addition.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "version": { - "description": "Operating system version as a raw string.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - } - }, - "type": "object" - } - }, - "product": { - "description": "The product name of the observer.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "serial_number": { - "description": "Observer serial number.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "type": { - "description": "The type of the observer the data is coming from. There is no predefined list of observer types. Some examples are `forwarder`, `firewall`, `ids`, `ips`, `proxy`, `poller`, `sensor`, `APM server`.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "vendor": { - "description": "Vendor name of the observer.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "version": { - "description": "Observer version.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - } - }, - "type": "object" - }, - "type": "object" - }, - "orchestrator": { - "description": "Fields that describe the resources which container orchestrators manage or act upon.", - "properties": { - "properties": { - "properties": { - "api_version": { - "description": "API version being used to carry out the action", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "cluster": { - "properties": { - "properties": { - "properties": { - "name": { - "description": "Name of the cluster.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "url": { - "description": "URL of the API used to manage the cluster.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "version": { - "description": "The version of the cluster.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - } - }, - "type": "object" - } - }, - "namespace": { - "description": "Namespace in which the action is taking place.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "organization": { - "description": "Organization affected by the event (for multi-tenant orchestrator setups).", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "resource": { - "properties": { - "properties": { - "properties": { - "name": { - "description": "Name of the resource being acted upon.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "type": { - "description": "Type of resource being acted upon.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - } - }, - "type": "object" - } - }, - "type": { - "description": "Orchestrator cluster type (e.g. kubernetes, nomad or cloudfoundry).", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - } - }, - "type": "object" - }, - "type": "object" - }, - "organization": { - "description": "The organization fields enrich data with information about the company or entity the data is associated with.\nThese fields help you arrange or filter data stored in an index by one or multiple organizations.", - "properties": { - "properties": { - "properties": { - "id": { - "description": "Unique identifier for the organization.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "name": { - "description": "Organization name.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - } - } - }, - "type": "object" - }, - "type": "object" - }, - "package": { - "description": "These fields contain information about an installed software package. It contains general information about a package, such as name, version or size. It also contains installation details, such as time or location.", - "properties": { - "properties": { - "properties": { - "architecture": { - "description": "Package architecture.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "build_version": { - "description": "Additional information about the build version of the installed package. For example use the commit SHA of a non-released package.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "checksum": { - "description": "Checksum of the installed package for verification.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "description": { - "description": "Description of the package.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "install_scope": { - "description": "Indicating how the package was installed, e.g. user-local, global.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "installed": { - "description": "Time when package was installed.", - "properties": { - "type": { - "$ref": "#/definitions/types/date" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "license": { - "description": "License under which the package was released. Use a short name, e.g. the license identifier from SPDX License List where possible (https://spdx.org/licenses/).", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "name": { - "description": "Package name", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "path": { - "description": "Path where the package is installed.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "reference": { - "description": "Home page or reference URL of the software in this package, if available.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "size": { - "description": "Package size in bytes.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "type": { - "description": "Type of package. This should contain the package file type, rather than the package manager name. Examples: rpm, dpkg, brew, npm, gem, nupkg, jar.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "version": { - "description": "Package version", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - } - }, - "type": "object" - }, - "type": "object" - }, - "process": { - "description": "These fields contain information about a process.\nThese fields can help you correlate metrics information with a process id/name from a log message. The `process.pid` often stays in the metric itself and is copied to the global field for correlation.", - "properties": { - "properties": { - "properties": { - "args": { - "description": "Array of process arguments, starting with the absolute path to the executable. May be filtered to protect sensitive information.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "args_count": { - "description": "Length of the process.args array. This field can be useful for querying or performing bucket analysis on how many arguments were provided to start a process. More arguments may be an indication of suspicious activity.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "code_signature": { - "properties": { - "properties": { - "properties": { - "exists": { - "description": "Boolean to capture if a signature is present.", - "properties": { - "type": { - "$ref": "#/definitions/types/boolean" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "signing_id": { - "description": "The identifier used to sign the process. This is used to identify the application manufactured by a software vendor. The field is relevant to Apple *OS only.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "status": { - "description": "Additional information about the certificate status. This is useful for logging cryptographic errors with the certificate validity or trust status. Leave unpopulated if the validity or trust of the certificate was unchecked.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "subject_name": { - "description": "Subject name of the code signer", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "team_id": { - "description": "The team identifier used to sign the process. This is used to identify the team or vendor of a software product. The field is relevant to Apple *OS only.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "trusted": { - "description": "Stores the trust status of the certificate chain. Validating the trust of the certificate chain may be complicated, and this field should only be populated by tools that actively check the status.", - "properties": { - "type": { - "$ref": "#/definitions/types/boolean" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "valid": { - "description": "Boolean to capture if the digital signature is verified against the binary content. Leave unpopulated if a certificate was unchecked.", - "properties": { - "type": { - "$ref": "#/definitions/types/boolean" - } - }, - "required": [ - "type" - ], - "type": "object" - } - } - }, - "type": "object" - } - }, - "command_line": { - "description": "Full command line that started the process, including the absolute path to the executable, and all arguments. Some arguments may be filtered to protect sensitive information.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "elf": { - "properties": { - "properties": { - "properties": { - "architecture": { - "description": "Machine architecture of the ELF file.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "byte_order": { - "description": "Byte sequence of ELF file.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "cpu_type": { - "description": "CPU type of the ELF file.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "creation_date": { - "description": "Extracted when possible from the file's metadata. Indicates when it was built or compiled. It can also be faked by malware creators.", - "properties": { - "type": { - "$ref": "#/definitions/types/date" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "exports": { - "description": "List of exported element names and types.", - "properties": { - "type": { - "$ref": "#/definitions/types/flattened" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "header": { - "properties": { - "properties": { - "properties": { - "abi_version": { - "description": "Version of the ELF Application Binary Interface (ABI).", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "class": { - "description": "Header class of the ELF file.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "data": { - "description": "Data table of the ELF header.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "entrypoint": { - "description": "Header entrypoint of the ELF file.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "object_version": { - "description": "\"0x1\" for original ELF files.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "os_abi": { - "description": "Application Binary Interface (ABI) of the Linux OS.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "type": { - "description": "Header type of the ELF file.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "version": { - "description": "Version of the ELF header.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - } - }, - "type": "object" - } - }, - "imports": { - "description": "List of imported element names and types.", - "properties": { - "type": { - "$ref": "#/definitions/types/flattened" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "sections": { - "description": "Section information of the ELF file.", - "properties": { - "properties": { - "properties": { - "chi2": { - "description": "Chi-square probability distribution of the section.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "entropy": { - "description": "Shannon entropy calculation from the section.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "flags": { - "description": "ELF Section List flags.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "name": { - "description": "ELF Section List name.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "physical_offset": { - "description": "ELF Section List offset.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "physical_size": { - "description": "ELF Section List physical size.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "type": { - "description": "ELF Section List type.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "virtual_address": { - "description": "ELF Section List virtual address.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "virtual_size": { - "description": "ELF Section List virtual size.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - } - } - }, - "type": { - "$ref": "#/definitions/types/nested" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "segments": { - "description": "ELF object segment list.", - "properties": { - "properties": { - "properties": { - "sections": { - "description": "ELF object segment sections.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "type": { - "description": "ELF object segment type.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - } - }, - "type": { - "$ref": "#/definitions/types/nested" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "shared_libraries": { - "description": "List of shared libraries used by this ELF object", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "telfhash": { - "description": "telfhash is symbol hash for ELF files, just like imphash is imports hash for PE files. Learn more at https://github.com/trendmicro/telfhash.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - } - }, - "type": "object" - } - }, - "entity_id": { - "description": "Unique identifier for the process. The implementation of this is specified by the data source, but some examples of what could be used here are a process-generated UUID, Sysmon Process GUIDs, or a hash of some uniquely identifying components of a process. Constructing a globally unique identifier is a common practice to mitigate PID reuse as well as to identify a specific process over time, across multiple monitored hosts.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "executable": { - "description": "Absolute path to the process executable.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "exit_code": { - "description": "The exit code of the process, if this is a termination event. The field should be absent if there is no exit code for the event (e.g. process start).", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "hash": { - "properties": { - "properties": { - "properties": { - "md5": { - "description": "MD5 hash.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "sha1": { - "description": "SHA1 hash.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "sha256": { - "description": "SHA256 hash.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "sha512": { - "description": "SHA512 hash.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "ssdeep": { - "description": "SSDEEP hash.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - } - }, - "type": "object" - } - }, - "name": { - "description": "Process name. Sometimes called program name or similar.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "parent": { - "properties": { - "properties": { - "properties": { - "args": { - "description": "Array of process arguments, starting with the absolute path to the executable. May be filtered to protect sensitive information.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "args_count": { - "description": "Length of the process.args array. This field can be useful for querying or performing bucket analysis on how many arguments were provided to start a process. More arguments may be an indication of suspicious activity.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "code_signature": { - "properties": { - "properties": { - "properties": { - "exists": { - "description": "Boolean to capture if a signature is present.", - "properties": { - "type": { - "$ref": "#/definitions/types/boolean" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "signing_id": { - "description": "The identifier used to sign the process. This is used to identify the application manufactured by a software vendor. The field is relevant to Apple *OS only.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "status": { - "description": "Additional information about the certificate status. This is useful for logging cryptographic errors with the certificate validity or trust status. Leave unpopulated if the validity or trust of the certificate was unchecked.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "subject_name": { - "description": "Subject name of the code signer", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "team_id": { - "description": "The team identifier used to sign the process. This is used to identify the team or vendor of a software product. The field is relevant to Apple *OS only.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "trusted": { - "description": "Stores the trust status of the certificate chain. Validating the trust of the certificate chain may be complicated, and this field should only be populated by tools that actively check the status.", - "properties": { - "type": { - "$ref": "#/definitions/types/boolean" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "valid": { - "description": "Boolean to capture if the digital signature is verified against the binary content. Leave unpopulated if a certificate was unchecked.", - "properties": { - "type": { - "$ref": "#/definitions/types/boolean" - } - }, - "required": [ - "type" - ], - "type": "object" - } - } - }, - "type": "object" - } - }, - "command_line": { - "description": "Full command line that started the process, including the absolute path to the executable, and all arguments. Some arguments may be filtered to protect sensitive information.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "elf": { - "properties": { - "properties": { - "properties": { - "architecture": { - "description": "Machine architecture of the ELF file.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "byte_order": { - "description": "Byte sequence of ELF file.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "cpu_type": { - "description": "CPU type of the ELF file.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "creation_date": { - "description": "Extracted when possible from the file's metadata. Indicates when it was built or compiled. It can also be faked by malware creators.", - "properties": { - "type": { - "$ref": "#/definitions/types/date" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "exports": { - "description": "List of exported element names and types.", - "properties": { - "type": { - "$ref": "#/definitions/types/flattened" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "header": { - "properties": { - "properties": { - "properties": { - "abi_version": { - "description": "Version of the ELF Application Binary Interface (ABI).", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "class": { - "description": "Header class of the ELF file.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "data": { - "description": "Data table of the ELF header.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "entrypoint": { - "description": "Header entrypoint of the ELF file.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "object_version": { - "description": "\"0x1\" for original ELF files.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "os_abi": { - "description": "Application Binary Interface (ABI) of the Linux OS.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "type": { - "description": "Header type of the ELF file.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "version": { - "description": "Version of the ELF header.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - } - }, - "type": "object" - } - }, - "imports": { - "description": "List of imported element names and types.", - "properties": { - "type": { - "$ref": "#/definitions/types/flattened" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "sections": { - "description": "Section information of the ELF file.", - "properties": { - "properties": { - "properties": { - "chi2": { - "description": "Chi-square probability distribution of the section.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "entropy": { - "description": "Shannon entropy calculation from the section.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "flags": { - "description": "ELF Section List flags.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "name": { - "description": "ELF Section List name.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "physical_offset": { - "description": "ELF Section List offset.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "physical_size": { - "description": "ELF Section List physical size.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "type": { - "description": "ELF Section List type.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "virtual_address": { - "description": "ELF Section List virtual address.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "virtual_size": { - "description": "ELF Section List virtual size.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - } - } - }, - "type": { - "$ref": "#/definitions/types/nested" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "segments": { - "description": "ELF object segment list.", - "properties": { - "properties": { - "properties": { - "sections": { - "description": "ELF object segment sections.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "type": { - "description": "ELF object segment type.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - } - }, - "type": { - "$ref": "#/definitions/types/nested" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "shared_libraries": { - "description": "List of shared libraries used by this ELF object", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "telfhash": { - "description": "telfhash is symbol hash for ELF files, just like imphash is imports hash for PE files. Learn more at https://github.com/trendmicro/telfhash.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - } - }, - "type": "object" - } - }, - "entity_id": { - "description": "Unique identifier for the process. The implementation of this is specified by the data source, but some examples of what could be used here are a process-generated UUID, Sysmon Process GUIDs, or a hash of some uniquely identifying components of a process. Constructing a globally unique identifier is a common practice to mitigate PID reuse as well as to identify a specific process over time, across multiple monitored hosts.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "executable": { - "description": "Absolute path to the process executable.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "exit_code": { - "description": "The exit code of the process, if this is a termination event. The field should be absent if there is no exit code for the event (e.g. process start).", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "hash": { - "properties": { - "properties": { - "properties": { - "md5": { - "description": "MD5 hash.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "sha1": { - "description": "SHA1 hash.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "sha256": { - "description": "SHA256 hash.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "sha512": { - "description": "SHA512 hash.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "ssdeep": { - "description": "SSDEEP hash.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - } - }, - "type": "object" - } - }, - "name": { - "description": "Process name. Sometimes called program name or similar.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "pe": { - "properties": { - "properties": { - "properties": { - "architecture": { - "description": "CPU architecture target for the file.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "authentihash": { - "description": "Authentihash of the PE file.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "company": { - "description": "Internal company name of the file, provided at compile-time.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "compile_timestamp": { - "description": "Compile timestamp of the PE file.", - "properties": { - "type": { - "$ref": "#/definitions/types/date" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "compiler": { - "properties": { - "properties": { - "properties": { - "name": { - "description": "Name of the compiler", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "version": { - "description": "Version of the compiler.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - } - }, - "type": "object" - } - }, - "creation_date": { - "description": "Extracted when possible from the file's metadata. Indicates when it was built or compiled. It can also be faked by malware creators.", - "properties": { - "type": { - "$ref": "#/definitions/types/date" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "debug": { - "description": "An array containing an object for each debug entry, if present. The expected fields for this nested object fall under the `debug.` prefix.", - "properties": { - "properties": { - "properties": { - "offset": { - "description": "Debug offset information.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "size": { - "description": "Size of the debug information.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "timestamp": { - "description": "Timestamp of the debug information.", - "properties": { - "type": { - "$ref": "#/definitions/types/date" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "type": { - "description": "Information type generated by the debug options.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - } - }, - "type": { - "$ref": "#/definitions/types/nested" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "description": { - "description": "Internal description of the file, provided at compile-time.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "entry_point": { - "description": "Relative byte offset to the base of the PE file.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "exports": { - "description": "List of symbols exported by PE", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "file_version": { - "description": "Internal version of the file, provided at compile-time.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "icon": { - "properties": { - "properties": { - "properties": { - "hash": { - "properties": { - "properties": { - "properties": { - "dhash": { - "description": "Difference Hash (dhash) to find files with a visually similar icon or thumbnail.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - } - }, - "type": "object" - } - } - } - }, - "type": "object" - } - }, - "imphash": { - "description": "A hash of the imports in a PE file. An imphash -- or import hash -- can be used to fingerprint binaries even after recompilation or other code-level transformations have occurred, which would change more traditional hash values. Learn more at https://www.fireeye.com/blog/threat-research/2014/01/tracking-malware-import-hashing.html.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "imports": { - "description": "List of all imported functions", - "properties": { - "type": { - "$ref": "#/definitions/types/flattened" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "machine_type": { - "description": "Machine type of the PE file.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "original_file_name": { - "description": "Internal name of the file, provided at compile-time.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "packers": { - "description": "List of packers and tools used.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "product": { - "description": "Internal product name of the file, provided at compile-time.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "resources": { - "description": "An array containing an object for each PE resource, if present. The expected fields for this nested object fall under the `resources.` prefix.", - "properties": { - "properties": { - "properties": { - "chi2": { - "description": "Chi-square probability distribution.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "entropy": { - "description": "Measurement of entropy randomness in the resources section.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "filetype": { - "description": "File type of the resources section.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "language": { - "description": "Language identification.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "sha256": { - "description": "SHA256 hash of resources section.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "type": { - "description": "Digest of resource types.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - } - }, - "type": { - "$ref": "#/definitions/types/nested" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "rich_header": { - "properties": { - "properties": { - "properties": { - "hash": { - "properties": { - "properties": { - "properties": { - "md5": { - "description": "MD5 hash of the header for the PE file.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - } - }, - "type": "object" - } - } - } - }, - "type": "object" - } - }, - "sections": { - "description": "Data about sections of compiled binary PE", - "properties": { - "properties": { - "properties": { - "chi2": { - "description": "Chi-square probability distribution.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "entropy": { - "description": "Measurement of entropy randomness in the file.", - "properties": { - "type": { - "$ref": "#/definitions/types/float" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "flags": { - "description": "Section flags of the file.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "name": { - "description": "Section names of the file.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "raw_size": { - "description": "Size of the section or the dize of the initialized data on disk.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "virtual_address": { - "description": "Virtual address available to the file.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - } - } - }, - "type": { - "$ref": "#/definitions/types/nested" - } - }, - "required": [ - "type" - ], - "type": "object" - } - } - }, - "type": "object" - } - }, - "pgid": { - "description": "Identifier of the group of processes the process belongs to.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "pid": { - "description": "Process id.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "ppid": { - "description": "Parent process' pid.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "start": { - "description": "The time the process started.", - "properties": { - "type": { - "$ref": "#/definitions/types/date" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "thread": { - "properties": { - "properties": { - "properties": { - "id": { - "description": "Thread ID.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "name": { - "description": "Thread name.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - } - } - }, - "type": "object" - } - }, - "title": { - "description": "Process title. The proctitle, some times the same as process name. Can also be different: for example a browser setting its title to the web page currently opened.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "uptime": { - "description": "Seconds the process has been up.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "working_directory": { - "description": "The working directory of the process.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - } - } - }, - "type": "object" - } - }, - "pe": { - "properties": { - "properties": { - "properties": { - "architecture": { - "description": "CPU architecture target for the file.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "authentihash": { - "description": "Authentihash of the PE file.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "company": { - "description": "Internal company name of the file, provided at compile-time.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "compile_timestamp": { - "description": "Compile timestamp of the PE file.", - "properties": { - "type": { - "$ref": "#/definitions/types/date" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "compiler": { - "properties": { - "properties": { - "properties": { - "name": { - "description": "Name of the compiler", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "version": { - "description": "Version of the compiler.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - } - }, - "type": "object" - } - }, - "creation_date": { - "description": "Extracted when possible from the file's metadata. Indicates when it was built or compiled. It can also be faked by malware creators.", - "properties": { - "type": { - "$ref": "#/definitions/types/date" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "debug": { - "description": "An array containing an object for each debug entry, if present. The expected fields for this nested object fall under the `debug.` prefix.", - "properties": { - "properties": { - "properties": { - "offset": { - "description": "Debug offset information.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "size": { - "description": "Size of the debug information.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "timestamp": { - "description": "Timestamp of the debug information.", - "properties": { - "type": { - "$ref": "#/definitions/types/date" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "type": { - "description": "Information type generated by the debug options.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - } - }, - "type": { - "$ref": "#/definitions/types/nested" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "description": { - "description": "Internal description of the file, provided at compile-time.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "entry_point": { - "description": "Relative byte offset to the base of the PE file.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "exports": { - "description": "List of symbols exported by PE", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "file_version": { - "description": "Internal version of the file, provided at compile-time.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "icon": { - "properties": { - "properties": { - "properties": { - "hash": { - "properties": { - "properties": { - "properties": { - "dhash": { - "description": "Difference Hash (dhash) to find files with a visually similar icon or thumbnail.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - } - }, - "type": "object" - } - } - } - }, - "type": "object" - } - }, - "imphash": { - "description": "A hash of the imports in a PE file. An imphash -- or import hash -- can be used to fingerprint binaries even after recompilation or other code-level transformations have occurred, which would change more traditional hash values. Learn more at https://www.fireeye.com/blog/threat-research/2014/01/tracking-malware-import-hashing.html.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "imports": { - "description": "List of all imported functions", - "properties": { - "type": { - "$ref": "#/definitions/types/flattened" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "machine_type": { - "description": "Machine type of the PE file.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "original_file_name": { - "description": "Internal name of the file, provided at compile-time.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "packers": { - "description": "List of packers and tools used.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "product": { - "description": "Internal product name of the file, provided at compile-time.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "resources": { - "description": "An array containing an object for each PE resource, if present. The expected fields for this nested object fall under the `resources.` prefix.", - "properties": { - "properties": { - "properties": { - "chi2": { - "description": "Chi-square probability distribution.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "entropy": { - "description": "Measurement of entropy randomness in the resources section.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "filetype": { - "description": "File type of the resources section.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "language": { - "description": "Language identification.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "sha256": { - "description": "SHA256 hash of resources section.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "type": { - "description": "Digest of resource types.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - } - }, - "type": { - "$ref": "#/definitions/types/nested" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "rich_header": { - "properties": { - "properties": { - "properties": { - "hash": { - "properties": { - "properties": { - "properties": { - "md5": { - "description": "MD5 hash of the header for the PE file.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - } - }, - "type": "object" - } - } - } - }, - "type": "object" - } - }, - "sections": { - "description": "Data about sections of compiled binary PE", - "properties": { - "properties": { - "properties": { - "chi2": { - "description": "Chi-square probability distribution.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "entropy": { - "description": "Measurement of entropy randomness in the file.", - "properties": { - "type": { - "$ref": "#/definitions/types/float" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "flags": { - "description": "Section flags of the file.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "name": { - "description": "Section names of the file.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "raw_size": { - "description": "Size of the section or the dize of the initialized data on disk.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "virtual_address": { - "description": "Virtual address available to the file.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - } - } - }, - "type": { - "$ref": "#/definitions/types/nested" - } - }, - "required": [ - "type" - ], - "type": "object" - } - } - }, - "type": "object" - } - }, - "pgid": { - "description": "Identifier of the group of processes the process belongs to.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "pid": { - "description": "Process id.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "ppid": { - "description": "Parent process' pid.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "start": { - "description": "The time the process started.", - "properties": { - "type": { - "$ref": "#/definitions/types/date" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "thread": { - "properties": { - "properties": { - "properties": { - "id": { - "description": "Thread ID.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "name": { - "description": "Thread name.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - } - } - }, - "type": "object" - } - }, - "title": { - "description": "Process title. The proctitle, some times the same as process name. Can also be different: for example a browser setting its title to the web page currently opened.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "uptime": { - "description": "Seconds the process has been up.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "working_directory": { - "description": "The working directory of the process.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - } - } - }, - "type": "object" - }, - "type": "object" - }, - "registry": { - "description": "Fields related to Windows Registry operations.", - "properties": { - "properties": { - "properties": { - "data": { - "properties": { - "properties": { - "properties": { - "bytes": { - "description": "Original bytes written with base64 encoding. For Windows registry operations, such as SetValueEx and RegQueryValueEx, this corresponds to the data pointed by `lp_data`. This is optional but provides better recoverability and should be populated for REG_BINARY encoded values.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "strings": { - "description": "Content when writing string types. Populated as an array when writing string data to the registry. For single string registry types (REG_SZ, REG_EXPAND_SZ), this should be an array with one string. For sequences of string with REG_MULTI_SZ, this array will be variable length. For numeric data, such as REG_DWORD and REG_QWORD, this should be populated with the decimal representation (e.g `\"1\"`).", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "type": { - "description": "Standard registry type for encoding contents", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - } - }, - "type": "object" - } - }, - "hive": { - "description": "Abbreviated name for the hive.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "key": { - "description": "Hive-relative path of keys.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "path": { - "description": "Full path, including hive, key and value", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "value": { - "description": "Name of the value written.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - } - }, - "type": "object" - }, - "type": "object" - }, - "related": { - "description": "This field set is meant to facilitate pivoting around a piece of data.\nSome pieces of information can be seen in many places in an ECS event. To facilitate searching for them, store an array of all seen values to their corresponding field in `related.`.\nA concrete example is IP addresses, which can be under host, observer, source, destination, client, server, and network.forwarded_ip. If you append all IPs to `related.ip`, you can then search for a given IP trivially, no matter where it appeared, by querying `related.ip:192.0.2.15`.", - "properties": { - "properties": { - "properties": { - "hash": { - "description": "All the hashes seen on your event. Populating this field, then using it to search for hashes can help in situations where you're unsure what the hash algorithm is (and therefore which key name to search).", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "hosts": { - "description": "All hostnames or other host identifiers seen on your event. Example identifiers include FQDNs, domain names, workstation names, or aliases.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "ip": { - "description": "All of the IPs seen on your event.", - "properties": { - "type": { - "$ref": "#/definitions/types/ip" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "user": { - "description": "All the user names seen on your event.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - } - }, - "type": "object" - }, - "type": "object" - }, - "rule": { - "description": "Rule fields are used to capture the specifics of any observer or agent rules that generate alerts or other notable events.\nExamples of data sources that would populate the rule fields include: network admission control platforms, network or host IDS/IPS, network firewalls, web application firewalls, url filters, endpoint detection and response (EDR) systems, etc.", - "properties": { - "properties": { - "properties": { - "author": { - "description": "Name, organization, or pseudonym of the author or authors who created the rule used to generate this event.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "category": { - "description": "A categorization value keyword used by the entity using the rule for detection of this event.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "description": { - "description": "The description of the rule generating the event.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "id": { - "description": "A rule ID that is unique within the scope of an agent, observer, or other entity using the rule for detection of this event.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "license": { - "description": "Name of the license under which the rule used to generate this event is made available.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "name": { - "description": "The name of the rule or signature generating the event.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "reference": { - "description": "Reference URL to additional information about the rule used to generate this event. The URL can point to the vendor's documentation about the rule. If that's not available, it can also be a link to a more general page describing this type of alert.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "ruleset": { - "description": "Name of the ruleset, policy, group, or parent category in which the rule used to generate this event is a member.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "uuid": { - "description": "A rule ID that is unique within the scope of a set or group of agents, observers, or other entities using the rule for detection of this event.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "version": { - "description": "The version / revision of the rule being used for analysis.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - } - }, - "type": "object" - }, - "type": "object" - }, - "server": { - "description": "A Server is defined as the responder in a network connection for events regarding sessions, connections, or bidirectional flow records.\nFor TCP events, the server is the receiver of the initial SYN packet(s) of the TCP connection. For other protocols, the server is generally the responder in the network transaction. Some systems actually use the term \"responder\" to refer the server in TCP connections. The server fields describe details about the system acting as the server in the network event. Server fields are usually populated in conjunction with client fields. Server fields are generally not populated for packet-level events.\nClient / server representations can add semantic context to an exchange, which is helpful to visualize the data in certain situations. If your context falls in that category, you should still ensure that source and destination are filled appropriately.", - "properties": { - "properties": { - "properties": { - "address": { - "description": "Some event server addresses are defined ambiguously. The event will sometimes list an IP, a domain or a unix socket. You should always store the raw address in the `.address` field. Then it should be duplicated to `.ip` or `.domain`, depending on which one it is.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "as": { - "properties": { - "properties": { - "properties": { - "number": { - "description": "Unique number allocated to the autonomous system. The autonomous system number (ASN) uniquely identifies each network on the Internet.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "organization": { - "properties": { - "properties": { - "properties": { - "name": { - "description": "Organization name.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - } - } - }, - "type": "object" - } - } - } - }, - "type": "object" - } - }, - "bytes": { - "description": "Bytes sent from the server to the client.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "domain": { - "description": "Server domain.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "geo": { - "properties": { - "properties": { - "properties": { - "city_name": { - "description": "City name.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "continent_code": { - "description": "Two-letter code representing continent's name.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "continent_name": { - "description": "Name of the continent.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "country_iso_code": { - "description": "Country ISO code.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "country_name": { - "description": "Country name.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "location": { - "description": "Longitude and latitude.", - "properties": { - "type": { - "$ref": "#/definitions/types/geo_point" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "name": { - "description": "User-defined description of a location, at the level of granularity they care about. Could be the name of their data centers, the floor number, if this describes a local physical entity, city names. Not typically used in automated geolocation.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "postal_code": { - "description": "Postal code associated with the location. Values appropriate for this field may also be known as a postcode or ZIP code and will vary widely from country to country.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "region_iso_code": { - "description": "Region ISO code.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "region_name": { - "description": "Region name.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "timezone": { - "description": "The time zone of the location, such as IANA time zone name.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - } - }, - "type": "object" - } - }, - "ip": { - "description": "IP address of the server (IPv4 or IPv6).", - "properties": { - "type": { - "$ref": "#/definitions/types/ip" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "mac": { - "description": "MAC address of the server. The notation format from RFC 7042 is suggested: Each octet (that is, 8-bit byte) is represented by two [uppercase] hexadecimal digits giving the value of the octet as an unsigned integer. Successive octets are separated by a hyphen.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "nat": { - "properties": { - "properties": { - "properties": { - "ip": { - "description": "Translated ip of destination based NAT sessions (e.g. internet to private DMZ) Typically used with load balancers, firewalls, or routers.", - "properties": { - "type": { - "$ref": "#/definitions/types/ip" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "port": { - "description": "Translated port of destination based NAT sessions (e.g. internet to private DMZ) Typically used with load balancers, firewalls, or routers.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - } - } - }, - "type": "object" - } - }, - "packets": { - "description": "Packets sent from the server to the client.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "port": { - "description": "Port of the server.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "registered_domain": { - "description": "The highest registered server domain, stripped of the subdomain. For example, the registered domain for \"foo.example.com\" is \"example.com\". This value can be determined precisely with a list like the public suffix list (http://publicsuffix.org). Trying to approximate this by simply taking the last two labels will not work well for TLDs such as \"co.uk\".", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "subdomain": { - "description": "The subdomain portion of a fully qualified domain name includes all of the names except the host name under the registered_domain. In a partially qualified domain, or if the the qualification level of the full name cannot be determined, subdomain contains all of the names below the registered domain. For example the subdomain portion of \"www.east.mydomain.co.uk\" is \"east\". If the domain has multiple levels of subdomain, such as \"sub2.sub1.example.com\", the subdomain field should contain \"sub2.sub1\", with no trailing period.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "top_level_domain": { - "description": "The effective top level domain (eTLD), also known as the domain suffix, is the last part of the domain name. For example, the top level domain for example.com is \"com\". This value can be determined precisely with a list like the public suffix list (http://publicsuffix.org). Trying to approximate this by simply taking the last label will not work well for effective TLDs such as \"co.uk\".", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "user": { - "properties": { - "properties": { - "properties": { - "domain": { - "description": "Name of the directory the user is a member of. For example, an LDAP or Active Directory domain name.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "email": { - "description": "User email address.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "full_name": { - "description": "User's full name, if available.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "group": { - "properties": { - "properties": { - "properties": { - "domain": { - "description": "Name of the directory the group is a member of. For example, an LDAP or Active Directory domain name.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "id": { - "description": "Unique identifier for the group on the system/platform.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "name": { - "description": "Name of the group.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - } - }, - "type": "object" - } - }, - "hash": { - "description": "Unique user hash to correlate information for a user in anonymized form. Useful if `user.id` or `user.name` contain confidential information and cannot be used.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "id": { - "description": "Unique identifier of the user.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "name": { - "description": "Short name or login of the user.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "roles": { - "description": "Array of user roles at the time of the event.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - } - }, - "type": "object" - } - } - } - }, - "type": "object" - }, - "type": "object" - }, - "service": { - "description": "The service fields describe the service for or from which the data was collected.\nThese fields help you find and correlate logs for a specific service and version.", - "properties": { - "properties": { - "properties": { - "ephemeral_id": { - "description": "Ephemeral identifier of this service (if one exists). This id normally changes across restarts, but `service.id` does not.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "id": { - "description": "Unique identifier of the running service. If the service is comprised of many nodes, the `service.id` should be the same for all nodes. This id should uniquely identify the service. This makes it possible to correlate logs and metrics for one specific service, no matter which particular node emitted the event. Note that if you need to see the events from one specific host of the service, you should filter on that `host.name` or `host.id` instead.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "name": { - "description": "Name of the service data is collected from. The name of the service is normally user given. This allows for distributed services that run on multiple hosts to correlate the related instances based on the name. In the case of Elasticsearch the `service.name` could contain the cluster name. For Beats the `service.name` is by default a copy of the `service.type` field if no name is specified.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "node": { - "properties": { - "properties": { - "properties": { - "name": { - "description": "Name of a service node. This allows for two nodes of the same service running on the same host to be differentiated. Therefore, `service.node.name` should typically be unique across nodes of a given service. In the case of Elasticsearch, the `service.node.name` could contain the unique node name within the Elasticsearch cluster. In cases where the service doesn't have the concept of a node name, the host name or container name can be used to distinguish running instances that make up this service. If those do not provide uniqueness (e.g. multiple instances of the service running on the same host) - the node name can be manually set.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - } - }, - "type": "object" - } - }, - "state": { - "description": "Current state of the service.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "type": { - "description": "The type of the service data is collected from. The type can be used to group and correlate logs and metrics from one service type. Example: If logs or metrics are collected from Elasticsearch, `service.type` would be `elasticsearch`.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "version": { - "description": "Version of the service the data was collected from. This allows to look at a data set only for a specific version of a service.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - } - }, - "type": "object" - }, - "type": "object" - }, - "source": { - "description": "Source fields capture details about the sender of a network exchange/packet. These fields are populated from a network event, packet, or other event containing details of a network transaction.\nSource fields are usually populated in conjunction with destination fields. The source and destination fields are considered the baseline and should always be filled if an event contains source and destination details from a network transaction. If the event also contains identification of the client and server roles, then the client and server fields should also be populated.", - "properties": { - "properties": { - "properties": { - "address": { - "description": "Some event source addresses are defined ambiguously. The event will sometimes list an IP, a domain or a unix socket. You should always store the raw address in the `.address` field. Then it should be duplicated to `.ip` or `.domain`, depending on which one it is.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "as": { - "properties": { - "properties": { - "properties": { - "number": { - "description": "Unique number allocated to the autonomous system. The autonomous system number (ASN) uniquely identifies each network on the Internet.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "organization": { - "properties": { - "properties": { - "properties": { - "name": { - "description": "Organization name.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - } - } - }, - "type": "object" - } - } - } - }, - "type": "object" - } - }, - "bytes": { - "description": "Bytes sent from the source to the destination.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "domain": { - "description": "Source domain.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "geo": { - "properties": { - "properties": { - "properties": { - "city_name": { - "description": "City name.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "continent_code": { - "description": "Two-letter code representing continent's name.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "continent_name": { - "description": "Name of the continent.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "country_iso_code": { - "description": "Country ISO code.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "country_name": { - "description": "Country name.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "location": { - "description": "Longitude and latitude.", - "properties": { - "type": { - "$ref": "#/definitions/types/geo_point" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "name": { - "description": "User-defined description of a location, at the level of granularity they care about. Could be the name of their data centers, the floor number, if this describes a local physical entity, city names. Not typically used in automated geolocation.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "postal_code": { - "description": "Postal code associated with the location. Values appropriate for this field may also be known as a postcode or ZIP code and will vary widely from country to country.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "region_iso_code": { - "description": "Region ISO code.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "region_name": { - "description": "Region name.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "timezone": { - "description": "The time zone of the location, such as IANA time zone name.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - } - }, - "type": "object" - } - }, - "ip": { - "description": "IP address of the source (IPv4 or IPv6).", - "properties": { - "type": { - "$ref": "#/definitions/types/ip" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "mac": { - "description": "MAC address of the source. The notation format from RFC 7042 is suggested: Each octet (that is, 8-bit byte) is represented by two [uppercase] hexadecimal digits giving the value of the octet as an unsigned integer. Successive octets are separated by a hyphen.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "nat": { - "properties": { - "properties": { - "properties": { - "ip": { - "description": "Translated ip of source based NAT sessions (e.g. internal client to internet) Typically connections traversing load balancers, firewalls, or routers.", - "properties": { - "type": { - "$ref": "#/definitions/types/ip" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "port": { - "description": "Translated port of source based NAT sessions. (e.g. internal client to internet) Typically used with load balancers, firewalls, or routers.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - } - } - }, - "type": "object" - } - }, - "packets": { - "description": "Packets sent from the source to the destination.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "port": { - "description": "Port of the source.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "registered_domain": { - "description": "The highest registered source domain, stripped of the subdomain. For example, the registered domain for \"foo.example.com\" is \"example.com\". This value can be determined precisely with a list like the public suffix list (http://publicsuffix.org). Trying to approximate this by simply taking the last two labels will not work well for TLDs such as \"co.uk\".", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "subdomain": { - "description": "The subdomain portion of a fully qualified domain name includes all of the names except the host name under the registered_domain. In a partially qualified domain, or if the the qualification level of the full name cannot be determined, subdomain contains all of the names below the registered domain. For example the subdomain portion of \"www.east.mydomain.co.uk\" is \"east\". If the domain has multiple levels of subdomain, such as \"sub2.sub1.example.com\", the subdomain field should contain \"sub2.sub1\", with no trailing period.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "top_level_domain": { - "description": "The effective top level domain (eTLD), also known as the domain suffix, is the last part of the domain name. For example, the top level domain for example.com is \"com\". This value can be determined precisely with a list like the public suffix list (http://publicsuffix.org). Trying to approximate this by simply taking the last label will not work well for effective TLDs such as \"co.uk\".", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "user": { - "properties": { - "properties": { - "properties": { - "domain": { - "description": "Name of the directory the user is a member of. For example, an LDAP or Active Directory domain name.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "email": { - "description": "User email address.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "full_name": { - "description": "User's full name, if available.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "group": { - "properties": { - "properties": { - "properties": { - "domain": { - "description": "Name of the directory the group is a member of. For example, an LDAP or Active Directory domain name.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "id": { - "description": "Unique identifier for the group on the system/platform.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "name": { - "description": "Name of the group.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - } - }, - "type": "object" - } - }, - "hash": { - "description": "Unique user hash to correlate information for a user in anonymized form. Useful if `user.id` or `user.name` contain confidential information and cannot be used.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "id": { - "description": "Unique identifier of the user.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "name": { - "description": "Short name or login of the user.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "roles": { - "description": "Array of user roles at the time of the event.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - } - }, - "type": "object" - } - } - } - }, - "type": "object" - }, - "type": "object" - }, - "span": { - "properties": { - "properties": { - "properties": { - "id": { - "description": "Unique identifier of the span within the scope of its trace. A span represents an operation within a transaction, such as a request to another service, or a database query.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - } - }, - "type": "object" - } - }, - "tags": { - "description": "List of keywords used to tag each event.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "threat": { - "description": "Fields to classify events and alerts according to a threat taxonomy such as the MITRE ATT&CK\u00ae framework.\nThese fields are for users to classify alerts from all of their sources (e.g. IDS, NGFW, etc.) within a common taxonomy. The threat.tactic.* are meant to capture the high level category of the threat (e.g. \"impact\"). The threat.technique.* fields are meant to capture which kind of approach is used by this detected threat, to accomplish the goal (e.g. \"endpoint denial of service\").", - "properties": { - "properties": { - "properties": { - "framework": { - "description": "Name of the threat framework used to further categorize and classify the tactic and technique of the reported threat. Framework classification can be provided by detecting systems, evaluated at ingest time, or retrospectively tagged to events.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "group": { - "properties": { - "properties": { - "properties": { - "alias": { - "description": "The alias(es) of the group for a set of related intrusion activity that are tracked by a common name in the security community. While not required, you can use a MITRE ATT&CK\u00ae group alias(es).", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "id": { - "description": "The id of the group for a set of related intrusion activity that are tracked by a common name in the security community. While not required, you can use a MITRE ATT&CK\u00ae group id.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "name": { - "description": "The name of the group for a set of related intrusion activity that are tracked by a common name in the security community. While not required, you can use a MITRE ATT&CK\u00ae group name.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "reference": { - "description": "The reference URL of the group for a set of related intrusion activity that are tracked by a common name in the security community. While not required, you can use a MITRE ATT&CK\u00ae group reference URL.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - } - }, - "type": "object" - } - }, - "indicator": { - "properties": { - "properties": { - "properties": { - "as": { - "properties": { - "properties": { - "properties": { - "number": { - "description": "Unique number allocated to the autonomous system. The autonomous system number (ASN) uniquely identifies each network on the Internet.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "organization": { - "properties": { - "properties": { - "properties": { - "name": { - "description": "Organization name.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - } - } - }, - "type": "object" - } - } - } - }, - "type": "object" - } - }, - "confidence": { - "description": "Identifies the confidence rating assigned by the provider using STIX confidence scales. Expected values: * Not Specified, None, Low, Medium, High * 0-10 * Admirality Scale (1-6) * DNI Scale (5-95) * WEP Scale (Impossible - Certain)", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "dataset": { - "description": "Identifies the name of specific dataset from the intelligence source.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "description": { - "description": "Describes the type of action conducted by the threat.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "domain": { - "description": "Identifies a threat indicator as a domain (irrespective of direction).", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "email": { - "properties": { - "properties": { - "properties": { - "address": { - "description": "Identifies a threat indicator as an email address (irrespective of direction).", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - } - }, - "type": "object" - } - }, - "file": { - "properties": { - "properties": { - "properties": { - "accessed": { - "description": "Last time the file was accessed. Note that not all filesystems keep track of access time.", - "properties": { - "type": { - "$ref": "#/definitions/types/date" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "attributes": { - "description": "Array of file attributes. Attributes names will vary by platform. Here's a non-exhaustive list of values that are expected in this field: archive, compressed, directory, encrypted, execute, hidden, read, readonly, system, write.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "code_signature": { - "properties": { - "properties": { - "properties": { - "exists": { - "description": "Boolean to capture if a signature is present.", - "properties": { - "type": { - "$ref": "#/definitions/types/boolean" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "signing_id": { - "description": "The identifier used to sign the process. This is used to identify the application manufactured by a software vendor. The field is relevant to Apple *OS only.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "status": { - "description": "Additional information about the certificate status. This is useful for logging cryptographic errors with the certificate validity or trust status. Leave unpopulated if the validity or trust of the certificate was unchecked.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "subject_name": { - "description": "Subject name of the code signer", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "team_id": { - "description": "The team identifier used to sign the process. This is used to identify the team or vendor of a software product. The field is relevant to Apple *OS only.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "trusted": { - "description": "Stores the trust status of the certificate chain. Validating the trust of the certificate chain may be complicated, and this field should only be populated by tools that actively check the status.", - "properties": { - "type": { - "$ref": "#/definitions/types/boolean" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "valid": { - "description": "Boolean to capture if the digital signature is verified against the binary content. Leave unpopulated if a certificate was unchecked.", - "properties": { - "type": { - "$ref": "#/definitions/types/boolean" - } - }, - "required": [ - "type" - ], - "type": "object" - } - } - }, - "type": "object" - } - }, - "created": { - "description": "File creation time. Note that not all filesystems store the creation time.", - "properties": { - "type": { - "$ref": "#/definitions/types/date" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "ctime": { - "description": "Last time the file attributes or metadata changed. Note that changes to the file content will update `mtime`. This implies `ctime` will be adjusted at the same time, since `mtime` is an attribute of the file.", - "properties": { - "type": { - "$ref": "#/definitions/types/date" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "device": { - "description": "Device that is the source of the file.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "directory": { - "description": "Directory where the file is located. It should include the drive letter, when appropriate.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "drive_letter": { - "description": "Drive letter where the file is located. This field is only relevant on Windows. The value should be uppercase, and not include the colon.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "extension": { - "description": "File extension, excluding the leading dot. Note that when the file name has multiple extensions (example.tar.gz), only the last one should be captured (\"gz\", not \"tar.gz\").", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "gid": { - "description": "Primary group ID (GID) of the file.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "group": { - "description": "Primary group name of the file.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "inode": { - "description": "Inode representing the file in the filesystem.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "mime_type": { - "description": "MIME type should identify the format of the file or stream of bytes using https://www.iana.org/assignments/media-types/media-types.xhtml[IANA official types], where possible. When more than one type is applicable, the most specific type should be used.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "mode": { - "description": "Mode of the file in octal representation.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "mtime": { - "description": "Last time the file content was modified.", - "properties": { - "type": { - "$ref": "#/definitions/types/date" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "name": { - "description": "Name of the file including the extension, without the directory.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "owner": { - "description": "File owner's username.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "path": { - "description": "Full path to the file, including the file name. It should include the drive letter, when appropriate.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "size": { - "description": "File size in bytes. Only relevant when `file.type` is \"file\".", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "target_path": { - "description": "Target path for symlinks.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "type": { - "description": "File type (file, dir, or symlink).", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "uid": { - "description": "The user ID (UID) or security identifier (SID) of the file owner.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - } - }, - "type": "object" - } - }, - "first_seen": { - "description": "The date and time when intelligence source first reported sighting this indicator.", - "properties": { - "type": { - "$ref": "#/definitions/types/date" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "geo": { - "properties": { - "properties": { - "properties": { - "city_name": { - "description": "City name.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "continent_code": { - "description": "Two-letter code representing continent's name.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "continent_name": { - "description": "Name of the continent.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "country_iso_code": { - "description": "Country ISO code.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "country_name": { - "description": "Country name.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "location": { - "description": "Longitude and latitude.", - "properties": { - "type": { - "$ref": "#/definitions/types/geo_point" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "name": { - "description": "User-defined description of a location, at the level of granularity they care about. Could be the name of their data centers, the floor number, if this describes a local physical entity, city names. Not typically used in automated geolocation.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "postal_code": { - "description": "Postal code associated with the location. Values appropriate for this field may also be known as a postcode or ZIP code and will vary widely from country to country.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "region_iso_code": { - "description": "Region ISO code.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "region_name": { - "description": "Region name.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "timezone": { - "description": "The time zone of the location, such as IANA time zone name.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - } - }, - "type": "object" - } - }, - "hash": { - "properties": { - "properties": { - "properties": { - "md5": { - "description": "MD5 hash.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "sha1": { - "description": "SHA1 hash.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "sha256": { - "description": "SHA256 hash.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "sha512": { - "description": "SHA512 hash.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "ssdeep": { - "description": "SSDEEP hash.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - } - }, - "type": "object" - } - }, - "ip": { - "description": "Identifies a threat indicator as an IP address (irrespective of direction).", - "properties": { - "type": { - "$ref": "#/definitions/types/ip" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "last_seen": { - "description": "The date and time when intelligence source last reported sighting this indicator.", - "properties": { - "type": { - "$ref": "#/definitions/types/date" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "marking": { - "properties": { - "properties": { - "properties": { - "tlp": { - "description": "Traffic Light Protocol sharing markings. Expected values are: * White * Green * Amber * Red", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - } - }, - "type": "object" - } - }, - "matched": { - "properties": { - "properties": { - "properties": { - "atomic": { - "description": "Identifies the atomic indicator that matched a local environment endpoint or network event.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "field": { - "description": "Identifies the field of the atomic indicator that matched a local environment endpoint or network event.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "type": { - "description": "Identifies the type of the atomic indicator that matched a local environment endpoint or network event.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - } - }, - "type": "object" - } - }, - "module": { - "description": "Identifies the name of specific module this data is coming from.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "pe": { - "properties": { - "properties": { - "properties": { - "architecture": { - "description": "CPU architecture target for the file.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "authentihash": { - "description": "Authentihash of the PE file.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "company": { - "description": "Internal company name of the file, provided at compile-time.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "compile_timestamp": { - "description": "Compile timestamp of the PE file.", - "properties": { - "type": { - "$ref": "#/definitions/types/date" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "compiler": { - "properties": { - "properties": { - "properties": { - "name": { - "description": "Name of the compiler", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "version": { - "description": "Version of the compiler.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - } - }, - "type": "object" - } - }, - "creation_date": { - "description": "Extracted when possible from the file's metadata. Indicates when it was built or compiled. It can also be faked by malware creators.", - "properties": { - "type": { - "$ref": "#/definitions/types/date" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "debug": { - "description": "An array containing an object for each debug entry, if present. The expected fields for this nested object fall under the `debug.` prefix.", - "properties": { - "properties": { - "properties": { - "offset": { - "description": "Debug offset information.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "size": { - "description": "Size of the debug information.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "timestamp": { - "description": "Timestamp of the debug information.", - "properties": { - "type": { - "$ref": "#/definitions/types/date" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "type": { - "description": "Information type generated by the debug options.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - } - }, - "type": { - "$ref": "#/definitions/types/nested" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "description": { - "description": "Internal description of the file, provided at compile-time.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "entry_point": { - "description": "Relative byte offset to the base of the PE file.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "exports": { - "description": "List of symbols exported by PE", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "file_version": { - "description": "Internal version of the file, provided at compile-time.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "icon": { - "properties": { - "properties": { - "properties": { - "hash": { - "properties": { - "properties": { - "properties": { - "dhash": { - "description": "Difference Hash (dhash) to find files with a visually similar icon or thumbnail.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - } - }, - "type": "object" - } - } - } - }, - "type": "object" - } - }, - "imphash": { - "description": "A hash of the imports in a PE file. An imphash -- or import hash -- can be used to fingerprint binaries even after recompilation or other code-level transformations have occurred, which would change more traditional hash values. Learn more at https://www.fireeye.com/blog/threat-research/2014/01/tracking-malware-import-hashing.html.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "imports": { - "description": "List of all imported functions", - "properties": { - "type": { - "$ref": "#/definitions/types/flattened" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "machine_type": { - "description": "Machine type of the PE file.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "original_file_name": { - "description": "Internal name of the file, provided at compile-time.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "packers": { - "description": "List of packers and tools used.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "product": { - "description": "Internal product name of the file, provided at compile-time.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "resources": { - "description": "An array containing an object for each PE resource, if present. The expected fields for this nested object fall under the `resources.` prefix.", - "properties": { - "properties": { - "properties": { - "chi2": { - "description": "Chi-square probability distribution.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "entropy": { - "description": "Measurement of entropy randomness in the resources section.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "filetype": { - "description": "File type of the resources section.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "language": { - "description": "Language identification.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "sha256": { - "description": "SHA256 hash of resources section.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "type": { - "description": "Digest of resource types.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - } - }, - "type": { - "$ref": "#/definitions/types/nested" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "rich_header": { - "properties": { - "properties": { - "properties": { - "hash": { - "properties": { - "properties": { - "properties": { - "md5": { - "description": "MD5 hash of the header for the PE file.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - } - }, - "type": "object" - } - } - } - }, - "type": "object" - } - }, - "sections": { - "description": "Data about sections of compiled binary PE", - "properties": { - "properties": { - "properties": { - "chi2": { - "description": "Chi-square probability distribution.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "entropy": { - "description": "Measurement of entropy randomness in the file.", - "properties": { - "type": { - "$ref": "#/definitions/types/float" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "flags": { - "description": "Section flags of the file.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "name": { - "description": "Section names of the file.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "raw_size": { - "description": "Size of the section or the dize of the initialized data on disk.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "virtual_address": { - "description": "Virtual address available to the file.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - } - } - }, - "type": { - "$ref": "#/definitions/types/nested" - } - }, - "required": [ - "type" - ], - "type": "object" - } - } - }, - "type": "object" - } - }, - "port": { - "description": "Identifies a threat indicator as a port number (irrespective of direction).", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "provider": { - "description": "Identifies the name of the intelligence provider.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "registry": { - "properties": { - "properties": { - "properties": { - "data": { - "properties": { - "properties": { - "properties": { - "bytes": { - "description": "Original bytes written with base64 encoding. For Windows registry operations, such as SetValueEx and RegQueryValueEx, this corresponds to the data pointed by `lp_data`. This is optional but provides better recoverability and should be populated for REG_BINARY encoded values.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "strings": { - "description": "Content when writing string types. Populated as an array when writing string data to the registry. For single string registry types (REG_SZ, REG_EXPAND_SZ), this should be an array with one string. For sequences of string with REG_MULTI_SZ, this array will be variable length. For numeric data, such as REG_DWORD and REG_QWORD, this should be populated with the decimal representation (e.g `\"1\"`).", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "type": { - "description": "Standard registry type for encoding contents", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - } - }, - "type": "object" - } - }, - "hive": { - "description": "Abbreviated name for the hive.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "key": { - "description": "Hive-relative path of keys.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "path": { - "description": "Full path, including hive, key and value", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "value": { - "description": "Name of the value written.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - } - }, - "type": "object" - } - }, - "scanner_stats": { - "description": "Count of AV/EDR vendors that successfully detected malicious file or URL.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "sightings": { - "description": "Number of times this indicator was observed conducting threat activity.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "type": { - "description": "Type of indicator as represented by Cyber Observable in STIX 2.0. Expected values * autonomous-system * artifact * directory * domain-name * email-addr * file * ipv4-addr * ipv6-addr * mac-addr * mutex * process * software * url * user-account * windows-registry-key * x-509-certificate", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - } - }, - "type": "object" - } - }, - "software": { - "properties": { - "properties": { - "properties": { - "id": { - "description": "The id of the software used by this threat to conduct behavior commonly modeled using MITRE ATT&CK\u00ae. While not required, you can use a MITRE ATT&CK\u00ae software id.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "name": { - "description": "The name of the software used by this threat to conduct behavior commonly modeled using MITRE ATT&CK\u00ae. While not required, you can use a MITRE ATT&CK\u00ae software name.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "platforms": { - "description": "The platform of the software used by this threat to conduct behavior commonly modeled using MITRE ATT&CK\u00ae. While not required, you can use a MITRE ATT&CK\u00ae software platform. Expected values * AWS * Azure * Azure AD * GCP * Linux * macOS * Network * Office 365 * PRE * SaaS * Windows", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "reference": { - "description": "The reference URL of the software used by this threat to conduct behavior commonly modeled using MITRE ATT&CK\u00ae. While not required, you can use a MITRE ATT&CK\u00ae software reference URL.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "type": { - "description": "The type of software used by this threat to conduct behavior commonly modeled using MITRE ATT&CK\u00ae. While not required, you can use a MITRE ATT&CK\u00ae software type. Expected values * Malware * Tool", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - } - }, - "type": "object" - } - }, - "tactic": { - "properties": { - "properties": { - "properties": { - "id": { - "description": "The id of tactic used by this threat. You can use a MITRE ATT&CK\u00ae tactic, for example. (ex. https://attack.mitre.org/tactics/TA0002/ )", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "name": { - "description": "Name of the type of tactic used by this threat. You can use a MITRE ATT&CK\u00ae tactic, for example. (ex. https://attack.mitre.org/tactics/TA0002/)", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "reference": { - "description": "The reference url of tactic used by this threat. You can use a MITRE ATT&CK\u00ae tactic, for example. (ex. https://attack.mitre.org/tactics/TA0002/ )", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - } - }, - "type": "object" - } - }, - "technique": { - "properties": { - "properties": { - "properties": { - "id": { - "description": "The id of technique used by this threat. You can use a MITRE ATT&CK\u00ae technique, for example. (ex. https://attack.mitre.org/techniques/T1059/)", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "name": { - "description": "The name of technique used by this threat. You can use a MITRE ATT&CK\u00ae technique, for example. (ex. https://attack.mitre.org/techniques/T1059/)", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "reference": { - "description": "The reference url of technique used by this threat. You can use a MITRE ATT&CK\u00ae technique, for example. (ex. https://attack.mitre.org/techniques/T1059/)", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "subtechnique": { - "properties": { - "properties": { - "properties": { - "id": { - "description": "The full id of subtechnique used by this threat. You can use a MITRE ATT&CK\u00ae subtechnique, for example. (ex. https://attack.mitre.org/techniques/T1059/001/)", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "name": { - "description": "The name of subtechnique used by this threat. You can use a MITRE ATT&CK\u00ae subtechnique, for example. (ex. https://attack.mitre.org/techniques/T1059/001/)", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "reference": { - "description": "The reference url of subtechnique used by this threat. You can use a MITRE ATT&CK\u00ae subtechnique, for example. (ex. https://attack.mitre.org/techniques/T1059/001/)", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - } - }, - "type": "object" - } - } - } - }, - "type": "object" - } - } - } - }, - "type": "object" - }, - "type": "object" - }, - "tls": { - "description": "Fields related to a TLS connection. These fields focus on the TLS protocol itself and intentionally avoids in-depth analysis of the related x.509 certificate files.", - "properties": { - "properties": { - "properties": { - "cipher": { - "description": "String indicating the cipher used during the current connection.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "client": { - "properties": { - "properties": { - "properties": { - "certificate": { - "description": "PEM-encoded stand-alone certificate offered by the client. This is usually mutually-exclusive of `client.certificate_chain` since this value also exists in that list.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "certificate_chain": { - "description": "Array of PEM-encoded certificates that make up the certificate chain offered by the client. This is usually mutually-exclusive of `client.certificate` since that value should be the first certificate in the chain.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "hash": { - "properties": { - "properties": { - "properties": { - "md5": { - "description": "Certificate fingerprint using the MD5 digest of DER-encoded version of certificate offered by the client. For consistency with other hash values, this value should be formatted as an uppercase hash.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "sha1": { - "description": "Certificate fingerprint using the SHA1 digest of DER-encoded version of certificate offered by the client. For consistency with other hash values, this value should be formatted as an uppercase hash.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "sha256": { - "description": "Certificate fingerprint using the SHA256 digest of DER-encoded version of certificate offered by the client. For consistency with other hash values, this value should be formatted as an uppercase hash.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - } - }, - "type": "object" - } - }, - "issuer": { - "description": "Distinguished name of subject of the issuer of the x.509 certificate presented by the client.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "ja3": { - "description": "A hash that identifies clients based on how they perform an SSL/TLS handshake.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "not_after": { - "description": "Date/Time indicating when client certificate is no longer considered valid.", - "properties": { - "type": { - "$ref": "#/definitions/types/date" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "not_before": { - "description": "Date/Time indicating when client certificate is first considered valid.", - "properties": { - "type": { - "$ref": "#/definitions/types/date" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "server_name": { - "description": "Also called an SNI, this tells the server which hostname to which the client is attempting to connect to. When this value is available, it should get copied to `destination.domain`.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "subject": { - "description": "Distinguished name of subject of the x.509 certificate presented by the client.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "supported_ciphers": { - "description": "Array of ciphers offered by the client during the client hello.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "x509": { - "properties": { - "properties": { - "properties": { - "alternative_names": { - "description": "List of subject alternative names (SAN). Name types vary by certificate authority and certificate type but commonly contain IP addresses, DNS names (and wildcards), and email addresses.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "issuer": { - "properties": { - "properties": { - "properties": { - "common_name": { - "description": "List of common name (CN) of issuing certificate authority.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "country": { - "description": "List of country (C) codes", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "distinguished_name": { - "description": "Distinguished name (DN) of issuing certificate authority.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "locality": { - "description": "List of locality names (L)", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "organization": { - "description": "List of organizations (O) of issuing certificate authority.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "organizational_unit": { - "description": "List of organizational units (OU) of issuing certificate authority.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "state_or_province": { - "description": "List of state or province names (ST, S, or P)", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - } - }, - "type": "object" - } - }, - "not_after": { - "description": "Time at which the certificate is no longer considered valid.", - "properties": { - "type": { - "$ref": "#/definitions/types/date" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "not_before": { - "description": "Time at which the certificate is first considered valid.", - "properties": { - "type": { - "$ref": "#/definitions/types/date" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "public_key_algorithm": { - "description": "Algorithm used to generate the public key.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "public_key_curve": { - "description": "The curve used by the elliptic curve public key algorithm. This is algorithm specific.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "public_key_exponent": { - "description": "Exponent used to derive the public key. This is algorithm specific.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "public_key_size": { - "description": "The size of the public key space in bits.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "serial_number": { - "description": "Unique serial number issued by the certificate authority. For consistency, if this value is alphanumeric, it should be formatted without colons and uppercase characters.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "signature_algorithm": { - "description": "Identifier for certificate signature algorithm. We recommend using names found in Go Lang Crypto library. See https://github.com/golang/go/blob/go1.14/src/crypto/x509/x509.go#L337-L353.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "subject": { - "properties": { - "properties": { - "properties": { - "common_name": { - "description": "List of common names (CN) of subject.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "country": { - "description": "List of country (C) code", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "distinguished_name": { - "description": "Distinguished name (DN) of the certificate subject entity.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "locality": { - "description": "List of locality names (L)", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "organization": { - "description": "List of organizations (O) of subject.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "organizational_unit": { - "description": "List of organizational units (OU) of subject.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "state_or_province": { - "description": "List of state or province names (ST, S, or P)", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - } - }, - "type": "object" - } - }, - "version_number": { - "description": "Version of x509 format.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - } - }, - "type": "object" - } - } - } - }, - "type": "object" - } - }, - "curve": { - "description": "String indicating the curve used for the given cipher, when applicable.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "established": { - "description": "Boolean flag indicating if the TLS negotiation was successful and transitioned to an encrypted tunnel.", - "properties": { - "type": { - "$ref": "#/definitions/types/boolean" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "next_protocol": { - "description": "String indicating the protocol being tunneled. Per the values in the IANA registry (https://www.iana.org/assignments/tls-extensiontype-values/tls-extensiontype-values.xhtml#alpn-protocol-ids), this string should be lower case.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "resumed": { - "description": "Boolean flag indicating if this TLS connection was resumed from an existing TLS negotiation.", - "properties": { - "type": { - "$ref": "#/definitions/types/boolean" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "server": { - "properties": { - "properties": { - "properties": { - "certificate": { - "description": "PEM-encoded stand-alone certificate offered by the server. This is usually mutually-exclusive of `server.certificate_chain` since this value also exists in that list.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "certificate_chain": { - "description": "Array of PEM-encoded certificates that make up the certificate chain offered by the server. This is usually mutually-exclusive of `server.certificate` since that value should be the first certificate in the chain.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "hash": { - "properties": { - "properties": { - "properties": { - "md5": { - "description": "Certificate fingerprint using the MD5 digest of DER-encoded version of certificate offered by the server. For consistency with other hash values, this value should be formatted as an uppercase hash.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "sha1": { - "description": "Certificate fingerprint using the SHA1 digest of DER-encoded version of certificate offered by the server. For consistency with other hash values, this value should be formatted as an uppercase hash.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "sha256": { - "description": "Certificate fingerprint using the SHA256 digest of DER-encoded version of certificate offered by the server. For consistency with other hash values, this value should be formatted as an uppercase hash.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - } - }, - "type": "object" - } - }, - "issuer": { - "description": "Subject of the issuer of the x.509 certificate presented by the server.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "ja3s": { - "description": "A hash that identifies servers based on how they perform an SSL/TLS handshake.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "not_after": { - "description": "Timestamp indicating when server certificate is no longer considered valid.", - "properties": { - "type": { - "$ref": "#/definitions/types/date" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "not_before": { - "description": "Timestamp indicating when server certificate is first considered valid.", - "properties": { - "type": { - "$ref": "#/definitions/types/date" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "subject": { - "description": "Subject of the x.509 certificate presented by the server.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "x509": { - "properties": { - "properties": { - "properties": { - "alternative_names": { - "description": "List of subject alternative names (SAN). Name types vary by certificate authority and certificate type but commonly contain IP addresses, DNS names (and wildcards), and email addresses.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "issuer": { - "properties": { - "properties": { - "properties": { - "common_name": { - "description": "List of common name (CN) of issuing certificate authority.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "country": { - "description": "List of country (C) codes", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "distinguished_name": { - "description": "Distinguished name (DN) of issuing certificate authority.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "locality": { - "description": "List of locality names (L)", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "organization": { - "description": "List of organizations (O) of issuing certificate authority.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "organizational_unit": { - "description": "List of organizational units (OU) of issuing certificate authority.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "state_or_province": { - "description": "List of state or province names (ST, S, or P)", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - } - }, - "type": "object" - } - }, - "not_after": { - "description": "Time at which the certificate is no longer considered valid.", - "properties": { - "type": { - "$ref": "#/definitions/types/date" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "not_before": { - "description": "Time at which the certificate is first considered valid.", - "properties": { - "type": { - "$ref": "#/definitions/types/date" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "public_key_algorithm": { - "description": "Algorithm used to generate the public key.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "public_key_curve": { - "description": "The curve used by the elliptic curve public key algorithm. This is algorithm specific.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "public_key_exponent": { - "description": "Exponent used to derive the public key. This is algorithm specific.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "public_key_size": { - "description": "The size of the public key space in bits.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "serial_number": { - "description": "Unique serial number issued by the certificate authority. For consistency, if this value is alphanumeric, it should be formatted without colons and uppercase characters.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "signature_algorithm": { - "description": "Identifier for certificate signature algorithm. We recommend using names found in Go Lang Crypto library. See https://github.com/golang/go/blob/go1.14/src/crypto/x509/x509.go#L337-L353.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "subject": { - "properties": { - "properties": { - "properties": { - "common_name": { - "description": "List of common names (CN) of subject.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "country": { - "description": "List of country (C) code", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "distinguished_name": { - "description": "Distinguished name (DN) of the certificate subject entity.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "locality": { - "description": "List of locality names (L)", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "organization": { - "description": "List of organizations (O) of subject.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "organizational_unit": { - "description": "List of organizational units (OU) of subject.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "state_or_province": { - "description": "List of state or province names (ST, S, or P)", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - } - }, - "type": "object" - } - }, - "version_number": { - "description": "Version of x509 format.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - } - }, - "type": "object" - } - } - } - }, - "type": "object" - } - }, - "version": { - "description": "Numeric part of the version parsed from the original string.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "version_protocol": { - "description": "Normalized lowercase protocol name parsed from original string.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - } - }, - "type": "object" - }, - "type": "object" - }, - "trace": { - "properties": { - "properties": { - "properties": { - "id": { - "description": "Unique identifier of the trace. A trace groups multiple events like transactions that belong together. For example, a user request handled by multiple inter-connected services.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - } - }, - "type": "object" - } - }, - "transaction": { - "properties": { - "properties": { - "properties": { - "id": { - "description": "Unique identifier of the transaction within the scope of its trace. A transaction is the highest level of work measured within a service, such as a request to a server.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - } - }, - "type": "object" - } - }, - "url": { - "description": "URL fields provide support for complete or partial URLs, and supports the breaking down into scheme, domain, path, and so on.", - "properties": { - "properties": { - "properties": { - "domain": { - "description": "Domain of the url, such as \"www.elastic.co\". In some cases a URL may refer to an IP and/or port directly, without a domain name. In this case, the IP address would go to the `domain` field. If the URL contains a literal IPv6 address enclosed by `[` and `]` (IETF RFC 2732), the `[` and `]` characters should also be captured in the `domain` field.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "extension": { - "description": "The field contains the file extension from the original request url, excluding the leading dot. The file extension is only set if it exists, as not every url has a file extension. The leading period must not be included. For example, the value must be \"png\", not \".png\". Note that when the file name has multiple extensions (example.tar.gz), only the last one should be captured (\"gz\", not \"tar.gz\").", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "fragment": { - "description": "Portion of the url after the `#`, such as \"top\". The `#` is not part of the fragment.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "full": { - "description": "If full URLs are important to your use case, they should be stored in `url.full`, whether this field is reconstructed or present in the event source.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "original": { - "description": "Unmodified original url as seen in the event source. Note that in network monitoring, the observed URL may be a full URL, whereas in access logs, the URL is often just represented as a path. This field is meant to represent the URL as it was observed, complete or not.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "password": { - "description": "Password of the request.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "path": { - "description": "Path of the request, such as \"/search\".", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "port": { - "description": "Port of the request, such as 443.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "query": { - "description": "The query field describes the query string of the request, such as \"q=elasticsearch\". The `?` is excluded from the query string. If a URL contains no `?`, there is no query field. If there is a `?` but no query, the query field exists with an empty string. The `exists` query can be used to differentiate between the two cases.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "registered_domain": { - "description": "The highest registered url domain, stripped of the subdomain. For example, the registered domain for \"foo.example.com\" is \"example.com\". This value can be determined precisely with a list like the public suffix list (http://publicsuffix.org). Trying to approximate this by simply taking the last two labels will not work well for TLDs such as \"co.uk\".", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "scheme": { - "description": "Scheme of the request, such as \"https\". Note: The `:` is not part of the scheme.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "subdomain": { - "description": "The subdomain portion of a fully qualified domain name includes all of the names except the host name under the registered_domain. In a partially qualified domain, or if the the qualification level of the full name cannot be determined, subdomain contains all of the names below the registered domain. For example the subdomain portion of \"www.east.mydomain.co.uk\" is \"east\". If the domain has multiple levels of subdomain, such as \"sub2.sub1.example.com\", the subdomain field should contain \"sub2.sub1\", with no trailing period.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "top_level_domain": { - "description": "The effective top level domain (eTLD), also known as the domain suffix, is the last part of the domain name. For example, the top level domain for example.com is \"com\". This value can be determined precisely with a list like the public suffix list (http://publicsuffix.org). Trying to approximate this by simply taking the last label will not work well for effective TLDs such as \"co.uk\".", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "username": { - "description": "Username of the request.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - } - }, - "type": "object" - }, - "type": "object" - }, - "user": { - "description": "The user fields describe information about the user that is relevant to the event.\nFields can have one entry or multiple entries. If a user has more than one id, provide an array that includes all of them.", - "properties": { - "properties": { - "properties": { - "changes": { - "properties": { - "properties": { - "properties": { - "domain": { - "description": "Name of the directory the user is a member of. For example, an LDAP or Active Directory domain name.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "email": { - "description": "User email address.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "full_name": { - "description": "User's full name, if available.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "group": { - "properties": { - "properties": { - "properties": { - "domain": { - "description": "Name of the directory the group is a member of. For example, an LDAP or Active Directory domain name.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "id": { - "description": "Unique identifier for the group on the system/platform.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "name": { - "description": "Name of the group.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - } - }, - "type": "object" - } - }, - "hash": { - "description": "Unique user hash to correlate information for a user in anonymized form. Useful if `user.id` or `user.name` contain confidential information and cannot be used.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "id": { - "description": "Unique identifier of the user.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "name": { - "description": "Short name or login of the user.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "roles": { - "description": "Array of user roles at the time of the event.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - } - }, - "type": "object" - } - }, - "domain": { - "description": "Name of the directory the user is a member of. For example, an LDAP or Active Directory domain name.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "effective": { - "properties": { - "properties": { - "properties": { - "domain": { - "description": "Name of the directory the user is a member of. For example, an LDAP or Active Directory domain name.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "email": { - "description": "User email address.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "full_name": { - "description": "User's full name, if available.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "group": { - "properties": { - "properties": { - "properties": { - "domain": { - "description": "Name of the directory the group is a member of. For example, an LDAP or Active Directory domain name.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "id": { - "description": "Unique identifier for the group on the system/platform.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "name": { - "description": "Name of the group.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - } - }, - "type": "object" - } - }, - "hash": { - "description": "Unique user hash to correlate information for a user in anonymized form. Useful if `user.id` or `user.name` contain confidential information and cannot be used.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "id": { - "description": "Unique identifier of the user.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "name": { - "description": "Short name or login of the user.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "roles": { - "description": "Array of user roles at the time of the event.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - } - }, - "type": "object" - } - }, - "email": { - "description": "User email address.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "full_name": { - "description": "User's full name, if available.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "group": { - "properties": { - "properties": { - "properties": { - "domain": { - "description": "Name of the directory the group is a member of. For example, an LDAP or Active Directory domain name.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "id": { - "description": "Unique identifier for the group on the system/platform.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "name": { - "description": "Name of the group.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - } - }, - "type": "object" - } - }, - "hash": { - "description": "Unique user hash to correlate information for a user in anonymized form. Useful if `user.id` or `user.name` contain confidential information and cannot be used.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "id": { - "description": "Unique identifier of the user.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "name": { - "description": "Short name or login of the user.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "roles": { - "description": "Array of user roles at the time of the event.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "target": { - "properties": { - "properties": { - "properties": { - "domain": { - "description": "Name of the directory the user is a member of. For example, an LDAP or Active Directory domain name.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "email": { - "description": "User email address.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "full_name": { - "description": "User's full name, if available.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "group": { - "properties": { - "properties": { - "properties": { - "domain": { - "description": "Name of the directory the group is a member of. For example, an LDAP or Active Directory domain name.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "id": { - "description": "Unique identifier for the group on the system/platform.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "name": { - "description": "Name of the group.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - } - }, - "type": "object" - } - }, - "hash": { - "description": "Unique user hash to correlate information for a user in anonymized form. Useful if `user.id` or `user.name` contain confidential information and cannot be used.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "id": { - "description": "Unique identifier of the user.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "name": { - "description": "Short name or login of the user.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "roles": { - "description": "Array of user roles at the time of the event.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - } - }, - "type": "object" - } - } - } - }, - "type": "object" - }, - "type": "object" - }, - "user_agent": { - "description": "The user_agent fields normally come from a browser request.\nThey often show up in web service logs coming from the parsed user agent string.", - "properties": { - "properties": { - "properties": { - "device": { - "properties": { - "properties": { - "properties": { - "name": { - "description": "Name of the device.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - } - }, - "type": "object" - } - }, - "name": { - "description": "Name of the user agent.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "original": { - "description": "Unparsed user_agent string.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "os": { - "properties": { - "properties": { - "properties": { - "family": { - "description": "OS family (such as redhat, debian, freebsd, windows).", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "full": { - "description": "Operating system name, including the version or code name.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "kernel": { - "description": "Operating system kernel version as a raw string.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "name": { - "description": "Operating system name, without the version.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "platform": { - "description": "Operating system platform (such centos, ubuntu, windows).", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "type": { - "description": "Use the `os.type` field to categorize the operating system into one of the broad commercial families. One of these following values should be used (lowercase): linux, macos, unix, windows. If the OS you're dealing with is not in the list, the field should not be populated. Please let us know by opening an issue with ECS, to propose its addition.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "version": { - "description": "Operating system version as a raw string.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - } - }, - "type": "object" - } - }, - "version": { - "description": "Version of the user agent.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - } - }, - "type": "object" - }, - "type": "object" - }, - "vulnerability": { - "description": "The vulnerability fields describe information about a vulnerability that is relevant to an event.", - "properties": { - "properties": { - "properties": { - "category": { - "description": "The type of system or architecture that the vulnerability affects. These may be platform-specific (for example, Debian or SUSE) or general (for example, Database or Firewall). For example (https://qualysguard.qualys.com/qwebhelp/fo_portal/knowledgebase/vulnerability_categories.htm[Qualys vulnerability categories]) This field must be an array.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "classification": { - "description": "The classification of the vulnerability scoring system. For example (https://www.first.org/cvss/)", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "description": { - "description": "The description of the vulnerability that provides additional context of the vulnerability. For example (https://cve.mitre.org/about/faqs.html#cve_entry_descriptions_created[Common Vulnerabilities and Exposure CVE description])", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "enumeration": { - "description": "The type of identifier used for this vulnerability. For example (https://cve.mitre.org/about/)", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "id": { - "description": "The identification (ID) is the number portion of a vulnerability entry. It includes a unique identification number for the vulnerability. For example (https://cve.mitre.org/about/faqs.html#what_is_cve_id)[Common Vulnerabilities and Exposure CVE ID]", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "reference": { - "description": "A resource that provides additional information, context, and mitigations for the identified vulnerability.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "report_id": { - "description": "The report or scan identification number.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "scanner": { - "properties": { - "properties": { - "properties": { - "vendor": { - "description": "The name of the vulnerability scanner vendor.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - } - }, - "type": "object" - } - }, - "score": { - "properties": { - "properties": { - "properties": { - "base": { - "description": "Scores can range from 0.0 to 10.0, with 10.0 being the most severe. Base scores cover an assessment for exploitability metrics (attack vector, complexity, privileges, and user interaction), impact metrics (confidentiality, integrity, and availability), and scope. For example (https://www.first.org/cvss/specification-document)", - "properties": { - "type": { - "$ref": "#/definitions/types/float" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "environmental": { - "description": "Scores can range from 0.0 to 10.0, with 10.0 being the most severe. Environmental scores cover an assessment for any modified Base metrics, confidentiality, integrity, and availability requirements. For example (https://www.first.org/cvss/specification-document)", - "properties": { - "type": { - "$ref": "#/definitions/types/float" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "temporal": { - "description": "Scores can range from 0.0 to 10.0, with 10.0 being the most severe. Temporal scores cover an assessment for code maturity, remediation level, and confidence. For example (https://www.first.org/cvss/specification-document)", - "properties": { - "type": { - "$ref": "#/definitions/types/float" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "version": { - "description": "The National Vulnerability Database (NVD) provides qualitative severity rankings of \"Low\", \"Medium\", and \"High\" for CVSS v2.0 base score ranges in addition to the severity ratings for CVSS v3.0 as they are defined in the CVSS v3.0 specification. CVSS is owned and managed by FIRST.Org, Inc. (FIRST), a US-based non-profit organization, whose mission is to help computer security incident response teams across the world. For example (https://nvd.nist.gov/vuln-metrics/cvss)", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - } - }, - "type": "object" - } - }, - "severity": { - "description": "The severity of the vulnerability can help with metrics and internal prioritization regarding remediation. For example (https://nvd.nist.gov/vuln-metrics/cvss)", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - } - }, - "type": "object" - }, - "type": "object" - } - }, - "version": "2.0.0-dev+exp" -} \ No newline at end of file diff --git a/experimental/generated/json_schema/group.json b/experimental/generated/json_schema/group.json deleted file mode 100644 index 3b9f1d1ee6..0000000000 --- a/experimental/generated/json_schema/group.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "group": { - "properties": { - "properties": { - "domain": { - "description": "Name of the directory the group is a member of. For example, an LDAP or Active Directory domain name.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "id": { - "description": "Unique identifier for the group on the system/platform.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "name": { - "description": "Name of the group.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "type": "object" - } - } -} \ No newline at end of file diff --git a/experimental/generated/json_schema/host.json b/experimental/generated/json_schema/host.json deleted file mode 100644 index 58b986566b..0000000000 --- a/experimental/generated/json_schema/host.json +++ /dev/null @@ -1,614 +0,0 @@ -{ - "host": { - "properties": { - "properties": { - "architecture": { - "description": "Operating system architecture.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "cpu": { - "properties": { - "properties": { - "usage": { - "description": "Percent CPU used which is normalized by the number of CPU cores and it ranges from 0 to 1. Scaling factor: 1000. For example: For a two core host, this value should be the average of the two cores, between 0 and 1.", - "properties": { - "type": { - "$ref": "#/definitions/types/scaled_float" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "type": "object" - } - }, - "disk": { - "properties": { - "properties": { - "read": { - "properties": { - "properties": { - "bytes": { - "description": "The total number of bytes (gauge) read successfully (aggregated from all disks) since the last metric collection.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "type": "object" - } - }, - "write": { - "properties": { - "properties": { - "bytes": { - "description": "The total number of bytes (gauge) written successfully (aggregated from all disks) since the last metric collection.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "type": "object" - } - } - }, - "type": "object" - } - }, - "domain": { - "description": "Name of the domain of which the host is a member. 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.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "geo": { - "properties": { - "properties": { - "city_name": { - "description": "City name.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "continent_code": { - "description": "Two-letter code representing continent's name.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "continent_name": { - "description": "Name of the continent.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "country_iso_code": { - "description": "Country ISO code.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "country_name": { - "description": "Country name.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "location": { - "description": "Longitude and latitude.", - "properties": { - "type": { - "$ref": "#/definitions/types/geo_point" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "name": { - "description": "User-defined description of a location, at the level of granularity they care about. Could be the name of their data centers, the floor number, if this describes a local physical entity, city names. Not typically used in automated geolocation.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "postal_code": { - "description": "Postal code associated with the location. Values appropriate for this field may also be known as a postcode or ZIP code and will vary widely from country to country.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "region_iso_code": { - "description": "Region ISO code.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "region_name": { - "description": "Region name.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "timezone": { - "description": "The time zone of the location, such as IANA time zone name.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "type": "object" - } - }, - "hostname": { - "description": "Hostname of the host. It normally contains what the `hostname` command returns on the host machine.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "id": { - "description": "Unique host id. As hostname is not always unique, use values that are meaningful in your environment. Example: The current usage of `beat.name`.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "ip": { - "description": "Host ip addresses.", - "properties": { - "type": { - "$ref": "#/definitions/types/ip" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "mac": { - "description": "Host MAC addresses. The notation format from RFC 7042 is suggested: Each octet (that is, 8-bit byte) is represented by two [uppercase] hexadecimal digits giving the value of the octet as an unsigned integer. Successive octets are separated by a hyphen.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "name": { - "description": "Name of the host. It can contain what `hostname` returns on Unix systems, the fully qualified domain name, or a name specified by the user. The sender decides which value to use.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "network": { - "properties": { - "properties": { - "egress": { - "properties": { - "properties": { - "bytes": { - "description": "The number of bytes (gauge) sent out on all network interfaces by the host since the last metric collection.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "packets": { - "description": "The number of packets (gauge) sent out on all network interfaces by the host since the last metric collection.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "type": "object" - } - }, - "ingress": { - "properties": { - "properties": { - "bytes": { - "description": "The number of bytes received (gauge) on all network interfaces by the host since the last metric collection.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "packets": { - "description": "The number of packets (gauge) received on all network interfaces by the host since the last metric collection.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "type": "object" - } - } - }, - "type": "object" - } - }, - "os": { - "properties": { - "properties": { - "family": { - "description": "OS family (such as redhat, debian, freebsd, windows).", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "full": { - "description": "Operating system name, including the version or code name.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "kernel": { - "description": "Operating system kernel version as a raw string.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "name": { - "description": "Operating system name, without the version.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "platform": { - "description": "Operating system platform (such centos, ubuntu, windows).", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "type": { - "description": "Use the `os.type` field to categorize the operating system into one of the broad commercial families. One of these following values should be used (lowercase): linux, macos, unix, windows. If the OS you're dealing with is not in the list, the field should not be populated. Please let us know by opening an issue with ECS, to propose its addition.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "version": { - "description": "Operating system version as a raw string.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "type": "object" - } - }, - "type": { - "description": "Type of host. For Cloud providers this can be the machine type like `t2.medium`. If vm, this could be the container, for example, or other information meaningful in your environment.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "uptime": { - "description": "Seconds the host has been up.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "user": { - "properties": { - "properties": { - "domain": { - "description": "Name of the directory the user is a member of. For example, an LDAP or Active Directory domain name.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "email": { - "description": "User email address.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "full_name": { - "description": "User's full name, if available.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "group": { - "properties": { - "properties": { - "domain": { - "description": "Name of the directory the group is a member of. For example, an LDAP or Active Directory domain name.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "id": { - "description": "Unique identifier for the group on the system/platform.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "name": { - "description": "Name of the group.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "type": "object" - } - }, - "hash": { - "description": "Unique user hash to correlate information for a user in anonymized form. Useful if `user.id` or `user.name` contain confidential information and cannot be used.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "id": { - "description": "Unique identifier of the user.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "name": { - "description": "Short name or login of the user.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "roles": { - "description": "Array of user roles at the time of the event.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "type": "object" - } - } - }, - "type": "object" - } - } -} \ No newline at end of file diff --git a/experimental/generated/json_schema/http.json b/experimental/generated/json_schema/http.json deleted file mode 100644 index 44c6db5d10..0000000000 --- a/experimental/generated/json_schema/http.json +++ /dev/null @@ -1,193 +0,0 @@ -{ - "http": { - "properties": { - "properties": { - "request": { - "properties": { - "properties": { - "body": { - "properties": { - "properties": { - "bytes": { - "description": "Size in bytes of the request body.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "content": { - "description": "The full HTTP request body.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "type": "object" - } - }, - "bytes": { - "description": "Total size in bytes of the request (body and headers).", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "id": { - "description": "A unique identifier for each HTTP request to correlate logs between clients and servers in transactions. The id may be contained in a non-standard HTTP header, such as `X-Request-ID` or `X-Correlation-ID`.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "method": { - "description": "HTTP request method. Prior to ECS 1.6.0 the following guidance was provided: \"The field value must be normalized to lowercase for querying.\" As of ECS 1.6.0, the guidance is deprecated because the original case of the method may be useful in anomaly detection. Original case will be mandated in ECS 2.0.0", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "mime_type": { - "description": "Mime type of the body of the request. This value must only be populated based on the content of the request body, not on the `Content-Type` header. Comparing the mime type of a request with the request's Content-Type header can be helpful in detecting threats or misconfigured clients.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "referrer": { - "description": "Referrer for this HTTP request.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "type": "object" - } - }, - "response": { - "properties": { - "properties": { - "body": { - "properties": { - "properties": { - "bytes": { - "description": "Size in bytes of the response body.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "content": { - "description": "The full HTTP response body.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "type": "object" - } - }, - "bytes": { - "description": "Total size in bytes of the response (body and headers).", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "mime_type": { - "description": "Mime type of the body of the response. This value must only be populated based on the content of the response body, not on the `Content-Type` header. Comparing the mime type of a response with the response's Content-Type header can be helpful in detecting misconfigured servers.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "status_code": { - "description": "HTTP response status code.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "type": "object" - } - }, - "version": { - "description": "HTTP version.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "type": "object" - } - } -} \ No newline at end of file diff --git a/experimental/generated/json_schema/log.json b/experimental/generated/json_schema/log.json deleted file mode 100644 index 53e6679b03..0000000000 --- a/experimental/generated/json_schema/log.json +++ /dev/null @@ -1,202 +0,0 @@ -{ - "log": { - "properties": { - "properties": { - "file": { - "properties": { - "properties": { - "path": { - "description": "Full path to the log file this event came from, including the file name. It should include the drive letter, when appropriate. If the event wasn't read from a log file, do not populate this field.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "type": "object" - } - }, - "level": { - "description": "Original log level of the log event. If the source of the event provides a log level or textual severity, this is the one that goes in `log.level`. If your source doesn't specify one, you may put your event transport's severity here (e.g. Syslog severity). Some examples are `warn`, `err`, `i`, `informational`.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "logger": { - "description": "The name of the logger inside an application. This is usually the name of the class which initialized the logger, or can be a custom name.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "origin": { - "properties": { - "properties": { - "file": { - "properties": { - "properties": { - "line": { - "description": "The line number of the file containing the source code which originated the log event.", - "properties": { - "type": { - "$ref": "#/definitions/types/integer" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "name": { - "description": "The name of the file containing the source code which originated the log event. Note that this field is not meant to capture the log file. The correct field to capture the log file is `log.file.path`.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "type": "object" - } - }, - "function": { - "description": "The name of the function or method which originated the log event.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "type": "object" - } - }, - "original": { - "description": "This is the original log message and contains the full log message before splitting it up in multiple parts. In contrast to the `message` field which can contain an extracted part of the log message, this field contains the original, full log message. It can have already some modifications applied like encoding or new lines removed to clean up the log message. This field is not indexed and doc_values are disabled so it can't be queried but the value can be retrieved from `_source`.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "syslog": { - "description": "The Syslog metadata of the event, if the event was transmitted via Syslog. Please see RFCs 5424 or 3164.", - "properties": { - "properties": { - "facility": { - "properties": { - "properties": { - "code": { - "description": "The Syslog numeric facility of the log event, if available. According to RFCs 5424 and 3164, this value should be an integer between 0 and 23.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "name": { - "description": "The Syslog text-based facility of the log event, if available.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "type": "object" - } - }, - "priority": { - "description": "Syslog numeric priority of the event, if available. According to RFCs 5424 and 3164, the priority is 8 * facility + severity. This number is therefore expected to contain a value between 0 and 191.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "severity": { - "properties": { - "properties": { - "code": { - "description": "The Syslog numeric severity of the log event, if available. If the event source publishing via Syslog provides a different numeric severity value (e.g. firewall, IDS), your source's numeric severity should go to `event.severity`. If the event source does not specify a distinct severity, you can optionally copy the Syslog severity to `event.severity`.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "name": { - "description": "The Syslog numeric severity of the log event, if available. If the event source publishing via Syslog provides a different severity value (e.g. firewall, IDS), your source's text severity should go to `log.level`. If the event source does not specify a distinct severity, you can optionally copy the Syslog severity to `log.level`.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "type": "object" - } - } - }, - "type": { - "$ref": "#/definitions/types/object" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "type": "object" - } - } -} \ No newline at end of file diff --git a/experimental/generated/json_schema/network.json b/experimental/generated/json_schema/network.json deleted file mode 100644 index 9e07325814..0000000000 --- a/experimental/generated/json_schema/network.json +++ /dev/null @@ -1,217 +0,0 @@ -{ - "network": { - "properties": { - "properties": { - "application": { - "description": "A name given to an application level protocol. This can be arbitrarily assigned for things like microservices, but also apply to things like skype, icq, facebook, twitter. This would be used in situations where the vendor or service can be decoded such as from the source/dest IP owners, ports, or wire format. The field value must be normalized to lowercase for querying. See the documentation section \"Implementing ECS\".", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "bytes": { - "description": "Total bytes transferred in both directions. If `source.bytes` and `destination.bytes` are known, `network.bytes` is their sum.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "community_id": { - "description": "A hash of source and destination IPs and ports, as well as the protocol used in a communication. This is a tool-agnostic standard to identify flows. Learn more at https://github.com/corelight/community-id-spec.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "direction": { - "description": "Direction of the network traffic. Recommended values are: * ingress * egress * inbound * outbound * internal * external * unknown When mapping events from a host-based monitoring context, populate this field from the host's point of view, using the values \"ingress\" or \"egress\". When mapping events from a network or perimeter-based monitoring context, populate this field from the point of view of the network perimeter, using the values \"inbound\", \"outbound\", \"internal\" or \"external\". Note that \"internal\" is not crossing perimeter boundaries, and is meant to describe communication between two hosts within the perimeter. Note also that \"external\" is meant to describe traffic between two hosts that are external to the perimeter. This could for example be useful for ISPs or VPN service providers.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "forwarded_ip": { - "description": "Host IP address when the source IP address is the proxy.", - "properties": { - "type": { - "$ref": "#/definitions/types/ip" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "iana_number": { - "description": "IANA Protocol Number (https://www.iana.org/assignments/protocol-numbers/protocol-numbers.xhtml). Standardized list of protocols. This aligns well with NetFlow and sFlow related logs which use the IANA Protocol Number.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "inner": { - "description": "Network.inner fields are added in addition to network.vlan fields to describe the innermost VLAN when q-in-q VLAN tagging is present. Allowed fields include vlan.id and vlan.name. Inner vlan fields are typically used when sending traffic with multiple 802.1q encapsulations to a network sensor (e.g. Zeek, Wireshark.)", - "properties": { - "properties": { - "vlan": { - "properties": { - "properties": { - "id": { - "description": "VLAN ID as reported by the observer.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "name": { - "description": "Optional VLAN name as reported by the observer.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "type": "object" - } - } - }, - "type": { - "$ref": "#/definitions/types/object" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "name": { - "description": "Name given by operators to sections of their network.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "packets": { - "description": "Total packets transferred in both directions. If `source.packets` and `destination.packets` are known, `network.packets` is their sum.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "protocol": { - "description": "L7 Network protocol name. ex. http, lumberjack, transport protocol. The field value must be normalized to lowercase for querying. See the documentation section \"Implementing ECS\".", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "transport": { - "description": "Same as network.iana_number, but instead using the Keyword name of the transport layer (udp, tcp, ipv6-icmp, etc.) The field value must be normalized to lowercase for querying. See the documentation section \"Implementing ECS\".", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "type": { - "description": "In the OSI Model this would be the Network Layer. ipv4, ipv6, ipsec, pim, etc The field value must be normalized to lowercase for querying. See the documentation section \"Implementing ECS\".", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "vlan": { - "properties": { - "properties": { - "id": { - "description": "VLAN ID as reported by the observer.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "name": { - "description": "Optional VLAN name as reported by the observer.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "type": "object" - } - } - }, - "type": "object" - } - } -} \ No newline at end of file diff --git a/experimental/generated/json_schema/observer.json b/experimental/generated/json_schema/observer.json deleted file mode 100644 index bb3dfc2847..0000000000 --- a/experimental/generated/json_schema/observer.json +++ /dev/null @@ -1,547 +0,0 @@ -{ - "observer": { - "properties": { - "properties": { - "egress": { - "description": "Observer.egress holds information like interface number and name, vlan, and zone information to classify egress traffic. Single armed monitoring such as a network sensor on a span port should only use observer.ingress to categorize traffic.", - "properties": { - "properties": { - "interface": { - "properties": { - "properties": { - "alias": { - "description": "Interface alias as reported by the system, typically used in firewall implementations for e.g. inside, outside, or dmz logical interface naming.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "id": { - "description": "Interface ID as reported by an observer (typically SNMP interface ID).", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "name": { - "description": "Interface name as reported by the system.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "type": "object" - } - }, - "vlan": { - "properties": { - "properties": { - "id": { - "description": "VLAN ID as reported by the observer.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "name": { - "description": "Optional VLAN name as reported by the observer.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "type": "object" - } - }, - "zone": { - "description": "Network zone of outbound traffic as reported by the observer to categorize the destination area of egress traffic, e.g. Internal, External, DMZ, HR, Legal, etc.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "type": { - "$ref": "#/definitions/types/object" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "geo": { - "properties": { - "properties": { - "city_name": { - "description": "City name.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "continent_code": { - "description": "Two-letter code representing continent's name.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "continent_name": { - "description": "Name of the continent.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "country_iso_code": { - "description": "Country ISO code.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "country_name": { - "description": "Country name.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "location": { - "description": "Longitude and latitude.", - "properties": { - "type": { - "$ref": "#/definitions/types/geo_point" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "name": { - "description": "User-defined description of a location, at the level of granularity they care about. Could be the name of their data centers, the floor number, if this describes a local physical entity, city names. Not typically used in automated geolocation.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "postal_code": { - "description": "Postal code associated with the location. Values appropriate for this field may also be known as a postcode or ZIP code and will vary widely from country to country.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "region_iso_code": { - "description": "Region ISO code.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "region_name": { - "description": "Region name.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "timezone": { - "description": "The time zone of the location, such as IANA time zone name.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "type": "object" - } - }, - "hostname": { - "description": "Hostname of the observer.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "ingress": { - "description": "Observer.ingress holds information like interface number and name, vlan, and zone information to classify ingress traffic. Single armed monitoring such as a network sensor on a span port should only use observer.ingress to categorize traffic.", - "properties": { - "properties": { - "interface": { - "properties": { - "properties": { - "alias": { - "description": "Interface alias as reported by the system, typically used in firewall implementations for e.g. inside, outside, or dmz logical interface naming.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "id": { - "description": "Interface ID as reported by an observer (typically SNMP interface ID).", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "name": { - "description": "Interface name as reported by the system.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "type": "object" - } - }, - "vlan": { - "properties": { - "properties": { - "id": { - "description": "VLAN ID as reported by the observer.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "name": { - "description": "Optional VLAN name as reported by the observer.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "type": "object" - } - }, - "zone": { - "description": "Network zone of incoming traffic as reported by the observer to categorize the source area of ingress traffic. e.g. internal, External, DMZ, HR, Legal, etc.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "type": { - "$ref": "#/definitions/types/object" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "ip": { - "description": "IP addresses of the observer.", - "properties": { - "type": { - "$ref": "#/definitions/types/ip" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "mac": { - "description": "MAC addresses of the observer. The notation format from RFC 7042 is suggested: Each octet (that is, 8-bit byte) is represented by two [uppercase] hexadecimal digits giving the value of the octet as an unsigned integer. Successive octets are separated by a hyphen.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "name": { - "description": "Custom name of the observer. This is a name that can be given to an observer. This can be helpful for example if multiple firewalls of the same model are used in an organization. If no custom name is needed, the field can be left empty.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "os": { - "properties": { - "properties": { - "family": { - "description": "OS family (such as redhat, debian, freebsd, windows).", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "full": { - "description": "Operating system name, including the version or code name.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "kernel": { - "description": "Operating system kernel version as a raw string.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "name": { - "description": "Operating system name, without the version.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "platform": { - "description": "Operating system platform (such centos, ubuntu, windows).", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "type": { - "description": "Use the `os.type` field to categorize the operating system into one of the broad commercial families. One of these following values should be used (lowercase): linux, macos, unix, windows. If the OS you're dealing with is not in the list, the field should not be populated. Please let us know by opening an issue with ECS, to propose its addition.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "version": { - "description": "Operating system version as a raw string.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "type": "object" - } - }, - "product": { - "description": "The product name of the observer.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "serial_number": { - "description": "Observer serial number.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "type": { - "description": "The type of the observer the data is coming from. There is no predefined list of observer types. Some examples are `forwarder`, `firewall`, `ids`, `ips`, `proxy`, `poller`, `sensor`, `APM server`.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "vendor": { - "description": "Vendor name of the observer.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "version": { - "description": "Observer version.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "type": "object" - } - } -} \ No newline at end of file diff --git a/experimental/generated/json_schema/orchestrator.json b/experimental/generated/json_schema/orchestrator.json deleted file mode 100644 index 9670c9811a..0000000000 --- a/experimental/generated/json_schema/orchestrator.json +++ /dev/null @@ -1,131 +0,0 @@ -{ - "orchestrator": { - "properties": { - "properties": { - "api_version": { - "description": "API version being used to carry out the action", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "cluster": { - "properties": { - "properties": { - "name": { - "description": "Name of the cluster.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "url": { - "description": "URL of the API used to manage the cluster.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "version": { - "description": "The version of the cluster.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "type": "object" - } - }, - "namespace": { - "description": "Namespace in which the action is taking place.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "organization": { - "description": "Organization affected by the event (for multi-tenant orchestrator setups).", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "resource": { - "properties": { - "properties": { - "name": { - "description": "Name of the resource being acted upon.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "type": { - "description": "Type of resource being acted upon.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "type": "object" - } - }, - "type": { - "description": "Orchestrator cluster type (e.g. kubernetes, nomad or cloudfoundry).", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "type": "object" - } - } -} \ No newline at end of file diff --git a/experimental/generated/json_schema/organization.json b/experimental/generated/json_schema/organization.json deleted file mode 100644 index a1f1be9b48..0000000000 --- a/experimental/generated/json_schema/organization.json +++ /dev/null @@ -1,33 +0,0 @@ -{ - "organization": { - "properties": { - "properties": { - "id": { - "description": "Unique identifier for the organization.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "name": { - "description": "Organization name.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "type": "object" - } - } -} \ No newline at end of file diff --git a/experimental/generated/json_schema/package.json b/experimental/generated/json_schema/package.json deleted file mode 100644 index 3c1006ac0e..0000000000 --- a/experimental/generated/json_schema/package.json +++ /dev/null @@ -1,165 +0,0 @@ -{ - "package": { - "properties": { - "properties": { - "architecture": { - "description": "Package architecture.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "build_version": { - "description": "Additional information about the build version of the installed package. For example use the commit SHA of a non-released package.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "checksum": { - "description": "Checksum of the installed package for verification.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "description": { - "description": "Description of the package.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "install_scope": { - "description": "Indicating how the package was installed, e.g. user-local, global.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "installed": { - "description": "Time when package was installed.", - "properties": { - "type": { - "$ref": "#/definitions/types/date" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "license": { - "description": "License under which the package was released. Use a short name, e.g. the license identifier from SPDX License List where possible (https://spdx.org/licenses/).", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "name": { - "description": "Package name", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "path": { - "description": "Path where the package is installed.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "reference": { - "description": "Home page or reference URL of the software in this package, if available.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "size": { - "description": "Package size in bytes.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "type": { - "description": "Type of package. This should contain the package file type, rather than the package manager name. Examples: rpm, dpkg, brew, npm, gem, nupkg, jar.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "version": { - "description": "Package version", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "type": "object" - } - } -} \ No newline at end of file diff --git a/experimental/generated/json_schema/process.json b/experimental/generated/json_schema/process.json deleted file mode 100644 index 278d8dedbc..0000000000 --- a/experimental/generated/json_schema/process.json +++ /dev/null @@ -1,2470 +0,0 @@ -{ - "process": { - "properties": { - "properties": { - "args": { - "description": "Array of process arguments, starting with the absolute path to the executable. May be filtered to protect sensitive information.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "args_count": { - "description": "Length of the process.args array. This field can be useful for querying or performing bucket analysis on how many arguments were provided to start a process. More arguments may be an indication of suspicious activity.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "code_signature": { - "properties": { - "properties": { - "exists": { - "description": "Boolean to capture if a signature is present.", - "properties": { - "type": { - "$ref": "#/definitions/types/boolean" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "signing_id": { - "description": "The identifier used to sign the process. This is used to identify the application manufactured by a software vendor. The field is relevant to Apple *OS only.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "status": { - "description": "Additional information about the certificate status. This is useful for logging cryptographic errors with the certificate validity or trust status. Leave unpopulated if the validity or trust of the certificate was unchecked.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "subject_name": { - "description": "Subject name of the code signer", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "team_id": { - "description": "The team identifier used to sign the process. This is used to identify the team or vendor of a software product. The field is relevant to Apple *OS only.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "trusted": { - "description": "Stores the trust status of the certificate chain. Validating the trust of the certificate chain may be complicated, and this field should only be populated by tools that actively check the status.", - "properties": { - "type": { - "$ref": "#/definitions/types/boolean" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "valid": { - "description": "Boolean to capture if the digital signature is verified against the binary content. Leave unpopulated if a certificate was unchecked.", - "properties": { - "type": { - "$ref": "#/definitions/types/boolean" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "type": "object" - } - }, - "command_line": { - "description": "Full command line that started the process, including the absolute path to the executable, and all arguments. Some arguments may be filtered to protect sensitive information.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "elf": { - "properties": { - "properties": { - "architecture": { - "description": "Machine architecture of the ELF file.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "byte_order": { - "description": "Byte sequence of ELF file.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "cpu_type": { - "description": "CPU type of the ELF file.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "creation_date": { - "description": "Extracted when possible from the file's metadata. Indicates when it was built or compiled. It can also be faked by malware creators.", - "properties": { - "type": { - "$ref": "#/definitions/types/date" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "exports": { - "description": "List of exported element names and types.", - "properties": { - "type": { - "$ref": "#/definitions/types/flattened" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "header": { - "properties": { - "properties": { - "abi_version": { - "description": "Version of the ELF Application Binary Interface (ABI).", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "class": { - "description": "Header class of the ELF file.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "data": { - "description": "Data table of the ELF header.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "entrypoint": { - "description": "Header entrypoint of the ELF file.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "object_version": { - "description": "\"0x1\" for original ELF files.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "os_abi": { - "description": "Application Binary Interface (ABI) of the Linux OS.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "type": { - "description": "Header type of the ELF file.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "version": { - "description": "Version of the ELF header.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "type": "object" - } - }, - "imports": { - "description": "List of imported element names and types.", - "properties": { - "type": { - "$ref": "#/definitions/types/flattened" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "sections": { - "description": "Section information of the ELF file.", - "properties": { - "properties": { - "chi2": { - "description": "Chi-square probability distribution of the section.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "entropy": { - "description": "Shannon entropy calculation from the section.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "flags": { - "description": "ELF Section List flags.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "name": { - "description": "ELF Section List name.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "physical_offset": { - "description": "ELF Section List offset.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "physical_size": { - "description": "ELF Section List physical size.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "type": { - "description": "ELF Section List type.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "virtual_address": { - "description": "ELF Section List virtual address.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "virtual_size": { - "description": "ELF Section List virtual size.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "type": { - "$ref": "#/definitions/types/nested" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "segments": { - "description": "ELF object segment list.", - "properties": { - "properties": { - "sections": { - "description": "ELF object segment sections.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "type": { - "description": "ELF object segment type.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "type": { - "$ref": "#/definitions/types/nested" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "shared_libraries": { - "description": "List of shared libraries used by this ELF object", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "telfhash": { - "description": "telfhash is symbol hash for ELF files, just like imphash is imports hash for PE files. Learn more at https://github.com/trendmicro/telfhash.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "type": "object" - } - }, - "entity_id": { - "description": "Unique identifier for the process. The implementation of this is specified by the data source, but some examples of what could be used here are a process-generated UUID, Sysmon Process GUIDs, or a hash of some uniquely identifying components of a process. Constructing a globally unique identifier is a common practice to mitigate PID reuse as well as to identify a specific process over time, across multiple monitored hosts.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "executable": { - "description": "Absolute path to the process executable.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "exit_code": { - "description": "The exit code of the process, if this is a termination event. The field should be absent if there is no exit code for the event (e.g. process start).", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "hash": { - "properties": { - "properties": { - "md5": { - "description": "MD5 hash.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "sha1": { - "description": "SHA1 hash.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "sha256": { - "description": "SHA256 hash.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "sha512": { - "description": "SHA512 hash.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "ssdeep": { - "description": "SSDEEP hash.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "type": "object" - } - }, - "name": { - "description": "Process name. Sometimes called program name or similar.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "parent": { - "properties": { - "properties": { - "args": { - "description": "Array of process arguments, starting with the absolute path to the executable. May be filtered to protect sensitive information.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "args_count": { - "description": "Length of the process.args array. This field can be useful for querying or performing bucket analysis on how many arguments were provided to start a process. More arguments may be an indication of suspicious activity.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "code_signature": { - "properties": { - "properties": { - "exists": { - "description": "Boolean to capture if a signature is present.", - "properties": { - "type": { - "$ref": "#/definitions/types/boolean" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "signing_id": { - "description": "The identifier used to sign the process. This is used to identify the application manufactured by a software vendor. The field is relevant to Apple *OS only.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "status": { - "description": "Additional information about the certificate status. This is useful for logging cryptographic errors with the certificate validity or trust status. Leave unpopulated if the validity or trust of the certificate was unchecked.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "subject_name": { - "description": "Subject name of the code signer", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "team_id": { - "description": "The team identifier used to sign the process. This is used to identify the team or vendor of a software product. The field is relevant to Apple *OS only.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "trusted": { - "description": "Stores the trust status of the certificate chain. Validating the trust of the certificate chain may be complicated, and this field should only be populated by tools that actively check the status.", - "properties": { - "type": { - "$ref": "#/definitions/types/boolean" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "valid": { - "description": "Boolean to capture if the digital signature is verified against the binary content. Leave unpopulated if a certificate was unchecked.", - "properties": { - "type": { - "$ref": "#/definitions/types/boolean" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "type": "object" - } - }, - "command_line": { - "description": "Full command line that started the process, including the absolute path to the executable, and all arguments. Some arguments may be filtered to protect sensitive information.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "elf": { - "properties": { - "properties": { - "architecture": { - "description": "Machine architecture of the ELF file.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "byte_order": { - "description": "Byte sequence of ELF file.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "cpu_type": { - "description": "CPU type of the ELF file.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "creation_date": { - "description": "Extracted when possible from the file's metadata. Indicates when it was built or compiled. It can also be faked by malware creators.", - "properties": { - "type": { - "$ref": "#/definitions/types/date" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "exports": { - "description": "List of exported element names and types.", - "properties": { - "type": { - "$ref": "#/definitions/types/flattened" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "header": { - "properties": { - "properties": { - "abi_version": { - "description": "Version of the ELF Application Binary Interface (ABI).", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "class": { - "description": "Header class of the ELF file.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "data": { - "description": "Data table of the ELF header.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "entrypoint": { - "description": "Header entrypoint of the ELF file.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "object_version": { - "description": "\"0x1\" for original ELF files.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "os_abi": { - "description": "Application Binary Interface (ABI) of the Linux OS.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "type": { - "description": "Header type of the ELF file.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "version": { - "description": "Version of the ELF header.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "type": "object" - } - }, - "imports": { - "description": "List of imported element names and types.", - "properties": { - "type": { - "$ref": "#/definitions/types/flattened" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "sections": { - "description": "Section information of the ELF file.", - "properties": { - "properties": { - "chi2": { - "description": "Chi-square probability distribution of the section.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "entropy": { - "description": "Shannon entropy calculation from the section.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "flags": { - "description": "ELF Section List flags.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "name": { - "description": "ELF Section List name.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "physical_offset": { - "description": "ELF Section List offset.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "physical_size": { - "description": "ELF Section List physical size.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "type": { - "description": "ELF Section List type.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "virtual_address": { - "description": "ELF Section List virtual address.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "virtual_size": { - "description": "ELF Section List virtual size.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "type": { - "$ref": "#/definitions/types/nested" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "segments": { - "description": "ELF object segment list.", - "properties": { - "properties": { - "sections": { - "description": "ELF object segment sections.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "type": { - "description": "ELF object segment type.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "type": { - "$ref": "#/definitions/types/nested" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "shared_libraries": { - "description": "List of shared libraries used by this ELF object", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "telfhash": { - "description": "telfhash is symbol hash for ELF files, just like imphash is imports hash for PE files. Learn more at https://github.com/trendmicro/telfhash.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "type": "object" - } - }, - "entity_id": { - "description": "Unique identifier for the process. The implementation of this is specified by the data source, but some examples of what could be used here are a process-generated UUID, Sysmon Process GUIDs, or a hash of some uniquely identifying components of a process. Constructing a globally unique identifier is a common practice to mitigate PID reuse as well as to identify a specific process over time, across multiple monitored hosts.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "executable": { - "description": "Absolute path to the process executable.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "exit_code": { - "description": "The exit code of the process, if this is a termination event. The field should be absent if there is no exit code for the event (e.g. process start).", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "hash": { - "properties": { - "properties": { - "md5": { - "description": "MD5 hash.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "sha1": { - "description": "SHA1 hash.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "sha256": { - "description": "SHA256 hash.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "sha512": { - "description": "SHA512 hash.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "ssdeep": { - "description": "SSDEEP hash.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "type": "object" - } - }, - "name": { - "description": "Process name. Sometimes called program name or similar.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "pe": { - "properties": { - "properties": { - "architecture": { - "description": "CPU architecture target for the file.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "authentihash": { - "description": "Authentihash of the PE file.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "company": { - "description": "Internal company name of the file, provided at compile-time.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "compile_timestamp": { - "description": "Compile timestamp of the PE file.", - "properties": { - "type": { - "$ref": "#/definitions/types/date" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "compiler": { - "properties": { - "properties": { - "name": { - "description": "Name of the compiler", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "version": { - "description": "Version of the compiler.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "type": "object" - } - }, - "creation_date": { - "description": "Extracted when possible from the file's metadata. Indicates when it was built or compiled. It can also be faked by malware creators.", - "properties": { - "type": { - "$ref": "#/definitions/types/date" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "debug": { - "description": "An array containing an object for each debug entry, if present. The expected fields for this nested object fall under the `debug.` prefix.", - "properties": { - "properties": { - "offset": { - "description": "Debug offset information.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "size": { - "description": "Size of the debug information.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "timestamp": { - "description": "Timestamp of the debug information.", - "properties": { - "type": { - "$ref": "#/definitions/types/date" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "type": { - "description": "Information type generated by the debug options.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "type": { - "$ref": "#/definitions/types/nested" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "description": { - "description": "Internal description of the file, provided at compile-time.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "entry_point": { - "description": "Relative byte offset to the base of the PE file.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "exports": { - "description": "List of symbols exported by PE", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "file_version": { - "description": "Internal version of the file, provided at compile-time.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "icon": { - "properties": { - "properties": { - "hash": { - "properties": { - "properties": { - "dhash": { - "description": "Difference Hash (dhash) to find files with a visually similar icon or thumbnail.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "type": "object" - } - } - }, - "type": "object" - } - }, - "imphash": { - "description": "A hash of the imports in a PE file. An imphash -- or import hash -- can be used to fingerprint binaries even after recompilation or other code-level transformations have occurred, which would change more traditional hash values. Learn more at https://www.fireeye.com/blog/threat-research/2014/01/tracking-malware-import-hashing.html.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "imports": { - "description": "List of all imported functions", - "properties": { - "type": { - "$ref": "#/definitions/types/flattened" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "machine_type": { - "description": "Machine type of the PE file.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "original_file_name": { - "description": "Internal name of the file, provided at compile-time.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "packers": { - "description": "List of packers and tools used.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "product": { - "description": "Internal product name of the file, provided at compile-time.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "resources": { - "description": "An array containing an object for each PE resource, if present. The expected fields for this nested object fall under the `resources.` prefix.", - "properties": { - "properties": { - "chi2": { - "description": "Chi-square probability distribution.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "entropy": { - "description": "Measurement of entropy randomness in the resources section.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "filetype": { - "description": "File type of the resources section.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "language": { - "description": "Language identification.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "sha256": { - "description": "SHA256 hash of resources section.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "type": { - "description": "Digest of resource types.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "type": { - "$ref": "#/definitions/types/nested" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "rich_header": { - "properties": { - "properties": { - "hash": { - "properties": { - "properties": { - "md5": { - "description": "MD5 hash of the header for the PE file.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "type": "object" - } - } - }, - "type": "object" - } - }, - "sections": { - "description": "Data about sections of compiled binary PE", - "properties": { - "properties": { - "chi2": { - "description": "Chi-square probability distribution.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "entropy": { - "description": "Measurement of entropy randomness in the file.", - "properties": { - "type": { - "$ref": "#/definitions/types/float" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "flags": { - "description": "Section flags of the file.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "name": { - "description": "Section names of the file.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "raw_size": { - "description": "Size of the section or the dize of the initialized data on disk.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "virtual_address": { - "description": "Virtual address available to the file.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "type": { - "$ref": "#/definitions/types/nested" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "type": "object" - } - }, - "pgid": { - "description": "Identifier of the group of processes the process belongs to.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "pid": { - "description": "Process id.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "ppid": { - "description": "Parent process' pid.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "start": { - "description": "The time the process started.", - "properties": { - "type": { - "$ref": "#/definitions/types/date" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "thread": { - "properties": { - "properties": { - "id": { - "description": "Thread ID.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "name": { - "description": "Thread name.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "type": "object" - } - }, - "title": { - "description": "Process title. The proctitle, some times the same as process name. Can also be different: for example a browser setting its title to the web page currently opened.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "uptime": { - "description": "Seconds the process has been up.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "working_directory": { - "description": "The working directory of the process.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "type": "object" - } - }, - "pe": { - "properties": { - "properties": { - "architecture": { - "description": "CPU architecture target for the file.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "authentihash": { - "description": "Authentihash of the PE file.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "company": { - "description": "Internal company name of the file, provided at compile-time.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "compile_timestamp": { - "description": "Compile timestamp of the PE file.", - "properties": { - "type": { - "$ref": "#/definitions/types/date" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "compiler": { - "properties": { - "properties": { - "name": { - "description": "Name of the compiler", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "version": { - "description": "Version of the compiler.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "type": "object" - } - }, - "creation_date": { - "description": "Extracted when possible from the file's metadata. Indicates when it was built or compiled. It can also be faked by malware creators.", - "properties": { - "type": { - "$ref": "#/definitions/types/date" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "debug": { - "description": "An array containing an object for each debug entry, if present. The expected fields for this nested object fall under the `debug.` prefix.", - "properties": { - "properties": { - "offset": { - "description": "Debug offset information.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "size": { - "description": "Size of the debug information.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "timestamp": { - "description": "Timestamp of the debug information.", - "properties": { - "type": { - "$ref": "#/definitions/types/date" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "type": { - "description": "Information type generated by the debug options.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "type": { - "$ref": "#/definitions/types/nested" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "description": { - "description": "Internal description of the file, provided at compile-time.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "entry_point": { - "description": "Relative byte offset to the base of the PE file.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "exports": { - "description": "List of symbols exported by PE", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "file_version": { - "description": "Internal version of the file, provided at compile-time.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "icon": { - "properties": { - "properties": { - "hash": { - "properties": { - "properties": { - "dhash": { - "description": "Difference Hash (dhash) to find files with a visually similar icon or thumbnail.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "type": "object" - } - } - }, - "type": "object" - } - }, - "imphash": { - "description": "A hash of the imports in a PE file. An imphash -- or import hash -- can be used to fingerprint binaries even after recompilation or other code-level transformations have occurred, which would change more traditional hash values. Learn more at https://www.fireeye.com/blog/threat-research/2014/01/tracking-malware-import-hashing.html.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "imports": { - "description": "List of all imported functions", - "properties": { - "type": { - "$ref": "#/definitions/types/flattened" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "machine_type": { - "description": "Machine type of the PE file.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "original_file_name": { - "description": "Internal name of the file, provided at compile-time.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "packers": { - "description": "List of packers and tools used.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "product": { - "description": "Internal product name of the file, provided at compile-time.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "resources": { - "description": "An array containing an object for each PE resource, if present. The expected fields for this nested object fall under the `resources.` prefix.", - "properties": { - "properties": { - "chi2": { - "description": "Chi-square probability distribution.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "entropy": { - "description": "Measurement of entropy randomness in the resources section.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "filetype": { - "description": "File type of the resources section.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "language": { - "description": "Language identification.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "sha256": { - "description": "SHA256 hash of resources section.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "type": { - "description": "Digest of resource types.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "type": { - "$ref": "#/definitions/types/nested" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "rich_header": { - "properties": { - "properties": { - "hash": { - "properties": { - "properties": { - "md5": { - "description": "MD5 hash of the header for the PE file.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "type": "object" - } - } - }, - "type": "object" - } - }, - "sections": { - "description": "Data about sections of compiled binary PE", - "properties": { - "properties": { - "chi2": { - "description": "Chi-square probability distribution.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "entropy": { - "description": "Measurement of entropy randomness in the file.", - "properties": { - "type": { - "$ref": "#/definitions/types/float" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "flags": { - "description": "Section flags of the file.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "name": { - "description": "Section names of the file.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "raw_size": { - "description": "Size of the section or the dize of the initialized data on disk.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "virtual_address": { - "description": "Virtual address available to the file.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "type": { - "$ref": "#/definitions/types/nested" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "type": "object" - } - }, - "pgid": { - "description": "Identifier of the group of processes the process belongs to.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "pid": { - "description": "Process id.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "ppid": { - "description": "Parent process' pid.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "start": { - "description": "The time the process started.", - "properties": { - "type": { - "$ref": "#/definitions/types/date" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "thread": { - "properties": { - "properties": { - "id": { - "description": "Thread ID.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "name": { - "description": "Thread name.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "type": "object" - } - }, - "title": { - "description": "Process title. The proctitle, some times the same as process name. Can also be different: for example a browser setting its title to the web page currently opened.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "uptime": { - "description": "Seconds the process has been up.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "working_directory": { - "description": "The working directory of the process.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "type": "object" - } - } -} \ No newline at end of file diff --git a/experimental/generated/json_schema/registry.json b/experimental/generated/json_schema/registry.json deleted file mode 100644 index a1696ecc08..0000000000 --- a/experimental/generated/json_schema/registry.json +++ /dev/null @@ -1,100 +0,0 @@ -{ - "registry": { - "properties": { - "properties": { - "data": { - "properties": { - "properties": { - "bytes": { - "description": "Original bytes written with base64 encoding. For Windows registry operations, such as SetValueEx and RegQueryValueEx, this corresponds to the data pointed by `lp_data`. This is optional but provides better recoverability and should be populated for REG_BINARY encoded values.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "strings": { - "description": "Content when writing string types. Populated as an array when writing string data to the registry. For single string registry types (REG_SZ, REG_EXPAND_SZ), this should be an array with one string. For sequences of string with REG_MULTI_SZ, this array will be variable length. For numeric data, such as REG_DWORD and REG_QWORD, this should be populated with the decimal representation (e.g `\"1\"`).", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "type": { - "description": "Standard registry type for encoding contents", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "type": "object" - } - }, - "hive": { - "description": "Abbreviated name for the hive.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "key": { - "description": "Hive-relative path of keys.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "path": { - "description": "Full path, including hive, key and value", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "value": { - "description": "Name of the value written.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "type": "object" - } - } -} \ No newline at end of file diff --git a/experimental/generated/json_schema/related.json b/experimental/generated/json_schema/related.json deleted file mode 100644 index 25ba286016..0000000000 --- a/experimental/generated/json_schema/related.json +++ /dev/null @@ -1,57 +0,0 @@ -{ - "related": { - "properties": { - "properties": { - "hash": { - "description": "All the hashes seen on your event. Populating this field, then using it to search for hashes can help in situations where you're unsure what the hash algorithm is (and therefore which key name to search).", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "hosts": { - "description": "All hostnames or other host identifiers seen on your event. Example identifiers include FQDNs, domain names, workstation names, or aliases.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "ip": { - "description": "All of the IPs seen on your event.", - "properties": { - "type": { - "$ref": "#/definitions/types/ip" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "user": { - "description": "All the user names seen on your event.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "type": "object" - } - } -} \ No newline at end of file diff --git a/experimental/generated/json_schema/rule.json b/experimental/generated/json_schema/rule.json deleted file mode 100644 index 43b2711545..0000000000 --- a/experimental/generated/json_schema/rule.json +++ /dev/null @@ -1,129 +0,0 @@ -{ - "rule": { - "properties": { - "properties": { - "author": { - "description": "Name, organization, or pseudonym of the author or authors who created the rule used to generate this event.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "category": { - "description": "A categorization value keyword used by the entity using the rule for detection of this event.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "description": { - "description": "The description of the rule generating the event.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "id": { - "description": "A rule ID that is unique within the scope of an agent, observer, or other entity using the rule for detection of this event.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "license": { - "description": "Name of the license under which the rule used to generate this event is made available.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "name": { - "description": "The name of the rule or signature generating the event.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "reference": { - "description": "Reference URL to additional information about the rule used to generate this event. The URL can point to the vendor's documentation about the rule. If that's not available, it can also be a link to a more general page describing this type of alert.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "ruleset": { - "description": "Name of the ruleset, policy, group, or parent category in which the rule used to generate this event is a member.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "uuid": { - "description": "A rule ID that is unique within the scope of a set or group of agents, observers, or other entities using the rule for detection of this event.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "version": { - "description": "The version / revision of the rule being used for analysis.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "type": "object" - } - } -} \ No newline at end of file diff --git a/experimental/generated/json_schema/server.json b/experimental/generated/json_schema/server.json deleted file mode 100644 index a806b6b067..0000000000 --- a/experimental/generated/json_schema/server.json +++ /dev/null @@ -1,471 +0,0 @@ -{ - "server": { - "properties": { - "properties": { - "address": { - "description": "Some event server addresses are defined ambiguously. The event will sometimes list an IP, a domain or a unix socket. You should always store the raw address in the `.address` field. Then it should be duplicated to `.ip` or `.domain`, depending on which one it is.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "as": { - "properties": { - "properties": { - "number": { - "description": "Unique number allocated to the autonomous system. The autonomous system number (ASN) uniquely identifies each network on the Internet.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "organization": { - "properties": { - "properties": { - "name": { - "description": "Organization name.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "type": "object" - } - } - }, - "type": "object" - } - }, - "bytes": { - "description": "Bytes sent from the server to the client.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "domain": { - "description": "Server domain.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "geo": { - "properties": { - "properties": { - "city_name": { - "description": "City name.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "continent_code": { - "description": "Two-letter code representing continent's name.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "continent_name": { - "description": "Name of the continent.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "country_iso_code": { - "description": "Country ISO code.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "country_name": { - "description": "Country name.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "location": { - "description": "Longitude and latitude.", - "properties": { - "type": { - "$ref": "#/definitions/types/geo_point" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "name": { - "description": "User-defined description of a location, at the level of granularity they care about. Could be the name of their data centers, the floor number, if this describes a local physical entity, city names. Not typically used in automated geolocation.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "postal_code": { - "description": "Postal code associated with the location. Values appropriate for this field may also be known as a postcode or ZIP code and will vary widely from country to country.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "region_iso_code": { - "description": "Region ISO code.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "region_name": { - "description": "Region name.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "timezone": { - "description": "The time zone of the location, such as IANA time zone name.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "type": "object" - } - }, - "ip": { - "description": "IP address of the server (IPv4 or IPv6).", - "properties": { - "type": { - "$ref": "#/definitions/types/ip" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "mac": { - "description": "MAC address of the server. The notation format from RFC 7042 is suggested: Each octet (that is, 8-bit byte) is represented by two [uppercase] hexadecimal digits giving the value of the octet as an unsigned integer. Successive octets are separated by a hyphen.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "nat": { - "properties": { - "properties": { - "ip": { - "description": "Translated ip of destination based NAT sessions (e.g. internet to private DMZ) Typically used with load balancers, firewalls, or routers.", - "properties": { - "type": { - "$ref": "#/definitions/types/ip" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "port": { - "description": "Translated port of destination based NAT sessions (e.g. internet to private DMZ) Typically used with load balancers, firewalls, or routers.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "type": "object" - } - }, - "packets": { - "description": "Packets sent from the server to the client.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "port": { - "description": "Port of the server.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "registered_domain": { - "description": "The highest registered server domain, stripped of the subdomain. For example, the registered domain for \"foo.example.com\" is \"example.com\". This value can be determined precisely with a list like the public suffix list (http://publicsuffix.org). Trying to approximate this by simply taking the last two labels will not work well for TLDs such as \"co.uk\".", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "subdomain": { - "description": "The subdomain portion of a fully qualified domain name includes all of the names except the host name under the registered_domain. In a partially qualified domain, or if the the qualification level of the full name cannot be determined, subdomain contains all of the names below the registered domain. For example the subdomain portion of \"www.east.mydomain.co.uk\" is \"east\". If the domain has multiple levels of subdomain, such as \"sub2.sub1.example.com\", the subdomain field should contain \"sub2.sub1\", with no trailing period.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "top_level_domain": { - "description": "The effective top level domain (eTLD), also known as the domain suffix, is the last part of the domain name. For example, the top level domain for example.com is \"com\". This value can be determined precisely with a list like the public suffix list (http://publicsuffix.org). Trying to approximate this by simply taking the last label will not work well for effective TLDs such as \"co.uk\".", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "user": { - "properties": { - "properties": { - "domain": { - "description": "Name of the directory the user is a member of. For example, an LDAP or Active Directory domain name.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "email": { - "description": "User email address.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "full_name": { - "description": "User's full name, if available.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "group": { - "properties": { - "properties": { - "domain": { - "description": "Name of the directory the group is a member of. For example, an LDAP or Active Directory domain name.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "id": { - "description": "Unique identifier for the group on the system/platform.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "name": { - "description": "Name of the group.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "type": "object" - } - }, - "hash": { - "description": "Unique user hash to correlate information for a user in anonymized form. Useful if `user.id` or `user.name` contain confidential information and cannot be used.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "id": { - "description": "Unique identifier of the user.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "name": { - "description": "Short name or login of the user.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "roles": { - "description": "Array of user roles at the time of the event.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "type": "object" - } - } - }, - "type": "object" - } - } -} \ No newline at end of file diff --git a/experimental/generated/json_schema/service.json b/experimental/generated/json_schema/service.json deleted file mode 100644 index ac13685b53..0000000000 --- a/experimental/generated/json_schema/service.json +++ /dev/null @@ -1,100 +0,0 @@ -{ - "service": { - "properties": { - "properties": { - "ephemeral_id": { - "description": "Ephemeral identifier of this service (if one exists). This id normally changes across restarts, but `service.id` does not.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "id": { - "description": "Unique identifier of the running service. If the service is comprised of many nodes, the `service.id` should be the same for all nodes. This id should uniquely identify the service. This makes it possible to correlate logs and metrics for one specific service, no matter which particular node emitted the event. Note that if you need to see the events from one specific host of the service, you should filter on that `host.name` or `host.id` instead.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "name": { - "description": "Name of the service data is collected from. The name of the service is normally user given. This allows for distributed services that run on multiple hosts to correlate the related instances based on the name. In the case of Elasticsearch the `service.name` could contain the cluster name. For Beats the `service.name` is by default a copy of the `service.type` field if no name is specified.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "node": { - "properties": { - "properties": { - "name": { - "description": "Name of a service node. This allows for two nodes of the same service running on the same host to be differentiated. Therefore, `service.node.name` should typically be unique across nodes of a given service. In the case of Elasticsearch, the `service.node.name` could contain the unique node name within the Elasticsearch cluster. In cases where the service doesn't have the concept of a node name, the host name or container name can be used to distinguish running instances that make up this service. If those do not provide uniqueness (e.g. multiple instances of the service running on the same host) - the node name can be manually set.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "type": "object" - } - }, - "state": { - "description": "Current state of the service.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "type": { - "description": "The type of the service data is collected from. The type can be used to group and correlate logs and metrics from one service type. Example: If logs or metrics are collected from Elasticsearch, `service.type` would be `elasticsearch`.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "version": { - "description": "Version of the service the data was collected from. This allows to look at a data set only for a specific version of a service.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "type": "object" - } - } -} \ No newline at end of file diff --git a/experimental/generated/json_schema/source.json b/experimental/generated/json_schema/source.json deleted file mode 100644 index d421e0230a..0000000000 --- a/experimental/generated/json_schema/source.json +++ /dev/null @@ -1,471 +0,0 @@ -{ - "source": { - "properties": { - "properties": { - "address": { - "description": "Some event source addresses are defined ambiguously. The event will sometimes list an IP, a domain or a unix socket. You should always store the raw address in the `.address` field. Then it should be duplicated to `.ip` or `.domain`, depending on which one it is.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "as": { - "properties": { - "properties": { - "number": { - "description": "Unique number allocated to the autonomous system. The autonomous system number (ASN) uniquely identifies each network on the Internet.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "organization": { - "properties": { - "properties": { - "name": { - "description": "Organization name.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "type": "object" - } - } - }, - "type": "object" - } - }, - "bytes": { - "description": "Bytes sent from the source to the destination.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "domain": { - "description": "Source domain.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "geo": { - "properties": { - "properties": { - "city_name": { - "description": "City name.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "continent_code": { - "description": "Two-letter code representing continent's name.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "continent_name": { - "description": "Name of the continent.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "country_iso_code": { - "description": "Country ISO code.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "country_name": { - "description": "Country name.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "location": { - "description": "Longitude and latitude.", - "properties": { - "type": { - "$ref": "#/definitions/types/geo_point" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "name": { - "description": "User-defined description of a location, at the level of granularity they care about. Could be the name of their data centers, the floor number, if this describes a local physical entity, city names. Not typically used in automated geolocation.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "postal_code": { - "description": "Postal code associated with the location. Values appropriate for this field may also be known as a postcode or ZIP code and will vary widely from country to country.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "region_iso_code": { - "description": "Region ISO code.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "region_name": { - "description": "Region name.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "timezone": { - "description": "The time zone of the location, such as IANA time zone name.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "type": "object" - } - }, - "ip": { - "description": "IP address of the source (IPv4 or IPv6).", - "properties": { - "type": { - "$ref": "#/definitions/types/ip" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "mac": { - "description": "MAC address of the source. The notation format from RFC 7042 is suggested: Each octet (that is, 8-bit byte) is represented by two [uppercase] hexadecimal digits giving the value of the octet as an unsigned integer. Successive octets are separated by a hyphen.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "nat": { - "properties": { - "properties": { - "ip": { - "description": "Translated ip of source based NAT sessions (e.g. internal client to internet) Typically connections traversing load balancers, firewalls, or routers.", - "properties": { - "type": { - "$ref": "#/definitions/types/ip" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "port": { - "description": "Translated port of source based NAT sessions. (e.g. internal client to internet) Typically used with load balancers, firewalls, or routers.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "type": "object" - } - }, - "packets": { - "description": "Packets sent from the source to the destination.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "port": { - "description": "Port of the source.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "registered_domain": { - "description": "The highest registered source domain, stripped of the subdomain. For example, the registered domain for \"foo.example.com\" is \"example.com\". This value can be determined precisely with a list like the public suffix list (http://publicsuffix.org). Trying to approximate this by simply taking the last two labels will not work well for TLDs such as \"co.uk\".", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "subdomain": { - "description": "The subdomain portion of a fully qualified domain name includes all of the names except the host name under the registered_domain. In a partially qualified domain, or if the the qualification level of the full name cannot be determined, subdomain contains all of the names below the registered domain. For example the subdomain portion of \"www.east.mydomain.co.uk\" is \"east\". If the domain has multiple levels of subdomain, such as \"sub2.sub1.example.com\", the subdomain field should contain \"sub2.sub1\", with no trailing period.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "top_level_domain": { - "description": "The effective top level domain (eTLD), also known as the domain suffix, is the last part of the domain name. For example, the top level domain for example.com is \"com\". This value can be determined precisely with a list like the public suffix list (http://publicsuffix.org). Trying to approximate this by simply taking the last label will not work well for effective TLDs such as \"co.uk\".", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "user": { - "properties": { - "properties": { - "domain": { - "description": "Name of the directory the user is a member of. For example, an LDAP or Active Directory domain name.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "email": { - "description": "User email address.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "full_name": { - "description": "User's full name, if available.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "group": { - "properties": { - "properties": { - "domain": { - "description": "Name of the directory the group is a member of. For example, an LDAP or Active Directory domain name.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "id": { - "description": "Unique identifier for the group on the system/platform.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "name": { - "description": "Name of the group.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "type": "object" - } - }, - "hash": { - "description": "Unique user hash to correlate information for a user in anonymized form. Useful if `user.id` or `user.name` contain confidential information and cannot be used.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "id": { - "description": "Unique identifier of the user.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "name": { - "description": "Short name or login of the user.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "roles": { - "description": "Array of user roles at the time of the event.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "type": "object" - } - } - }, - "type": "object" - } - } -} \ No newline at end of file diff --git a/experimental/generated/json_schema/threat.json b/experimental/generated/json_schema/threat.json deleted file mode 100644 index 1deff1be02..0000000000 --- a/experimental/generated/json_schema/threat.json +++ /dev/null @@ -1,1712 +0,0 @@ -{ - "threat": { - "properties": { - "properties": { - "framework": { - "description": "Name of the threat framework used to further categorize and classify the tactic and technique of the reported threat. Framework classification can be provided by detecting systems, evaluated at ingest time, or retrospectively tagged to events.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "group": { - "properties": { - "properties": { - "alias": { - "description": "The alias(es) of the group for a set of related intrusion activity that are tracked by a common name in the security community. While not required, you can use a MITRE ATT&CK\u00ae group alias(es).", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "id": { - "description": "The id of the group for a set of related intrusion activity that are tracked by a common name in the security community. While not required, you can use a MITRE ATT&CK\u00ae group id.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "name": { - "description": "The name of the group for a set of related intrusion activity that are tracked by a common name in the security community. While not required, you can use a MITRE ATT&CK\u00ae group name.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "reference": { - "description": "The reference URL of the group for a set of related intrusion activity that are tracked by a common name in the security community. While not required, you can use a MITRE ATT&CK\u00ae group reference URL.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "type": "object" - } - }, - "indicator": { - "properties": { - "properties": { - "as": { - "properties": { - "properties": { - "number": { - "description": "Unique number allocated to the autonomous system. The autonomous system number (ASN) uniquely identifies each network on the Internet.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "organization": { - "properties": { - "properties": { - "name": { - "description": "Organization name.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "type": "object" - } - } - }, - "type": "object" - } - }, - "confidence": { - "description": "Identifies the confidence rating assigned by the provider using STIX confidence scales. Expected values: * Not Specified, None, Low, Medium, High * 0-10 * Admirality Scale (1-6) * DNI Scale (5-95) * WEP Scale (Impossible - Certain)", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "dataset": { - "description": "Identifies the name of specific dataset from the intelligence source.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "description": { - "description": "Describes the type of action conducted by the threat.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "domain": { - "description": "Identifies a threat indicator as a domain (irrespective of direction).", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "email": { - "properties": { - "properties": { - "address": { - "description": "Identifies a threat indicator as an email address (irrespective of direction).", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "type": "object" - } - }, - "file": { - "properties": { - "properties": { - "accessed": { - "description": "Last time the file was accessed. Note that not all filesystems keep track of access time.", - "properties": { - "type": { - "$ref": "#/definitions/types/date" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "attributes": { - "description": "Array of file attributes. Attributes names will vary by platform. Here's a non-exhaustive list of values that are expected in this field: archive, compressed, directory, encrypted, execute, hidden, read, readonly, system, write.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "code_signature": { - "properties": { - "properties": { - "exists": { - "description": "Boolean to capture if a signature is present.", - "properties": { - "type": { - "$ref": "#/definitions/types/boolean" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "signing_id": { - "description": "The identifier used to sign the process. This is used to identify the application manufactured by a software vendor. The field is relevant to Apple *OS only.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "status": { - "description": "Additional information about the certificate status. This is useful for logging cryptographic errors with the certificate validity or trust status. Leave unpopulated if the validity or trust of the certificate was unchecked.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "subject_name": { - "description": "Subject name of the code signer", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "team_id": { - "description": "The team identifier used to sign the process. This is used to identify the team or vendor of a software product. The field is relevant to Apple *OS only.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "trusted": { - "description": "Stores the trust status of the certificate chain. Validating the trust of the certificate chain may be complicated, and this field should only be populated by tools that actively check the status.", - "properties": { - "type": { - "$ref": "#/definitions/types/boolean" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "valid": { - "description": "Boolean to capture if the digital signature is verified against the binary content. Leave unpopulated if a certificate was unchecked.", - "properties": { - "type": { - "$ref": "#/definitions/types/boolean" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "type": "object" - } - }, - "created": { - "description": "File creation time. Note that not all filesystems store the creation time.", - "properties": { - "type": { - "$ref": "#/definitions/types/date" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "ctime": { - "description": "Last time the file attributes or metadata changed. Note that changes to the file content will update `mtime`. This implies `ctime` will be adjusted at the same time, since `mtime` is an attribute of the file.", - "properties": { - "type": { - "$ref": "#/definitions/types/date" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "device": { - "description": "Device that is the source of the file.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "directory": { - "description": "Directory where the file is located. It should include the drive letter, when appropriate.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "drive_letter": { - "description": "Drive letter where the file is located. This field is only relevant on Windows. The value should be uppercase, and not include the colon.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "extension": { - "description": "File extension, excluding the leading dot. Note that when the file name has multiple extensions (example.tar.gz), only the last one should be captured (\"gz\", not \"tar.gz\").", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "gid": { - "description": "Primary group ID (GID) of the file.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "group": { - "description": "Primary group name of the file.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "inode": { - "description": "Inode representing the file in the filesystem.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "mime_type": { - "description": "MIME type should identify the format of the file or stream of bytes using https://www.iana.org/assignments/media-types/media-types.xhtml[IANA official types], where possible. When more than one type is applicable, the most specific type should be used.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "mode": { - "description": "Mode of the file in octal representation.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "mtime": { - "description": "Last time the file content was modified.", - "properties": { - "type": { - "$ref": "#/definitions/types/date" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "name": { - "description": "Name of the file including the extension, without the directory.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "owner": { - "description": "File owner's username.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "path": { - "description": "Full path to the file, including the file name. It should include the drive letter, when appropriate.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "size": { - "description": "File size in bytes. Only relevant when `file.type` is \"file\".", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "target_path": { - "description": "Target path for symlinks.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "type": { - "description": "File type (file, dir, or symlink).", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "uid": { - "description": "The user ID (UID) or security identifier (SID) of the file owner.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "type": "object" - } - }, - "first_seen": { - "description": "The date and time when intelligence source first reported sighting this indicator.", - "properties": { - "type": { - "$ref": "#/definitions/types/date" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "geo": { - "properties": { - "properties": { - "city_name": { - "description": "City name.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "continent_code": { - "description": "Two-letter code representing continent's name.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "continent_name": { - "description": "Name of the continent.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "country_iso_code": { - "description": "Country ISO code.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "country_name": { - "description": "Country name.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "location": { - "description": "Longitude and latitude.", - "properties": { - "type": { - "$ref": "#/definitions/types/geo_point" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "name": { - "description": "User-defined description of a location, at the level of granularity they care about. Could be the name of their data centers, the floor number, if this describes a local physical entity, city names. Not typically used in automated geolocation.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "postal_code": { - "description": "Postal code associated with the location. Values appropriate for this field may also be known as a postcode or ZIP code and will vary widely from country to country.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "region_iso_code": { - "description": "Region ISO code.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "region_name": { - "description": "Region name.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "timezone": { - "description": "The time zone of the location, such as IANA time zone name.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "type": "object" - } - }, - "hash": { - "properties": { - "properties": { - "md5": { - "description": "MD5 hash.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "sha1": { - "description": "SHA1 hash.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "sha256": { - "description": "SHA256 hash.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "sha512": { - "description": "SHA512 hash.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "ssdeep": { - "description": "SSDEEP hash.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "type": "object" - } - }, - "ip": { - "description": "Identifies a threat indicator as an IP address (irrespective of direction).", - "properties": { - "type": { - "$ref": "#/definitions/types/ip" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "last_seen": { - "description": "The date and time when intelligence source last reported sighting this indicator.", - "properties": { - "type": { - "$ref": "#/definitions/types/date" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "marking": { - "properties": { - "properties": { - "tlp": { - "description": "Traffic Light Protocol sharing markings. Expected values are: * White * Green * Amber * Red", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "type": "object" - } - }, - "matched": { - "properties": { - "properties": { - "atomic": { - "description": "Identifies the atomic indicator that matched a local environment endpoint or network event.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "field": { - "description": "Identifies the field of the atomic indicator that matched a local environment endpoint or network event.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "type": { - "description": "Identifies the type of the atomic indicator that matched a local environment endpoint or network event.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "type": "object" - } - }, - "module": { - "description": "Identifies the name of specific module this data is coming from.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "pe": { - "properties": { - "properties": { - "architecture": { - "description": "CPU architecture target for the file.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "authentihash": { - "description": "Authentihash of the PE file.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "company": { - "description": "Internal company name of the file, provided at compile-time.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "compile_timestamp": { - "description": "Compile timestamp of the PE file.", - "properties": { - "type": { - "$ref": "#/definitions/types/date" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "compiler": { - "properties": { - "properties": { - "name": { - "description": "Name of the compiler", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "version": { - "description": "Version of the compiler.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "type": "object" - } - }, - "creation_date": { - "description": "Extracted when possible from the file's metadata. Indicates when it was built or compiled. It can also be faked by malware creators.", - "properties": { - "type": { - "$ref": "#/definitions/types/date" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "debug": { - "description": "An array containing an object for each debug entry, if present. The expected fields for this nested object fall under the `debug.` prefix.", - "properties": { - "properties": { - "offset": { - "description": "Debug offset information.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "size": { - "description": "Size of the debug information.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "timestamp": { - "description": "Timestamp of the debug information.", - "properties": { - "type": { - "$ref": "#/definitions/types/date" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "type": { - "description": "Information type generated by the debug options.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "type": { - "$ref": "#/definitions/types/nested" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "description": { - "description": "Internal description of the file, provided at compile-time.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "entry_point": { - "description": "Relative byte offset to the base of the PE file.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "exports": { - "description": "List of symbols exported by PE", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "file_version": { - "description": "Internal version of the file, provided at compile-time.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "icon": { - "properties": { - "properties": { - "hash": { - "properties": { - "properties": { - "dhash": { - "description": "Difference Hash (dhash) to find files with a visually similar icon or thumbnail.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "type": "object" - } - } - }, - "type": "object" - } - }, - "imphash": { - "description": "A hash of the imports in a PE file. An imphash -- or import hash -- can be used to fingerprint binaries even after recompilation or other code-level transformations have occurred, which would change more traditional hash values. Learn more at https://www.fireeye.com/blog/threat-research/2014/01/tracking-malware-import-hashing.html.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "imports": { - "description": "List of all imported functions", - "properties": { - "type": { - "$ref": "#/definitions/types/flattened" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "machine_type": { - "description": "Machine type of the PE file.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "original_file_name": { - "description": "Internal name of the file, provided at compile-time.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "packers": { - "description": "List of packers and tools used.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "product": { - "description": "Internal product name of the file, provided at compile-time.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "resources": { - "description": "An array containing an object for each PE resource, if present. The expected fields for this nested object fall under the `resources.` prefix.", - "properties": { - "properties": { - "chi2": { - "description": "Chi-square probability distribution.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "entropy": { - "description": "Measurement of entropy randomness in the resources section.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "filetype": { - "description": "File type of the resources section.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "language": { - "description": "Language identification.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "sha256": { - "description": "SHA256 hash of resources section.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "type": { - "description": "Digest of resource types.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "type": { - "$ref": "#/definitions/types/nested" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "rich_header": { - "properties": { - "properties": { - "hash": { - "properties": { - "properties": { - "md5": { - "description": "MD5 hash of the header for the PE file.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "type": "object" - } - } - }, - "type": "object" - } - }, - "sections": { - "description": "Data about sections of compiled binary PE", - "properties": { - "properties": { - "chi2": { - "description": "Chi-square probability distribution.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "entropy": { - "description": "Measurement of entropy randomness in the file.", - "properties": { - "type": { - "$ref": "#/definitions/types/float" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "flags": { - "description": "Section flags of the file.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "name": { - "description": "Section names of the file.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "raw_size": { - "description": "Size of the section or the dize of the initialized data on disk.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "virtual_address": { - "description": "Virtual address available to the file.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "type": { - "$ref": "#/definitions/types/nested" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "type": "object" - } - }, - "port": { - "description": "Identifies a threat indicator as a port number (irrespective of direction).", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "provider": { - "description": "Identifies the name of the intelligence provider.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "registry": { - "properties": { - "properties": { - "data": { - "properties": { - "properties": { - "bytes": { - "description": "Original bytes written with base64 encoding. For Windows registry operations, such as SetValueEx and RegQueryValueEx, this corresponds to the data pointed by `lp_data`. This is optional but provides better recoverability and should be populated for REG_BINARY encoded values.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "strings": { - "description": "Content when writing string types. Populated as an array when writing string data to the registry. For single string registry types (REG_SZ, REG_EXPAND_SZ), this should be an array with one string. For sequences of string with REG_MULTI_SZ, this array will be variable length. For numeric data, such as REG_DWORD and REG_QWORD, this should be populated with the decimal representation (e.g `\"1\"`).", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "type": { - "description": "Standard registry type for encoding contents", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "type": "object" - } - }, - "hive": { - "description": "Abbreviated name for the hive.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "key": { - "description": "Hive-relative path of keys.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "path": { - "description": "Full path, including hive, key and value", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "value": { - "description": "Name of the value written.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "type": "object" - } - }, - "scanner_stats": { - "description": "Count of AV/EDR vendors that successfully detected malicious file or URL.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "sightings": { - "description": "Number of times this indicator was observed conducting threat activity.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "type": { - "description": "Type of indicator as represented by Cyber Observable in STIX 2.0. Expected values * autonomous-system * artifact * directory * domain-name * email-addr * file * ipv4-addr * ipv6-addr * mac-addr * mutex * process * software * url * user-account * windows-registry-key * x-509-certificate", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "type": "object" - } - }, - "software": { - "properties": { - "properties": { - "id": { - "description": "The id of the software used by this threat to conduct behavior commonly modeled using MITRE ATT&CK\u00ae. While not required, you can use a MITRE ATT&CK\u00ae software id.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "name": { - "description": "The name of the software used by this threat to conduct behavior commonly modeled using MITRE ATT&CK\u00ae. While not required, you can use a MITRE ATT&CK\u00ae software name.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "platforms": { - "description": "The platform of the software used by this threat to conduct behavior commonly modeled using MITRE ATT&CK\u00ae. While not required, you can use a MITRE ATT&CK\u00ae software platform. Expected values * AWS * Azure * Azure AD * GCP * Linux * macOS * Network * Office 365 * PRE * SaaS * Windows", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "reference": { - "description": "The reference URL of the software used by this threat to conduct behavior commonly modeled using MITRE ATT&CK\u00ae. While not required, you can use a MITRE ATT&CK\u00ae software reference URL.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "type": { - "description": "The type of software used by this threat to conduct behavior commonly modeled using MITRE ATT&CK\u00ae. While not required, you can use a MITRE ATT&CK\u00ae software type. Expected values * Malware * Tool", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "type": "object" - } - }, - "tactic": { - "properties": { - "properties": { - "id": { - "description": "The id of tactic used by this threat. You can use a MITRE ATT&CK\u00ae tactic, for example. (ex. https://attack.mitre.org/tactics/TA0002/ )", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "name": { - "description": "Name of the type of tactic used by this threat. You can use a MITRE ATT&CK\u00ae tactic, for example. (ex. https://attack.mitre.org/tactics/TA0002/)", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "reference": { - "description": "The reference url of tactic used by this threat. You can use a MITRE ATT&CK\u00ae tactic, for example. (ex. https://attack.mitre.org/tactics/TA0002/ )", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "type": "object" - } - }, - "technique": { - "properties": { - "properties": { - "id": { - "description": "The id of technique used by this threat. You can use a MITRE ATT&CK\u00ae technique, for example. (ex. https://attack.mitre.org/techniques/T1059/)", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "name": { - "description": "The name of technique used by this threat. You can use a MITRE ATT&CK\u00ae technique, for example. (ex. https://attack.mitre.org/techniques/T1059/)", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "reference": { - "description": "The reference url of technique used by this threat. You can use a MITRE ATT&CK\u00ae technique, for example. (ex. https://attack.mitre.org/techniques/T1059/)", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "subtechnique": { - "properties": { - "properties": { - "id": { - "description": "The full id of subtechnique used by this threat. You can use a MITRE ATT&CK\u00ae subtechnique, for example. (ex. https://attack.mitre.org/techniques/T1059/001/)", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "name": { - "description": "The name of subtechnique used by this threat. You can use a MITRE ATT&CK\u00ae subtechnique, for example. (ex. https://attack.mitre.org/techniques/T1059/001/)", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "reference": { - "description": "The reference url of subtechnique used by this threat. You can use a MITRE ATT&CK\u00ae subtechnique, for example. (ex. https://attack.mitre.org/techniques/T1059/001/)", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "type": "object" - } - } - }, - "type": "object" - } - } - }, - "type": "object" - } - } -} \ No newline at end of file diff --git a/experimental/generated/json_schema/tls.json b/experimental/generated/json_schema/tls.json deleted file mode 100644 index ab098f1f5e..0000000000 --- a/experimental/generated/json_schema/tls.json +++ /dev/null @@ -1,1003 +0,0 @@ -{ - "tls": { - "properties": { - "properties": { - "cipher": { - "description": "String indicating the cipher used during the current connection.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "client": { - "properties": { - "properties": { - "certificate": { - "description": "PEM-encoded stand-alone certificate offered by the client. This is usually mutually-exclusive of `client.certificate_chain` since this value also exists in that list.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "certificate_chain": { - "description": "Array of PEM-encoded certificates that make up the certificate chain offered by the client. This is usually mutually-exclusive of `client.certificate` since that value should be the first certificate in the chain.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "hash": { - "properties": { - "properties": { - "md5": { - "description": "Certificate fingerprint using the MD5 digest of DER-encoded version of certificate offered by the client. For consistency with other hash values, this value should be formatted as an uppercase hash.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "sha1": { - "description": "Certificate fingerprint using the SHA1 digest of DER-encoded version of certificate offered by the client. For consistency with other hash values, this value should be formatted as an uppercase hash.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "sha256": { - "description": "Certificate fingerprint using the SHA256 digest of DER-encoded version of certificate offered by the client. For consistency with other hash values, this value should be formatted as an uppercase hash.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "type": "object" - } - }, - "issuer": { - "description": "Distinguished name of subject of the issuer of the x.509 certificate presented by the client.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "ja3": { - "description": "A hash that identifies clients based on how they perform an SSL/TLS handshake.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "not_after": { - "description": "Date/Time indicating when client certificate is no longer considered valid.", - "properties": { - "type": { - "$ref": "#/definitions/types/date" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "not_before": { - "description": "Date/Time indicating when client certificate is first considered valid.", - "properties": { - "type": { - "$ref": "#/definitions/types/date" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "server_name": { - "description": "Also called an SNI, this tells the server which hostname to which the client is attempting to connect to. When this value is available, it should get copied to `destination.domain`.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "subject": { - "description": "Distinguished name of subject of the x.509 certificate presented by the client.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "supported_ciphers": { - "description": "Array of ciphers offered by the client during the client hello.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "x509": { - "properties": { - "properties": { - "alternative_names": { - "description": "List of subject alternative names (SAN). Name types vary by certificate authority and certificate type but commonly contain IP addresses, DNS names (and wildcards), and email addresses.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "issuer": { - "properties": { - "properties": { - "common_name": { - "description": "List of common name (CN) of issuing certificate authority.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "country": { - "description": "List of country (C) codes", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "distinguished_name": { - "description": "Distinguished name (DN) of issuing certificate authority.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "locality": { - "description": "List of locality names (L)", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "organization": { - "description": "List of organizations (O) of issuing certificate authority.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "organizational_unit": { - "description": "List of organizational units (OU) of issuing certificate authority.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "state_or_province": { - "description": "List of state or province names (ST, S, or P)", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "type": "object" - } - }, - "not_after": { - "description": "Time at which the certificate is no longer considered valid.", - "properties": { - "type": { - "$ref": "#/definitions/types/date" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "not_before": { - "description": "Time at which the certificate is first considered valid.", - "properties": { - "type": { - "$ref": "#/definitions/types/date" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "public_key_algorithm": { - "description": "Algorithm used to generate the public key.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "public_key_curve": { - "description": "The curve used by the elliptic curve public key algorithm. This is algorithm specific.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "public_key_exponent": { - "description": "Exponent used to derive the public key. This is algorithm specific.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "public_key_size": { - "description": "The size of the public key space in bits.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "serial_number": { - "description": "Unique serial number issued by the certificate authority. For consistency, if this value is alphanumeric, it should be formatted without colons and uppercase characters.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "signature_algorithm": { - "description": "Identifier for certificate signature algorithm. We recommend using names found in Go Lang Crypto library. See https://github.com/golang/go/blob/go1.14/src/crypto/x509/x509.go#L337-L353.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "subject": { - "properties": { - "properties": { - "common_name": { - "description": "List of common names (CN) of subject.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "country": { - "description": "List of country (C) code", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "distinguished_name": { - "description": "Distinguished name (DN) of the certificate subject entity.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "locality": { - "description": "List of locality names (L)", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "organization": { - "description": "List of organizations (O) of subject.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "organizational_unit": { - "description": "List of organizational units (OU) of subject.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "state_or_province": { - "description": "List of state or province names (ST, S, or P)", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "type": "object" - } - }, - "version_number": { - "description": "Version of x509 format.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "type": "object" - } - } - }, - "type": "object" - } - }, - "curve": { - "description": "String indicating the curve used for the given cipher, when applicable.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "established": { - "description": "Boolean flag indicating if the TLS negotiation was successful and transitioned to an encrypted tunnel.", - "properties": { - "type": { - "$ref": "#/definitions/types/boolean" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "next_protocol": { - "description": "String indicating the protocol being tunneled. Per the values in the IANA registry (https://www.iana.org/assignments/tls-extensiontype-values/tls-extensiontype-values.xhtml#alpn-protocol-ids), this string should be lower case.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "resumed": { - "description": "Boolean flag indicating if this TLS connection was resumed from an existing TLS negotiation.", - "properties": { - "type": { - "$ref": "#/definitions/types/boolean" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "server": { - "properties": { - "properties": { - "certificate": { - "description": "PEM-encoded stand-alone certificate offered by the server. This is usually mutually-exclusive of `server.certificate_chain` since this value also exists in that list.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "certificate_chain": { - "description": "Array of PEM-encoded certificates that make up the certificate chain offered by the server. This is usually mutually-exclusive of `server.certificate` since that value should be the first certificate in the chain.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "hash": { - "properties": { - "properties": { - "md5": { - "description": "Certificate fingerprint using the MD5 digest of DER-encoded version of certificate offered by the server. For consistency with other hash values, this value should be formatted as an uppercase hash.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "sha1": { - "description": "Certificate fingerprint using the SHA1 digest of DER-encoded version of certificate offered by the server. For consistency with other hash values, this value should be formatted as an uppercase hash.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "sha256": { - "description": "Certificate fingerprint using the SHA256 digest of DER-encoded version of certificate offered by the server. For consistency with other hash values, this value should be formatted as an uppercase hash.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "type": "object" - } - }, - "issuer": { - "description": "Subject of the issuer of the x.509 certificate presented by the server.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "ja3s": { - "description": "A hash that identifies servers based on how they perform an SSL/TLS handshake.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "not_after": { - "description": "Timestamp indicating when server certificate is no longer considered valid.", - "properties": { - "type": { - "$ref": "#/definitions/types/date" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "not_before": { - "description": "Timestamp indicating when server certificate is first considered valid.", - "properties": { - "type": { - "$ref": "#/definitions/types/date" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "subject": { - "description": "Subject of the x.509 certificate presented by the server.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "x509": { - "properties": { - "properties": { - "alternative_names": { - "description": "List of subject alternative names (SAN). Name types vary by certificate authority and certificate type but commonly contain IP addresses, DNS names (and wildcards), and email addresses.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "issuer": { - "properties": { - "properties": { - "common_name": { - "description": "List of common name (CN) of issuing certificate authority.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "country": { - "description": "List of country (C) codes", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "distinguished_name": { - "description": "Distinguished name (DN) of issuing certificate authority.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "locality": { - "description": "List of locality names (L)", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "organization": { - "description": "List of organizations (O) of issuing certificate authority.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "organizational_unit": { - "description": "List of organizational units (OU) of issuing certificate authority.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "state_or_province": { - "description": "List of state or province names (ST, S, or P)", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "type": "object" - } - }, - "not_after": { - "description": "Time at which the certificate is no longer considered valid.", - "properties": { - "type": { - "$ref": "#/definitions/types/date" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "not_before": { - "description": "Time at which the certificate is first considered valid.", - "properties": { - "type": { - "$ref": "#/definitions/types/date" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "public_key_algorithm": { - "description": "Algorithm used to generate the public key.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "public_key_curve": { - "description": "The curve used by the elliptic curve public key algorithm. This is algorithm specific.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "public_key_exponent": { - "description": "Exponent used to derive the public key. This is algorithm specific.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "public_key_size": { - "description": "The size of the public key space in bits.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "serial_number": { - "description": "Unique serial number issued by the certificate authority. For consistency, if this value is alphanumeric, it should be formatted without colons and uppercase characters.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "signature_algorithm": { - "description": "Identifier for certificate signature algorithm. We recommend using names found in Go Lang Crypto library. See https://github.com/golang/go/blob/go1.14/src/crypto/x509/x509.go#L337-L353.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "subject": { - "properties": { - "properties": { - "common_name": { - "description": "List of common names (CN) of subject.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "country": { - "description": "List of country (C) code", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "distinguished_name": { - "description": "Distinguished name (DN) of the certificate subject entity.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "locality": { - "description": "List of locality names (L)", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "organization": { - "description": "List of organizations (O) of subject.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "organizational_unit": { - "description": "List of organizational units (OU) of subject.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "state_or_province": { - "description": "List of state or province names (ST, S, or P)", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "type": "object" - } - }, - "version_number": { - "description": "Version of x509 format.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "type": "object" - } - } - }, - "type": "object" - } - }, - "version": { - "description": "Numeric part of the version parsed from the original string.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "version_protocol": { - "description": "Normalized lowercase protocol name parsed from original string.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "type": "object" - } - } -} \ No newline at end of file diff --git a/experimental/generated/json_schema/tracing.json b/experimental/generated/json_schema/tracing.json deleted file mode 100644 index 6de709d765..0000000000 --- a/experimental/generated/json_schema/tracing.json +++ /dev/null @@ -1,59 +0,0 @@ -{ - "span": { - "properties": { - "properties": { - "id": { - "description": "Unique identifier of the span within the scope of its trace. A span represents an operation within a transaction, such as a request to another service, or a database query.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "type": "object" - } - }, - "trace": { - "properties": { - "properties": { - "id": { - "description": "Unique identifier of the trace. A trace groups multiple events like transactions that belong together. For example, a user request handled by multiple inter-connected services.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "type": "object" - } - }, - "transaction": { - "properties": { - "properties": { - "id": { - "description": "Unique identifier of the transaction within the scope of its trace. A transaction is the highest level of work measured within a service, such as a request to a server.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "type": "object" - } - } -} \ No newline at end of file diff --git a/experimental/generated/json_schema/url.json b/experimental/generated/json_schema/url.json deleted file mode 100644 index e67d119a65..0000000000 --- a/experimental/generated/json_schema/url.json +++ /dev/null @@ -1,177 +0,0 @@ -{ - "url": { - "properties": { - "properties": { - "domain": { - "description": "Domain of the url, such as \"www.elastic.co\". In some cases a URL may refer to an IP and/or port directly, without a domain name. In this case, the IP address would go to the `domain` field. If the URL contains a literal IPv6 address enclosed by `[` and `]` (IETF RFC 2732), the `[` and `]` characters should also be captured in the `domain` field.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "extension": { - "description": "The field contains the file extension from the original request url, excluding the leading dot. The file extension is only set if it exists, as not every url has a file extension. The leading period must not be included. For example, the value must be \"png\", not \".png\". Note that when the file name has multiple extensions (example.tar.gz), only the last one should be captured (\"gz\", not \"tar.gz\").", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "fragment": { - "description": "Portion of the url after the `#`, such as \"top\". The `#` is not part of the fragment.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "full": { - "description": "If full URLs are important to your use case, they should be stored in `url.full`, whether this field is reconstructed or present in the event source.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "original": { - "description": "Unmodified original url as seen in the event source. Note that in network monitoring, the observed URL may be a full URL, whereas in access logs, the URL is often just represented as a path. This field is meant to represent the URL as it was observed, complete or not.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "password": { - "description": "Password of the request.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "path": { - "description": "Path of the request, such as \"/search\".", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "port": { - "description": "Port of the request, such as 443.", - "properties": { - "type": { - "$ref": "#/definitions/types/long" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "query": { - "description": "The query field describes the query string of the request, such as \"q=elasticsearch\". The `?` is excluded from the query string. If a URL contains no `?`, there is no query field. If there is a `?` but no query, the query field exists with an empty string. The `exists` query can be used to differentiate between the two cases.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "registered_domain": { - "description": "The highest registered url domain, stripped of the subdomain. For example, the registered domain for \"foo.example.com\" is \"example.com\". This value can be determined precisely with a list like the public suffix list (http://publicsuffix.org). Trying to approximate this by simply taking the last two labels will not work well for TLDs such as \"co.uk\".", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "scheme": { - "description": "Scheme of the request, such as \"https\". Note: The `:` is not part of the scheme.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "subdomain": { - "description": "The subdomain portion of a fully qualified domain name includes all of the names except the host name under the registered_domain. In a partially qualified domain, or if the the qualification level of the full name cannot be determined, subdomain contains all of the names below the registered domain. For example the subdomain portion of \"www.east.mydomain.co.uk\" is \"east\". If the domain has multiple levels of subdomain, such as \"sub2.sub1.example.com\", the subdomain field should contain \"sub2.sub1\", with no trailing period.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "top_level_domain": { - "description": "The effective top level domain (eTLD), also known as the domain suffix, is the last part of the domain name. For example, the top level domain for example.com is \"com\". This value can be determined precisely with a list like the public suffix list (http://publicsuffix.org). Trying to approximate this by simply taking the last label will not work well for effective TLDs such as \"co.uk\".", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "username": { - "description": "Username of the request.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "type": "object" - } - } -} \ No newline at end of file diff --git a/experimental/generated/json_schema/user.json b/experimental/generated/json_schema/user.json deleted file mode 100644 index 85dd4d94f6..0000000000 --- a/experimental/generated/json_schema/user.json +++ /dev/null @@ -1,538 +0,0 @@ -{ - "user": { - "properties": { - "properties": { - "changes": { - "properties": { - "properties": { - "domain": { - "description": "Name of the directory the user is a member of. For example, an LDAP or Active Directory domain name.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "email": { - "description": "User email address.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "full_name": { - "description": "User's full name, if available.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "group": { - "properties": { - "properties": { - "domain": { - "description": "Name of the directory the group is a member of. For example, an LDAP or Active Directory domain name.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "id": { - "description": "Unique identifier for the group on the system/platform.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "name": { - "description": "Name of the group.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "type": "object" - } - }, - "hash": { - "description": "Unique user hash to correlate information for a user in anonymized form. Useful if `user.id` or `user.name` contain confidential information and cannot be used.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "id": { - "description": "Unique identifier of the user.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "name": { - "description": "Short name or login of the user.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "roles": { - "description": "Array of user roles at the time of the event.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "type": "object" - } - }, - "domain": { - "description": "Name of the directory the user is a member of. For example, an LDAP or Active Directory domain name.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "effective": { - "properties": { - "properties": { - "domain": { - "description": "Name of the directory the user is a member of. For example, an LDAP or Active Directory domain name.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "email": { - "description": "User email address.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "full_name": { - "description": "User's full name, if available.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "group": { - "properties": { - "properties": { - "domain": { - "description": "Name of the directory the group is a member of. For example, an LDAP or Active Directory domain name.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "id": { - "description": "Unique identifier for the group on the system/platform.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "name": { - "description": "Name of the group.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "type": "object" - } - }, - "hash": { - "description": "Unique user hash to correlate information for a user in anonymized form. Useful if `user.id` or `user.name` contain confidential information and cannot be used.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "id": { - "description": "Unique identifier of the user.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "name": { - "description": "Short name or login of the user.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "roles": { - "description": "Array of user roles at the time of the event.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "type": "object" - } - }, - "email": { - "description": "User email address.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "full_name": { - "description": "User's full name, if available.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "group": { - "properties": { - "properties": { - "domain": { - "description": "Name of the directory the group is a member of. For example, an LDAP or Active Directory domain name.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "id": { - "description": "Unique identifier for the group on the system/platform.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "name": { - "description": "Name of the group.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "type": "object" - } - }, - "hash": { - "description": "Unique user hash to correlate information for a user in anonymized form. Useful if `user.id` or `user.name` contain confidential information and cannot be used.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "id": { - "description": "Unique identifier of the user.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "name": { - "description": "Short name or login of the user.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "roles": { - "description": "Array of user roles at the time of the event.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "target": { - "properties": { - "properties": { - "domain": { - "description": "Name of the directory the user is a member of. For example, an LDAP or Active Directory domain name.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "email": { - "description": "User email address.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "full_name": { - "description": "User's full name, if available.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "group": { - "properties": { - "properties": { - "domain": { - "description": "Name of the directory the group is a member of. For example, an LDAP or Active Directory domain name.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "id": { - "description": "Unique identifier for the group on the system/platform.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "name": { - "description": "Name of the group.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "type": "object" - } - }, - "hash": { - "description": "Unique user hash to correlate information for a user in anonymized form. Useful if `user.id` or `user.name` contain confidential information and cannot be used.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "id": { - "description": "Unique identifier of the user.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "name": { - "description": "Short name or login of the user.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "roles": { - "description": "Array of user roles at the time of the event.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "type": "object" - } - } - }, - "type": "object" - } - } -} \ No newline at end of file diff --git a/experimental/generated/json_schema/user_agent.json b/experimental/generated/json_schema/user_agent.json deleted file mode 100644 index 661f557850..0000000000 --- a/experimental/generated/json_schema/user_agent.json +++ /dev/null @@ -1,155 +0,0 @@ -{ - "user_agent": { - "properties": { - "properties": { - "device": { - "properties": { - "properties": { - "name": { - "description": "Name of the device.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "type": "object" - } - }, - "name": { - "description": "Name of the user agent.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "original": { - "description": "Unparsed user_agent string.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "os": { - "properties": { - "properties": { - "family": { - "description": "OS family (such as redhat, debian, freebsd, windows).", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "full": { - "description": "Operating system name, including the version or code name.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "kernel": { - "description": "Operating system kernel version as a raw string.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "name": { - "description": "Operating system name, without the version.", - "properties": { - "type": { - "$ref": "#/definitions/types/wildcard" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "platform": { - "description": "Operating system platform (such centos, ubuntu, windows).", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "type": { - "description": "Use the `os.type` field to categorize the operating system into one of the broad commercial families. One of these following values should be used (lowercase): linux, macos, unix, windows. If the OS you're dealing with is not in the list, the field should not be populated. Please let us know by opening an issue with ECS, to propose its addition.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "version": { - "description": "Operating system version as a raw string.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "type": "object" - } - }, - "version": { - "description": "Version of the user agent.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "type": "object" - } - } -} \ No newline at end of file diff --git a/experimental/generated/json_schema/vulnerability.json b/experimental/generated/json_schema/vulnerability.json deleted file mode 100644 index 17f3972fb7..0000000000 --- a/experimental/generated/json_schema/vulnerability.json +++ /dev/null @@ -1,179 +0,0 @@ -{ - "vulnerability": { - "properties": { - "properties": { - "category": { - "description": "The type of system or architecture that the vulnerability affects. These may be platform-specific (for example, Debian or SUSE) or general (for example, Database or Firewall). For example (https://qualysguard.qualys.com/qwebhelp/fo_portal/knowledgebase/vulnerability_categories.htm[Qualys vulnerability categories]) This field must be an array.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "classification": { - "description": "The classification of the vulnerability scoring system. For example (https://www.first.org/cvss/)", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "description": { - "description": "The description of the vulnerability that provides additional context of the vulnerability. For example (https://cve.mitre.org/about/faqs.html#cve_entry_descriptions_created[Common Vulnerabilities and Exposure CVE description])", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "enumeration": { - "description": "The type of identifier used for this vulnerability. For example (https://cve.mitre.org/about/)", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "id": { - "description": "The identification (ID) is the number portion of a vulnerability entry. It includes a unique identification number for the vulnerability. For example (https://cve.mitre.org/about/faqs.html#what_is_cve_id)[Common Vulnerabilities and Exposure CVE ID]", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "reference": { - "description": "A resource that provides additional information, context, and mitigations for the identified vulnerability.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "report_id": { - "description": "The report or scan identification number.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "scanner": { - "properties": { - "properties": { - "vendor": { - "description": "The name of the vulnerability scanner vendor.", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "type": "object" - } - }, - "score": { - "properties": { - "properties": { - "base": { - "description": "Scores can range from 0.0 to 10.0, with 10.0 being the most severe. Base scores cover an assessment for exploitability metrics (attack vector, complexity, privileges, and user interaction), impact metrics (confidentiality, integrity, and availability), and scope. For example (https://www.first.org/cvss/specification-document)", - "properties": { - "type": { - "$ref": "#/definitions/types/float" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "environmental": { - "description": "Scores can range from 0.0 to 10.0, with 10.0 being the most severe. Environmental scores cover an assessment for any modified Base metrics, confidentiality, integrity, and availability requirements. For example (https://www.first.org/cvss/specification-document)", - "properties": { - "type": { - "$ref": "#/definitions/types/float" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "temporal": { - "description": "Scores can range from 0.0 to 10.0, with 10.0 being the most severe. Temporal scores cover an assessment for code maturity, remediation level, and confidence. For example (https://www.first.org/cvss/specification-document)", - "properties": { - "type": { - "$ref": "#/definitions/types/float" - } - }, - "required": [ - "type" - ], - "type": "object" - }, - "version": { - "description": "The National Vulnerability Database (NVD) provides qualitative severity rankings of \"Low\", \"Medium\", and \"High\" for CVSS v2.0 base score ranges in addition to the severity ratings for CVSS v3.0 as they are defined in the CVSS v3.0 specification. CVSS is owned and managed by FIRST.Org, Inc. (FIRST), a US-based non-profit organization, whose mission is to help computer security incident response teams across the world. For example (https://nvd.nist.gov/vuln-metrics/cvss)", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "type": "object" - } - }, - "severity": { - "description": "The severity of the vulnerability can help with metrics and internal prioritization regarding remediation. For example (https://nvd.nist.gov/vuln-metrics/cvss)", - "properties": { - "type": { - "$ref": "#/definitions/types/keyword" - } - }, - "required": [ - "type" - ], - "type": "object" - } - }, - "type": "object" - } - } -} \ No newline at end of file From ccf1dd0927e009902d310ef9907673f0e204df4e Mon Sep 17 00:00:00 2001 From: Eric Beahan Date: Fri, 14 May 2021 14:47:58 -0500 Subject: [PATCH 08/10] adjust nested field descriptions --- code/go/ecs/elf.go | 8 ++- docs/field-details.asciidoc | 11 +++- experimental/generated/beats/fields.ecs.yml | 50 ++++++++++++---- experimental/generated/csv/fields.csv | 8 +-- experimental/generated/ecs/ecs_flat.yml | 52 +++++++++++++---- experimental/generated/ecs/ecs_nested.yml | 65 ++++++++++++++++----- generated/beats/fields.ecs.yml | 40 ++++++++++--- generated/csv/fields.csv | 6 +- generated/ecs/ecs_flat.yml | 39 ++++++++++--- generated/ecs/ecs_nested.yml | 52 +++++++++++++---- schemas/elf.yml | 14 ++++- 11 files changed, 266 insertions(+), 79 deletions(-) diff --git a/code/go/ecs/elf.go b/code/go/ecs/elf.go index 30e31c9d11..ee17c2870f 100644 --- a/code/go/ecs/elf.go +++ b/code/go/ecs/elf.go @@ -62,7 +62,9 @@ type Elf struct { // "0x1" for original ELF files. HeaderObjectVersion string `ecs:"header.object_version"` - // Section information of the ELF file. + // An array containing an object for each section of the ELF file. + // The keys that should be present in these objects are defined by + // sub-fields underneath `elf.sections.*`. Sections []Sections `ecs:"sections"` // List of exported element names and types. @@ -77,7 +79,9 @@ type Elf struct { // telfhash symbol hash for ELF file. Telfhash string `ecs:"telfhash"` - // ELF object segment list. + // An array containing an object for each segment of the ELF file. + // The keys that should be present in these objects are defined by + // sub-fields underneath `elf.segments.*`. Segments []Segments `ecs:"segments"` } diff --git a/docs/field-details.asciidoc b/docs/field-details.asciidoc index a0dabdd4ff..f663d9c3ba 100644 --- a/docs/field-details.asciidoc +++ b/docs/field-details.asciidoc @@ -2099,11 +2099,16 @@ Note: this field should contain an array of values. [[field-elf-sections]] <> -| Section information of the ELF file. +| An array containing an object for each section of the ELF file. + +The keys that should be present in these objects are defined by sub-fields underneath `elf.sections.*`. type: nested +Note: this field should contain an array of values. + + @@ -2259,7 +2264,9 @@ type: long [[field-elf-segments]] <> -| ELF object segment list. +| An array containing an object for each segment of the ELF file. + +The keys that should be present in these objects are defined by sub-fields underneath `elf.segments.*`. type: nested diff --git a/experimental/generated/beats/fields.ecs.yml b/experimental/generated/beats/fields.ecs.yml index 985fab1777..62af39687f 100644 --- a/experimental/generated/beats/fields.ecs.yml +++ b/experimental/generated/beats/fields.ecs.yml @@ -1614,7 +1614,10 @@ - name: sections level: extended type: nested - description: Section information of the ELF file. + description: 'An array containing an object for each section of the ELF file. + + The keys that should be present in these objects are defined by sub-fields + underneath `elf.sections.*`.' default_field: false - name: sections.chi2 level: extended @@ -1673,7 +1676,10 @@ - name: segments level: extended type: nested - description: ELF object segment list. + description: 'An array containing an object for each segment of the ELF file. + + The keys that should be present in these objects are defined by sub-fields + underneath `elf.segments.*`.' default_field: false - name: segments.sections level: extended @@ -2244,7 +2250,10 @@ - name: elf.sections level: extended type: nested - description: Section information of the ELF file. + description: 'An array containing an object for each section of the ELF file. + + The keys that should be present in these objects are defined by sub-fields + underneath `elf.sections.*`.' default_field: false - name: elf.sections.chi2 level: extended @@ -2303,7 +2312,10 @@ - name: elf.segments level: extended type: nested - description: ELF object segment list. + description: 'An array containing an object for each segment of the ELF file. + + The keys that should be present in these objects are defined by sub-fields + underneath `elf.segments.*`.' default_field: false - name: elf.segments.sections level: extended @@ -4833,7 +4845,10 @@ - name: elf.sections level: extended type: nested - description: Section information of the ELF file. + description: 'An array containing an object for each section of the ELF file. + + The keys that should be present in these objects are defined by sub-fields + underneath `elf.sections.*`.' default_field: false - name: elf.sections.chi2 level: extended @@ -4892,7 +4907,10 @@ - name: elf.segments level: extended type: nested - description: ELF object segment list. + description: 'An array containing an object for each segment of the ELF file. + + The keys that should be present in these objects are defined by sub-fields + underneath `elf.segments.*`.' default_field: false - name: elf.segments.sections level: extended @@ -5173,7 +5191,10 @@ - name: parent.elf.sections level: extended type: nested - description: Section information of the ELF file. + description: 'An array containing an object for each section of the ELF file. + + The keys that should be present in these objects are defined by sub-fields + underneath `elf.sections.*`.' default_field: false - name: parent.elf.sections.chi2 level: extended @@ -5232,7 +5253,10 @@ - name: parent.elf.segments level: extended type: nested - description: ELF object segment list. + description: 'An array containing an object for each segment of the ELF file. + + The keys that should be present in these objects are defined by sub-fields + underneath `elf.segments.*`.' default_field: false - name: parent.elf.segments.sections level: extended @@ -7139,7 +7163,10 @@ - name: indicator.file.elf.sections level: extended type: nested - description: Section information of the ELF file. + description: 'An array containing an object for each section of the ELF file. + + The keys that should be present in these objects are defined by sub-fields + underneath `elf.sections.*`.' default_field: false - name: indicator.file.elf.sections.chi2 level: extended @@ -7198,7 +7225,10 @@ - name: indicator.file.elf.segments level: extended type: nested - description: ELF object segment list. + description: 'An array containing an object for each segment of the ELF file. + + The keys that should be present in these objects are defined by sub-fields + underneath `elf.segments.*`.' default_field: false - name: indicator.file.elf.segments.sections level: extended diff --git a/experimental/generated/csv/fields.csv b/experimental/generated/csv/fields.csv index 0964b09fdb..96285a3d77 100644 --- a/experimental/generated/csv/fields.csv +++ b/experimental/generated/csv/fields.csv @@ -235,7 +235,7 @@ ECS_Version,Indexed,Field_Set,Field,Type,Level,Normalization,Example,Description 2.0.0-dev+exp,true,file,file.elf.header.type,keyword,extended,,,Header type of the ELF file. 2.0.0-dev+exp,true,file,file.elf.header.version,keyword,extended,,,Version of the ELF header. 2.0.0-dev+exp,true,file,file.elf.imports,flattened,extended,array,,List of imported element names and types. -2.0.0-dev+exp,true,file,file.elf.sections,nested,extended,,,Section information of the ELF file. +2.0.0-dev+exp,true,file,file.elf.sections,nested,extended,array,,Section information of the ELF file. 2.0.0-dev+exp,true,file,file.elf.sections.chi2,long,extended,,,Chi-square probability distribution of the section. 2.0.0-dev+exp,true,file,file.elf.sections.entropy,long,extended,,,Shannon entropy calculation from the section. 2.0.0-dev+exp,true,file,file.elf.sections.flags,keyword,extended,,,ELF Section List flags. @@ -521,7 +521,7 @@ ECS_Version,Indexed,Field_Set,Field,Type,Level,Normalization,Example,Description 2.0.0-dev+exp,true,process,process.elf.header.type,keyword,extended,,,Header type of the ELF file. 2.0.0-dev+exp,true,process,process.elf.header.version,keyword,extended,,,Version of the ELF header. 2.0.0-dev+exp,true,process,process.elf.imports,flattened,extended,array,,List of imported element names and types. -2.0.0-dev+exp,true,process,process.elf.sections,nested,extended,,,Section information of the ELF file. +2.0.0-dev+exp,true,process,process.elf.sections,nested,extended,array,,Section information of the ELF file. 2.0.0-dev+exp,true,process,process.elf.sections.chi2,long,extended,,,Chi-square probability distribution of the section. 2.0.0-dev+exp,true,process,process.elf.sections.entropy,long,extended,,,Shannon entropy calculation from the section. 2.0.0-dev+exp,true,process,process.elf.sections.flags,keyword,extended,,,ELF Section List flags. @@ -572,7 +572,7 @@ ECS_Version,Indexed,Field_Set,Field,Type,Level,Normalization,Example,Description 2.0.0-dev+exp,true,process,process.parent.elf.header.type,keyword,extended,,,Header type of the ELF file. 2.0.0-dev+exp,true,process,process.parent.elf.header.version,keyword,extended,,,Version of the ELF header. 2.0.0-dev+exp,true,process,process.parent.elf.imports,flattened,extended,array,,List of imported element names and types. -2.0.0-dev+exp,true,process,process.parent.elf.sections,nested,extended,,,Section information of the ELF file. +2.0.0-dev+exp,true,process,process.parent.elf.sections,nested,extended,array,,Section information of the ELF file. 2.0.0-dev+exp,true,process,process.parent.elf.sections.chi2,long,extended,,,Chi-square probability distribution of the section. 2.0.0-dev+exp,true,process,process.parent.elf.sections.entropy,long,extended,,,Shannon entropy calculation from the section. 2.0.0-dev+exp,true,process,process.parent.elf.sections.flags,keyword,extended,,,ELF Section List flags. @@ -842,7 +842,7 @@ ECS_Version,Indexed,Field_Set,Field,Type,Level,Normalization,Example,Description 2.0.0-dev+exp,true,threat,threat.indicator.file.elf.header.type,keyword,extended,,,Header type of the ELF file. 2.0.0-dev+exp,true,threat,threat.indicator.file.elf.header.version,keyword,extended,,,Version of the ELF header. 2.0.0-dev+exp,true,threat,threat.indicator.file.elf.imports,flattened,extended,array,,List of imported element names and types. -2.0.0-dev+exp,true,threat,threat.indicator.file.elf.sections,nested,extended,,,Section information of the ELF file. +2.0.0-dev+exp,true,threat,threat.indicator.file.elf.sections,nested,extended,array,,Section information of the ELF file. 2.0.0-dev+exp,true,threat,threat.indicator.file.elf.sections.chi2,long,extended,,,Chi-square probability distribution of the section. 2.0.0-dev+exp,true,threat,threat.indicator.file.elf.sections.entropy,long,extended,,,Shannon entropy calculation from the section. 2.0.0-dev+exp,true,threat,threat.indicator.file.elf.sections.flags,keyword,extended,,,ELF Section List flags. diff --git a/experimental/generated/ecs/ecs_flat.yml b/experimental/generated/ecs/ecs_flat.yml index 14d58be301..ef0bd55bed 100644 --- a/experimental/generated/ecs/ecs_flat.yml +++ b/experimental/generated/ecs/ecs_flat.yml @@ -3289,11 +3289,15 @@ file.elf.imports: type: flattened file.elf.sections: dashed_name: file-elf-sections - description: Section information of the ELF file. + description: 'An array containing an object for each section of the ELF file. + + The keys that should be present in these objects are defined by sub-fields underneath + `elf.sections.*`.' flat_name: file.elf.sections level: extended name: sections - normalize: [] + normalize: + - array original_fieldset: elf short: Section information of the ELF file. type: nested @@ -3398,7 +3402,10 @@ file.elf.sections.virtual_size: type: long file.elf.segments: dashed_name: file-elf-segments - description: ELF object segment list. + description: 'An array containing an object for each segment of the ELF file. + + The keys that should be present in these objects are defined by sub-fields underneath + `elf.segments.*`.' flat_name: file.elf.segments level: extended name: segments @@ -6712,11 +6719,15 @@ process.elf.imports: type: flattened process.elf.sections: dashed_name: process-elf-sections - description: Section information of the ELF file. + description: 'An array containing an object for each section of the ELF file. + + The keys that should be present in these objects are defined by sub-fields underneath + `elf.sections.*`.' flat_name: process.elf.sections level: extended name: sections - normalize: [] + normalize: + - array original_fieldset: elf short: Section information of the ELF file. type: nested @@ -6821,7 +6832,10 @@ process.elf.sections.virtual_size: type: long process.elf.segments: dashed_name: process-elf-segments - description: ELF object segment list. + description: 'An array containing an object for each segment of the ELF file. + + The keys that should be present in these objects are defined by sub-fields underneath + `elf.segments.*`.' flat_name: process.elf.segments level: extended name: segments @@ -7301,11 +7315,15 @@ process.parent.elf.imports: type: flattened process.parent.elf.sections: dashed_name: process-parent-elf-sections - description: Section information of the ELF file. + description: 'An array containing an object for each section of the ELF file. + + The keys that should be present in these objects are defined by sub-fields underneath + `elf.sections.*`.' flat_name: process.parent.elf.sections level: extended name: sections - normalize: [] + normalize: + - array original_fieldset: elf short: Section information of the ELF file. type: nested @@ -7410,7 +7428,10 @@ process.parent.elf.sections.virtual_size: type: long process.parent.elf.segments: dashed_name: process-parent-elf-segments - description: ELF object segment list. + description: 'An array containing an object for each segment of the ELF file. + + The keys that should be present in these objects are defined by sub-fields underneath + `elf.segments.*`.' flat_name: process.parent.elf.segments level: extended name: segments @@ -10519,11 +10540,15 @@ threat.indicator.file.elf.imports: type: flattened threat.indicator.file.elf.sections: dashed_name: threat-indicator-file-elf-sections - description: Section information of the ELF file. + description: 'An array containing an object for each section of the ELF file. + + The keys that should be present in these objects are defined by sub-fields underneath + `elf.sections.*`.' flat_name: threat.indicator.file.elf.sections level: extended name: sections - normalize: [] + normalize: + - array original_fieldset: elf short: Section information of the ELF file. type: nested @@ -10628,7 +10653,10 @@ threat.indicator.file.elf.sections.virtual_size: type: long threat.indicator.file.elf.segments: dashed_name: threat-indicator-file-elf-segments - description: ELF object segment list. + description: 'An array containing an object for each segment of the ELF file. + + The keys that should be present in these objects are defined by sub-fields underneath + `elf.segments.*`.' flat_name: threat.indicator.file.elf.segments level: extended name: segments diff --git a/experimental/generated/ecs/ecs_nested.yml b/experimental/generated/ecs/ecs_nested.yml index 6cfcecacb1..777128f49d 100644 --- a/experimental/generated/ecs/ecs_nested.yml +++ b/experimental/generated/ecs/ecs_nested.yml @@ -2718,11 +2718,15 @@ elf: type: flattened elf.sections: dashed_name: elf-sections - description: Section information of the ELF file. + description: 'An array containing an object for each section of the ELF file. + + The keys that should be present in these objects are defined by sub-fields + underneath `elf.sections.*`.' flat_name: elf.sections level: extended name: sections - normalize: [] + normalize: + - array short: Section information of the ELF file. type: nested elf.sections.chi2: @@ -2817,7 +2821,10 @@ elf: type: long elf.segments: dashed_name: elf-segments - description: ELF object segment list. + description: 'An array containing an object for each segment of the ELF file. + + The keys that should be present in these objects are defined by sub-fields + underneath `elf.segments.*`.' flat_name: elf.segments level: extended name: segments @@ -4082,11 +4089,15 @@ file: type: flattened file.elf.sections: dashed_name: file-elf-sections - description: Section information of the ELF file. + description: 'An array containing an object for each section of the ELF file. + + The keys that should be present in these objects are defined by sub-fields + underneath `elf.sections.*`.' flat_name: file.elf.sections level: extended name: sections - normalize: [] + normalize: + - array original_fieldset: elf short: Section information of the ELF file. type: nested @@ -4191,7 +4202,10 @@ file: type: long file.elf.segments: dashed_name: file-elf-segments - description: ELF object segment list. + description: 'An array containing an object for each segment of the ELF file. + + The keys that should be present in these objects are defined by sub-fields + underneath `elf.segments.*`.' flat_name: file.elf.segments level: extended name: segments @@ -8571,11 +8585,15 @@ process: type: flattened process.elf.sections: dashed_name: process-elf-sections - description: Section information of the ELF file. + description: 'An array containing an object for each section of the ELF file. + + The keys that should be present in these objects are defined by sub-fields + underneath `elf.sections.*`.' flat_name: process.elf.sections level: extended name: sections - normalize: [] + normalize: + - array original_fieldset: elf short: Section information of the ELF file. type: nested @@ -8680,7 +8698,10 @@ process: type: long process.elf.segments: dashed_name: process-elf-segments - description: ELF object segment list. + description: 'An array containing an object for each segment of the ELF file. + + The keys that should be present in these objects are defined by sub-fields + underneath `elf.segments.*`.' flat_name: process.elf.segments level: extended name: segments @@ -9160,11 +9181,15 @@ process: type: flattened process.parent.elf.sections: dashed_name: process-parent-elf-sections - description: Section information of the ELF file. + description: 'An array containing an object for each section of the ELF file. + + The keys that should be present in these objects are defined by sub-fields + underneath `elf.sections.*`.' flat_name: process.parent.elf.sections level: extended name: sections - normalize: [] + normalize: + - array original_fieldset: elf short: Section information of the ELF file. type: nested @@ -9269,7 +9294,10 @@ process: type: long process.parent.elf.segments: dashed_name: process-parent-elf-segments - description: ELF object segment list. + description: 'An array containing an object for each segment of the ELF file. + + The keys that should be present in these objects are defined by sub-fields + underneath `elf.segments.*`.' flat_name: process.parent.elf.segments level: extended name: segments @@ -12530,11 +12558,15 @@ threat: type: flattened threat.indicator.file.elf.sections: dashed_name: threat-indicator-file-elf-sections - description: Section information of the ELF file. + description: 'An array containing an object for each section of the ELF file. + + The keys that should be present in these objects are defined by sub-fields + underneath `elf.sections.*`.' flat_name: threat.indicator.file.elf.sections level: extended name: sections - normalize: [] + normalize: + - array original_fieldset: elf short: Section information of the ELF file. type: nested @@ -12639,7 +12671,10 @@ threat: type: long threat.indicator.file.elf.segments: dashed_name: threat-indicator-file-elf-segments - description: ELF object segment list. + description: 'An array containing an object for each segment of the ELF file. + + The keys that should be present in these objects are defined by sub-fields + underneath `elf.segments.*`.' flat_name: threat.indicator.file.elf.segments level: extended name: segments diff --git a/generated/beats/fields.ecs.yml b/generated/beats/fields.ecs.yml index f5056f2415..afca29826a 100644 --- a/generated/beats/fields.ecs.yml +++ b/generated/beats/fields.ecs.yml @@ -1423,7 +1423,10 @@ - name: sections level: extended type: nested - description: Section information of the ELF file. + description: 'An array containing an object for each section of the ELF file. + + The keys that should be present in these objects are defined by sub-fields + underneath `elf.sections.*`.' default_field: false - name: sections.chi2 level: extended @@ -1482,7 +1485,10 @@ - name: segments level: extended type: nested - description: ELF object segment list. + description: 'An array containing an object for each segment of the ELF file. + + The keys that should be present in these objects are defined by sub-fields + underneath `elf.segments.*`.' default_field: false - name: segments.sections level: extended @@ -2057,7 +2063,10 @@ - name: elf.sections level: extended type: nested - description: Section information of the ELF file. + description: 'An array containing an object for each section of the ELF file. + + The keys that should be present in these objects are defined by sub-fields + underneath `elf.sections.*`.' default_field: false - name: elf.sections.chi2 level: extended @@ -2116,7 +2125,10 @@ - name: elf.segments level: extended type: nested - description: ELF object segment list. + description: 'An array containing an object for each segment of the ELF file. + + The keys that should be present in these objects are defined by sub-fields + underneath `elf.segments.*`.' default_field: false - name: elf.segments.sections level: extended @@ -4252,7 +4264,10 @@ - name: elf.sections level: extended type: nested - description: Section information of the ELF file. + description: 'An array containing an object for each section of the ELF file. + + The keys that should be present in these objects are defined by sub-fields + underneath `elf.sections.*`.' default_field: false - name: elf.sections.chi2 level: extended @@ -4311,7 +4326,10 @@ - name: elf.segments level: extended type: nested - description: ELF object segment list. + description: 'An array containing an object for each segment of the ELF file. + + The keys that should be present in these objects are defined by sub-fields + underneath `elf.segments.*`.' default_field: false - name: elf.segments.sections level: extended @@ -4595,7 +4613,10 @@ - name: parent.elf.sections level: extended type: nested - description: Section information of the ELF file. + description: 'An array containing an object for each section of the ELF file. + + The keys that should be present in these objects are defined by sub-fields + underneath `elf.sections.*`.' default_field: false - name: parent.elf.sections.chi2 level: extended @@ -4654,7 +4675,10 @@ - name: parent.elf.segments level: extended type: nested - description: ELF object segment list. + description: 'An array containing an object for each segment of the ELF file. + + The keys that should be present in these objects are defined by sub-fields + underneath `elf.segments.*`.' default_field: false - name: parent.elf.segments.sections level: extended diff --git a/generated/csv/fields.csv b/generated/csv/fields.csv index 09ccf5d007..9cb1921949 100644 --- a/generated/csv/fields.csv +++ b/generated/csv/fields.csv @@ -204,7 +204,7 @@ ECS_Version,Indexed,Field_Set,Field,Type,Level,Normalization,Example,Description 2.0.0-dev,true,file,file.elf.header.type,keyword,extended,,,Header type of the ELF file. 2.0.0-dev,true,file,file.elf.header.version,keyword,extended,,,Version of the ELF header. 2.0.0-dev,true,file,file.elf.imports,flattened,extended,array,,List of imported element names and types. -2.0.0-dev,true,file,file.elf.sections,nested,extended,,,Section information of the ELF file. +2.0.0-dev,true,file,file.elf.sections,nested,extended,array,,Section information of the ELF file. 2.0.0-dev,true,file,file.elf.sections.chi2,long,extended,,,Chi-square probability distribution of the section. 2.0.0-dev,true,file,file.elf.sections.entropy,long,extended,,,Shannon entropy calculation from the section. 2.0.0-dev,true,file,file.elf.sections.flags,keyword,extended,,,ELF Section List flags. @@ -459,7 +459,7 @@ ECS_Version,Indexed,Field_Set,Field,Type,Level,Normalization,Example,Description 2.0.0-dev,true,process,process.elf.header.type,keyword,extended,,,Header type of the ELF file. 2.0.0-dev,true,process,process.elf.header.version,keyword,extended,,,Version of the ELF header. 2.0.0-dev,true,process,process.elf.imports,flattened,extended,array,,List of imported element names and types. -2.0.0-dev,true,process,process.elf.sections,nested,extended,,,Section information of the ELF file. +2.0.0-dev,true,process,process.elf.sections,nested,extended,array,,Section information of the ELF file. 2.0.0-dev,true,process,process.elf.sections.chi2,long,extended,,,Chi-square probability distribution of the section. 2.0.0-dev,true,process,process.elf.sections.entropy,long,extended,,,Shannon entropy calculation from the section. 2.0.0-dev,true,process,process.elf.sections.flags,keyword,extended,,,ELF Section List flags. @@ -510,7 +510,7 @@ ECS_Version,Indexed,Field_Set,Field,Type,Level,Normalization,Example,Description 2.0.0-dev,true,process,process.parent.elf.header.type,keyword,extended,,,Header type of the ELF file. 2.0.0-dev,true,process,process.parent.elf.header.version,keyword,extended,,,Version of the ELF header. 2.0.0-dev,true,process,process.parent.elf.imports,flattened,extended,array,,List of imported element names and types. -2.0.0-dev,true,process,process.parent.elf.sections,nested,extended,,,Section information of the ELF file. +2.0.0-dev,true,process,process.parent.elf.sections,nested,extended,array,,Section information of the ELF file. 2.0.0-dev,true,process,process.parent.elf.sections.chi2,long,extended,,,Chi-square probability distribution of the section. 2.0.0-dev,true,process,process.parent.elf.sections.entropy,long,extended,,,Shannon entropy calculation from the section. 2.0.0-dev,true,process,process.parent.elf.sections.flags,keyword,extended,,,ELF Section List flags. diff --git a/generated/ecs/ecs_flat.yml b/generated/ecs/ecs_flat.yml index 8badb0f013..f0e93ec851 100644 --- a/generated/ecs/ecs_flat.yml +++ b/generated/ecs/ecs_flat.yml @@ -2941,11 +2941,15 @@ file.elf.imports: type: flattened file.elf.sections: dashed_name: file-elf-sections - description: Section information of the ELF file. + description: 'An array containing an object for each section of the ELF file. + + The keys that should be present in these objects are defined by sub-fields underneath + `elf.sections.*`.' flat_name: file.elf.sections level: extended name: sections - normalize: [] + normalize: + - array original_fieldset: elf short: Section information of the ELF file. type: nested @@ -3050,7 +3054,10 @@ file.elf.sections.virtual_size: type: long file.elf.segments: dashed_name: file-elf-segments - description: ELF object segment list. + description: 'An array containing an object for each segment of the ELF file. + + The keys that should be present in these objects are defined by sub-fields underneath + `elf.segments.*`.' flat_name: file.elf.segments level: extended name: segments @@ -6015,11 +6022,15 @@ process.elf.imports: type: flattened process.elf.sections: dashed_name: process-elf-sections - description: Section information of the ELF file. + description: 'An array containing an object for each section of the ELF file. + + The keys that should be present in these objects are defined by sub-fields underneath + `elf.sections.*`.' flat_name: process.elf.sections level: extended name: sections - normalize: [] + normalize: + - array original_fieldset: elf short: Section information of the ELF file. type: nested @@ -6124,7 +6135,10 @@ process.elf.sections.virtual_size: type: long process.elf.segments: dashed_name: process-elf-segments - description: ELF object segment list. + description: 'An array containing an object for each segment of the ELF file. + + The keys that should be present in these objects are defined by sub-fields underneath + `elf.segments.*`.' flat_name: process.elf.segments level: extended name: segments @@ -6607,11 +6621,15 @@ process.parent.elf.imports: type: flattened process.parent.elf.sections: dashed_name: process-parent-elf-sections - description: Section information of the ELF file. + description: 'An array containing an object for each section of the ELF file. + + The keys that should be present in these objects are defined by sub-fields underneath + `elf.sections.*`.' flat_name: process.parent.elf.sections level: extended name: sections - normalize: [] + normalize: + - array original_fieldset: elf short: Section information of the ELF file. type: nested @@ -6716,7 +6734,10 @@ process.parent.elf.sections.virtual_size: type: long process.parent.elf.segments: dashed_name: process-parent-elf-segments - description: ELF object segment list. + description: 'An array containing an object for each segment of the ELF file. + + The keys that should be present in these objects are defined by sub-fields underneath + `elf.segments.*`.' flat_name: process.parent.elf.segments level: extended name: segments diff --git a/generated/ecs/ecs_nested.yml b/generated/ecs/ecs_nested.yml index e082b7c584..bf31e64d75 100644 --- a/generated/ecs/ecs_nested.yml +++ b/generated/ecs/ecs_nested.yml @@ -2362,11 +2362,15 @@ elf: type: flattened elf.sections: dashed_name: elf-sections - description: Section information of the ELF file. + description: 'An array containing an object for each section of the ELF file. + + The keys that should be present in these objects are defined by sub-fields + underneath `elf.sections.*`.' flat_name: elf.sections level: extended name: sections - normalize: [] + normalize: + - array short: Section information of the ELF file. type: nested elf.sections.chi2: @@ -2461,7 +2465,10 @@ elf: type: long elf.segments: dashed_name: elf-segments - description: ELF object segment list. + description: 'An array containing an object for each segment of the ELF file. + + The keys that should be present in these objects are defined by sub-fields + underneath `elf.segments.*`.' flat_name: elf.segments level: extended name: segments @@ -3731,11 +3738,15 @@ file: type: flattened file.elf.sections: dashed_name: file-elf-sections - description: Section information of the ELF file. + description: 'An array containing an object for each section of the ELF file. + + The keys that should be present in these objects are defined by sub-fields + underneath `elf.sections.*`.' flat_name: file.elf.sections level: extended name: sections - normalize: [] + normalize: + - array original_fieldset: elf short: Section information of the ELF file. type: nested @@ -3840,7 +3851,10 @@ file: type: long file.elf.segments: dashed_name: file-elf-segments - description: ELF object segment list. + description: 'An array containing an object for each segment of the ELF file. + + The keys that should be present in these objects are defined by sub-fields + underneath `elf.segments.*`.' flat_name: file.elf.segments level: extended name: segments @@ -7518,11 +7532,15 @@ process: type: flattened process.elf.sections: dashed_name: process-elf-sections - description: Section information of the ELF file. + description: 'An array containing an object for each section of the ELF file. + + The keys that should be present in these objects are defined by sub-fields + underneath `elf.sections.*`.' flat_name: process.elf.sections level: extended name: sections - normalize: [] + normalize: + - array original_fieldset: elf short: Section information of the ELF file. type: nested @@ -7627,7 +7645,10 @@ process: type: long process.elf.segments: dashed_name: process-elf-segments - description: ELF object segment list. + description: 'An array containing an object for each segment of the ELF file. + + The keys that should be present in these objects are defined by sub-fields + underneath `elf.segments.*`.' flat_name: process.elf.segments level: extended name: segments @@ -8110,11 +8131,15 @@ process: type: flattened process.parent.elf.sections: dashed_name: process-parent-elf-sections - description: Section information of the ELF file. + description: 'An array containing an object for each section of the ELF file. + + The keys that should be present in these objects are defined by sub-fields + underneath `elf.sections.*`.' flat_name: process.parent.elf.sections level: extended name: sections - normalize: [] + normalize: + - array original_fieldset: elf short: Section information of the ELF file. type: nested @@ -8219,7 +8244,10 @@ process: type: long process.parent.elf.segments: dashed_name: process-parent-elf-segments - description: ELF object segment list. + description: 'An array containing an object for each segment of the ELF file. + + The keys that should be present in these objects are defined by sub-fields + underneath `elf.segments.*`.' flat_name: process.parent.elf.segments level: extended name: segments diff --git a/schemas/elf.yml b/schemas/elf.yml index b39ff13166..4d221a07f2 100644 --- a/schemas/elf.yml +++ b/schemas/elf.yml @@ -92,10 +92,16 @@ "0x1" for original ELF files. - name: sections + short: Section information of the ELF file. description: > - Section information of the ELF file. + An array containing an object for each section of the ELF file. + + The keys that should be present in these objects are defined by sub-fields + underneath `elf.sections.*`. type: nested level: extended + normalize: + - "array" - name: sections.flags description: > @@ -188,8 +194,12 @@ level: extended - name: segments + short: ELF object segment list. description: > - ELF object segment list. + An array containing an object for each segment of the ELF file. + + The keys that should be present in these objects are defined by sub-fields + underneath `elf.segments.*`. type: nested level: extended normalize: From b171341bb2ccee35dc6b641d9998c023235ea739 Mon Sep 17 00:00:00 2001 From: Eric Beahan Date: Tue, 18 May 2021 15:25:58 -0500 Subject: [PATCH 09/10] changelog entry --- CHANGELOG.next.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.next.md b/CHANGELOG.next.md index 9947f6e2f2..1d7ec0b444 100644 --- a/CHANGELOG.next.md +++ b/CHANGELOG.next.md @@ -19,6 +19,7 @@ Thanks, you're awesome :-) --> #### Added +* `elf.*` field set added as beta. #1410 * Remove `beta` from `orchestrator` field set. #1417 #### Improvements From d097292043790f54ab7d6040eaa6661694b31900 Mon Sep 17 00:00:00 2001 From: Eric Beahan Date: Tue, 18 May 2021 15:41:30 -0500 Subject: [PATCH 10/10] add beta attribute to field reuses too --- docs/field-details.asciidoc | 10 ++++++---- experimental/generated/ecs/ecs_nested.yml | 8 ++++++-- generated/ecs/ecs_nested.yml | 8 ++++++-- schemas/elf.yml | 8 ++++++-- 4 files changed, 24 insertions(+), 10 deletions(-) diff --git a/docs/field-details.asciidoc b/docs/field-details.asciidoc index f663d9c3ba..a18639a396 100644 --- a/docs/field-details.asciidoc +++ b/docs/field-details.asciidoc @@ -3386,8 +3386,9 @@ example: `1001` | <> -| `file.elf.*` -| These fields contain Linux Executable Linkable Format (ELF) metadata. +| `file.elf.*`| beta:[ This field reuse is beta and subject to change.] + +These fields contain Linux Executable Linkable Format (ELF) metadata. // =============================================================== @@ -6393,8 +6394,9 @@ Note also that the `process` fields may be used directly at the root of the even | <> -| `process.elf.*` -| These fields contain Linux Executable Linkable Format (ELF) metadata. +| `process.elf.*`| beta:[ This field reuse is beta and subject to change.] + +These fields contain Linux Executable Linkable Format (ELF) metadata. // =============================================================== diff --git a/experimental/generated/ecs/ecs_nested.yml b/experimental/generated/ecs/ecs_nested.yml index 777128f49d..7433479948 100644 --- a/experimental/generated/ecs/ecs_nested.yml +++ b/experimental/generated/ecs/ecs_nested.yml @@ -2880,9 +2880,11 @@ elf: expected: - as: elf at: file + beta: This field reuse is beta and subject to change. full: file.elf - as: elf at: process + beta: This field reuse is beta and subject to change. full: process.elf top_level: false short: These fields contain Linux Executable Linkable Format (ELF) metadata. @@ -5262,7 +5264,8 @@ file: - full: file.code_signature schema_name: code_signature short: These fields contain information about binary code signatures. - - full: file.elf + - beta: This field reuse is beta and subject to change. + full: file.elf schema_name: elf short: These fields contain Linux Executable Linkable Format (ELF) metadata. - full: file.hash @@ -10631,7 +10634,8 @@ process: - full: process.code_signature schema_name: code_signature short: These fields contain information about binary code signatures. - - full: process.elf + - beta: This field reuse is beta and subject to change. + full: process.elf schema_name: elf short: These fields contain Linux Executable Linkable Format (ELF) metadata. - full: process.hash diff --git a/generated/ecs/ecs_nested.yml b/generated/ecs/ecs_nested.yml index bf31e64d75..6c3e37c1bf 100644 --- a/generated/ecs/ecs_nested.yml +++ b/generated/ecs/ecs_nested.yml @@ -2524,9 +2524,11 @@ elf: expected: - as: elf at: file + beta: This field reuse is beta and subject to change. full: file.elf - as: elf at: process + beta: This field reuse is beta and subject to change. full: process.elf top_level: false short: These fields contain Linux Executable Linkable Format (ELF) metadata. @@ -4538,7 +4540,8 @@ file: - full: file.code_signature schema_name: code_signature short: These fields contain information about binary code signatures. - - full: file.elf + - beta: This field reuse is beta and subject to change. + full: file.elf schema_name: elf short: These fields contain Linux Executable Linkable Format (ELF) metadata. - full: file.hash @@ -8847,7 +8850,8 @@ process: - full: process.code_signature schema_name: code_signature short: These fields contain information about binary code signatures. - - full: process.elf + - beta: This field reuse is beta and subject to change. + full: process.elf schema_name: elf short: These fields contain Linux Executable Linkable Format (ELF) metadata. - full: process.hash diff --git a/schemas/elf.yml b/schemas/elf.yml index 4d221a07f2..525b155414 100644 --- a/schemas/elf.yml +++ b/schemas/elf.yml @@ -10,8 +10,12 @@ reusable: top_level: false expected: - - file - - process + - at: file + as: elf + beta: This field reuse is beta and subject to change. + - at: process + as: elf + beta: This field reuse is beta and subject to change. fields: - name: creation_date short: Build or compile date.