mirror of https://github.com/MISP/misp-modules
fix: Fixed vt_graph imports
parent
f197abdcf6
commit
f5452055f6
|
@ -1 +1,3 @@
|
|||
from .vt_graph_parser import * # noqa
|
||||
|
||||
all = ['joe_parser', 'lastline_api']
|
||||
|
|
|
@ -4,9 +4,5 @@ This module provides methods to import graph from misp.
|
|||
"""
|
||||
|
||||
|
||||
from lib.vt_graph_parser.importers import from_pymisp_response
|
||||
|
||||
|
||||
__all__ = [
|
||||
"from_pymisp_response"
|
||||
]
|
||||
from .helpers import * # noqa
|
||||
from .importers import * # noqa
|
||||
|
|
|
@ -2,3 +2,6 @@
|
|||
|
||||
This modules provides functions and attributes to help MISP importers.
|
||||
"""
|
||||
|
||||
|
||||
all = ["parsers", "rules", "wrappers"]
|
||||
|
|
|
@ -4,7 +4,7 @@ This module provides parsers for MISP inputs.
|
|||
"""
|
||||
|
||||
|
||||
from lib.vt_graph_parser.helpers.wrappers import MispAttribute
|
||||
from vt_graph_parser.helpers.wrappers import MispAttribute
|
||||
|
||||
|
||||
MISP_INPUT_ATTR = [
|
||||
|
|
|
@ -4,9 +4,4 @@ This module provides methods to import graphs from MISP.
|
|||
"""
|
||||
|
||||
|
||||
from lib.vt_graph_parser.importers.pymisp_response import from_pymisp_response
|
||||
|
||||
|
||||
__all__ = [
|
||||
"from_pymisp_response"
|
||||
]
|
||||
__all__ = ["base", "pymisp_response"]
|
||||
|
|
|
@ -5,7 +5,7 @@ This module provides a common method to import graph from misp attributes.
|
|||
|
||||
|
||||
import vt_graph_api
|
||||
from lib.vt_graph_parser.helpers.rules import MispEventInitialRule
|
||||
from vt_graph_parser.helpers.rules import MispEventInitialRule
|
||||
|
||||
|
||||
def import_misp_graph(
|
||||
|
|
|
@ -5,8 +5,8 @@ response payload giving by MISP API directly.
|
|||
"""
|
||||
|
||||
|
||||
from lib.vt_graph_parser.helpers.parsers import parse_pymisp_response
|
||||
from lib.vt_graph_parser.importers.base import import_misp_graph
|
||||
from vt_graph_parser.helpers.parsers import parse_pymisp_response
|
||||
from vt_graph_parser.importers.base import import_misp_graph
|
||||
|
||||
|
||||
def from_pymisp_response(
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
import base64
|
||||
import json
|
||||
from lib.vt_graph_parser import from_pymisp_response
|
||||
from vt_graph_parser.importers.pymisp_response import from_pymisp_response
|
||||
|
||||
|
||||
misperrors = {
|
||||
|
|
Loading…
Reference in New Issue