Skip to content

Commit

Permalink
Fix contains check for forwarded tag
Browse files Browse the repository at this point in the history
  • Loading branch information
marc-gr committed Oct 5, 2021
1 parent 31bc4c9 commit 8684519
Show file tree
Hide file tree
Showing 11 changed files with 15 additions and 10 deletions.
5 changes: 5 additions & 0 deletions packages/juniper/changelog.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
# newer versions go on top
- version: "1.0.1"
changes:
- description: Fix logic that checks for the 'forwarded' tag
type: bugfix
link: https://github.com/elastic/integrations/pull/1826
- version: "1.0.0"
changes:
- description: make GA
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ fields:
vendor: "Juniper"
product: "Junos"
type: "Routers"
{{#contains tags "forwarded"}}
{{#contains "forwarded" tags}}
publisher_pipeline.disable_host: true
{{/contains}}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ fields:
vendor: "Juniper"
product: "Junos"
type: "Routers"
{{#contains tags "forwarded"}}
{{#contains "forwarded" tags}}
publisher_pipeline.disable_host: true
{{/contains}}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ fields:
vendor: "Juniper"
product: "Junos"
type: "Routers"
{{#contains tags "forwarded"}}
{{#contains "forwarded" tags}}
publisher_pipeline.disable_host: true
{{/contains}}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ fields:
vendor: "Juniper"
product: "Netscreen"
type: "Firewall"
{{#contains tags "forwarded"}}
{{#contains "forwarded" tags}}
publisher_pipeline.disable_host: true
{{/contains}}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ fields:
vendor: "Juniper"
product: "Netscreen"
type: "Firewall"
{{#contains tags "forwarded"}}
{{#contains "forwarded" tags}}
publisher_pipeline.disable_host: true
{{/contains}}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ fields:
vendor: "Juniper"
product: "Netscreen"
type: "Firewall"
{{#contains tags "forwarded"}}
{{#contains "forwarded" tags}}
publisher_pipeline.disable_host: true
{{/contains}}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,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/juniper/data_stream/srx/agent/stream/tcp.yml.hbs
Original file line number Diff line number Diff line change
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/juniper/data_stream/srx/agent/stream/udp.yml.hbs
Original file line number Diff line number Diff line change
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/juniper/manifest.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
format_version: 1.0.0
name: juniper
title: Juniper
version: 1.0.0
version: 1.0.1
description: This Elastic integration collects logs from Juniper
categories: ["network", "security"]
release: ga
Expand Down

0 comments on commit 8684519

Please sign in to comment.