diff options
author | peeweep | 2019-10-02 02:23:45 +0800 |
---|---|---|
committer | peeweep | 2019-10-02 02:23:45 +0800 |
commit | 45fe61681faf5b0183408106e71131ef7a25c421 (patch) | |
tree | a78c3a14a38e6ab49dc9d4fb1d891a569e5e0ec8 /pymisp.patch | |
download | aur-45fe61681faf5b0183408106e71131ef7a25c421.tar.gz |
Init
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"] + |