Common: Add docstring to PropagationConfiguration dataclass

This commit is contained in:
Shreya Malviya 2022-07-27 18:08:30 +05:30
parent 643896bb5b
commit 2ea3a27263
1 changed files with 9 additions and 0 deletions

View File

@ -118,6 +118,15 @@ class ExploitationConfiguration:
@dataclass(frozen=True) @dataclass(frozen=True)
class PropagationConfiguration: class PropagationConfiguration:
"""
A configuration for propagation
Attributes:
:param maximum_depth: Maximum number of hops to take from the Island server
:param network_scan: Configuration for network scanning
:param exploitation: Configuration for exploitation
"""
maximum_depth: int maximum_depth: int
network_scan: NetworkScanConfiguration network_scan: NetworkScanConfiguration
exploitation: ExploitationConfiguration exploitation: ExploitationConfiguration