Mike Salvatore
a3e3e3e324
Common: Add DEFAULT_AGENT_CONFIGURATION
2022-06-17 12:48:54 -04:00
Mike Salvatore
9a216e9c3d
Island: Add "raises" to docstring in get_configuration()
2022-06-17 12:17:22 -04:00
Mike Salvatore
922cb8cea9
Island: Add RetrievalError
2022-06-17 12:17:21 -04:00
Mike Salvatore
30065952a5
Island: Add RetrievalError
2022-06-17 12:13:18 -04:00
Mike Salvatore
73ead3bb26
Island: Rename set_configuration() -> store_configuration()
2022-06-17 12:10:43 -04:00
Mike Salvatore
bdce5f84a6
Island: Add FileAgentConfigurationRepository
2022-06-17 12:09:30 -04:00
Mike Salvatore
5ebdb60ea4
Island: Add @abstractmethod in IAgentConfigurationRepository
2022-06-17 11:41:29 -04:00
Mike Salvatore
a75041e93f
Island: Rename IConfigurationRepository IAgentConfigurationRepository
2022-06-17 11:36:50 -04:00
Mike Salvatore
7cb7f7ab5a
UT: Extract agent configuration from test_agent_configuration.py
2022-06-17 11:33:01 -04:00
Mike Salvatore
ace3eb8718
UT: Extract SingleFileRepository from test_pba_file_upload.py
2022-06-17 11:19:11 -04:00
Mike Salvatore
91476a7a06
Island: Protract config -> configuration in IConfigurationRepository
2022-06-17 11:11:14 -04:00
Mike Salvatore
59e29456c0
Island: Rename i_config_repository.py -> i_configuration_repository.py
2022-06-17 11:10:16 -04:00
Mike Salvatore
ae0c440603
Island: Add documentation for IConfigRepository
2022-06-17 11:08:45 -04:00
Mike Salvatore
62056175a1
Island: Remove unneeded methods in IConfigRepository
...
Also remove stale comments. No encryption is needed here because
configuration does not contain anything sensitive.
2022-06-17 11:06:23 -04:00
Mike Salvatore
84db00b728
Island: Use AgentConfiguration in IConfigRepository
2022-06-17 11:05:10 -04:00
Mike Salvatore
f25a81635c
Merge pull request #2030 from guardicore/1960-configuration-schema
...
1960 configuration schema
2022-06-17 10:31:56 -04:00
Mike Salvatore
ed39d155bf
Common: Remove sub-configuration and sub-schemas from configuration
2022-06-17 10:23:43 -04:00
Mike Salvatore
291b82c28d
Common: Separate agent sub configurations and schemas
2022-06-17 10:20:49 -04:00
vakarisz
f8855d290d
Agent: Remove WormConfiguration and cleanup related infrastructure
2022-06-17 16:40:40 +03:00
Mike Salvatore
e0ae109368
Common: Add AgentConfiguration
2022-06-17 09:27:51 -04:00
Mike Salvatore
7039ccf708
Common: Switch configuration timeouts from ms to floating-point seconds
2022-06-17 09:14:22 -04:00
Mike Salvatore
bd7ea7fdb1
Common: Add maximum_depth to PropagationConfiguration
2022-06-17 09:07:13 -04:00
Mike Salvatore
a41b2e3ea4
Common: Add PropagationConfiguration
2022-06-17 09:04:00 -04:00
Mike Salvatore
9bbf5c8ae7
Common: Add NetworkScanConfiguration
2022-06-17 08:50:48 -04:00
Mike Salvatore
5845bb73af
Common: Reorder scan and exploit configuration classes
2022-06-17 08:33:43 -04:00
Mike Salvatore
2c4069ae1b
Project: Remove Meta, unknown from vulture_allowlist.py
...
These are no longer needed after db9d57a526
.
2022-06-17 08:31:04 -04:00
Mike Salvatore
3c879f444d
Common: Add ScanTargetConfigurationSchema
2022-06-17 08:30:42 -04:00
Mike Salvatore
7e9c481992
Common: Rename marshmallow post_load methods to be protected
2022-06-17 08:22:31 -04:00
Mike Salvatore
ee8e949a0d
Common: Add ICMPScanConfigurationSchema
2022-06-17 08:20:26 -04:00
Mike Salvatore
0b810f5d56
Common: Add TCPScanConfigurationSchema
2022-06-17 08:14:35 -04:00
vakarisz
2e561181ea
Common: Add TCPScanConfiguration dataclass to agent_configuration.py
2022-06-17 15:10:46 +03:00
vakarisz
af761ea48f
Common: Add ICMPScanConfiguration dataclass to agent_configuration.py
2022-06-17 15:10:45 +03:00
vakarisz
969f916cf5
Common: Add ScanTargetConfiguration dataclass to agent_configuration.py
2022-06-17 15:10:43 +03:00
Mike Salvatore
e8001d8cf7
Merge pull request #2027 from guardicore/register-di-conventions
...
Register di conventions
2022-06-17 07:33:33 -04:00
Mike Salvatore
42f0cb42d2
UT: Use container fixture in test_unregistered_type
2022-06-17 07:25:18 -04:00
Mike Salvatore
a18814a83b
Common: Fix incorrect docstring in DIContainer
2022-06-17 07:16:50 -04:00
Mike Salvatore
df23cc42f4
Common: Fix spelling error
...
Co-authored-by: VakarisZ <36815064+VakarisZ@users.noreply.github.com>
2022-06-17 07:13:07 -04:00
VakarisZ
c413ae8fa5
Merge pull request #2029 from guardicore/2028-remove-http-ports
...
Island: Remove HTTP_PORTS from top-level agent configuration
2022-06-17 12:06:19 +03:00
Mike Salvatore
4065bc23fb
Common: Add ExploitationConfiguration
2022-06-16 20:20:35 -04:00
Mike Salvatore
db9d57a526
Common: Remove `class Meta` from marshmallow schemas
...
`RAISE` is the default behavior, so there's no need to copy/paste this
all over the place.
2022-06-16 20:20:35 -04:00
Mike Salvatore
afd3160c2f
Common: Add ExploitationOptionsConfiguration
2022-06-16 20:20:35 -04:00
Mike Salvatore
70e8bca1ea
Common: Use OperatingSystems enum in ExploiterConfigurationSchema
2022-06-16 20:20:35 -04:00
unknown
737aacf0bd
Agent: Add marshmallow-enum to dependencies
2022-06-16 20:20:35 -04:00
unknown
526fe24aa6
Island: Add marshmallow-enum to dependencies
2022-06-16 20:20:35 -04:00
Mike Salvatore
39e18b9c73
Common: Add OperatingSystems enum
...
Enough is enough! I have had it with these monkey-fighting strings on
this Monday to Friday plane! Everybody strap in.
Seriously, it's time to stop using strings all over the place to
identify the OS. An Enum is a better, more strongly-typed solution.
2022-06-16 20:20:35 -04:00
Mike Salvatore
9d73252ff5
Common: Add ExploiterConfiguration
2022-06-16 20:20:35 -04:00
Mike Salvatore
88dbf4feb7
Common: Use Dict instead of dict in PluginConfiguration
2022-06-16 20:20:35 -04:00
Mike Salvatore
bdad41057c
Common: Add CustomPBAConfiguration
2022-06-16 20:20:35 -04:00
Mike Salvatore
c79f62e682
Common: Add PluginConfiguration
2022-06-16 20:20:35 -04:00
unknown
660c1421c0
Agent: Add marshmallow to dependencies
2022-06-16 20:20:35 -04:00