Commit Graph

85 Commits

Author SHA1 Message Date
Mike Salvatore 646b3a1b46 BB: Add `simplify=True` to Credentials serialization 2022-09-07 11:48:33 +00:00
vakaris_zilius 472ca382f1 Island, BB: Fix credential conversion to dict bugs 2022-09-07 11:48:32 +00:00
vakarisz d73cbee591 Agent, Island: Use pydantic credentials and methods
Since the interface of credential serialization changed, code was modified to use the new interface
2022-09-07 11:47:56 +00:00
Shreya Malviya 1abf2b7f03 BB: Add `simplify=True` when converting test agent configuration to dict in MonkeyIslandClient 2022-09-02 12:05:30 +05:30
Shreya Malviya ff52fbefe4 BB: Fix AgentConfiguration logic in MonkeyIslandClient 2022-09-02 12:05:30 +05:30
Ilija Lazoroski 789ca96bb0 BB: Set island mode to Custom 2022-08-19 12:13:59 -04:00
Mike Salvatore 16d5a74df6 BB: Use put_json() to reset the Island's mode 2022-08-05 09:35:14 -04:00
Mike Salvatore 3362959c73 BB: Use put_json() to reset credentials 2022-08-05 09:34:57 -04:00
Mike Salvatore 1568cf8f0a BB: Use put_json() to import configured credentials 2022-08-05 09:21:43 -04:00
Mike Salvatore ea369a5a74 BB: Use put_json() to import config 2022-08-05 09:21:28 -04:00
Mike Salvatore 4cb6bdd9cf BB: Add put_json() 2022-08-05 09:20:52 -04:00
Mike Salvatore 17b264d28b
Merge pull request #2145 from guardicore/2106-remove-mode-keyword
2106 remove mode keyword
2022-08-03 08:55:56 -04:00
Shreya Malviya 54a0072454 BB: Change /api/registration -> /api/register 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 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 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
Ilija Lazoroski 17e07429a4 BB: Fix Zerologon analyzer 2022-07-28 11:52:42 +02:00
Ilija Lazoroski fdf73821f4 BB: Avoid race condition when importing config and credentials 2022-07-27 16:58:46 +02:00
Ilija Lazoroski 371b020542 BB: Reset Island after finished test 2022-07-26 16:29:21 +02:00
vakarisz 81101d4213 Common: Rename configuration package to agent_configuration 2022-07-26 09:38:58 -04:00
Mike Salvatore 878f12736f BB: POST config and credentials as JSON 2022-07-22 13:26:12 -04:00
Mike Salvatore e1691b108f BB: Fix credentials object serialization 2022-07-22 13:26:12 -04:00
Mike Salvatore 5c60656f56 BB: Rename post_json(data) parameter to json 2022-07-22 17:24:53 +00:00
Mike Salvatore 2d338fc81f BB: Use to_mapping() to send agent configuration JSON 2022-07-22 17:24:53 +00:00
Shreya Malviya b6703becbc BB: Get rid of TestConfigurationParser and move its functions outside 2022-07-22 17:24:53 +00:00
Shreya Malviya 35d5592da0 BB, Island: Remove BB performance tests and *everything* related to it 2022-07-22 17:24:53 +00:00
Shreya Malviya 8b43d910b6 BB: Modify MonkeyIslandClient.import_config() to send propagation credentials to relevant endpoint 2022-07-22 17:24:53 +00:00
Shreya Malviya 379ada7a24 BB: Rename IslandConfigParser -> TestConfigurationParser
Even though the names start with "test", they shouldn't cause any issues
since we only run "test_blackbox.py".
2022-07-22 17:24:53 +00:00
Shreya Malviya 2764069aec BB: Correctly pass and import test configuration and agent configuration 2022-07-22 17:24:53 +00:00
Shreya Malviya 1f4167f44c BB: Add more specific type hint to IslandConfigParser.get_target_ips_from_configuration() 2022-07-22 17:24:53 +00:00
Shreya Malviya 42efe1fc56 BB: Remove unused function from IslandConfigParser 2022-07-22 17:24:53 +00:00
Shreya Malviya b13fb45b04 BB: Get rid of unneeded improts and variables 2022-07-22 17:24:53 +00:00
Shreya Malviya 00626fe579 BB: Use agent configuration object to get target IPs in IslandConfigParser 2022-07-22 17:24:53 +00:00
Shreya Malviya c9b10bfc3f BB: Fix API endpoints in MonkeyIslandClient 2022-07-22 17:24:53 +00:00
Shreya Malviya f0993d94cf BB: Rename raw_config -> serialized_config everywhere 2022-07-22 17:24:53 +00:00
Shreya Malviya 690fb71e10 BB: Rename get_ips_of_targets() -> get_target_ips_from_serialized_config() and pass correct arguments 2022-07-22 17:24:53 +00:00
Shreya Malviya c6ffd16e48 BB: Modify IslandConfigParser.get_ips_of_targets() logic per new configuration 2022-07-22 17:24:53 +00:00
Shreya Malviya 5d9e525ecc BB: Remove unused apply_template_to_config() from IslandConfigParser 2022-07-22 17:24:53 +00:00
Shreya Malviya c509b1390a BB: Remove unused parameter in get_serialized_config() in IslandConfigParser 2022-07-22 17:24:53 +00:00
Shreya Malviya d5736df56d BB: Modify IslandConfigParser to return serialized config 2022-07-22 17:24:53 +00:00
Ilija Lazoroski d2cc056a55 Island, BB: Rename api/monkey_control to api/monkey-control 2022-04-15 13:16:56 +02:00
Ilija Lazoroski 1535832279 Island, BB: Rename clear_caches endpoint to clear-caches 2022-04-15 12:36:12 +02:00
Mike Salvatore 88422f9764 BB: Fix API call to kill all monkeys 2022-03-23 14:50:38 -04:00
Ilija Lazoroski 6787cce1d0 Zoo: Change API registration parameter 2021-10-14 14:52:13 +02:00
VakarisZ b69916428b Remove T1129 attack technique from the codebase 2021-09-17 14:19:42 +03:00
Ilija Lazoroski 1e5d49024d Zoo: Change island to use credentials 2021-09-06 09:17:15 +02:00
VakarisZ 568a97e5a5 BB performance tests: update the outdated README.md and other small improvements 2021-07-31 19:40:19 -04:00
VakarisZ 488143b1d3 BB tests: added the ability for BB tests to "register". If they need registration to run monkeys, BB tests selects passwordless option 2021-05-20 16:47:00 +03:00