New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Move the registry to in-memory cache #6481
Commits on Nov 21, 2023
Commits on Nov 28, 2023
-
feat(core): replace the loggin service and move services to core plugin
- Replace the logging services - Move services to core plugin - CacheAPIUserAllowRunAs - ManageHosts - ServerAPIClient (aka api-interceptor) - ServerAPIHostEntries (aka ) - UpdateConfigurationFile - UpdateRegistry - Adapt the usage of services in the main and check updates plugin from core plugin - Remove plugin logger from main and core plugins - Remove API endpoint - GET /utils/logs/ui - Remove unused code - Adapt the test suites
-
Merge branch 'master' of https://github.com/wazuh/wazuh-kibana-app in…
…to enhancement/6137-adapt-logging-method
-
-
fix(dependency): removed winston dependency of plugins and update the…
… yarn.lock files
-
-
Commits on Dec 1, 2023
-
Merge branch 'master' of https://github.com/wazuh/wazuh-kibana-app in…
…to enhancement/6137-adapt-logging-method
Commits on Dec 4, 2023
Commits on Dec 5, 2023
Commits on Dec 11, 2023
-
feat(logging): remove the App logs application
- Remove GET /utils/logs endpoint - Remove related tests - Remove App logs application
Commits on Dec 22, 2023
-
-
-
feat: add Configuration and ConfigurationStore services for core plugin
- Create Configuration service - Create ConfigurationStore (backend and frontend side) - Register the plugin settings in the configuration services
-
feat: adapt API endpoints related to configuration to use the Configu…
…ration service - API endpoints: - GET /utils/configuration - PUT /utils/configuration - PUT /utils/configuration/files/{key} - DELETE /utils/configuration/files/{key}
-
-
Commits on Jan 9, 2024
Commits on Jan 16, 2024
-
feat(configuration): manage API host entries from the Server APIs
application - Create API endpoints to manage the API host entries - PUT /hosts/apis/{id} - DELETE /hosts/apis/{id} - Replace the Add new button on Server APIs application. Now it opens a flyout with a form to add the new API host - Add edit and delete buttons to the table in Server APIs application - Remove the render of old AddAPI component through AngularJS - Remove deprecated methods of AngularJS controller related to Server APIs application - Extend the definition of routes of main plugin to accept and use the configuration to validate the related endpoints
-
feat(configuration): minor fixes and rename field in the settings def…
…inition - Rename the `persistence` field to `store` in the settings definition to define how to store in the backend side - Add readme files related to Configuration and ConfigurationStore services - Add test for Configuration service - Minor fixes in the Configuration service - Define new methods for the Configuration instance of the frontend for the core plugin
-
-
feat(configuration): renamed persistence to store in the setting defi…
…nition of main plugin
Commits on Jan 17, 2024
-
fix(configuration): remove validation of body to delete API host entr…
…y from configuration
-
feat(configuration): refactor ManageHosts service
- Refactor ManageHosts service: - Integrate the services within the ManageHosts service: - CacheAPIUserAllowRunAs - ServerAPIHostEntries - Renamed: - `serverAPIHostEntries.getHostsEntries` to `.getEntries` - `.getHostById` to `.get` - Adapted the usage of previous separated services - Replaced the logic in the `DELETE /hosts/apis/{id}` by the usage of ManageHosts.delete instead of using the Configuration service - Adapted the export types in the setup and start plugin life cycle methods - Removed ServerAPIHostEntries: the methods were moved to ManageHosts service
-
feat(configuration): remove getConfiguration service
- Remove getConfiguration service from the core and main plugins - Replace partially the usage of getConfiguration service by Configuration - Add configuration dependency to the ReportPrinter and adapt when getting the configuration - Replace the usage on GET /api/logos - Replace some usages on the monitoring and statistics jobs - Enhance the backend Configuration service with a .getCustomizationSetting method (replace the logic of old getCustomizationSetting) - Remove the getCustomizationSetting service
-
feat(configuration): enhance .getEntries method of ManageHost service
- Enhance .getEntries method of ManageHost service - Adapt usage - Enhance IConfiguration type
-
feat(configuration): Close flyout of adding/editing API host entry wh…
…en applying the configuration - Close flyout of adding/editing API host entry when applying the configuration
-
fix(configuration): enhance the WzButtonOpenFlyout and WzButtonPermis…
…sionsOpenFlyout buttons
-
fix(configuration): workaround-to-be-adapted to display the Server AP…
…I tables despite the current API is down
-
fix(configuration): adapt the App Settings applications to the new Co…
…nfiguration service
-
Merge branch 'master' of https://github.com/wazuh/wazuh-kibana-app in…
…to enhancement/6201-replace-plugins-configuration
-
Commits on Jan 18, 2024
-
-
feat(configuration): remove deprecated services
- Remove deprecated services: - getCategorySettingByTitle - getSettingDefaultValue - getSettingsDefault - getSettingsByCategories - getSettingsDefaultList - groupSettingsByCategory - getPluginSettingDescription - services related to the creation of the initial file configuration
-
Commits on Jan 19, 2024
-
fix(configuration): enhance configuration store
- Enhance ConfigurationStore services (frontend and backend side) - Some replacements of the usage of configuration service
-
-
Commits on Jan 22, 2024
Commits on Jan 23, 2024
-
feat(configuration): add Encryptation backend service
- Add Encryptation backend service - Create tests - Add new `wazuh_core.encryptation.password` plugin config to be used by this service - Create instance of this within the ConfigurationStore of the backend side - Enhance the docs
-
feat(security): add new DashboardSecurity service to frontend
- Add new DashboardSecurity service to frontend - Moved the logic of checkCurrentSecurityPlatform service to a method of the new service. Adapt its usage. - Replace the logic in the Server API table to use the new service to manage the button permissions - Create instance in the core plugin and expose to rest of plugins - Move routeDecoratorProtectedAdministratorRoleValidToken to a new routeDecoratorProtectedAdministrator route decorator to protect the routes related to manage the configuration. - Affected endpoints: - PUT /hosts/apis/{id} - DELETE /hosts/apis/{id} - PUT /utils/configuration - PUT /utils/configuration/files/{key} - DELETE /utils/configuration/files/{key} - Adapted related tests - Enhance types of public in core plugin - Add new method isAdministrator to the security factories in the backend side
-
git(configuration): rename Encryptation to Encryption service
- Rename Encryptation to Encryption service - Moved the enhancement of Configuration service of the core plugin in the frontend side
-
-
-
docs(configuration): add a configuration readme file
- Create `user-manual` folder on `docs` of core plugin
Commits on Feb 1, 2024
-
feat(configuratio): move the API is down view
- Move the API is down view - Remove render through AngularJS template - Remove properties defined in controller - Add a new callout to render in Server APIs - Include a button that opens a flyout with a basic troubleshooting
-
Commits on Feb 2, 2024
-
-
feat(configuration): add a task to migrate the configuration file
- Add a task to migrate the configuration file > After the migration, the configuration file is renamed to avoid the future updates
Commits on Feb 5, 2024
-
feat(configuration): rename plugin settings properties
- Rename setting property: isConfigurableFromFile to isConfigurableFromSettings - Remove setting property: isConfigurableFromUI - Remove the settingss definition on the main plugin and some types. Adapt the usage of types from the core plugin.
-
fix(configuration): fix password fields on editing API host entry
- Fix password fields on edition API host entry that displayed an error when this was not modified
-
-
feat(configuration): reafactor the administrator user
- Create API endpoint: GET /utils/account/is-admin - Refactor the DashboardSecurity method to get if the current user is an admin or not
-
feat(configuration): add wazuh_core.security.administrator.roles plug…
…in setting - Add add wazuh_core.security.administrator.roles plugin setting to define the administrator users
Commits on Feb 6, 2024
Commits on Feb 7, 2024
-
feat(configuration): add endpoint to clear the configuration
- Add endpoint to clear the configuration: POST /utils/configuration/clear - Clear the configuration in the migration or script to set the configuration
-
feat(configuration): refactor response of GET /utils/account API endp…
…oint - Rename properties of response of GET /utils/account - is_admin to administrator - message to administrator_message
Commits on Feb 8, 2024
-
feat(configuration): support for multiple instances of configuration
- Support for multiple instances of configuration that gives the ability to deploy multiple instances of Wazuh dashboard with independant configurations
-
feat(configuration): apply the migration process if there is no saved
object stored - Changes in the migrate configguration from file process: - Apply the migration process if there is no saved object stored yet. - Remove the renaming of file
-
fix: remove the requirement of administrator user to remove reports i…
…n the Reports application
-
-
Commits on Feb 9, 2024
-
feat(authorization): replace the authorization for the administrator …
…actions - Change in Redux: - Create userAccount property in the appStateReducers - Create action creator for the userAccount property - Fetch the userAccount data when the application is initiated - Remove previous management of administrator actions - Remove Redux action creator - Remove state property - Remove hooks - Remove HOCs - Remove constants from main and core plugins: - WAZUH_ROLE_ADMINISTRATOR_ID - WAZUH_ROLE_ADMINISTRATOR_NAME - Replace the optional requirement of API roles by plugin administrator in the WzButtonPermissions - Replace the optional requirement of API roles by plugin administrator in the authorization HOCs - Replace the protection of endpoints to use the plugin administrator instead of based in API roles: - POST /elastic/samplealerts/{category} - DELETE /elastic/samplealerts/{category}
Commits on Feb 20, 2024
-
Merge branch '4.9.0' of https://github.com/wazuh/wazuh-kibana-app int…
…o enhancement/6201-replace-plugins-configuration
-
Commits on Feb 21, 2024
-
feat: rename platform setting from wazuh_core.configuration.encryptio…
…n_password to wazuh_core.configuration.encryption_key
-
-
-
feat(configuration): consider administrator used based on rest API ac…
…cess - Replace the logic to consider the administrator user based on the rest API access - Removed plugin setting: wazuh_core.security.administrator.roles - Removed the required configuration of the DashboardSecurity service that is not necessary anymore
Commits on Feb 22, 2024
Commits on Feb 23, 2024
-
feat(configuration): add cache to ConfigurationStore backend service
- Create CacheTTL class - Add cache to ConfigurationStoreBackend
-
-
- Fix infinte loop of requests when there are not configured API hosts entries - Fix update of API hosts entries when changin the index pattern
Commits on Feb 26, 2024
-
-
-
-
-
-
Merge branch '4.9.0' of https://github.com/wazuh/wazuh-kibana-app int…
…o enhancement/6201-replace-plugins-configuration
-
-
-
Commits on Feb 27, 2024
Commits on Feb 29, 2024
-
-
-
-
feat(manage-hosts): enhance the management of API connections
- Create API endpoint to create API connections: - POST /hosts/apis/{id} - Adapt the API request done by the form of API connection - Adapt setup-configuration script to use the new API endpoint - Add method to create API connection to the ManageHosts service
Commits on Mar 1, 2024
-
-
-
-
-
feat(configuration): replace the management of setup the plugins conf…
…iguration - Create new API endpoint to import a configuration file - POST /utils/configuration/import - Create method to enhance the configuration of the backend side to manage the importation - Remove duplicated code to check if updating some settings requires to do some actions to apply
Commits on Mar 4, 2024
-
-
Merge branch '4.9.0' of https://github.com/wazuh/wazuh-kibana-app int…
…o enhancement/6201-replace-plugins-configuration
-
fix(configuration): fix display warnings on settings that requires to…
… run the health check
-
feat(configuration): renamed the type of configuration saved objecto …
…to wazuh-dashboard-plugins-config
-
-
-
-
-
-
-
-
Commits on Mar 5, 2024
Commits on Mar 6, 2024
-
remove: remove API endpoint PUT /hosts/update-hostname/{id}
- Remove API endpoint (route and controller) - Remove API request of frontend side
-
feat(core): move the registry management to in memory cache in Manage…
…Hosts service - Move the registry management to in memory cache managed by ManageHosts service. - Initialize the registry data on start - Update the registry on adding, editing or deleting an API host - Remove the cacheAPIUserAllowRunAs of the ManageHosts service to use the registry data - Remove the cacheAPIUserAllowRunAs property of Manage hosts - Move the logic to check if the run_as is enabled to the ManageHosts instead of cacheAPIUserAllowRunAs - Remove the UpdateRegistry service - Update the backend types of the core plugin
-
-
Merge branch '4.9.0' of https://github.com/wazuh/wazuh-kibana-app int…
…o enhancement/6387-registry-stateless
-
Commits on Mar 12, 2024
-
Merge branch '4.9.0' of https://github.com/wazuh/wazuh-kibana-app int…
…o enhancement/6387-registry-stateless
-
-
-
Commits on Mar 18, 2024
Commits on Mar 20, 2024
-
-
Merge branch 'enhancement/6387-registry-stateless' of https://github.…
…com/wazuh/wazuh-kibana-app into enhancement/6387-registry-stateless
-
Commits on Mar 21, 2024
Commits on Mar 22, 2024
Commits on Apr 3, 2024
-
Merge branch '4.9.0' of https://github.com/wazuh/wazuh-kibana-app int…
…o enhancement/6387-registry-stateless