-
Notifications
You must be signed in to change notification settings - Fork 186
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
Merge 4.8.0 into master #6119
Merged
Merged
Merge 4.8.0 into master #6119
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* add enconding to user name for api * Update changelog * Update changelog
* Add ssl_agent_ca entry * Add changelog
Update revision to 02
…5896) * Added plugins dependencies * Add new inventories tabs scaffolding * Refactor arquitecture * Add searchbar folder * Add useDashboardConfiguration hook for configuring vulnerability dashboards (#5947) * Add useDashboardConfiguration and unit test hook * Changed how the initial hook configuration is set * [Vulnerabilities dashboards] Add search bar services (#5960) * Add search bar hooks * Rename searchbar hook * Add unit test to use search bar configuration hook * Fix some unit test titles * Remove console.log * Solve requested changes * Fix request changes and hook filename * [Vulnerabilities dashboards] Fix wrong agent.id filters loaded in search bar by default (#5970) Remove agent id filter in searchbar * Change new vulnerabilities inventory table (#6047) * Add data grid hook * Add doc viewer component and hook * Add ui utils components * Add new vuls inventory component * Add vuls inventory in module rendering * Add full height container * Add inventory table columns * Remove columns fields filter by keyword type * Feat/5894 vulnerabilities dashboard create the dashboard tab using osd plugins (#5966) * Add useDashboardConfiguration and unit test hook * Changed how the initial hook configuration is set * Create dashboard using embedded visualizations by value. * [Vulnerabilities dashboards] Add search bar services (#5960) * Add search bar hooks * Rename searchbar hook * Add unit test to use search bar configuration hook * Fix some unit test titles * Remove console.log * Solve requested changes * Fix request changes and hook filename * [Vulnerabilities dashboards] Fix wrong agent.id filters loaded in search bar by default (#5970) Remove agent id filter in searchbar * Recommended filters are added and communication problems between the dashboard and the searchbar are solved * Update Vulnerability detector dashboard filters visualization and VULNERABILITIES_INDEX_PATTERN_ID constant * Change KPI dashboard and fix bad request * Separates filter panels from dashboard panels * Add Accumulation of the most detected vulnerabilities visualization and change --------- Co-authored-by: Maximiliano Ibarra <[email protected]> * Fix default filters on usesearchbar configuration * [Vulnerabilities dashboards] Fix vulnerability dashboard filters (#6065) Fix vulnerability dashboard filters * Remove date picker from searchbar on vuls inventory tab * Remove date picker from searchbar and open vs close visualization on vuls dashboard tab * Change Accumulation of the most detected vulnerabilities chart * Add data grid csv export * Add error management and export csv calls pagination * Remove unused hook * Update CHANGELOG * Fix CHANGELOG * Remove explore agent in header --------- Co-authored-by: Julio César Biset <[email protected]> Co-authored-by: jbiset <[email protected]>
* Create plugin wazuh check updates (#5897) * Add wazuh_check_updates plugin Signed-off-by: Luciano Gorza <[email protected]> * Manage saved object for plugin configurations Signed-off-by: Luciano Gorza <[email protected]> * New componente UpToDateStatus and improvements Signed-off-by: Luciano Gorza <[email protected]> * Current update component and improvements Signed-off-by: Luciano Gorza <[email protected]> * CurrentUpdateDetails improvements and others Signed-off-by: Luciano Gorza <[email protected]> * Improvements with unit tests Signed-off-by: Luciano Gorza <[email protected]> * Complete public unit tests Signed-off-by: Luciano Gorza <[email protected]> * Unit test updatesNotification component Signed-off-by: Luciano Gorza <[email protected]> * Backend unit tests Signed-off-by: Luciano Gorza <[email protected]> * Add current update details to currentUpdateDetails component Signed-off-by: Luciano Gorza <[email protected]> * Add translation to show details message Signed-off-by: Luciano Gorza <[email protected]> * Add DismissNotificationCheck component Signed-off-by: Luciano Gorza <[email protected]> * Modify styles Signed-off-by: Luciano Gorza <[email protected]> * Expose new component Signed-off-by: Luciano Gorza <[email protected]> * Update DismissNotificationCheck component Signed-off-by: Luciano Gorza <[email protected]> * Add getCurrentUser implementation Signed-off-by: Luciano Gorza <[email protected]> * Fix plugin start types Signed-off-by: Luciano Gorza <[email protected]> * Fix checks ids Signed-off-by: Luciano Gorza <[email protected]> * Delete console.log in component Signed-off-by: Luciano Gorza <[email protected]> * Fixes in PR Signed-off-by: Luciano Gorza <[email protected]> * Modify README Signed-off-by: Luciano Gorza <[email protected]> * Delete unused files Signed-off-by: Luciano Gorza <[email protected]> * Delete commented code Signed-off-by: Luciano Gorza <[email protected]> * Removing unnecessary packages Signed-off-by: Luciano Gorza <[email protected]> * Clear available updates value on error Signed-off-by: Luciano Gorza <[email protected]> * Change constant name Signed-off-by: Luciano Gorza <[email protected]> * Change message on new update Signed-off-by: Luciano Gorza <[email protected]> * Change camelCase to kebab-case Signed-off-by: Luciano Gorza <[email protected]> * Change plugin name using kebab-case Signed-off-by: Luciano Gorza <[email protected]> * Add useEffect to component UpToDateStatus Signed-off-by: Luciano Gorza <[email protected]> * Improve return errors in routes Signed-off-by: Luciano Gorza <[email protected]> * Show update description in lines Signed-off-by: Luciano Gorza <[email protected]> * Add Logger Signed-off-by: Luciano Gorza <[email protected]> * Improve constant name Signed-off-by: Luciano Gorza <[email protected]> * Improve check texts and links icons Signed-off-by: Luciano Gorza <[email protected]> * Fix if statements Signed-off-by: Luciano Gorza <[email protected]> * Change folder name in dev.yml using kebab-case Signed-off-by: Luciano Gorza <[email protected]> * Update test snapshots Signed-off-by: Luciano Gorza <[email protected]> * Add I18nProvider wrapper to components Signed-off-by: Luciano Gorza <[email protected]> * Unit test for routes and kebab case fixes Signed-off-by: Luciano Gorza <[email protected]> * Add toast when on get updates error Signed-off-by: Luciano Gorza <[email protected]> * Omit username property on GET user preferences Signed-off-by: Luciano Gorza <[email protected]> * Improve try catch finally Signed-off-by: Luciano Gorza <[email protected]> * Add mock html_id_generator to component unit tests Signed-off-by: Luciano Gorza <[email protected]> * Fix unit test get-user-preferences Signed-off-by: Luciano Gorza <[email protected]> * Fix route unit tests port by adding a random port Signed-off-by: Luciano Gorza <[email protected]> * Improved user preferences saved object Signed-off-by: Luciano Gorza <[email protected]> * Fix toast message Signed-off-by: Luciano Gorza <[email protected]> * Change port in route unit tests Signed-off-by: Luciano Gorza <[email protected]> --------- Signed-off-by: Luciano Gorza <[email protected]> * Enhancement/88 integrate plugin and update about page (#5939) * Integrate plugin wazuh-check-updates * Replace the Angular template for a React component * Add wazuh-check-updates plugin to the manifest main plugin * Add CurrentUpdateDetails component * Improve About page and unit tests * Add information to Change Log * Make the About page accessible to any user * Notify user when a new update is available (#5959) * New React component WzUpdatesNotification * Add unit test * Get and show available updates for each api (#5984) * Add APIs table version status * Add available updates columns * Add changes to show one mayor, one minor and one patch update per API * Improve messages * Improve notification * Change camelCase for snake_case in API response * Fix server unit tests * Fix frontend unit tests * Fix main plugin about page unit tests * Apis table components unit tests * Update CHANGELOG.md * Update unit test snapshot * Update CHANGELOG * Fix get updates status * Fix release notes url with current * Improve toast id on Apis table * ApisUpdateStatus: Show error callout only the first time * Create new plugin wazuh core (#5985) * Add wazuh-core plugin * Add API Wazuh Core services * Wazuh Core Plugin API service POC * Remove files not used * Integrate Wazuh Core plugin with Wazuh Check Updates plugin * Delete imposter endpoint * Add field 'update_check' to saved object mapping * Delete comment * Delete getUpdates at cron job start --------- Co-authored-by: Luciano Gorza <[email protected]> * Check for updates when user logs in (#6001) * Delete cron job * Delete settings managment * Remove 'Wazuh' word from UI * Remove unnecesary constants * Expose and consume security from Wazuh Core * Fix unit test types * Delete 'Wazuh' from title * Set sessionStorage with checkUpdates * Fix snapshot unit test * Improve default messages and colors in update status column * Move constant definition to inside the component * Add check updates columns to APIs table and other fixes (#6058) * Add check updates columns to APIs table and other fixes * Update notification link to the API configuration page * Fix link to API configuration page * Update plataform version in package.json for all plugins * Update test snapshots --------- Co-authored-by: Federico Rodriguez <[email protected]> * Update WZ_HOME in README file * Change href for onClick in bottom bar link * Handle check updates endpoint error * Make about page the same as angular template * Update about page unit tests * Delete unused componets from Wazuh Check Updates plugin * Replace availableUpdates hook with getAvailableUpdates function * Add unit tests for new components * Fix typo * Fix unit test html id generator * Show error message in Updates status column * Improve README file * Improve table and columns layout * Improve README file * Fix Update status column * Fix unit test --------- Signed-off-by: Luciano Gorza <[email protected]> Co-authored-by: Federico Rodriguez <[email protected]>
* feat(menu): create applications for each menu item * fix(share-data-applications): save selected agent data into sessionStorage * fix(menu): redirection other tabs in RBAC application * fix(menu): redirection to the application itself * fix(menu): rename MITRE ATT&CK appplication * feat(menu): add GDPR application * feat(menu): Add modules and Miscellaneous applications * feat(menu): remove navigation by tabs in Settings * feat(menu): remove navigation by tabs in Tools * feat(menu): add Overview app * fix(menu): change application name to Security configuration assessment * fix(menu): change app name to Docker listener * feat(menu): add services to app redirection * feat(menu): use i18n to define the app and categories name * fix(menu): removed wz- prefix from the applications and renamed status to server-status due to application ID conflicts * 5814 adapt the breadcrum to the new menu (#5817) * Change Agents for Endpoints summary * Remove unnecessary styles * Remove deprecated code * Remove deprecated code * Revert changes in wz-menu.js * Remove deprecated code * Change some breadcrumbs * Remove wazuh menu * Change Management breadcrumbs * Change setGlobalBreadcrumbs for withGlobalBreadcrumbs hoc * Fix test * Change href to agent * Fix redirection breadcrumbs: inventory data, stats and configuration * Add Miscellaneous to tab into Configuration App (#5830) * Add Tab into Configuration App to show Miscellaneous as a tab * Change compareCurrentAppID: wz-configuration to configuration --------- Co-authored-by: Ian Yenien Serrano <[email protected]> Co-authored-by: yenienserrano <[email protected]> Co-authored-by: Antonio David Gutiérrez <[email protected]> * Adapt the new global menu redirections (#5827) * Fix endpoint summary and server managment redirections * fix: adapt the redirections to applications - Endpoints summary - IT Hygiene - Groups * fix(health-check): fix redirection to health check the removed the tab query parameter from URL and then the previous URL could not be rebuilt * fix(redirections): redirection from Overview app to Endpoints summary * fix(redirections): removed wz- prefix from the redirections to applications * fix: renamed apps redirection URLs * fix: app redirections URLs * fix: test * fix: tests --------- Co-authored-by: Antonio David Gutiérrez <[email protected]> * Modify Overview application to display the new menu (#5852) * Fix endpoint summary and server managment redirections * fix: adapt the redirections to applications - Endpoints summary - IT Hygiene - Groups * fix(health-check): fix redirection to health check the removed the tab query parameter from URL and then the previous URL could not be rebuilt * fix(redirections): redirection from Overview app to Endpoints summary * fix(redirections): removed wz- prefix from the redirections to applications * Change overview page, linked to the new menu estructure * fix: move definitions of applications in the home application * fix: application descriptions --------- Co-authored-by: Antonio David Gutiérrez <[email protected]> * Remove logo side bar and update logo app description (#5882) Co-authored-by: Antonio David Gutiérrez <[email protected]> * fix: customization.logo.app setting description * Merge master into feat/83-move-menu-items-to-applications * fix: remove comment on test file * fix: remove comment on test file * Fix redirection (#5926) Fix redirection agents table * Fix redirection to groups and statistics (#5972) * Fix groups redirection * Fix statistics redirection * Fix/5964 fix the breadcrumb of applications (#5968) * Remove wazuh in breadcrumb * Change breadcrumb OSD * Add comment * Center the agent's name in the breadcrumb * Update sidebar menu and overview app (#5928) * Update sidebar menu and overview app * fix redirections * Agent message fixed * Server management order change to 6 * i18n added to applications * fixed some redirections --------- Co-authored-by: Antonio <[email protected]> Co-authored-by: Ian Yenien Serrano <[email protected]> * Adapt the navigation between applications (#5983) * feat: adapt navigation between the applications * Change redirection * fix(test): mock service --------- Co-authored-by: yenienserrano <[email protected]> * Remove categories from overview (#5991) * Remove categories from overview * Fix snapshot --------- Co-authored-by: Antonio <[email protected]> * fix: app category name and id * Add order to applications (#6015) * feat(applications): add order definition to applications * feat(applications): register order to the applications * Remove reloading when changing app (#5986) * change app/discover for app/wz-discover * Remove reload and add sync history * Change defaultRout in opensearch_dashboards.yml osd-dev * feat: adapt navigation between the applications --------- Co-authored-by: Antonio David Gutiérrez <[email protected]> Co-authored-by: Antonio <[email protected]> * Rename applications on agent menu (#5997) * feat: rename applications on agent menu Refactor agent menu to use the applications and categories Simplify the data saved in the local storage to keep the pinned applications * Recover the redirectTo in settings and wazuh settings * Fix pin icon in menu agent * Fix agent navbar --------- Co-authored-by: yenienserrano <[email protected]> * Remove `extensions.*` and `disabled_roles` settings (#5988) * remove modules * registry.json extension remove * remove getExtension from menu-agent and wz-menu * Delete extensions logic * Fix wazuh version test * remove disabled_roles extructure * remove disabled_roles endpoint * Add a migration to remove the extensions key in the host and add test for it * mange-host and update-registry fixed * fix: render tabs in Wazuh plugin settings application and minor enhancements * feat: remove unused states in Redux store and minor fixes on breadcrumbs - Remove managementReducers key from Redux store and related action creators and related usage - Remove toolsReducers key from Redux store and related action creators and related usage - Remove securityReducers key from Redux store and related action creators and related usage - Fix some breadcrumbs * fix: revert content of osquery.js files * fix: revert configuration in .settings.json * fix(test): fix test --------- Co-authored-by: Antonio David Gutiérrez <[email protected]> * Add an agent selector to IT Hygiene application (#6005) * feat: add agent selector to IT Hygiene application - Wrapped the IT Hygiene application with a required selection of agent - Added a Explore agent button to the IT Hygiene application - The Explore agent button of alert modules now display the global agent selector instead of the local one. - Removed the local agent selector modal of Explore agent button on alert modules - Removed the related action creator and reducer case for SHOW_EXPLORE_AGENT_MODAL * feat: add reactivity to agent welcome view when changing the selected agent - Refactor MITRE ATT&CK panel - Rename MITRE to MITRE ATT&CK in the panel - Rename mitre_top to mitre-top according to the file naming convention - Add reactivity to the FIM: Recent events table when changing the selected agent * feat(it-hygiene): fix problems when selecting and agent and navigate - Move prompt agent never connected to prompts directory - Remove duplicated and related components on agent welcome, inventory data and agent configuration - Change button on prompt agent never connected to Select agent - Change Explore agent button on agent welcome * fix: imports on prompt and add clarification on agent welcome * fix(it-hygiene): change mitre attack referecence * Fix navbar agent styles * Fix refresh page: inventory data and stats --------- Co-authored-by: yenienserrano <[email protected]> * fix: breadcrumb of Endpoint groups application * Fix change APIs (#6056) * Fix change apis * Change management label in menu * Fix Switchtab exception in dashboards (#6019) * Define the component properties in the controller constructor * Delete redundant fetch in Events refresh button * Prevent duplicate request on Events initial requests * Revert "Prevent duplicate request on Events initial requests" This reverts commit db721a1. * Remove dulplicate request on changeTabView * Fix explore agent button * Fix imposter with explore agent button * Change names of the applications in the menu * Change breadcrumbs * Change Wazuh API configuration to API Configuration * Change the style of Home icons * Change applications order * Change comment categories ID * Change id to new names in applications * Change redirections without refresh page * Fix test * changelog: add entries --------- Co-authored-by: Ian Yenien Serrano <[email protected]> Co-authored-by: JuanGarriuz <[email protected]> Co-authored-by: yenienserrano <[email protected]> Co-authored-by: Federico Rodriguez <[email protected]>
* Create the security event dashboard (#5892) * Create the security event dashboard * update changelog * Create the malware detection dashboard (#5899) * Create the security event dashboard * Changelog * Create log data analysis dashboard (#5910) * create log data analysis * Update changelog * Update changelog * Update integrity monitoring dashboard (#5929) * update integrity monitoring dashboard * update changelog * Create incident response dashboard (#5934) * create incident response dashboard * Update changelog * Update changelog * Update changelog * Update cloud security dashboard (#5943) * Update cloud security dashboard * Update cloud security dashboard * Update regulatory compliance dashboard (#5942) * update regulatory-compliance * Update changelog * Update containers security dashboard (#5944) * Update containers security dashboard * Update containers security dashboard * Update dashboard security events * Implement the security event dashboard * Implement the fim, pci dashboards * Implement the aws dashboards * Implement the docker dashboard * policy monitoring update * Update security configuration assessment dashboard (#5999) * add a new tab called dashboard in the sca module * New tab called dashboard, logic and error message when you have not selected an agent and when an agent was never logged in. * New inventory view in sca * Case of redirection to sca from agents welcome page * new sca tab with all the casuisticas, mobile styles, redirection from agents, adaptation in wz-visualize for section of sca * delete comment * clean code * fix error this.state.lookingPolicy.name * fix bug in sca dashboard * fix unpinned agent * fix sca dashboard * fix sca dashboard * update changelog and code clean * Refactoring of the security configuration assessment (#6061) * add a new tab called dashboard in the sca module * New tab called dashboard, logic and error message when you have not selected an agent and when an agent was never logged in. * New inventory view in sca * Case of redirection to sca from agents welcome page * new sca tab with all the casuisticas, mobile styles, redirection from agents, adaptation in wz-visualize for section of sca * delete comment * clean code * fix error this.state.lookingPolicy.name * fix bug in sca dashboard * fix unpinned agent * fix sca dashboard * fix sca dashboard * refactor sca section * changelog * clean code * update href * update changelog * Change the display order of tabs in all modules (#6067) * Change the display order of tabs in all modules * Change the display order of tabs in all modules * update changelog * change security events * Remove new dashboards of integrity monitoring security events and amazon aws (#6073) * Remove new dashboards of integrity monitoring, security events and Amazon AWS * clean code * Add graph to docker dashboard (#6075) * Add graph to docker dashboard * clean code * Update top 5 policy monitoring * Update top 5 pci dss * Remove new dashboard of PCI DSS (#6080) --------- Co-authored-by: Federico Rodriguez <[email protected]>
* Deprecate useQuery hook in favor of useQueryManager hook * Add changelog entry
* Change breadcrumbs to plataform breadcrumbs * Remove empty breadcrumb * Fix breadcrumb in Dev Tools and Ruleset Test * Remove files unused * Fix typo * Remove breadcrumb unnecessary * Change old names in sample data
* Fix agent name validation * Update changelog * Remove unnecessary validation * update tests * Remove trailing space if characters are valid * Avoid duplicate call to function
…nt (#6104) * Fix UI crash on retrieving Log Collection Configuration for macOS Agent * Add fix to CHANGELOG.md --------- Co-authored-by: Federico Rodriguez <[email protected]>
* Add callout warning exceed 10000 results * Add throw error when have body * Add limit to data grid * Update CHANGELOG * Fixed error when index is not loaded * Fixed export csv * Add sugested change export csv
* Handle wazuh api error on check udpdates * Fix types * Add scss to updates notification * Add error type as any --------- Co-authored-by: Ian Yenien Serrano <[email protected]> Co-authored-by: Maximiliano Ibarra <[email protected]>
fix(core): tests
fix: support manual build workflow of GitHub Actions for current plugins
* feat(tools): adapt and enhance the releasing tools - Create tag and bump script to manage the repository - Adapt and enhance the RELEASING.md file - Remove unused releasing tools in plugins/main plugin - Support for bumping multi plugins - Support for running a specific bump task for each plugin * feat(tools): remove early return and add warning message when there are changes to the tag script * feat(tools): removed release package scripts from main plugin and fix bump script * feat(tools): fix description of tag tool * fix: fix problems in RELEASING.md and minor fixes related to releasing scripts * fix: RELEASING.md and remove warning in releasing bump script * fix: add missing flag to tag command in the RELEASING.md * fix: flag in RELEASING.md file * feat: sign commit and tag in the release tag script * feat: enhance release tools - Added dependant options to scripts - Fix description in manifest-changelog option - Enhance some messages * fix: typo in release tools * feat: add warning message related to the tag script in the RELEASING.md doc file
Update files with new revision
* fix: update axios dependency * fix: tests of Wazuh Check Updates plugin using supertest instead of axios * changelog: add entry
Merge 4.7.0 into 4.7.1
Merge 4.7.1 into 4.8.0
…o merge-4.8.0-into-master
7 tasks
|
|
7 tasks
|
asteriscos
approved these changes
Nov 14, 2023
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Merge 4.8.0 into master