Agent: Use Mapping instead of Dict
This commit is contained in:
parent
503a0a833f
commit
fefd2daf2b
|
@ -1,7 +1,7 @@
|
||||||
import logging
|
import logging
|
||||||
import threading
|
import threading
|
||||||
import time
|
import time
|
||||||
from typing import Any, Callable, Dict, Iterable, List, Optional
|
from typing import Any, Callable, Iterable, List, Mapping, Optional
|
||||||
|
|
||||||
from common.configuration import PluginConfiguration
|
from common.configuration import PluginConfiguration
|
||||||
from common.utils import Timer
|
from common.utils import Timer
|
||||||
|
@ -208,7 +208,7 @@ class AutomatedMaster(IMaster):
|
||||||
self,
|
self,
|
||||||
plugins: Iterable[PluginConfiguration],
|
plugins: Iterable[PluginConfiguration],
|
||||||
callback: Callable[[Any], None],
|
callback: Callable[[Any], None],
|
||||||
custom_pba_options: Dict,
|
custom_pba_options: Mapping,
|
||||||
):
|
):
|
||||||
self._run_plugins(plugins, "post-breach action", callback)
|
self._run_plugins(plugins, "post-breach action", callback)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue