Commit Graph

9596 Commits

Author SHA1 Message Date
Ilija Lazoroski 3dbc892cb9 Island: Rename `api/version-update` to `api/island/version` 2022-08-01 15:16:39 +02:00
Mike Salvatore d2d9d4c4c3 Common: Reformat ScanTargetConfiguration docstrings 2022-08-01 09:16:00 -04:00
Ilija Lazoroski 8e62bef898 UT: Fix `api/island/mode` tests 2022-08-01 15:05:36 +02:00
Ilija Lazoroski 9075f01032 Changelog: Add entry for renaming `api/island-mode` to `api/island/mode` 2022-08-01 14:22:57 +02:00
Ilija Lazoroski 0dabfe53ba UI: Check if response is successful instead of http status code 2022-08-01 14:22:57 +02:00
Ilija Lazoroski b69b0468c5 Island: Use HTTPStatus in `api/island/mode` resource 2022-08-01 14:22:57 +02:00
Ilija Lazoroski 1b562e723f Island: Change `POST` to `PUT` in `api/island/mode` 2022-08-01 14:22:57 +02:00
Ilija Lazoroski c56c866263 Island: Rename `api/island-mode` to `api/island/mode` 2022-08-01 14:22:51 +02:00
vakarisz 068a7e3b1f Common: Improve the style of filename validation 2022-08-01 14:33:19 +03:00
vakarisz 2503e83dde Common: Separate filename validation out of config schemas 2022-08-01 13:01:37 +03:00
VakarisZ 759de2a055
Merge pull request #2134 from guardicore/2092-bb-tests
2092 bb tests
2022-08-01 12:09:52 +03:00
Ilija Lazoroski 474e9c3c66 BB: Rename global agent_configuration to test_configuration 2022-08-01 10:35:20 +02:00
vakarisz 3a6fcd670c Common: Style improvements in ip_ranges.py 2022-08-01 10:56:45 +03:00
vakarisz 16ac6b2e15 Common: Improve documentation of ScanTargetConfiguration 2022-08-01 10:50:29 +03:00
vakarisz a1760a8701 Common: Improve hostname pattern matching in scan target configuration 2022-07-28 16:42:52 +03:00
Mike Salvatore adf0a563ce
Merge pull request #2139 from guardicore/2104-propagation-credential-endpoint
2104 propagation credential endpoint
2022-07-28 09:17:12 -04:00
vakarisz 6eda7cb4f1 UT: Change UTs in propagation credentials
Changes address the changes for PUT, POST and DELETE methods
2022-07-28 13:51:05 +03:00
vakarisz 6d146dae94 Island, UI: Remove delete method from propagation credentials
Instead of delete, put should be used with an empty list of credentials
2022-07-28 13:24:41 +03:00
Ilija Lazoroski 0c0ad42a8e BB: Remove default empty array from configurations utils 2022-07-28 12:10:24 +02:00
vakarisz 6e821c5bbc Island: Remove POST in propagation credentials endpoint
Post is not used, because configuration credentials are put all at once and stolen credentials are added via telemetry
2022-07-28 13:06:20 +03:00
Ilija Lazoroski 17e07429a4 BB: Fix Zerologon analyzer 2022-07-28 11:52:42 +02:00
vakarisz ce33a7b2f4 Common: Improve network range validation (less regex) 2022-07-28 11:34:07 +03:00
vakarisz a1d9118433 UT: Split up ip range validation tests more 2022-07-28 11:34:07 +03:00
vakarisz 96af1e0135 Common: Add documentation to ScanTargetConfiguration dataclass 2022-07-28 11:34:07 +03:00
vakarisz a943891567 Common: Add validators for ScanTargetConfigurationSchema 2022-07-28 11:34:07 +03: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
Mike Salvatore 85211c3120 Agent: Add TODO about using Python's ipaddress library 2022-07-27 10:41:05 -04:00
Mike Salvatore 6377ff4c66 Agent: Add TODO about using Python's ipaddress library 2022-07-27 10:38:17 -04:00
Mike Salvatore 40b29ba99a
Merge pull request #2129 from guardicore/2004-propagation-configuration-validation
PropagationConfiguration docstring + validation
2022-07-27 09:42:15 -04:00
Shreya Malviya c2052a57a8 UT: Modify PropagationConfigurationSchema maximum depth validation test cases 2022-07-27 19:08:10 +05:30
Shreya Malviya a9fa7427f3 Common: Change minimum value of maximum_depth in PropagationConfigurationSchema to 0 2022-07-27 19:08:10 +05:30
Shreya Malviya b4243216a3 UI: Modify description of maximum_depth in the propagation schema 2022-07-27 19:08:07 +05:30
Mike Salvatore c65168b1d7
Merge pull request #2131 from guardicore/2004-agent-configuration-validation
AgentConfiguration docstring + validation
2022-07-27 09:22:35 -04:00
Mike Salvatore ddcc689d0f Agent: Pass only ExploitationConfiguration to _exploit_hosts() 2022-07-27 09:19:38 -04:00
Shreya Malviya a89741190f UI: Change minimum value of maximum_depth to 0 in the propagation schema 2022-07-27 18:44:57 +05:30
Shreya Malviya 6da238fe1d Common: Reword PropagationConfiguration docstring 2022-07-27 18:43:28 +05:30
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
Shreya Malviya e6108d0fc7 UT: Add test for AgentConfigurationSchema tunnel open time validation 2022-07-27 18:32:02 +05:30
Mike Salvatore 55c9b21e28
Merge pull request #2128 from guardicore/2004-exploitation-configuration-docstring
ExploitationConfiguration docstring
2022-07-27 08:59:21 -04:00
Shreya Malviya a603b16573 Common: Add maximum tunnel open time validation to AgentConfigurationSchema 2022-07-27 18:28:52 +05:30
Shreya Malviya 85a11b62bd Common: Add docstring to AgentConfiguration dataclass 2022-07-27 18:27:50 +05:30