Commit Graph

9408 Commits

Author SHA1 Message Date
Ilija Lazoroski 474e9c3c66 BB: Rename global agent_configuration to test_configuration 2022-08-01 10:35:20 +02:00
Ilija Lazoroski 0c0ad42a8e BB: Remove default empty array from configurations utils 2022-07-28 12:10:24 +02:00
Ilija Lazoroski 17e07429a4 BB: Fix Zerologon analyzer 2022-07-28 11:52:42 +02:00
Ilija Lazoroski 7fba5139f7 Agent: Fix credentials object in Zerologon 2022-07-28 09:14:58 +02:00
Mike Salvatore b05438b5f1 Agent: Add issue reference to _add_http_ports_to_fingerprinters() 2022-07-27 13:18:59 -04:00
Mike Salvatore 961d2df7d9 Agent: Refactor the hack to add http ports to the fingerprinters 2022-07-27 13:13:18 -04:00
Ilija Lazoroski 0a395caff9 BB: Add add_fingerprinter function to configuration utils 2022-07-27 16:59:58 +02:00
Ilija Lazoroski 30b1032d38 BB: Fix depth_3_a test configuration 2022-07-27 16:59:15 +02:00
Ilija Lazoroski fdf73821f4 BB: Avoid race condition when importing config and credentials 2022-07-27 16:58:46 +02:00
Ilija Lazoroski 9ad96cbf14 BB: Add http fingerprnter to depth_1_a tests 2022-07-27 16:57:43 +02:00
Ilija Lazoroski bb3bf5ebd4 Island: Check for a set representation and return a list 2022-07-27 15:12:52 +02:00
Ilija Lazoroski a1896de9c8 Island: Fix processing exploit credentials encrypt/decrypt 2022-07-27 15:11:47 +02:00
Ilija Lazoroski 8c6e4dbc90 Agent: Add dirty hack which add http_ports to http_finger options 2022-07-27 15:07:01 +02:00
Ilija Lazoroski 482a7479e0 BB: Add starting GCP machines of single tests 2022-07-27 15:03:29 +02:00
Mike Salvatore 55c9b21e28
Merge pull request #2128 from guardicore/2004-exploitation-configuration-docstring
ExploitationConfiguration docstring
2022-07-27 08:59:21 -04:00
Mike Salvatore e7b806c288
Merge pull request #2127 from guardicore/2004-exploitation-options-configuration-validation
ExploitationOptionsConfiguration docstring + validation
2022-07-27 08:53:47 -04:00
Shreya Malviya 339b3a2232
Common: Reword ExploitationOptionsConfiguration docstring
Co-authored-by: Mike Salvatore <mike.s.salvatore@gmail.com>
2022-07-27 18:05:20 +05:30
Shreya Malviya fa98631642
Common: Reword ExploitationConfiguration docstring
Co-authored-by: Mike Salvatore <mike.s.salvatore@gmail.com>
2022-07-27 18:04:29 +05:30
Shreya Malviya 706b5758d4 Common: Add docstring to ExploitationConfiguration dataclass 2022-07-27 17:59:29 +05:30
Shreya Malviya ba1115cf79 UT: Extract invalid ports to a variable in test_agent_configuration.py 2022-07-27 17:52:01 +05:30
Shreya Malviya 95a6c14334 UT: Add test for ExploitationOptionsConfigurationSchema port validation 2022-07-27 17:48:36 +05:30
Shreya Malviya 20ab2c3eca Common: Add port number validation to ExploitationOptionsConfigurationSchema 2022-07-27 17:44:19 +05:30
Shreya Malviya 6307acb11b Common: Add docstring to ExploitationOptionsConfiguration dataclass 2022-07-27 17:40:24 +05:30
Shreya Malviya 643896bb5b
Merge pull request #2125 from guardicore/2004-tcp-scan-configuration-validation
TCPScanConfiguration docstring + validation
2022-07-27 17:24:07 +05:30
Mike Salvatore 8dc73c9739
Merge pull request #2115 from guardicore/2004-plugin-configuration-docstring
PluginConfiguration docstring
2022-07-27 07:50:30 -04:00
VakarisZ ffd1773e92
Merge pull request #2124 from guardicore/2004-icmp-scan-configuration-validation
ICMPScanConfiguration docstring
2022-07-27 14:25:39 +03:00
Shreya Malviya d49604274d Common: Add docstring to NetworkScanConfiguration dataclass 2022-07-27 16:54:28 +05:30
Shreya Malviya f870ce0ab3 UT: Add test for TCPScanConfigurationSchema timeout validation 2022-07-27 16:53:14 +05:30
Shreya Malviya fbf3e15f02 Common: Add validation that timeout >= 0 in TCPScanConfigurationSchema 2022-07-27 16:53:14 +05:30
Shreya Malviya 3533074a61 Common: Specify timeout is in seconds in TCPScanConfiguration docstring 2022-07-27 16:53:14 +05:30
Shreya Malviya 5a6173163b UT: Add test for TCPScanConfigurationSchema port validation 2022-07-27 16:53:07 +05:30
Shreya Malviya 65ce50cac1 UT: Add test for ICMPScanConfigurationSchema timeout validation 2022-07-27 16:51:17 +05:30
Shreya Malviya d8bccde276 Common: Add validation that timeout >= 0 in ICMPScanConfigurationSchema 2022-07-27 16:50:46 +05:30
Shreya Malviya af015c788c Common: Specify timeout is in seconds in ICMPScanConfiguration docstring 2022-07-27 16:44:30 +05:30
Shreya Malviya cb97e021a7 Common: Add port number validation to TCPScanConfigurationSchema 2022-07-27 16:02:05 +05:30
Shreya Malviya aff97886d4 Common: Reword ICMPScanConfiguration docstring 2022-07-27 15:56:07 +05:30
Shreya Malviya 7f78e52bf2 Common: Add docstring to TCPScanConfiguration dataclass 2022-07-27 15:55:35 +05:30
Shreya Malviya f9bed82e7a Common: Add docstring to ICMPScanConfiguration dataclass 2022-07-27 15:45:55 +05:30
Shreya Malviya 856ce4925b Common: Fix docstring format in PluginConfiguration 2022-07-27 13:12:45 +05:30
Shreya Malviya f941c2aa35 Common: Reword PluginConfiguration docstring description 2022-07-27 13:08:13 +05:30
Shreya Malviya fad0c5fe4d Common: Add docstring to PluginConfiguration dataclass 2022-07-27 13:08:10 +05:30
Shreya Malviya 775ef144a5
Merge pull request #2114 from guardicore/2004-validate-custom-pba-config
Custom PBA configuration validation
2022-07-27 13:03:59 +05:30
Mike Salvatore 4c86b1bd3d Common: Remove periods from CustomPBAConfiguration docstrings 2022-07-27 12:32:07 +05:30
Shreya Malviya 8361ed1453 UT: Update cases for CustomPBAConfigurationSchema's linux filename validation test 2022-07-27 12:32:07 +05:30
Shreya Malviya a017a66137 Common: Fix CustomPBAConfigurationSchema's linux filename validation regex to check for forward slashes instead of back slashes 2022-07-27 12:32:07 +05:30
Shreya Malviya 35c2cf26e8 UT: Add null byte case in CustomPBAConfigurationSchema linux filename validation test 2022-07-27 12:32:07 +05:30
Shreya Malviya a9b9a13c40 Common: Update CustomPBAConfigurationSchema's linux filename validation regex to prevent null bytes 2022-07-27 12:32:07 +05:30
Shreya Malviya 58ce293909 UT: Add cases to CustomPBAConfigurationSchema filename validation tests 2022-07-27 12:32:07 +05:30
Shreya Malviya 80d3aec1f8 Common: Simplify filename validation regex in CustomPBAConfigurationSchema 2022-07-27 12:32:07 +05:30
Shreya Malviya c4b5e9fb2d Common: Fix Windows filename regex in CustomPBAConfigurationSchema validation 2022-07-27 12:32:07 +05:30