Skip to content

Commit

Permalink
Tlp patch (#2156)
Browse files Browse the repository at this point in the history
  • Loading branch information
kgeller authored Feb 2, 2023
1 parent 80f31ea commit 96a78b8
Show file tree
Hide file tree
Showing 15 changed files with 256 additions and 199 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.next.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,14 @@ Thanks, you're awesome :-) -->

#### Deprecated

## 8.6.1

### Schema Changes

#### Bugfixes

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

<!-- All empty sections:
## Unreleased
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 @@ -9653,9 +9653,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 @@ -10181,6 +10206,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 @@ -10628,22 +10669,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 @@ -9422,7 +9422,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 @@ -10848,6 +10855,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 @@ -11403,13 +11417,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 @@ -1110,7 +1110,8 @@ ECS_Version,Indexed,Field_Set,Field,Type,Level,Normalization,Example,Description
8.6.0+exp,true,threat,threat.enrichments.indicator.geo.timezone,keyword,core,,America/Argentina/Buenos_Aires,Time zone.
8.6.0+exp,true,threat,threat.enrichments.indicator.ip,ip,extended,,1.2.3.4,Indicator IP address
8.6.0+exp,true,threat,threat.enrichments.indicator.last_seen,date,extended,,2020-11-05T17:25:47.000Z,Date/time indicator was last reported.
8.6.0+exp,true,threat,threat.enrichments.indicator.marking.tlp.version,keyword,extended,,2.0,Indicator TLP version
8.6.0+exp,true,threat,threat.enrichments.indicator.marking.tlp,keyword,extended,,CLEAR,Indicator TLP marking
8.6.0+exp,true,threat,threat.enrichments.indicator.marking.tlp_version,keyword,extended,,2.0,Indicator TLP version
8.6.0+exp,true,threat,threat.enrichments.indicator.modified_at,date,extended,,2020-11-05T17:25:47.000Z,Date/time indicator was last updated.
8.6.0+exp,true,threat,threat.enrichments.indicator.port,long,extended,,443,Indicator port
8.6.0+exp,true,threat,threat.enrichments.indicator.provider,keyword,extended,,lrz_urlhaus,Indicator provider
Expand Down Expand Up @@ -1302,6 +1303,7 @@ ECS_Version,Indexed,Field_Set,Field,Type,Level,Normalization,Example,Description
8.6.0+exp,true,threat,threat.indicator.ip,ip,extended,,1.2.3.4,Indicator IP address
8.6.0+exp,true,threat,threat.indicator.last_seen,date,extended,,2020-11-05T17:25:47.000Z,Date/time indicator was last reported.
8.6.0+exp,true,threat,threat.indicator.marking.tlp,keyword,extended,,CLEAR,Indicator TLP marking
8.6.0+exp,true,threat,threat.indicator.marking.tlp_version,keyword,extended,,2.0,Indicator TLP version
8.6.0+exp,true,threat,threat.indicator.modified_at,date,extended,,2020-11-05T17:25:47.000Z,Date/time indicator was last updated.
8.6.0+exp,true,threat,threat.indicator.port,long,extended,,443,Indicator port
8.6.0+exp,true,threat,threat.indicator.provider,keyword,extended,,lrz_urlhaus,Indicator provider
Expand Down Expand Up @@ -1373,7 +1375,6 @@ ECS_Version,Indexed,Field_Set,Field,Type,Level,Normalization,Example,Description
8.6.0+exp,true,threat,threat.technique.subtechnique.name,keyword,extended,array,PowerShell,Threat subtechnique name.
8.6.0+exp,true,threat,threat.technique.subtechnique.name.text,match_only_text,extended,,PowerShell,Threat subtechnique name.
8.6.0+exp,true,threat,threat.technique.subtechnique.reference,keyword,extended,array,https://attack.mitre.org/techniques/T1059/001/,Threat subtechnique URL reference.
8.6.0+exp,true,threat,threat.threat.indicator.marking.tlp.version,keyword,extended,,2.0,Indicator TLP version
8.6.0+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.6.0+exp,true,tls,tls.client.certificate,keyword,extended,,MII...,PEM-encoded stand-alone certificate offered by the client.
8.6.0+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 @@ -14042,14 +14042,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 @@ -16443,6 +16461,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 @@ -17375,17 +17404,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 @@ -16212,14 +16212,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 @@ -18617,6 +18635,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 @@ -19552,17 +19581,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 @@ -531,12 +531,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 @@ -1371,6 +1371,10 @@
"tlp": {
"ignore_above": 1024,
"type": "keyword"
},
"tlp_version": {
"ignore_above": 1024,
"type": "keyword"
}
}
},
Expand Down Expand Up @@ -1692,26 +1696,6 @@
}
}
}
},
"threat": {
"properties": {
"indicator": {
"properties": {
"marking": {
"properties": {
"tlp": {
"properties": {
"version": {
"ignore_above": 1024,
"type": "keyword"
}
}
}
}
}
}
}
}
}
}
}
Expand Down
Loading

0 comments on commit 96a78b8

Please sign in to comment.