Commit Graph

9173 Commits

Author SHA1 Message Date
vakarisz cb1360f5af UI: AdvancedMultiSelect.js make option list depend on props 2022-07-01 17:26:11 +03:00
vakarisz 79afb9bc07 UI: Fix master checkbox in AdvancedMultiSelect.js 2022-07-01 16:57:05 +03:00
Mike Salvatore e14101998f
Merge pull request #2054 from guardicore/2036-use-new-reset-endpoints
2036 use new reset endpoints
2022-07-01 09:29:54 -04:00
Mike Salvatore a53fda39ce UI: Throw exception from resetAll() 2022-07-01 09:09:40 -04:00
Mike Salvatore d8a7ac3fb6 UI: Throw error if resetAll() fails 2022-07-01 09:05:42 -04:00
Mike Salvatore 05129c9d6b UI: Add missing semicolons 2022-07-01 08:55:57 -04:00
Ilija Lazoroski e28cb30366 UI: Add custom pbas and pbas to the UiSchema 2022-07-01 14:38:55 +02:00
Ilija Lazoroski b0ca99d1f4 UI: Add another tab for custom PBAs 2022-07-01 14:38:16 +02:00
Ilija Lazoroski 5a367181f9 UI: Add custom PBAs and PBAs to the json schema
Remove data-url from the custom-pbas
Fix small things the the credential collectors
2022-07-01 14:36:58 +02:00
Ilija Lazoroski 67aa7d95a3 UI: Add vulnerability exploiters to the schema 2022-07-01 13:44:48 +02:00
Mike Salvatore 9f0b3e10e1
Merge pull request #2053 from guardicore/2036-reset-endpoints
2036 reset endpoints
2022-07-01 07:32:31 -04:00
Ilija Lazoroski c254a94fc0 UI: Add credential collectors to the json schema 2022-07-01 13:32:05 +02:00
vakarisz 3339a2a957 UI: Change advanced multi select to work with plugins 2022-07-01 13:24:57 +03:00
Ilija Lazoroski 6a7dce50f0 UI: Use AdvancedMultiSelect on the exploiters 2022-06-30 22:46:15 +02:00
Ilija Lazoroski c4f34939ec UI: Add exploiter classes to the json schema 2022-06-30 22:45:41 +02:00
Mike Salvatore 6206196eda UT: Fix formatting of test_island_mode.py 2022-06-30 15:16:18 -04:00
Mike Salvatore ddc3f2012d UI: Use new reset endpoints to reset all data 2022-06-30 14:50:44 -04:00
Mike Salvatore e8f76f39e1 UI: Use new `/api/clear-simulation-data` endpoint 2022-06-30 14:50:25 -04:00
Mike Salvatore 9ece3c100b Changelog: Add changelog entries for new endpoints 2022-06-30 14:48:48 -04:00
Mike Salvatore 8a52ad8951 Island: Add /api/clear-simulation-data 2022-06-30 14:46:24 -04:00
Mike Salvatore 301f2fc89c UI: Use new "unset" island mode 2022-06-30 14:46:22 -04:00
Mike Salvatore 2b60b4ed81 Island: Remove comment in IslandMode resource
The HTTP response status codes seem reasonable.
2022-06-30 14:26:05 -04:00
Mike Salvatore 6fa52d0637 Island: Remove ModeNotSetError 2022-06-30 14:26:03 -04:00
Ilija Lazoroski afbd3789e8 UI: Use the new JSON schema in the Configure page 2022-06-30 19:27:46 +02:00
Ilija Lazoroski 22bb423d0d UI: Add propagation to the UI schema 2022-06-30 19:27:46 +02:00
Ilija Lazoroski 0b18d93869 UI: Change the configuration tabs per the new schema 2022-06-30 19:27:46 +02:00
Ilija Lazoroski f6d0482c2e UI: Initialize a new json schema 2022-06-30 19:27:45 +02:00
Mike Salvatore d4c7b97229 Island: Add UNSET to IslandModeEnum 2022-06-30 13:12:26 -04:00
Mike Salvatore 6d4920e47f Island: Add /api/reset-agent-configuration RPC endpoint 2022-06-30 13:12:25 -04:00
Mike Salvatore 03ec893e97 Island: Separate initialization of RESTful and RPC endpoints 2022-06-30 12:31:26 -04:00
Mike Salvatore bcb97ce35d
Merge pull request #2052 from guardicore/2036-reset-repository
2036 reset repository
2022-06-30 12:20:44 -04:00
Mike Salvatore 41b1c56fd0 UT: Add reset_to_default() to InMemoryAgentConfigurationRepository 2022-06-30 12:18:45 -04:00
Mike Salvatore e293639a22 Island: Add reset_to_default() to FileAgentConfigurationRepository 2022-06-30 12:18:43 -04:00
Mike Salvatore aa7509e49f Island: Add reset_to_default() to IAgentConfigurationRepository 2022-06-30 10:02:01 -04:00
Mike Salvatore ebaa68ad51 Island: Add TODO about cryptography.fernet 2022-06-30 08:45:20 -04:00
Mike Salvatore 3d5d563164 Island: Add TODO about using secrets vs pycryptodome 2022-06-30 08:30:54 -04:00
VakarisZ fe36f863b5
Merge pull request #2050 from guardicore/2002-config-encryption-in-ui
2002 config encryption in UI
2022-06-30 15:03:52 +03:00
vakarisz 9f0169e812 UI: Rename saveConfig to tryImport in ImportConfigModal.tsx
tryImport better reflects what the function is doing
2022-06-30 12:26:57 +03:00
vakarisz f75f1ced68 UI: Simplify config import request handling
Statement if showPassword then showPassword is redundant
2022-06-30 12:11:47 +03:00
vakarisz 565f02a534 UI: Replace " with ' in ImportConfigModal.tsx 2022-06-30 12:10:00 +03:00
vakarisz 53626c3a79 UI: Replace " with ' in ExportConfigModal.tsx 2022-06-30 12:07:01 +03:00
vakarisz 37152c2589 UI: Change configuration import to validate and decrypt on UI 2022-06-30 11:32:03 +03:00
vakarisz 5a531bcb04 UI: Change config export to include metadata about encryption
New format of {metadata: {encrypted: true}, contents: {...}} will simplify the logic of configuration import since we'll know if it's encrypted beforehand
2022-06-30 11:32:03 +03:00
vakarisz 6cef18b92f UI: Change ExportConfigModal.tsx to encrypt config on UI 2022-06-30 11:32:01 +03:00
vakarisz 20c68ff25c UI: Submit config before exporting
Previously config was not getting submitted before exporting. This could cause a misunderstanding where user exports a different configuration to the one he sees on the screen
2022-06-30 11:31:14 +03:00
vakarisz 69ca2d541d UI: Create password based encryptor using crypto-js library
Password based encryptor is required for configuration encryption
2022-06-30 11:31:14 +03:00
Mike Salvatore 8cb9c4463a Island: Add note about #2049 to FileUpload resource 2022-06-28 13:18:58 -04:00
Shreya Malviya c4d5e58486
Merge pull request #2048 from guardicore/2002-remove-backend-encryption
Remove backend encryption
2022-06-28 09:41:51 -07:00
Shreya Malviya 4e6aac2153 UT: Remove unused fixtures and data 2022-06-28 09:28:49 -07:00
Shreya Malviya 49fbb6a128
Merge pull request #2046 from guardicore/2002-remove-config-import-export-endpoints
2002 remove config import export endpoints
2022-06-28 08:38:24 -07:00