Skip to content

Commit

Permalink
fix cidr oring test
Browse files Browse the repository at this point in the history
  • Loading branch information
arblade committed Dec 14, 2024
1 parent d4f908d commit f514e76
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions tests/test_backend_splunk.py
Original file line number Diff line number Diff line change
Expand Up @@ -307,9 +307,10 @@ def test_splunk_cidr_query(splunk_backend: SplunkBackend):


def test_splunk_cidr_or(splunk_backend: SplunkBackend):
assert splunk_backend.convert(
SigmaCollection.from_yaml(
"""
assert (
splunk_backend.convert(
SigmaCollection.from_yaml(
"""
title: Test
status: test
logsource:
Expand All @@ -324,7 +325,9 @@ def test_splunk_cidr_or(splunk_backend: SplunkBackend):
fieldC: bar
condition: sel
"""
)
)
== ['fieldA="192.168.0.0/16" OR fieldA="10.0.0.0/8" fieldB="foo" fieldC="bar"']
)


Expand Down

0 comments on commit f514e76

Please sign in to comment.