Skip to content

Commit

Permalink
Fix contains check for forwarded tag (#1849)
Browse files Browse the repository at this point in the history
  • Loading branch information
marc-gr committed Oct 5, 2021
1 parent aac3fac commit 25fb2ba
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
5 changes: 5 additions & 0 deletions packages/snort/changelog.yml
@@ -1,4 +1,9 @@
# newer versions go on top
- version: "0.0.2"
changes:
- description: Fix logic that checks for the 'forwarded' tag
type: bugfix
link: https://github.com/elastic/integrations/pull/1849
- version: "0.0.1"
changes:
- description: initial release
Expand Down
2 changes: 1 addition & 1 deletion packages/snort/data_stream/log/agent/stream/log.yml.hbs
Expand Up @@ -17,7 +17,7 @@ tags:
{{#each tags as |tag i|}}
- {{tag}}
{{/each}}
{{#contains tags "forwarded"}}
{{#contains "forwarded" tags}}
publisher_pipeline.disable_host: true
{{/contains}}
processors:
Expand Down
2 changes: 1 addition & 1 deletion packages/snort/data_stream/log/agent/stream/udp.yml.hbs
Expand Up @@ -6,7 +6,7 @@ tags:
{{#each tags as |tag i|}}
- {{tag}}
{{/each}}
{{#contains tags "forwarded"}}
{{#contains "forwarded" tags}}
publisher_pipeline.disable_host: true
{{/contains}}
processors:
Expand Down
2 changes: 1 addition & 1 deletion packages/snort/manifest.yml
@@ -1,6 +1,6 @@
name: snort
title: Snort
version: 0.0.1
version: 0.0.2
release: experimental
description: This Elastic integration collects events from Snort instances
type: integration
Expand Down

0 comments on commit 25fb2ba

Please sign in to comment.