Commit Graph

9633 Commits

Author SHA1 Message Date
Shreya Malviya 21501fdde5 Island: Rename cc/resources/auth/registration.py -> cc/resources/auth/register.py 2022-08-02 13:15:09 +05:30
Shreya Malviya 54a0072454 BB: Change /api/registration -> /api/register 2022-08-02 13:15:09 +05:30
Shreya Malviya 236b2cb3e2 UI: Change /api/registration -> /api/register 2022-08-02 13:15:09 +05:30
Shreya Malviya 187dc64045 Island: Change /api/registration -> /api/register 2022-08-02 13:15:09 +05:30
Shreya Malviya a9e13c37ea UT: Change imports cc.resources.auth.auth -> cc.resources.auth.authenticate 2022-08-02 13:15:09 +05:30
Shreya Malviya b5784f0479 Island: Rename cc/resources/auth/auth.py -> cc/resources/auth/authenticate.py 2022-08-02 13:15:09 +05:30
Shreya Malviya 8342ec8b5c UI: Change /api/auth -> /api/authenticate 2022-08-02 13:15:09 +05:30
Shreya Malviya 3c1e69eabb BB: Change /api/auth -> /api/authenticate 2022-08-02 13:15:08 +05:30
Shreya Malviya 1635f3204a Island: Change /api/auth -> /api/authenticate 2022-08-02 13:15:08 +05:30
Shreya Malviya 30166880bb
Merge pull request #2142 from guardicore/2107-refactor-api-log-endpoint
Refactor Island log endpoint
2022-08-02 13:14:32 +05:30
Shreya Malviya eb20c9403d UI: Fix logic in IslandLogDownloadButton as per changes to IslandLog resource 2022-08-02 13:02:39 +05:30
Shreya Malviya 96bae42388 Island: Fix type hint in cc/server_utils/island_logger.py 2022-08-02 13:02:39 +05:30
Shreya Malviya 29646ecf43 Island: Return string from IslandLog's GET instead of dict with redundant info 2022-08-02 13:02:39 +05:30
Shreya Malviya 7967974c9d Island: Move get_log_file_contents() from IslandLog to cc/server_utils/island_logger.py 2022-08-02 13:02:39 +05:30
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
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