Commit Graph

9459 Commits

Author SHA1 Message Date
Shreya Malviya c098afaee1
BB: Fix spelling in log message in MonkeyIslandClient 2022-08-02 12:22:53 +05:30
Ilija Lazoroski 53048c03ed BB: Use string when unsetting island mode 2022-08-01 19:10:13 +02:00
Ilija Lazoroski cf084242f0 UI: Use only string from api/island/mode 2022-08-01 19:10:13 +02:00
Ilija Lazoroski 86242a021d Island: Return island mode only as a string 2022-08-01 19:10:09 +02:00
Mike Salvatore dd882df1cc Merge branch '2106-refactor-island-mode' into develop
Resolves #2143
2022-08-01 11:07:42 -04:00
Ilija Lazoroski f19d489fc6 UT: Use HTTPStatus in test_island_mode 2022-08-01 17:04:36 +02:00
Mike Salvatore e1a209a159
Merge pull request #2144 from guardicore/2109-rename-versionupdate
Rename VersionUpdate to Version
2022-08-01 11:03:43 -04:00
VakarisZ fd1c10cd73
Merge pull request #2133 from guardicore/2004-scan-target-configuration
2004 scan target configuration
2022-08-01 17:05:38 +03:00
vakarisz 22b3874b5a Common: Do small style fixes in validators 2022-08-01 16:54:45 +03:00
vakarisz 42e6039463 Common: Shorten the validator import statements 2022-08-01 16:54:45 +03:00
Ilija Lazoroski 7a9ab9c58a BB: Catch KeyError and log a warning message when starting single tests 2022-08-01 15:37:33 +02:00
Ilija Lazoroski 00f4fa4557 Changelog: Add entry for renaming `api/version-update` to `api/island/version` 2022-08-01 15:30:41 +02:00
Ilija Lazoroski 56c325f08f Island: Rename VersionUpdate to Version 2022-08-01 15:20:54 +02:00
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