mirror of https://github.com/MISP/misp-modules
fix: Change in the imports in other sigma module
parent
b791b177c3
commit
0189a117a3
|
@ -2,9 +2,10 @@ import sys
|
||||||
import io
|
import io
|
||||||
import json
|
import json
|
||||||
try:
|
try:
|
||||||
from sigma.parser import SigmaCollectionParser
|
from sigma.parser.collection import SigmaCollectionParser
|
||||||
from sigma.config import SigmaConfiguration
|
from sigma.configuration import SigmaConfiguration
|
||||||
from sigma.backends import getBackend, BackendOptions
|
from sigma.backends.base import BackendOptions
|
||||||
|
from sigma.backends.discovery import getBackend
|
||||||
except ImportError:
|
except ImportError:
|
||||||
print("sigma or yaml is missing, use 'pip3 install sigmatools' to install it.")
|
print("sigma or yaml is missing, use 'pip3 install sigmatools' to install it.")
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue