Skip to content

Commit

Permalink
[main] Tlp patch #2156
Browse files Browse the repository at this point in the history
  • Loading branch information
kgeller authored Feb 2, 2023
1 parent 08237fe commit ccee622
Show file tree
Hide file tree
Showing 15 changed files with 255 additions and 199 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.next.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,13 @@ Thanks, you're awesome :-) -->
* Updated usage docs to include `threat.indicator.url.domain` and changed `indicator.marking.tlp` and `indicator.enrichments.marking.tlp` from "WHITE" to "CLEAR" to align with TLP 2.0. #2124
* description for `host.name` definition updated to encourage use of FDQN #2122

## 8.6.1

### Schema Changes

#### Bugfixes

* Fixing `tlp_version` and `tlp` field for threat. #2156

<!-- All empty sections:
Expand Down
59 changes: 42 additions & 17 deletions docs/fields/field-details.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -10369,9 +10369,34 @@ example: `2020-11-05T17:25:47.000Z`

// ===============================================================

|
[[field-threat-enrichments-indicator-marking-tlp]]
<<field-threat-enrichments-indicator-marking-tlp, threat.enrichments.indicator.marking.tlp>>

a| Traffic Light Protocol sharing markings.

Expected values for this field:

* `WHITE`
* `CLEAR`
* `GREEN`
* `AMBER`
* `AMBER+STRICT`
* `RED`

type: keyword



example: `CLEAR`

| extended

// ===============================================================

|
[[field-threat-enrichments-indicator-marking-tlp-version]]
<<field-threat-enrichments-indicator-marking-tlp-version, threat.enrichments.indicator.marking.tlp.version>>
<<field-threat-enrichments-indicator-marking-tlp-version, threat.enrichments.indicator.marking.tlp_version>>

a| Traffic Light Protocol version.

Expand Down Expand Up @@ -10927,6 +10952,22 @@ example: `CLEAR`

// ===============================================================

|
[[field-threat-indicator-marking-tlp-version]]
<<field-threat-indicator-marking-tlp-version, threat.indicator.marking.tlp_version>>

a| Traffic Light Protocol version.

type: keyword



example: `2.0`

| extended

// ===============================================================

|
[[field-threat-indicator-modified-at]]
<<field-threat-indicator-modified-at, threat.indicator.modified_at>>
Expand Down Expand Up @@ -11404,22 +11445,6 @@ example: `https://attack.mitre.org/techniques/T1059/001/`

// ===============================================================

|
[[field-threat-threat-indicator-marking-tlp-version]]
<<field-threat-threat-indicator-marking-tlp-version, threat.threat.indicator.marking.tlp.version>>

a| Traffic Light Protocol version.

type: keyword



example: `2.0`

| extended

// ===============================================================

|=====

[discrete]
Expand Down
23 changes: 15 additions & 8 deletions experimental/generated/beats/fields.ecs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10848,7 +10848,14 @@
this indicator.
example: '2020-11-05T17:25:47.000Z'
default_field: false
- name: enrichments.indicator.marking.tlp.version
- name: enrichments.indicator.marking.tlp
level: extended
type: keyword
ignore_above: 1024
description: Traffic Light Protocol sharing markings.
example: CLEAR
default_field: false
- name: enrichments.indicator.marking.tlp_version
level: extended
type: keyword
ignore_above: 1024
Expand Down Expand Up @@ -12452,6 +12459,13 @@
description: Traffic Light Protocol sharing markings.
example: CLEAR
default_field: false
- name: indicator.marking.tlp_version
level: extended
type: keyword
ignore_above: 1024
description: Traffic Light Protocol version.
example: 2.0
default_field: false
- name: indicator.modified_at
level: extended
type: date
Expand Down Expand Up @@ -13014,13 +13028,6 @@
\ use a MITRE ATT&CK\xAE subtechnique, for example. (ex. https://attack.mitre.org/techniques/T1059/001/)"
example: https://attack.mitre.org/techniques/T1059/001/
default_field: false
- name: threat.indicator.marking.tlp.version
level: extended
type: keyword
ignore_above: 1024
description: Traffic Light Protocol version.
example: 2.0
default_field: false
- name: tls
title: TLS
group: 2
Expand Down
5 changes: 3 additions & 2 deletions experimental/generated/csv/fields.csv
Original file line number Diff line number Diff line change
Expand Up @@ -1269,7 +1269,8 @@ ECS_Version,Indexed,Field_Set,Field,Type,Level,Normalization,Example,Description
8.8.0-dev+exp,true,threat,threat.enrichments.indicator.geo.timezone,keyword,core,,America/Argentina/Buenos_Aires,Time zone.
8.8.0-dev+exp,true,threat,threat.enrichments.indicator.ip,ip,extended,,1.2.3.4,Indicator IP address
8.8.0-dev+exp,true,threat,threat.enrichments.indicator.last_seen,date,extended,,2020-11-05T17:25:47.000Z,Date/time indicator was last reported.
8.8.0-dev+exp,true,threat,threat.enrichments.indicator.marking.tlp.version,keyword,extended,,2.0,Indicator TLP version
8.8.0-dev+exp,true,threat,threat.enrichments.indicator.marking.tlp,keyword,extended,,CLEAR,Indicator TLP marking
8.8.0-dev+exp,true,threat,threat.enrichments.indicator.marking.tlp_version,keyword,extended,,2.0,Indicator TLP version
8.8.0-dev+exp,true,threat,threat.enrichments.indicator.modified_at,date,extended,,2020-11-05T17:25:47.000Z,Date/time indicator was last updated.
8.8.0-dev+exp,true,threat,threat.enrichments.indicator.name,keyword,extended,,5.2.75.227,Indicator display name
8.8.0-dev+exp,true,threat,threat.enrichments.indicator.port,long,extended,,443,Indicator port
Expand Down Expand Up @@ -1486,6 +1487,7 @@ ECS_Version,Indexed,Field_Set,Field,Type,Level,Normalization,Example,Description
8.8.0-dev+exp,true,threat,threat.indicator.ip,ip,extended,,1.2.3.4,Indicator IP address
8.8.0-dev+exp,true,threat,threat.indicator.last_seen,date,extended,,2020-11-05T17:25:47.000Z,Date/time indicator was last reported.
8.8.0-dev+exp,true,threat,threat.indicator.marking.tlp,keyword,extended,,CLEAR,Indicator TLP marking
8.8.0-dev+exp,true,threat,threat.indicator.marking.tlp_version,keyword,extended,,2.0,Indicator TLP version
8.8.0-dev+exp,true,threat,threat.indicator.modified_at,date,extended,,2020-11-05T17:25:47.000Z,Date/time indicator was last updated.
8.8.0-dev+exp,true,threat,threat.indicator.name,keyword,extended,,5.2.75.227,Indicator display name
8.8.0-dev+exp,true,threat,threat.indicator.port,long,extended,,443,Indicator port
Expand Down Expand Up @@ -1558,7 +1560,6 @@ ECS_Version,Indexed,Field_Set,Field,Type,Level,Normalization,Example,Description
8.8.0-dev+exp,true,threat,threat.technique.subtechnique.name,keyword,extended,array,PowerShell,Threat subtechnique name.
8.8.0-dev+exp,true,threat,threat.technique.subtechnique.name.text,match_only_text,extended,,PowerShell,Threat subtechnique name.
8.8.0-dev+exp,true,threat,threat.technique.subtechnique.reference,keyword,extended,array,https://attack.mitre.org/techniques/T1059/001/,Threat subtechnique URL reference.
8.8.0-dev+exp,true,threat,threat.threat.indicator.marking.tlp.version,keyword,extended,,2.0,Indicator TLP version
8.8.0-dev+exp,true,tls,tls.cipher,keyword,extended,,TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256,String indicating the cipher used during the current connection.
8.8.0-dev+exp,true,tls,tls.client.certificate,keyword,extended,,MII...,PEM-encoded stand-alone certificate offered by the client.
8.8.0-dev+exp,true,tls,tls.client.certificate_chain,keyword,extended,array,"[""MII..."", ""MII...""]",Array of PEM-encoded certificates that make up the certificate chain offered by the client.
Expand Down
46 changes: 32 additions & 14 deletions experimental/generated/ecs/ecs_flat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16017,14 +16017,32 @@ threat.enrichments.indicator.last_seen:
normalize: []
short: Date/time indicator was last reported.
type: date
threat.enrichments.indicator.marking.tlp.version:
threat.enrichments.indicator.marking.tlp:
dashed_name: threat-enrichments-indicator-marking-tlp
description: Traffic Light Protocol sharing markings.
example: CLEAR
expected_values:
- WHITE
- CLEAR
- GREEN
- AMBER
- AMBER+STRICT
- RED
flat_name: threat.enrichments.indicator.marking.tlp
ignore_above: 1024
level: extended
name: enrichments.indicator.marking.tlp
normalize: []
short: Indicator TLP marking
type: keyword
threat.enrichments.indicator.marking.tlp_version:
dashed_name: threat-enrichments-indicator-marking-tlp-version
description: Traffic Light Protocol version.
example: 2.0
flat_name: threat.enrichments.indicator.marking.tlp.version
flat_name: threat.enrichments.indicator.marking.tlp_version
ignore_above: 1024
level: extended
name: enrichments.indicator.marking.tlp.version
name: enrichments.indicator.marking.tlp_version
normalize: []
short: Indicator TLP version
type: keyword
Expand Down Expand Up @@ -18736,6 +18754,17 @@ threat.indicator.marking.tlp:
normalize: []
short: Indicator TLP marking
type: keyword
threat.indicator.marking.tlp_version:
dashed_name: threat-indicator-marking-tlp-version
description: Traffic Light Protocol version.
example: 2.0
flat_name: threat.indicator.marking.tlp_version
ignore_above: 1024
level: extended
name: indicator.marking.tlp_version
normalize: []
short: Indicator TLP version
type: keyword
threat.indicator.modified_at:
dashed_name: threat-indicator-modified-at
description: The date and time when intelligence source last modified information
Expand Down Expand Up @@ -19691,17 +19720,6 @@ threat.technique.subtechnique.reference:
- array
short: Threat subtechnique URL reference.
type: keyword
threat.threat.indicator.marking.tlp.version:
dashed_name: threat-threat-indicator-marking-tlp-version
description: Traffic Light Protocol version.
example: 2.0
flat_name: threat.threat.indicator.marking.tlp.version
ignore_above: 1024
level: extended
name: threat.indicator.marking.tlp.version
normalize: []
short: Indicator TLP version
type: keyword
tls.cipher:
dashed_name: tls-cipher
description: String indicating the cipher used during the current connection.
Expand Down
46 changes: 32 additions & 14 deletions experimental/generated/ecs/ecs_nested.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18685,14 +18685,32 @@ threat:
normalize: []
short: Date/time indicator was last reported.
type: date
threat.enrichments.indicator.marking.tlp.version:
threat.enrichments.indicator.marking.tlp:
dashed_name: threat-enrichments-indicator-marking-tlp
description: Traffic Light Protocol sharing markings.
example: CLEAR
expected_values:
- WHITE
- CLEAR
- GREEN
- AMBER
- AMBER+STRICT
- RED
flat_name: threat.enrichments.indicator.marking.tlp
ignore_above: 1024
level: extended
name: enrichments.indicator.marking.tlp
normalize: []
short: Indicator TLP marking
type: keyword
threat.enrichments.indicator.marking.tlp_version:
dashed_name: threat-enrichments-indicator-marking-tlp-version
description: Traffic Light Protocol version.
example: 2.0
flat_name: threat.enrichments.indicator.marking.tlp.version
flat_name: threat.enrichments.indicator.marking.tlp_version
ignore_above: 1024
level: extended
name: enrichments.indicator.marking.tlp.version
name: enrichments.indicator.marking.tlp_version
normalize: []
short: Indicator TLP version
type: keyword
Expand Down Expand Up @@ -21410,6 +21428,17 @@ threat:
normalize: []
short: Indicator TLP marking
type: keyword
threat.indicator.marking.tlp_version:
dashed_name: threat-indicator-marking-tlp-version
description: Traffic Light Protocol version.
example: 2.0
flat_name: threat.indicator.marking.tlp_version
ignore_above: 1024
level: extended
name: indicator.marking.tlp_version
normalize: []
short: Indicator TLP version
type: keyword
threat.indicator.modified_at:
dashed_name: threat-indicator-modified-at
description: The date and time when intelligence source last modified information
Expand Down Expand Up @@ -22368,17 +22397,6 @@ threat:
- array
short: Threat subtechnique URL reference.
type: keyword
threat.threat.indicator.marking.tlp.version:
dashed_name: threat-threat-indicator-marking-tlp-version
description: Traffic Light Protocol version.
example: 2.0
flat_name: threat.threat.indicator.marking.tlp.version
ignore_above: 1024
level: extended
name: threat.indicator.marking.tlp.version
normalize: []
short: Indicator TLP version
type: keyword
group: 2
name: threat
nestings:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -610,12 +610,12 @@
"marking": {
"properties": {
"tlp": {
"properties": {
"version": {
"ignore_above": 1024,
"type": "keyword"
}
}
"ignore_above": 1024,
"type": "keyword"
},
"tlp_version": {
"ignore_above": 1024,
"type": "keyword"
}
}
},
Expand Down Expand Up @@ -1533,6 +1533,10 @@
"tlp": {
"ignore_above": 1024,
"type": "keyword"
},
"tlp_version": {
"ignore_above": 1024,
"type": "keyword"
}
}
},
Expand Down Expand Up @@ -1858,26 +1862,6 @@
}
}
}
},
"threat": {
"properties": {
"indicator": {
"properties": {
"marking": {
"properties": {
"tlp": {
"properties": {
"version": {
"ignore_above": 1024,
"type": "keyword"
}
}
}
}
}
}
}
}
}
}
}
Expand Down
Loading

0 comments on commit ccee622

Please sign in to comment.