Commit Graph

422 Commits

Author SHA1 Message Date
Shreya Malviya 75dddb0861 BB: Remove usage of CredentialComponentType in Zerologon analyzer 2022-09-15 14:07:18 +05:30
Shreya Malviya cf48189a07 BB: Use keyword parameters when creating Username/Password/NTHash objects 2022-09-15 14:00:14 +05:30
Shreya Malviya f57dad05c1 BB: Use keyword parameters when creating Credentials objects 2022-09-15 13:55:49 +05:30
vakarisz bc6da3d402 BB: Add documentation about changes to tunneling-11 2022-09-14 12:13:36 +03:00
vakarisz c281666504 BB: Remove tunneling-12 from depth-3 2022-09-14 12:10:06 +03:00
vakarisz 7a33802b7c BB: Add tunneling machines to the list of depth 3 test 2022-09-14 12:06:46 +03:00
Kekoa Kaaikala e7bb5ce535 BB: Add interface to tunneling-11 2022-09-13 19:52:04 +00:00
Kekoa Kaaikala b865c13a3b BB: Revert depth_3_a test 2022-09-13 19:45:57 +00:00
vakarisz c756c7ace2 BB: Add tunneling test diagrams 2022-09-09 17:51:37 +03:00
vakarisz 72c76319d1 BB: Move tunneling to depth 4a test suite 2022-09-08 16:58:14 +03:00
vakarisz b6588925e2 BB: Add tunneling-13 machine 2022-09-08 16:56:32 +03:00
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
Mike Salvatore ce6d5cc705 BB: Add contained type to _propagation_credentials type hint 2022-09-06 10:10:08 -04:00
Ilija Lazoroski eee6291a3e BB: Set deep copy when copying agent_configuration 2022-09-06 15:49:02 +02:00
Ilija Lazoroski b5bd0532b7 BB: Fix type annotation in noop_test_configuration 2022-09-06 15:41:54 +02:00
Shreya Malviya c985337df0 BB: Fix configuration modification logic in all test configurations since TestConfiguration is a dataclass 2022-09-02 12:05:30 +05:30
Shreya Malviya daec8843af BB: Use positional arguments for PluginConfiguration object creation where missed in depth_1_a.py 2022-09-02 12:05:30 +05:30
Shreya Malviya 6cf62d48cb BB: Use `replace_agent_configuration()` and `replace_propagation_credentials()` for all test configuration modifications 2022-09-02 12:05:30 +05:30
Shreya Malviya 2352bb0d5e BB: Fix configuration modification logic in zerologon.py 2022-09-02 12:05:30 +05:30
Shreya Malviya ad6449507d BB: Fix configuration modification logic in wmi_mimikatz.py 2022-09-02 12:05:30 +05:30
Shreya Malviya a0d0f127f9 BB: Fix configuration modification logic in smb_pth.py 2022-09-02 12:05:30 +05:30
Shreya Malviya e564bd1072 BB: Fix configuration modification logic in powershell_credentials_reuse.py 2022-09-02 12:05:30 +05:30
Shreya Malviya 15fd1f9f72 BB: Fix configuration modification logic in depth_3_a.py 2022-09-02 12:05:30 +05:30
Shreya Malviya 0392cd5794 BB: Fix configuration modification logic in depth_2_a.py 2022-09-02 12:05:30 +05:30
Shreya Malviya a2b8338ac7 BB: Fix configuration modification logic in depth_1_a.py 2022-09-02 12:05:30 +05:30
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 637023c568 BB: Create copy of agent configuration when updating it for different tests 2022-09-02 12:05:30 +05:30
Shreya Malviya 446524b5b8 BB: Use keyword arguments where missing in configuration objects' creation 2022-09-02 12:05:30 +05:30
Shreya Malviya c7ee48fff1 BB: Remove unneeded configuration replacing functions 2022-09-02 12:05:30 +05:30
Shreya Malviya a65415588f BB: Simplify logic in BB tests' configurations 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 ae82578ae0 BB: Rename list_machines -> gcp_machines_to_start 2022-08-10 14:23:16 -04:00
Mike Salvatore ea81226c2a BB: Simplify list_machines() 2022-08-10 14:18:23 -04:00
Ilija Lazoroski 736e779f4c BB: Gather enabled tests and select GCP machines needed for the specific tests 2022-08-10 17:32:39 +02: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
Mike Salvatore dd882df1cc Merge branch '2106-refactor-island-mode' into develop
Resolves #2143
2022-08-01 11:07:42 -04: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 1b562e723f Island: Change `POST` to `PUT` in `api/island/mode` 2022-08-01 14:22:57 +02:00