forked from p15670423/monkey
Common: Shorten the validator import statements
This commit is contained in:
parent
d2d9d4c4c3
commit
42e6039463
|
@ -12,8 +12,12 @@ from .agent_sub_configurations import (
|
||||||
TCPScanConfiguration,
|
TCPScanConfiguration,
|
||||||
)
|
)
|
||||||
from .utils import freeze_lists
|
from .utils import freeze_lists
|
||||||
from .validators.filenames import validate_linux_filename, validate_windows_filename
|
from .validators import (
|
||||||
from .validators.ip_ranges import validate_ip, validate_subnet_range
|
validate_ip,
|
||||||
|
validate_linux_filename,
|
||||||
|
validate_subnet_range,
|
||||||
|
validate_windows_filename,
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
class CustomPBAConfigurationSchema(Schema):
|
class CustomPBAConfigurationSchema(Schema):
|
||||||
|
|
|
@ -0,0 +1,8 @@
|
||||||
|
from .filenames import validate_linux_filename, validate_windows_filename
|
||||||
|
from .ip_ranges import (
|
||||||
|
validate_ip,
|
||||||
|
validate_hostname,
|
||||||
|
validate_ip_range,
|
||||||
|
validate_subnet_range,
|
||||||
|
validate_ip_network,
|
||||||
|
)
|
Loading…
Reference in New Issue