summarylogtreecommitdiffstats
path: root/pymisp.patch
diff options
context:
space:
mode:
Diffstat (limited to 'pymisp.patch')
-rw-r--r--pymisp.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/pymisp.patch b/pymisp.patch
new file mode 100644
index 00000000000..564b6723c37
--- /dev/null
+++ b/pymisp.patch
@@ -0,0 +1,22 @@
+diff --git a/sigma2misp b/sigma2misp
+--- a/sigma2misp
++++ b/sigma2misp
+@@ -4,8 +4,8 @@
+ import argparse
+ import pathlib
+ import urllib3
++import pymisp
+ urllib3.disable_warnings()
+-from pymisp import PyMISP
+
+ def create_new_event():
+ return misp.new_event(info=args.info)["Event"]["id"]
+@@ -37,7 +37,7 @@ if args.recursive:
+ else:
+ paths = [ pathlib.Path(sigma) for sigma in args.sigma ]
+
+-misp = PyMISP(args.url, args.key, args.insecure)
++misp = pymisp(args.url, args.key, args.insecure)
+ if args.event:
+ eventid = misp.get(args.event)["Event"]["id"]
+