Skip to content

Commit

Permalink
Fixed test
Browse files Browse the repository at this point in the history
  • Loading branch information
thomaspatzke committed May 4, 2022
1 parent e7f463b commit dd76d12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_processing_pipelines_sysmon.py
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ def sysmon_error_sigma_rule():

def test_sysmon_process_creation(process_creation_sigma_rule):
backend = TextQueryTestBackend(sysmon_pipeline())
assert backend.convert(process_creation_sigma_rule) == ["EventID=1 and CommandLine=\"test.exe foo bar\" and Image=\"*\\test.exe\""]
assert backend.convert(process_creation_sigma_rule) == ["EventID=1 and CommandLine=\"test.exe foo bar\" and Image endswith \"\\test.exe\""]

def test_sysmon_file_change(file_change_sigma_rule):
backend = TextQueryTestBackend(sysmon_pipeline())
Expand Down

0 comments on commit dd76d12

Please sign in to comment.