Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions packages/sophos/changelog.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
# newer versions go on top
- version: "2.2.0"
changes:
- description: Improve inputs for Sophos XG pipeline.
type: enhancement
link: https://github.com/elastic/integrations/pull/3322
- version: "2.1.0"
changes:
- description: Update to ECS 8.2.0 to use new email field set.
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
service: sophos-xg-tcp
service_notify_signal: SIGHUP
input: tcp
data_stream:
vars:
syslog_host: 0.0.0.0
syslog_port: 9549
known_devices: |
- hostname: XG230
serial_number: "1234567890123456"
- hostname: SG430
serial_number: "S4000806149EE49"
6 changes: 6 additions & 0 deletions packages/sophos/data_stream/xg/agent/stream/tcp.yml.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ tags:
{{#contains "forwarded" tags}}
publisher_pipeline.disable_host: true
{{/contains}}
{{#if ssl}}
ssl: {{ssl}}
{{/if}}
processors:
{{#if processors}}
{{processors}}
Expand All @@ -23,3 +26,6 @@ processors:
{{#if known_devices}}
{{known_devices}}
{{/if}}
{{#if tcp_options}}
{{tcp_options}}
{{/if}}
Comment thread
taylor-swanson marked this conversation as resolved.
Outdated
40 changes: 40 additions & 0 deletions packages/sophos/data_stream/xg/manifest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,46 @@ streams:
description: >
Processors are used to reduce the number of fields in the exported event or to enhance the event with metadata. This executes in the agent before the logs are parsed. See [Processors](https://www.elastic.co/guide/en/beats/filebeat/current/filtering-and-enhancing-data.html) for details.

- name: ssl
type: yaml
title: SSL Configuration
description: i.e. certificate_authorities, supported_protocols, verification_mode etc.
multi: false
required: false
show_user: false
default: |
#certificate_authorities:
# - |
# -----BEGIN CERTI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
# sxSmbIUfc2SGJGCJD4I=
# -----END CERTIFICATE-----
- name: tcp_options
type: yaml
title: Custom TCP Options
multi: false
required: false
show_user: false
default: |
#max_connections: 1
#framing: delimitier
#line_delimiter: "\n"
description: Specify custom configuration options for the TCP input.
template_path: tcp.yml.hbs
title: Sophos XG logs
description: Collect Sophos XG logs
Expand Down
2 changes: 1 addition & 1 deletion packages/sophos/manifest.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
format_version: 1.0.0
name: sophos
title: Sophos Logs
version: 2.1.0
version: 2.2.0
description: Collect and parse logs from Sophos Products with Elastic Agent.
categories: ["security"]
release: ga
Expand Down