forked from p15670423/monkey
Common: Add ScanTargetConfiguration dataclass to agent_configuration.py
This commit is contained in:
parent
4065bc23fb
commit
969f916cf5
|
@ -86,3 +86,11 @@ class ExploitationConfigurationSchema(Schema):
|
|||
@post_load
|
||||
def make_exploitation_options_configuration(self, data, **kwargs):
|
||||
return ExploitationConfiguration(**data)
|
||||
|
||||
|
||||
@dataclass(frozen=True)
|
||||
class ScanTargetConfiguration:
|
||||
blocked_ips: List[str]
|
||||
inaccessible_subnets: List[str]
|
||||
local_network_scan: bool
|
||||
subnets: List[str]
|
||||
|
|
Loading…
Reference in New Issue