Skip to content

Commit

Permalink
Merge pull request #37 from nasbench/main
Browse files Browse the repository at this point in the history
fix: add `elasticsearch` to the allowed backends in the pipeline config
  • Loading branch information
thomaspatzke committed Nov 8, 2023
2 parents 04eb7d4 + 30559ab commit ed8e7c9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions sigma/pipelines/elasticsearch/windows.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ def ecs_windows() -> ProcessingPipeline:
return ProcessingPipeline(
name="Elastic Common Schema (ECS) Windows log mappings from Winlogbeat from version 7",
priority=20,
allowed_backends=("lucene", "opensearch"),
allowed_backends=("elasticsearch", "lucene", "opensearch"),
items=generate_windows_logsource_items("winlog.channel", "{source}") + [ # Variable field mappinga depending on category/service
ProcessingItem(
identifier=f"elasticsearch_windows-{field}-{logsrc_field}-{logsrc}",
Expand Down Expand Up @@ -189,7 +189,7 @@ def ecs_windows_old() -> ProcessingPipeline:
return ProcessingPipeline(
name="Elastic Common Schema (ECS) Windows log mappings from Winlogbeat up to version 6",
priority=20,
allowed_backends=("lucene", "opensearch"),
allowed_backends=("elasticsearch", "lucene", "opensearch"),
items=generate_windows_logsource_items("winlog.channel", "{source}") + [
ProcessingItem( # Field mappings
identifier="ecs_windows_field_mapping",
Expand Down
6 changes: 3 additions & 3 deletions sigma/pipelines/elasticsearch/zeek.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def ecs_zeek_beats() -> ProcessingPipeline:
return ProcessingPipeline(
name="Elastic Common Schema (ECS) for Zeek using filebeat >= 7.6.1",
priority=20,
allowed_backends=("lucene", "opensearch"),
allowed_backends=("elasticsearch", "lucene", "opensearch"),
items=[
ProcessingItem(
identifier=f"zeek_mapping_category_{ category }_to_service_{ service }",
Expand Down Expand Up @@ -485,7 +485,7 @@ def ecs_zeek_corelight() -> ProcessingPipeline:
return ProcessingPipeline(
name="Elastic Common Schema (ECS) mapping from Corelight",
priority=20,
allowed_backends=("lucene", "opensearch"),
allowed_backends=("elasticsearch", "lucene", "opensearch"),
items=[
ProcessingItem(
identifier=f"zeek_mapping_category_{ category }_to_service_{ service }",
Expand Down Expand Up @@ -954,7 +954,7 @@ def zeek_raw() -> ProcessingPipeline:
return ProcessingPipeline(
name="Zeek raw JSON field naming",
priority=20,
allowed_backends=("lucene", "opensearch"),
allowed_backends=("elasticsearch", "lucene", "opensearch"),
items=[
ProcessingItem(
identifier=f"zeek_mapping_category_{ category }_to_service_{ service }",
Expand Down

0 comments on commit ed8e7c9

Please sign in to comment.