diff options
Diffstat (limited to 'pymisp.patch')
-rw-r--r-- | pymisp.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/pymisp.patch b/pymisp.patch new file mode 100644 index 000000000000..564b6723c374 --- /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"] + |