Skip to content

Commit c599d91

Browse files
authored
Add missing winlog config options (#10408)
1 parent 54920b6 commit c599d91

File tree

8 files changed

+84
-10
lines changed

8 files changed

+84
-10
lines changed

packages/hid_bravura_monitor/changelog.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
# newer versions go on top
2+
- version: "1.18.0"
3+
changes:
4+
- description: Add missing options to winlog input
5+
type: enhancement
6+
link: https://github.com/elastic/integrations/pull/10408
27
- version: "1.17.2"
38
changes:
49
- description: Changed owners

packages/hid_bravura_monitor/data_stream/winlog/agent/stream/winlog.yml.hbs

Lines changed: 23 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,31 @@ condition: ${host.platform} == 'windows'
33
{{#if event_id}}
44
event_id: {{event_id}}
55
{{/if}}
6-
{{#if processors}}
7-
processors:
8-
{{processors}}
6+
{{#if ignore_older}}
7+
ignore_older: {{ignore_older}}
98
{{/if}}
9+
{{#if language}}
10+
language: {{language}}
11+
{{/if}}
12+
{{#if tags.length}}
1013
tags:
14+
{{#each tags as |tag|}}
15+
- {{tag}}
16+
{{/each}}
1117
{{#if preserve_original_event}}
1218
- preserve_original_event
1319
{{/if}}
14-
{{#each tags as |tag i|}}
15-
- {{tag}}
16-
{{/each}}
20+
{{else}}
21+
{{#if preserve_original_event}}
22+
tags:
23+
- preserve_original_event
24+
{{/if}}
25+
{{/if}}
26+
{{#if preserve_original_event}}
27+
include_xml: true
28+
{{/if}}
29+
{{#if processors.length}}
30+
processors:
31+
{{processors}}
32+
{{/if}}
33+
{{custom}}

packages/hid_bravura_monitor/data_stream/winlog/manifest.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,22 @@ streams:
2222
type: bool
2323
multi: false
2424
default: false
25+
- name: ignore_older
26+
type: text
27+
title: Ignore events older than
28+
default: 72h
29+
required: false
30+
show_user: false
31+
description: >-
32+
If this option is specified, events that are older than the specified amount of time are ignored. Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h".
33+
- name: language
34+
type: text
35+
title: Language ID
36+
description: >-
37+
The language ID the events will be rendered in. The language will be forced regardless of the system language. A complete list of language IDs can be found https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-lcid/a9eac961-e77d-41a6-90a5-ce1a8b0cdb9c[here]. It defaults to `0`, which indicates to use the system language. E.g.: 0x0409 for en-US
38+
required: false
39+
show_user: false
40+
default: 0
2541
- name: processors
2642
type: yaml
2743
title: Processors
@@ -35,3 +51,13 @@ streams:
3551
title: Tags
3652
multi: true
3753
show_user: false
54+
- name: custom
55+
type: yaml
56+
title: Custom Configurations
57+
description: >-
58+
YAML configuration options for winlog input. Be careful, this may break the integration.
59+
required: false
60+
show_user: false
61+
default: |-
62+
# Winlog configuration example
63+
#batch_read_size: 100

packages/hid_bravura_monitor/manifest.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: hid_bravura_monitor
22
title: Bravura Monitor
3-
version: "1.17.2"
3+
version: "1.18.0"
44
categories: ["security", "iam"]
55
description: Collect logs from Bravura Security Fabric with Elastic Agent.
66
type: integration

packages/microsoft_sqlserver/changelog.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
# newer versions go on top
2+
- version: "2.9.0"
3+
changes:
4+
- description: Add missing options to winlog input
5+
type: enhancement
6+
link: https://github.com/elastic/integrations/pull/10408
27
- version: "2.8.0"
38
changes:
49
- description: Add processor support for performance and transaction_log data streams.
Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
name: {{channel}}
22
condition: ${host.platform} == 'windows'
3+
{{#if event_id}}
34
event_id: {{event_id}}
5+
{{/if}}
46
{{#if ignore_older}}
57
ignore_older: {{ignore_older}}
68
{{/if}}
@@ -9,9 +11,17 @@ language: {{language}}
911
{{/if}}
1012
{{#if tags.length}}
1113
tags:
12-
{{#each tags as |tag i|}}
13-
- {{tag}}
14+
{{#each tags as |tag|}}
15+
- {{tag}}
1416
{{/each}}
17+
{{#if preserve_original_event}}
18+
- preserve_original_event
19+
{{/if}}
20+
{{else}}
21+
{{#if preserve_original_event}}
22+
tags:
23+
- preserve_original_event
24+
{{/if}}
1525
{{/if}}
1626
{{#if preserve_original_event}}
1727
include_xml: true
@@ -20,3 +30,4 @@ include_xml: true
2030
processors:
2131
{{processors}}
2232
{{/if}}
33+
{{custom}}

packages/microsoft_sqlserver/data_stream/audit/manifest.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,3 +60,13 @@ streams:
6060
required: false
6161
show_user: false
6262
description: "Processors are used to reduce the number of fields in the exported event or to enhance the event with metadata. \nThis executes in the agent before the logs are parsed. \nSee [Processors](https://www.elastic.co/guide/en/beats/filebeat/current/filtering-and-enhancing-data.html) for details.\n"
63+
- name: custom
64+
type: yaml
65+
title: Custom Configurations
66+
description: >-
67+
YAML configuration options for winlog input. Be careful, this may break the integration.
68+
required: false
69+
show_user: false
70+
default: |-
71+
# Winlog configuration example
72+
#batch_read_size: 100

packages/microsoft_sqlserver/manifest.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
format_version: "3.0.2"
22
name: microsoft_sqlserver
33
title: "Microsoft SQL Server"
4-
version: "2.8.0"
4+
version: "2.9.0"
55
description: Collect events from Microsoft SQL Server with Elastic Agent
66
type: integration
77
categories:

0 commit comments

Comments
 (0)