Skip to content

Commit

Permalink
Winlogbeat: fix powershell unprefixed fields in fields.yml (elastic#1…
Browse files Browse the repository at this point in the history
…9003)

Closes elastic#18984

(cherry picked from commit 498c7ce)
  • Loading branch information
marc-gr committed Jun 5, 2020
1 parent a340d58 commit 87bc0e1
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 11 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.next.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,8 @@ https://github.com/elastic/beats/compare/v7.0.0-alpha2...master[Check the HEAD d
- Improve ECS field mappings in Sysmon module. `file.name`, `file.directory`, and `file.extension` are now populated. {issue}18364[18364]
- Improve ECS field mappings in Sysmon module. `rule.name` is populated for all events when present. {issue}18364[18364]
- Add Powershell module. Support for event ID's: `400`, `403`, `600`, `800`, `4103`, `4014`, `4105`, `4106`. {issue}16262[16262] {pull}18526[18526]
- Fix Powershell processing of downgraded engine events. {pull}18966[18966]
- Fix unprefixed fields in `fields.yml` for Powershell module {issue}18984[18984]

*Functionbeat*

Expand Down
10 changes: 5 additions & 5 deletions winlogbeat/docs/fields.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -7482,7 +7482,7 @@ These are the event fields specific to the module for the Microsoft-Windows-Powe
*`id`*::
*`powershell.id`*::
+
--
Shell Id.
Expand All @@ -7493,7 +7493,7 @@ example: Microsoft Powershell
--
*`pipeline_id`*::
*`powershell.pipeline_id`*::
+
--
Pipeline id.
Expand All @@ -7504,7 +7504,7 @@ example: 1
--
*`runspace_id`*::
*`powershell.runspace_id`*::
+
--
Runspace id.
Expand All @@ -7515,7 +7515,7 @@ example: 4fa9074d-45ab-4e53-9195-e91981ac2bbb
--
*`sequence`*::
*`powershell.sequence`*::
+
--
Sequence number of the powershell execution.
Expand All @@ -7526,7 +7526,7 @@ example: 1
--
*`total`*::
*`powershell.total`*::
+
--
Total number of messages in the sequence.
Expand Down
10 changes: 5 additions & 5 deletions x-pack/winlogbeat/module/powershell/_meta/fields.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,27 +5,27 @@
release: beta
fields:

- name: id
- name: powershell.id
type: keyword
description: Shell Id.
example: Microsoft Powershell

- name: pipeline_id
- name: powershell.pipeline_id
type: keyword
description: Pipeline id.
example: "1"

- name: runspace_id
- name: powershell.runspace_id
type: keyword
description: Runspace id.
example: "4fa9074d-45ab-4e53-9195-e91981ac2bbb"

- name: sequence
- name: powershell.sequence
type: long
description: Sequence number of the powershell execution.
example: 1

- name: total
- name: powershell.total
type: long
description: Total number of messages in the sequence.
example: 10
Expand Down
2 changes: 1 addition & 1 deletion x-pack/winlogbeat/module/powershell/fields.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 87bc0e1

Please sign in to comment.