Commit Graph

9331 Commits

Author SHA1 Message Date
Mike Salvatore 3f20b71d25 UT: Simplify Credentials tests 2022-07-15 10:44:14 -04:00
Mike Salvatore bd0425beb8 UT: Add missing __init__.py to tests/data_for_tests/ 2022-07-15 10:44:14 -04:00
Mike Salvatore febec2ecef UT: Use all caps for constants in propagation_credentials.py 2022-07-15 10:44:14 -04:00
Mike Salvatore 424022d58a UT: Remove unused constants from test_mongo_credentials_repository 2022-07-15 10:44:14 -04:00
Mike Salvatore 7bf80946ba UT: Rename test propagation credentials 2022-07-15 10:44:14 -04:00
Mike Salvatore e9dc8d88e7 UT: Improve code quality of credentials encryption/decryption tests 2022-07-15 10:44:11 -04:00
Mike Salvatore 52f5e70812 Island: Add new locking test for RepositoryEncryptor 2022-07-15 07:52:36 -04:00
Mike Salvatore 3c4883b304
Merge pull request #2082 from guardicore/1965-add-credentials-ui-form
1965 add credentials UI form
2022-07-15 07:47:22 -04:00
vakarisz ec9a654fdf UI: Fix style problems in minor components 2022-07-15 11:20:14 +03:00
vakarisz 77b24ba7a6 UI: Fix a typo in credentials.js 2022-07-15 11:02:26 +03:00
Mike Salvatore 0687b010ff Island: Improve code quality of credentials encryption/decryption 2022-07-14 14:29:06 -04:00
Mike Salvatore add6ca3941 Island: Use new Credentials object in MongoCredentialsRepository 2022-07-14 13:32:16 -04:00
Mike Salvatore 04d72c0d36 UT: Use new Credentials object in test_credential_telem_send() 2022-07-14 13:11:45 -04:00
Mike Salvatore 2b245b34cb Island: Simplify Credentials
Storing a sequence of identities and secrets in Credentials objects
added a lot of complication. From now on, a Credentials object consists
of one identity and one secret. See #2072.
2022-07-14 13:10:24 -04:00
Mike Salvatore 8e332e5285
Merge pull request #2094 from guardicore/2059-gevent-log-timestamp
2059 gevent log timestamp
2022-07-14 12:13:18 -04:00
Mike Salvatore 3909dca4c9 Island: Pass special logger to WSGIServer 2022-07-14 11:19:17 -04:00
Mike Salvatore 52bc877f86 Island: Add PyWSGILoggingFilter 2022-07-14 11:19:16 -04:00
Mike Salvatore bdd432fab6 Island: Reformat docstring for setup_logging() 2022-07-14 11:11:38 -04:00
Mike Salvatore 771b9e05c2 Island: Add type hints to setup_logging() 2022-07-14 11:11:38 -04:00
Mike Salvatore 12643706b1 Island: Treat data_dir like a path in setup_logging() 2022-07-14 11:11:35 -04:00
vakarisz d2c8065163 UI: Adjust safe option validation to new schema 2022-07-14 17:37:57 +03:00
vakarisz 138a065d75 UI: Remove float format from schema
There is no such format and ui throws warnings
2022-07-14 17:20:26 +03:00
vakarisz 1445bcf4ad UI: Reorganize and simplify configuration schema 2022-07-14 17:05:54 +03:00
vakarisz efbc1d3860 UI: Change PropagationConfig.tsx to use more trivial config schema 2022-07-14 16:54:43 +03:00
vakarisz a721508be2 UI: Remove unnecessary console log in ConfigurePage.js 2022-07-14 15:19:27 +03:00
vakarisz c0ecaa0096 UI: Simplify AdvancedMultiSelect.js
AdvancedMultiSelect.js no longer needs to pull data from definitions since we no longer need the definitions in schema
2022-07-14 15:18:21 +03:00
Mike Salvatore d11c8bfdbc Island: Remove disused config_key in technique_reports 2022-07-14 08:03:27 -04:00
Mike Salvatore 792d1f2e4d Island: Remove disused field_encryptors subpackage 2022-07-14 08:00:39 -04:00
Mike Salvatore de0e604518 Island: Remove disused IFieldEncryptor 2022-07-14 07:59:59 -04:00
Mike Salvatore 9639acffa5 Island: Remove disused StringEncryptor 2022-07-14 07:59:13 -04:00
Mike Salvatore 86ce7f2cf9 Island: Remove disused dict_encryptor 2022-07-14 07:59:11 -04:00
Mike Salvatore 80f2dfd590 Island: Ignore unused is_island 2022-07-14 07:55:36 -04:00
Mike Salvatore 5209d6982a Common: Remove disused config_value_paths.py 2022-07-14 07:53:34 -04:00
Mike Salvatore c57672b9ae
Merge pull request #2090 from guardicore/1662-remove-configservice
Remove ConfigService
2022-07-14 07:52:06 -04:00
Mike Salvatore 6b94d5c04a
Merge pull request #2089 from guardicore/1662-remove-configservice-from-utils
Remove `services/configuration/utils.py`, use AgentConfiguration
2022-07-14 07:51:33 -04:00
Mike Salvatore 753970f644
Merge pull request #2088 from guardicore/1662-remove-configservice-from-reportservice
1662 remove configservice from reportservice
2022-07-14 07:51:04 -04:00
Mike Salvatore dc73b11f6f
Merge pull request #2091 from guardicore/create-init-files
Create `__init__.py` files for proper code coverage
2022-07-14 07:36:42 -04:00
Mike Salvatore ea1414d0b5 Island: Remove encryption from report_dal.py
Since passwords were removed from the report in 60a1e791, there's no
need to encrypt any data in the report.
2022-07-14 07:28:53 -04:00
Mike Salvatore 7760520cc8 Island: Remove disused StringListEncryptor 2022-07-14 07:27:47 -04:00
Shreya Malviya 4bd90505c2 Island: Add __init__.py files to all source code directories for proper code coverage results 2022-07-14 16:56:04 +05:30
Shreya Malviya a2677a1a0e Agent: Add __init__.py files to all source code directories for proper code coverage results 2022-07-14 16:55:47 +05:30
Mike Salvatore 60a1e79179 Island: Remove config_passwords from report
Work being done in issue #1965 makes including config_passwords in the
report unnecessary.
2022-07-14 07:24:29 -04:00
Mike Salvatore 521396ff81 Island: Remove config_users from report
Work being done in issue #1965 makes including config_users in the
report unnecessary.
2022-07-14 07:22:24 -04:00
Mike Salvatore ac704471d3
Merge pull request #2087 from guardicore/1662-remove-configservice-from-pba-resource
1662 remove configservice from pba resource
2022-07-14 07:20:39 -04:00
Mike Salvatore d7a2a35c46 Island: Simplify a loop in get_config_exploits() 2022-07-14 07:12:08 -04:00
Mike Salvatore a979a372fc Island: Rename _is_target_os_supported -> _target_os_is_unsupported 2022-07-14 06:55:25 -04:00
Shreya Malviya 360b438f62 Island: Remove ConfigService (cc/services/config.py) 2022-07-14 15:09:08 +05:30
Shreya Malviya 68a7085ede UT: Add placeholder argument to function call in test_process_post_breach_telemetry 2022-07-14 14:49:11 +05:30
Shreya Malviya d6bd84ad66 Common: Remove unused config value path INACCESSIBLE_SUBNETS_PATH 2022-07-14 14:45:23 +05:30
Shreya Malviya 02a06787d0 Island: Remove monkey/monkey_island/cc/services/configuration/ 2022-07-14 14:45:17 +05:30