Commit Graph

9515 Commits

Author SHA1 Message Date
Shreya Malviya 1d11dd227e Island: Simplify logic in get_log_file_path() 2022-08-02 13:02:39 +05:30
Shreya Malviya acade35fbe Changelog: Add entry for Island log api endpoint change 2022-08-02 13:02:35 +05:30
Shreya Malviya 7a2ff04978 Island: Remove IslandLogService 2022-08-02 13:01:51 +05:30
Shreya Malviya 977860efb2 Island: Modify IslandLog resource to fetch and return log file contents 2022-08-02 13:01:51 +05:30
Shreya Malviya b89ffbae24 Island: Register Island log file path as convention in DI container and inject into IslandLog 2022-08-02 13:01:51 +05:30
Shreya Malviya 24aea69220 Island: Return Path in get_log_file_path() instead of str 2022-08-02 13:01:51 +05:30
Shreya Malviya 8da12a7970 Island: Modify function get_log_file() -> get_log_file_path() 2022-08-02 13:01:51 +05:30
Shreya Malviya 988f393a20 Island: Add get_log_file() to cc/server_utils/island_logger.py 2022-08-02 13:01:51 +05:30
Shreya Malviya e7e424b358 UI: Change /api/log/island/download -> /api/island/log 2022-08-02 13:01:51 +05:30
Shreya Malviya 408de5f5ab Island: Change /api/log/island/download -> /api/island/log 2022-08-02 13:01:50 +05:30
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