Mike Salvatore
cec2962fe3
Island: Remove unused import in ClearSimulationData
2022-07-08 07:52:45 -04:00
vakarisz
fde719ce94
UI: Remove last unused method, improve style
2022-07-08 14:41:24 +03:00
vakarisz
50540da780
UI: Remove renderUnsafeAttackOptionsWarningModal from ConfigurePage
...
Nothing was using this function
2022-07-08 12:16:30 +03:00
vakarisz
bac091f185
UI: Remove renderAttackAlertModal from ConfigurePage.js
...
Nothing was using this function
2022-07-08 12:14:22 +03:00
vakarisz
efe77e2150
UI: Remove userChangedConfig from ConfigurePage.js
...
Nothing was using this function
2022-07-08 12:12:24 +03:00
vakarisz
ef8d52b96f
UI: Fix error in ConfigurePage.js after refresh of the page
2022-07-08 12:04:43 +03:00
vakarisz
5a52ceaa4c
UI: Reset last action on in ConfigurePage.js
...
Last action, like "Configuration was reset successfully" shouldn't linger in the page for long. It should reset upon modifying the configuration or changing the tab
2022-07-08 12:04:43 +03:00
vakarisz
6725b01342
UI: Adjust config page to use new reset endpoint
2022-07-08 12:04:43 +03:00
vakarisz
d1b586d260
UI: Adjust config to interact with new agent-configuration endpoint
...
Submit, export and import were adjusted to match and reformat config.
2022-07-08 12:04:43 +03:00
vakarisz
30f122dfc3
UI: Use updated configuration endpoint in ConfigurePage.js
2022-07-08 12:04:43 +03:00
vakarisz
c8ed409e9e
Island: Change agent_configuration.py POST to parse from json
2022-07-08 12:04:43 +03:00
Mike Salvatore
77143ee765
Island: Use common.credentials.Credentials in resource
2022-07-07 15:35:56 -04:00
Mike Salvatore
938aec9d49
Island: Reorder repository/__init.py
...
Group the interfaces and implementations together to make it easier to
understand what functionality has been implemented so far.
2022-07-07 15:27:38 -04:00
Mike Salvatore
d0cb0d63cc
Island: Export MongoCredentialsRepository from repository package
2022-07-07 15:27:38 -04:00
Mike Salvatore
7bcf49daf9
Island: Modify ICredentialsRepository to save a Sequence of Credentials
2022-07-07 15:27:38 -04:00
Ilija Lazoroski
68fe2edd08
Island: Init MongoCredentialsRepository
2022-07-07 15:27:38 -04:00
Mike Salvatore
4edb4f6971
Common: Add Credentials.to_json_array()
2022-07-07 15:26:17 -04:00
Mike Salvatore
6bd0e7dc3a
Common: Add doctrings for Credential serialization
2022-07-07 15:08:17 -04:00
Mike Salvatore
4d753a808b
Common: Add Credentials.from_json_array()
2022-07-07 14:58:07 -04:00
Mike Salvatore
1ab190cd2a
Merge pull request #2065 from guardicore/1965-modify-clear-simulation-data
...
Modify /api/clear-simulation-data to clear stolen credentials
2022-07-07 12:56:50 -04:00
Mike Salvatore
bd810440af
Island: Remove unnecessary error handling
...
Flask automatically catches exceptions and returns a 500 response, so
there's no need to add extra code to do this.
2022-07-07 12:55:46 -04:00
Mike Salvatore
402a5f5860
Merge pull request #2067 from guardicore/1965-credentials-serialization
...
1965 credentials serialization
2022-07-07 11:31:41 -04:00
Mike Salvatore
5211045194
Common: Reformat docstring for del_key()
2022-07-07 11:30:05 -04:00
Mike Salvatore
d0fa9a7dcf
Common: Use the imperative in del_key() docstring
2022-07-07 11:29:08 -04:00
Mike Salvatore
08bb49af0f
Common: Add ssh-key-regex note to TODO
2022-07-07 11:25:33 -04:00
Shreya Malviya
d16b3e6bef
Island: Update HTTP status code when RemovalError is encountered in ClearSimulationData
2022-07-07 08:22:52 -07:00
Mike Salvatore
e921f90e00
Agent: Use Credentials.to_json() for CredentialsTelem serialization
2022-07-07 09:15:01 -04:00
Mike Salvatore
9ea0fb87ea
Common: Raise InvalidCredentialComponentError from Credentials
2022-07-07 08:52:33 -04:00
Mike Salvatore
06fc4aaad6
Common: Catch MarshmallowError instead of Exception
2022-07-07 08:47:41 -04:00
Mike Salvatore
540519e3c1
Merge pull request #2063 from guardicore/1965-retrieve-credentials
...
1965 retrieve credentials
2022-07-07 08:44:53 -04:00
Mike Salvatore
6bb6aa5250
Common: Remove INVALID_CONFIGURATION_ERROR_MESSAGE
2022-07-07 08:39:46 -04:00
Mike Salvatore
a18eb1cb73
Common: Add error trapping to Credentials deserialization
2022-07-07 08:31:53 -04:00
Mike Salvatore
3f61ddd584
Common: Fix type hints in credentials.py
2022-07-07 07:48:54 -04:00
Mike Salvatore
e76d72e07e
Common: Remove NOOP assignment
2022-07-07 07:45:44 -04:00
Mike Salvatore
907b35990d
Common: Fix COMPINENT -> COMPONENT
2022-07-07 07:45:28 -04:00
Mike Salvatore
008428e318
Common: Fix type hints in credentials.py
2022-07-07 07:43:12 -04:00
Mike Salvatore
59a9aa8a53
Project: Ignore decorated Schema methods in credentials.py
2022-07-07 07:37:15 -04:00
Mike Salvatore
c58d26a5e4
Common: Clean up credentials.py
2022-07-07 07:35:34 -04:00
Ilija Lazoroski
f806f848fa
UT: Return a list in Propagation Credentials
...
* Add TODOs to change to Credentials from common.credentials
2022-07-07 10:48:13 +02:00
Ilija Lazoroski
af1ab34aa3
Island: Return a list in Propagation Credentials endpoint
2022-07-07 10:48:12 +02:00
Ilija Lazoroski
777897cb74
UT: Compare actual propagation credentials vs expected
2022-07-07 10:48:12 +02:00
Ilija Lazoroski
794277797b
UT: Rename PropagationCredentialsRepository to
...
StubPropagationCredentialsRepository
2022-07-07 10:48:12 +02:00
Ilija Lazoroski
a27edfa94b
UT: Add test for GET propagation credentials
2022-07-07 10:48:12 +02:00
Ilija Lazoroski
dda5e37764
Island: Remove unneeded function from ConfigService
...
* get_flat_config
* get_config_propagation_credentials_from_flat_config
2022-07-07 10:47:54 +02:00
Ilija Lazoroski
dc1eb5f12c
Island: Use ICredentialsRepository to retrieve propagation credentials
2022-07-07 10:39:47 +02:00
Ilija Lazoroski
45b2558ddd
Island: Import ICredentialsRepository from __init__
2022-07-07 10:39:47 +02:00
Shreya Malviya
e34bb760e3
Island: Remove stolen credentials when clearing simulation data
2022-07-06 22:14:44 -07:00
Mike Salvatore
e4d38631b8
Common: Serialize/Deserialize Credentials
2022-07-06 20:45:49 -04:00
Mike Salvatore
82ce091063
Common: Export InvalidCredentialComponent from common.credentials
2022-07-06 19:32:18 -04:00
Mike Salvatore
d3859debbe
UT: Use valid NTLM hashes in test_mimikatz_collector.py
2022-07-06 19:28:36 -04:00