Skip to content

Commit bc75b98

Browse files
committed
Added plugin metadata to/for pipelines
1 parent d3dd3e8 commit bc75b98

File tree

3 files changed

+11
-2
lines changed

3 files changed

+11
-2
lines changed

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "pysigma-backend-splunk"
3-
version = "1.0.1"
3+
version = "1.0.2"
44
description = "pySigma Splunk backend"
55
authors = ["Thomas Patzke <[email protected]>"]
66
license = "LGPL-2.1-only"

sigma/pipelines/splunk/__init__.py

+7-1
Original file line numberDiff line numberDiff line change
@@ -1 +1,7 @@
1-
from .splunk import splunk_windows_pipeline, splunk_windows_sysmon_acceleration_keywords, splunk_cim_data_model
1+
from .splunk import splunk_windows_pipeline, splunk_windows_sysmon_acceleration_keywords, splunk_cim_data_model
2+
3+
pipelines = {
4+
"splunk_windows": splunk_windows_pipeline,
5+
"splunk_sysmon_acceleration": splunk_windows_sysmon_acceleration_keywords,
6+
"splunk_cim": splunk_cim_data_model,
7+
}

sigma/pipelines/splunk/splunk.py

+3
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@
5454
def splunk_windows_pipeline():
5555
return ProcessingPipeline(
5656
name="Splunk Windows log source conditions",
57+
allowed_backends={"splunk"},
5758
priority=20,
5859
items=generate_windows_logsource_items("source", "WinEventLog:{source}") + [
5960
ProcessingItem( # Field mappings
@@ -68,6 +69,7 @@ def splunk_windows_pipeline():
6869
def splunk_windows_sysmon_acceleration_keywords():
6970
return ProcessingPipeline(
7071
name="Splunk Windows Sysmon search acceleration keywords",
72+
allowed_backends={"splunk"},
7173
priority=25,
7274
items=[
7375
ProcessingItem( # Some optimizations searching for characteristic keyword for specific log sources
@@ -90,6 +92,7 @@ def splunk_windows_sysmon_acceleration_keywords():
9092
def splunk_cim_data_model():
9193
return ProcessingPipeline(
9294
name="Splunk CIM Data Model Mapping",
95+
allowed_backends={"splunk"},
9396
priority=20,
9497
items=[
9598
ProcessingItem(

0 commit comments

Comments
 (0)