Skip to content

Commit a01a3c9

Browse files
committed
Updated dependencies and propagated pySigma Splunk backend fix
1 parent 1463120 commit a01a3c9

File tree

2 files changed

+65
-58
lines changed

2 files changed

+65
-58
lines changed

poetry.lock

Lines changed: 63 additions & 56 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/test_convert.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@
44
def test_convert_output_list():
55
cli = CliRunner()
66
result = cli.invoke(convert, ["-t", "splunk", "-p", "sysmon", "tests/files"])
7-
assert 'EventID=1 ParentImage="*\httpd.exe" Image="*\cmd.exe"' in result.stdout
7+
assert 'EventID=1 ParentImage="*\\\\httpd.exe" Image="*\\\\cmd.exe"' in result.stdout
88

99
def test_convert_output_str():
1010
cli = CliRunner()
1111
result = cli.invoke(convert, ["-t", "splunk", "-p", "sysmon", "-f", "savedsearches", "tests/files"])
12-
assert 'EventID=1 ParentImage="*\httpd.exe" Image="*\cmd.exe"' in result.stdout
12+
assert 'EventID=1 ParentImage="*\\\\httpd.exe" Image="*\\\\cmd.exe"' in result.stdout
1313

1414
def test_convert_unknown_format():
1515
cli = CliRunner()

0 commit comments

Comments
 (0)