Skip to content
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

Support alerts index pattern with different ID and title #2979

Merged
merged 4 commits into from
Feb 19, 2021

Conversation

Desvelao
Copy link
Member

@Desvelao Desvelao commented Feb 16, 2021

Hi team, this PR resolves:

  • Support alerts index pattern with different ID and title.

Applicable to index pattern created manually without an ID.

Fixes

  • Fix Security events table (Discover component) is not working.
  • Fix agents evolution visualization in Agents. Modified the pattern variable of AgentsPreview AngujarJS controller.
  • GenericRequest service to send the index pattern title in the headers.pattern.
  • Fix Management > Cluster visualizations. Send body with pattern ID and title
  • Fix Management > Statistics visualizations. Send body with pattern ID and title
  • Adapt /elastic/visualization/{tab}/{indexPattern} endpoint to adapt to the new received body

Note: this PR doesn't fix if the monitoring and statistics index pattern have different ID and title

How to test

  • Create an alerts index pattern manually in Stack management > Index patterns. Put a title and the time field without the ID o set a different ID from the pattern title.

Expected

It should work with the alerts index pattern created by the app and manually created with different ID and title.

Closes: #2958

  - Security events table (Discover component)
  - Agents preview AngujarJS controller (pattern variable)
  - GenericRequest service (pattern header)
…ferent ID

  - Fix GenericReqeust the headers.pattern
  - Fix Management > Cluster visualizations. Send body with pattern ID and title
  - Fix Management > Statistics visualizations. Send body with pattern ID and title
  - Adapt `/elastic/visualization/{tab}/{indexPattern}` endpoint to adapt to the new received body
@Desvelao Desvelao added type/bug Bug issue type/enhancement Enhancement issue labels Feb 16, 2021
@Desvelao Desvelao added this to the Sprint 124 - WUI milestone Feb 16, 2021
@Desvelao Desvelao self-assigned this Feb 16, 2021
@Desvelao Desvelao linked an issue Feb 16, 2021 that may be closed by this pull request
@pablomarga pablomarga self-requested a review February 16, 2021 20:05
Copy link
Contributor

@pablomarga pablomarga left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Everything seems ok. Great job! LGTM!

@asteriscos asteriscos self-requested a review February 18, 2021 20:04
Copy link
Member

@asteriscos asteriscos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested it with the "How to test" instructions and LGTM!

@Desvelao Desvelao merged commit 600a9d1 into 4.1-7.10 Feb 19, 2021
@Desvelao Desvelao deleted the fix/2958-problems-index-pattern-different-id branch February 19, 2021 09:46
frankeros pushed a commit that referenced this pull request Feb 22, 2021
* fix(frontend): Some errors with index pattern with custom id

  - Security events table (Discover component)
  - Agents preview AngujarJS controller (pattern variable)
  - GenericRequest service (pattern header)

* fix(frontend): Fixed more problems with alerts index pattern with different ID

  - Fix GenericReqeust the headers.pattern
  - Fix Management > Cluster visualizations. Send body with pattern ID and title
  - Fix Management > Statistics visualizations. Send body with pattern ID and title
  - Adapt `/elastic/visualization/{tab}/{indexPattern}` endpoint to adapt to the new received body

* fix(changelog): Added PR to changelog
frankeros added a commit that referenced this pull request Mar 1, 2021
* Erase checkNeedSystemOrSysV

* fix(frontend): Removed space in Time cell of Security Alerts table of Modules/Security Events

* Removed unnecesary variables and used constants

* Fixed errors

* fix(frontend): Capture the ENOET no file or directory error due to the missing `data` directory for `/hosts/apis` endpoint

* fix(frontend): Fix imports of index types constants in saved-objects.js

* Updated version in kibana.json

* Updated version in kibana.json

* fix(frontend): Fix pagination in SCA checks table

* fix(frontend): Add agent id to the reports name in Inventoy and Modules

* Changed ping request to default request. Added delay and while to checkApi until the server responds.

* Fixed SearchBar component form instanced plugin

* fix(frontend): Fix search in groups:
  - Add loading status
  - Add toast when getting the groups fails

* fix(frontend): Fix not updating agents info in Management Status after change the cluster node selected

* Fixed unsupported vulnerabilities component for Solaris

* fix(frontend): Fix the metrics are not updated after a bad request with bad query

* Fixed accordion style breaking

* Fix Search filters - fix regex input reading

* Fixed permissions to access angents view with a perticular agent. Added uTest.

* Fix Search Configuration file editor

* Fix Search in all EUI Code Editors

* [4.0-7.10] Removed kibana alert for security (#2806)

* Removed kibana alert for security

* Added validation for security_oss

* Rename plugin dependency to securityOss

* Added securityOss as required plugin

* Fixed error when trying to navigate from discovery to wazuh app.

* Refactorized apply flyout styles

* Fixed bug with agent filter when it is pinned

* Changed agentList to FormattedData

* Fixed tooltip in the icon of "view decoder file"

* Fixed bug in the table on Agents->Table-> Actions->Config icon

* fix(frontend): Fix SCA table with wrong behaviour using the refresh button
  - Removed the filters in the request. The filters are applied in the results of the request.
  - Replaced filter in search bar for not Not applicable result from
empty string to 'not applicable'

* Fix body-payload of Sample Alerts POST endpoint

* fix(backend): Fix the creation of Statistics indices with the shards and replicas setings

* fix(backend): Removed the server/lib/cron-sheduler directory and init.js file due to not being in use

* fix: Changed the Wazuh API default user to `wazuh-wui`

* Fixed bug in sca and regulatory compliance tables and in wz menu on firefox

* Added cron statistics config as need restart

* Added hoc withUserAuthorizationPrompt to SCA view.

* Fixed calls to requestAsInternalUser

* Changed const name to avoid confusion.

* Removed filter prop on handler refresh

* Refactor handler refresh

* Fixed css of layouts because of conflicts with kibana flyouts

* fix(frontend): remove class wzApp from EuiFlyout of Discover

* Revert refactor handle refresh, added panels as default tabview

* Removed console.log

* Added Wazuh category and set default index pattern

* Changed method and request to check status of cluster/manager after restart.

* Updated changelog and readme for revision 4017

* Updated copyrights

* Fixed bug in inventory of Windows Registry

* Added csv-key-equivalence.ts

* Addel warning toast when creating new role mapping

* Fixed errors

* Comments removed

* Message improved

* Removed unnecesary async

* Added isCluster on makePing to validate if cluster or not.

* Updated changelog with last commits

* Added step for data directory in Readme

* Fixed errors

* Set secure cookies in SSL/TLS sessions

* Increase the default max buckets

* fix(frontend): Fix the decoder details for keys as objects

* Unchecked the agents when you click outside

* Added on FIM Inventory Windows Registry registry_key and registry_value items from syscheck

* Updated changelog

* Fixed wrong cookie value validation

* New method to reuse it

* fix(frontend): Fix show decoder key as object in decoder detail

* Fixed access to forbidden agents

* Changes fix

* Merge pull request #2879 from wazuh/bugfix/filter-event-rules

Bugfix filter event rules

* Fixed default value for content of empty files.

* fix(changelog): Added issue about decoder detail view to changelog

* Updated CHANGELOG

* Fix hover text Discard, Save and Export in CDB Lists actions

* Updated CHANGELOG

* fix(frontend): Fix complex searches in WzSearchBar for query filter

* fix(changelog): Fix the complex search using the Wazuh API query filter in search bars

* checking for empty rule file

* Added validation to check userPermissions are not ready yet

* Changed initial state of userPermissions.

* Updated CHANGELOG

* Fix clear visualizations list when changing tabs

* Requested changes

* Fixed bug in the filters of flyouts

* Fixed strange box shadow when click in Export panel

* Updated changelog

* Show callout only in role mapping section

* Fixed wrong command on alert when data folder does not exist

* Disable field os_name sortable property

* Update changelog

* Updated changelog

* Fixed return format.

* Fixed diff parsed datetime between agent detail and agents table

* Update changelog

* fix(frontend): Fix allow enter to Agents section with agent:group permission

* fix(changelog): Allow access to Agents section with agent:group action permission

* Changed agent OS field name to os.name,os.version to allow sorting by OS

* Fix wrong package name in deploy new agent

* updated changelog

* Added style to display number onMouseMove event.

* Upload CHANGELOG

* checking for empty file / check  new file

* Added fix to changelog

* Added fix to changelog

* Fixed shared filter manager and unpdated changelog

* Updated changelog

* Added to initial config and CHANGELOG updated

* Fixed errors

* Fixed z-index of tooltip.

* PR comments checked!

* PR comments checked!

* PR comments checked!

* Restore file to init state. Don't change current editor content.

* Refactored toast message on error

* Updated changelog

* Fixed query filter of TSC.

* Updated changelog

* Fixed unchecked options when change left to right selects.

* Added changelog in package

* Refactored registry values for FIM

* deleted bucket property from json structure of tagclouds

* Fixed table props

* Removed old js files

* Fixed validation for registry_key type in FIM detail

* Fixed q param for registry type in FIM detail

* Fixed typo

* Add vulnerabilities module to macos agents (#2969)

* Add vulnerabilities module to macOS agents

* Changelog updated

* Moved changelog item to revision 4101

Co-authored-by: Franco Charriol <franco.charriol@wazuh.com>

* Fix statusCode error (#2971)

* Fix statusCode undefined toast error

* Changelog updated

* Stats in SCA policy stats didn't refresh (#2973)

* fix(frontend): Stats in SCA policy stats

  - Fixed stats in SCA policy stats when use the Refresh button
  - Fixed dates to use the TimeService

* fix(changelog): Add PR to changelog

* fix(frontend): Date format in FIM table and file/registry detail (#2975)

* fix(frontend): Date format in FIM table and file/registry detail

* fix(frontend): Date format in SCA policies table and detail date stat

* fix(changelog): Added PR to changelog

* fix(frontend): Added a missing semicolon

- Added a missing semicolon in an import statement in the `sca/inventory.tsx` file

* Bugfix, setting properly X-Frame-Options (#2977)

* Bugfix, setting properly X-Frame-Options

* Added Changelog.md

* Update CHANGELOG.md

* Fixed Changelog.md

* fix(backend): Organize code in plugin backend setup

* Fixed disabled switch visual edit button when json is empty (#2968)

* Fixed disabled switch visual editar when json is empty

* kibana prettier

* Fixed disabled switch visual edit when json is empty

* updated changelog

* empty agents.conf error and export error (#2978)

* empty agent.resolv solved

* Check server response

* Resolve PRs

* fix(frontend): Replaced var by let variables in some files

* fix(changelog): Add PR to changelog

* Fix a non-stop error in Manage agents when the user has no permissions (#2976)

* fix(frontend): Fix non-stop error in Manage agents when the user has not permissions

  - Manage the error loading the selected agent while loop
  - Added a prompt to th the required permission to the group detail view

* fix(frontend): Added a PR to changelog

* Fixed that alerts table is empty when switching pinned agents (#2956)

* Fixed that alerts table is empty when switching pinned agents

* Made changes in the position of the if

* Changelog updated

Co-authored-by: Pablo Martínez <pablomarga@hotmail.com>
Co-authored-by: Toni <34042064+Desvelao@users.noreply.github.com>

* Fix the unpin button in agent selection modal (#2980)

* Fix the unpin button in agent selection modal

* Fixed Changelog.md

* Creating revision 4102 in changelog.md

Co-authored-by: Toni <34042064+Desvelao@users.noreply.github.com>

* error message when changing a group's config with right permissions (#2955)

* An error message is displayed when changing a group's configuration although the user has the right permissions

* Resolve PRs

* fix(changelog): Add PR to changelog

Co-authored-by: Desvelao <iamdesvelao@gmail.com>

* Fix/wrong number of alerts (#2964)

* Fix wrong number of alerts are shown

* changelog updated

Co-authored-by: Toni <34042064+Desvelao@users.noreply.github.com>

* Fix main and "More" menus and add prompt to modules for unsupported agents (#2959)

* fix(frontend): Fix main and more menus and add prompt to modules for unsupported agents
  - Fixed main menu when selected an usupported agent
  - Fixed More menu in agent view for an unsupported agent
  - Added prompt to show when the module is not supported by the agent
  - Created prompt component to show the module is not supported by the agent
  - Created HOC for the not supported module

* fix(changelog): Added PRs to changelog

* fix(frontend): Removed some temporal divs in Dashboard tab and replaced the text for PromptAgentNoSupportModule component

* Create table + search bar component (#2970)

* feat(frontend): Created table + search bar component. Fix table in Management > Groups > Agents

  - Created basic component with table and search bar: TableWithSearchBar
  - Created custom component with table and search bar: TableWithSearchBarWzAPI
  - Replaced logic in Management > Groups > Agents to use the new custom component
  - Created WzButtonPermissionsModalConfirm component
  - Removed columns-agents.js file and moved its content

* fix(changelog): Added PR to changelog

* Support alerts index pattern with different ID and title (#2979)

* fix(frontend): Some errors with index pattern with custom id

  - Security events table (Discover component)
  - Agents preview AngujarJS controller (pattern variable)
  - GenericRequest service (pattern header)

* fix(frontend): Fixed more problems with alerts index pattern with different ID

  - Fix GenericReqeust the headers.pattern
  - Fix Management > Cluster visualizations. Send body with pattern ID and title
  - Fix Management > Statistics visualizations. Send body with pattern ID and title
  - Adapt `/elastic/visualization/{tab}/{indexPattern}` endpoint to adapt to the new received body

* fix(changelog): Added PR to changelog

* Generate security actions file with API info script (#2987)

* feat(script): Add the security actions to the script to get the API info

  - Adapted the .js and .sh scripts
  - Updated the npm script

* fix(api-info): Update the API info

  - Moved API info to common folder
  - Renamed endpoints.json file
  - Adapted its uses in the app

* Bugfix/2887 null pointer in filter wrong type (#2961)

* Filter fields empty queries

* Added toast warning when a field is empty

* Added changes to changelog.md

* fix(changelog): Moved PR in changelog

* fix(changelog): Moved PR in changelog

Co-authored-by: Toni <34042064+Desvelao@users.noreply.github.com>

* Added toast with a refresh button (#2974)

* Added toast with a refresh button

* Allows to manually create new index-pattern fields

* Added changes to changelog.md

* fix(changelog): Moved PRs in he changelog file

Co-authored-by: Toni <34042064+Desvelao@users.noreply.github.com>

* siemonster :: fix route in getCurrentUser when AWS Elasticsearch is used (#2710)

* Delete user Wazuh API token when log out of Kibana (only ODFE) (#2972)

* Removed old token if login token failed.

* Removed comment code.

* Added event deleteToken on Log out element.

* Updated CHANGELOG

* fix missing && from macOS agent deployment command (#2989)

* Fix missing && from macOS agent deployment command

* Fix white spaces

* Updated changelog

Co-authored-by: Pablo Martínez <pablomarga@hotmail.com>
Co-authored-by: Franco Charriol <franco.charriol@wazuh.com>

* Migrate manager and cluster files endpoints and RBAC (#2984)

* Migrated files endpoints and RBAC permissions

* Some unauthorized sections won't stop loading when they should show a denial access (#2982)

* Added prompt permissions on Framework of Mitre and Inventory of Integrity monitoring.
Added unit test of this cases.

* Added control on request to show the prompt in case of not permissions.

* Fixed boolean and control

* Removed unnecessary permission. Seted isLoading false without if condition notPermission.

* Fixed control on user-permssions and added on promp by specific ID of agent. PR comments

* Changed script to build

* Upgrade version to 4.1.1

* Added noSelectedPrompt to sca view and added specific agent id to withUserAuthorizationPrompt. (#2998)

Fixed validation of PromptNoSelectedAgent.

* Fixed health check runs after every refresh (#2997)

* Fixed open decoder detail fails (#3003)

* Changed hardcoded property name to proper OS compatibility constant (#3004)

* Fixed kibana vis error id of undefined (#3005)

* Added logout remove token for x-pack. (#3012)

* Update readme with version 4.1.1

* Registry_values aren't not displayed for Windows agents (#3020)

* tag: Change Kibana version in readme and changelog for tag for 4.1.1-7.10.2

Co-authored-by: CPAlejandro <cuellarpeinado@gmail.com>
Co-authored-by: Franco Charriol <franco.charriol@wazuh.com>
Co-authored-by: Pablo Martínez <pablomarga@hotmail.com>
Co-authored-by: gabiwassan <gabriel.wassan@wazuh.com>
Co-authored-by: Federico Rodriguez <federico.rodriguez@wazuh.com>
Co-authored-by: s-ocando <sandra.ocando@wazuh.com>
Co-authored-by: Maximiliano Ibarra <maximilianoaibarra@gmail.com>
Co-authored-by: sortiz <sortiz@owlh.net>
Co-authored-by: Franco Charriol <francocharriol@gmail.com>
Co-authored-by: Alejandro Cuéllar Peinado <alejandro.cuellar@wazuh.com>
Co-authored-by: sortizowlh <47242022+sortizowlh@users.noreply.github.com>
Co-authored-by: harduino <37391150+harduino@users.noreply.github.com>
Co-authored-by: Juan Carlos Tello <juancarlos.tello@wazuh.com>
frankeros pushed a commit that referenced this pull request Mar 9, 2021
* fix(frontend): Some errors with index pattern with custom id

  - Security events table (Discover component)
  - Agents preview AngujarJS controller (pattern variable)
  - GenericRequest service (pattern header)

* fix(frontend): Fixed more problems with alerts index pattern with different ID

  - Fix GenericReqeust the headers.pattern
  - Fix Management > Cluster visualizations. Send body with pattern ID and title
  - Fix Management > Statistics visualizations. Send body with pattern ID and title
  - Adapt `/elastic/visualization/{tab}/{indexPattern}` endpoint to adapt to the new received body

* fix(changelog): Added PR to changelog
frankeros added a commit that referenced this pull request Mar 23, 2021
* Fixed error when trying to navigate from discovery to wazuh app.

* Refactorized apply flyout styles

* Fixed bug with agent filter when it is pinned

* Changed agentList to FormattedData

* Fixed tooltip in the icon of "view decoder file"

* Fixed bug in the table on Agents->Table-> Actions->Config icon

* fix(frontend): Fix SCA table with wrong behaviour using the refresh button
  - Removed the filters in the request. The filters are applied in the results of the request.
  - Replaced filter in search bar for not Not applicable result from
empty string to 'not applicable'

* Fix body-payload of Sample Alerts POST endpoint

* fix(backend): Fix the creation of Statistics indices with the shards and replicas setings

* fix(backend): Removed the server/lib/cron-sheduler directory and init.js file due to not being in use

* fix: Changed the Wazuh API default user to `wazuh-wui`

* Fixed bug in sca and regulatory compliance tables and in wz menu on firefox

* Added cron statistics config as need restart

* Added hoc withUserAuthorizationPrompt to SCA view.

* Fixed calls to requestAsInternalUser

* Changed const name to avoid confusion.

* Removed filter prop on handler refresh

* Refactor handler refresh

* Fixed css of layouts because of conflicts with kibana flyouts

* fix(frontend): remove class wzApp from EuiFlyout of Discover

* Revert refactor handle refresh, added panels as default tabview

* Removed console.log

* Added Wazuh category and set default index pattern

* Changed method and request to check status of cluster/manager after restart.

* Updated changelog and readme for revision 4017

* Updated copyrights

* Fixed bug in inventory of Windows Registry

* Added csv-key-equivalence.ts

* Addel warning toast when creating new role mapping

* Fixed errors

* Comments removed

* Message improved

* Removed unnecesary async

* Added isCluster on makePing to validate if cluster or not.

* Updated changelog with last commits

* Added step for data directory in Readme

* Fixed errors

* Set secure cookies in SSL/TLS sessions

* Increase the default max buckets

* fix(frontend): Fix the decoder details for keys as objects

* Unchecked the agents when you click outside

* Added on FIM Inventory Windows Registry registry_key and registry_value items from syscheck

* Updated changelog

* Fixed wrong cookie value validation

* New method to reuse it

* fix(frontend): Fix show decoder key as object in decoder detail

* Fixed access to forbidden agents

* Changes fix

* Merge pull request #2879 from wazuh/bugfix/filter-event-rules

Bugfix filter event rules

* Fixed default value for content of empty files.

* fix(changelog): Added issue about decoder detail view to changelog

* Updated CHANGELOG

* Fix hover text Discard, Save and Export in CDB Lists actions

* Updated CHANGELOG

* fix(frontend): Fix complex searches in WzSearchBar for query filter

* fix(changelog): Fix the complex search using the Wazuh API query filter in search bars

* checking for empty rule file

* Added validation to check userPermissions are not ready yet

* Changed initial state of userPermissions.

* Updated CHANGELOG

* Fix clear visualizations list when changing tabs

* Requested changes

* Fixed bug in the filters of flyouts

* Fixed strange box shadow when click in Export panel

* Updated changelog

* Show callout only in role mapping section

* Fixed wrong command on alert when data folder does not exist

* Disable field os_name sortable property

* Update changelog

* Updated changelog

* Fixed return format.

* Fixed diff parsed datetime between agent detail and agents table

* Update changelog

* fix(frontend): Fix allow enter to Agents section with agent:group permission

* fix(changelog): Allow access to Agents section with agent:group action permission

* Changed agent OS field name to os.name,os.version to allow sorting by OS

* Fix wrong package name in deploy new agent

* updated changelog

* Added style to display number onMouseMove event.

* Upload CHANGELOG

* checking for empty file / check  new file

* Added fix to changelog

* Added fix to changelog

* Fixed shared filter manager and unpdated changelog

* Updated changelog

* Added to initial config and CHANGELOG updated

* Fixed errors

* Fixed z-index of tooltip.

* PR comments checked!

* PR comments checked!

* PR comments checked!

* Restore file to init state. Don't change current editor content.

* Refactored toast message on error

* Updated changelog

* Fixed query filter of TSC.

* Updated changelog

* Fixed unchecked options when change left to right selects.

* Added changelog in package

* Refactored registry values for FIM

* deleted bucket property from json structure of tagclouds

* Fixed table props

* Removed old js files

* Fixed validation for registry_key type in FIM detail

* Fixed q param for registry type in FIM detail

* Fixed typo

* Add vulnerabilities module to macos agents (#2969)

* Add vulnerabilities module to macOS agents

* Changelog updated

* Moved changelog item to revision 4101

Co-authored-by: Franco Charriol <franco.charriol@wazuh.com>

* Fix statusCode error (#2971)

* Fix statusCode undefined toast error

* Changelog updated

* Stats in SCA policy stats didn't refresh (#2973)

* fix(frontend): Stats in SCA policy stats

  - Fixed stats in SCA policy stats when use the Refresh button
  - Fixed dates to use the TimeService

* fix(changelog): Add PR to changelog

* fix(frontend): Date format in FIM table and file/registry detail (#2975)

* fix(frontend): Date format in FIM table and file/registry detail

* fix(frontend): Date format in SCA policies table and detail date stat

* fix(changelog): Added PR to changelog

* fix(frontend): Added a missing semicolon

- Added a missing semicolon in an import statement in the `sca/inventory.tsx` file

* Bugfix, setting properly X-Frame-Options (#2977)

* Bugfix, setting properly X-Frame-Options

* Added Changelog.md

* Update CHANGELOG.md

* Fixed Changelog.md

* fix(backend): Organize code in plugin backend setup

* Fixed disabled switch visual edit button when json is empty (#2968)

* Fixed disabled switch visual editar when json is empty

* kibana prettier

* Fixed disabled switch visual edit when json is empty

* updated changelog

* empty agents.conf error and export error (#2978)

* empty agent.resolv solved

* Check server response

* Resolve PRs

* fix(frontend): Replaced var by let variables in some files

* fix(changelog): Add PR to changelog

* Fix a non-stop error in Manage agents when the user has no permissions (#2976)

* fix(frontend): Fix non-stop error in Manage agents when the user has not permissions

  - Manage the error loading the selected agent while loop
  - Added a prompt to th the required permission to the group detail view

* fix(frontend): Added a PR to changelog

* Fixed that alerts table is empty when switching pinned agents (#2956)

* Fixed that alerts table is empty when switching pinned agents

* Made changes in the position of the if

* Changelog updated

Co-authored-by: Pablo Martínez <pablomarga@hotmail.com>
Co-authored-by: Toni <34042064+Desvelao@users.noreply.github.com>

* Fix the unpin button in agent selection modal (#2980)

* Fix the unpin button in agent selection modal

* Fixed Changelog.md

* Creating revision 4102 in changelog.md

Co-authored-by: Toni <34042064+Desvelao@users.noreply.github.com>

* error message when changing a group's config with right permissions (#2955)

* An error message is displayed when changing a group's configuration although the user has the right permissions

* Resolve PRs

* fix(changelog): Add PR to changelog

Co-authored-by: Desvelao <iamdesvelao@gmail.com>

* Fix/wrong number of alerts (#2964)

* Fix wrong number of alerts are shown

* changelog updated

Co-authored-by: Toni <34042064+Desvelao@users.noreply.github.com>

* Fix main and "More" menus and add prompt to modules for unsupported agents (#2959)

* fix(frontend): Fix main and more menus and add prompt to modules for unsupported agents
  - Fixed main menu when selected an usupported agent
  - Fixed More menu in agent view for an unsupported agent
  - Added prompt to show when the module is not supported by the agent
  - Created prompt component to show the module is not supported by the agent
  - Created HOC for the not supported module

* fix(changelog): Added PRs to changelog

* fix(frontend): Removed some temporal divs in Dashboard tab and replaced the text for PromptAgentNoSupportModule component

* Create table + search bar component (#2970)

* feat(frontend): Created table + search bar component. Fix table in Management > Groups > Agents

  - Created basic component with table and search bar: TableWithSearchBar
  - Created custom component with table and search bar: TableWithSearchBarWzAPI
  - Replaced logic in Management > Groups > Agents to use the new custom component
  - Created WzButtonPermissionsModalConfirm component
  - Removed columns-agents.js file and moved its content

* fix(changelog): Added PR to changelog

* Support alerts index pattern with different ID and title (#2979)

* fix(frontend): Some errors with index pattern with custom id

  - Security events table (Discover component)
  - Agents preview AngujarJS controller (pattern variable)
  - GenericRequest service (pattern header)

* fix(frontend): Fixed more problems with alerts index pattern with different ID

  - Fix GenericReqeust the headers.pattern
  - Fix Management > Cluster visualizations. Send body with pattern ID and title
  - Fix Management > Statistics visualizations. Send body with pattern ID and title
  - Adapt `/elastic/visualization/{tab}/{indexPattern}` endpoint to adapt to the new received body

* fix(changelog): Added PR to changelog

* Generate security actions file with API info script (#2987)

* feat(script): Add the security actions to the script to get the API info

  - Adapted the .js and .sh scripts
  - Updated the npm script

* fix(api-info): Update the API info

  - Moved API info to common folder
  - Renamed endpoints.json file
  - Adapted its uses in the app

* Bugfix/2887 null pointer in filter wrong type (#2961)

* Filter fields empty queries

* Added toast warning when a field is empty

* Added changes to changelog.md

* fix(changelog): Moved PR in changelog

* fix(changelog): Moved PR in changelog

Co-authored-by: Toni <34042064+Desvelao@users.noreply.github.com>

* Added toast with a refresh button (#2974)

* Added toast with a refresh button

* Allows to manually create new index-pattern fields

* Added changes to changelog.md

* fix(changelog): Moved PRs in he changelog file

Co-authored-by: Toni <34042064+Desvelao@users.noreply.github.com>

* siemonster :: fix route in getCurrentUser when AWS Elasticsearch is used (#2710)

* Delete user Wazuh API token when log out of Kibana (only ODFE) (#2972)

* Removed old token if login token failed.

* Removed comment code.

* Added event deleteToken on Log out element.

* Updated CHANGELOG

* fix missing && from macOS agent deployment command (#2989)

* Fix missing && from macOS agent deployment command

* Fix white spaces

* Updated changelog

Co-authored-by: Pablo Martínez <pablomarga@hotmail.com>
Co-authored-by: Franco Charriol <franco.charriol@wazuh.com>

* Migrate manager and cluster files endpoints and RBAC (#2984)

* Migrated files endpoints and RBAC permissions

* Some unauthorized sections won't stop loading when they should show a denial access (#2982)

* Added prompt permissions on Framework of Mitre and Inventory of Integrity monitoring.
Added unit test of this cases.

* Added control on request to show the prompt in case of not permissions.

* Fixed boolean and control

* Removed unnecessary permission. Seted isLoading false without if condition notPermission.

* Fixed control on user-permssions and added on promp by specific ID of agent. PR comments

* Changed script to build

* Upgrade version to 4.1.1

* Added noSelectedPrompt to sca view and added specific agent id to withUserAuthorizationPrompt. (#2998)

Fixed validation of PromptNoSelectedAgent.

* Fixed health check runs after every refresh (#2997)

* Fixed open decoder detail fails (#3003)

* Changed hardcoded property name to proper OS compatibility constant (#3004)

* Fixed kibana vis error id of undefined (#3005)

* Added logout remove token for x-pack. (#3012)

* Update readme with version 4.1.1

* Registry_values aren't not displayed for Windows agents (#3020)

* Fix SCA selection policy showing information about another policy (#3007)

* fix(frontend): Fix SCA selection policy

  - Fixed a bug when an agent has more than 1 SCA policies and select
one that is not the first in the SCA inventorory table. The data about
the first policy was shown in the policy details. The policy checks are
working good

* fix(frontend): Add PR to changelog

* Fix pagination in SCA checks table when expanding some row (#3018)

* fix(frontend): Fix pagination in SCA checks table when expand some row

* Fix manager is shown in suggestions (#3025)

* Fix manager is shown in suggestions

* Disabled loading inventory (#3026)

* Disabled loading when catch error from api and added toast to show a message with the error.

* Checking if data is loaded before show button for create role mapping (#3013)

* Checking if data is loaded before show button for create role mapping
* Added same behavior to all create buttons for security module

* Feature/improve prompts (#3015)

* Improve promp when agent has never been connected

* Prompts refactor

* Changelog updated

* Improve import

* Spell corrections

* Add run_as setting to Add new API view (#3021)

* fix(frontend): Add run_as setting to Add new API view

* fix(frontend): Add PR to changelog

* fix(frontend): Spell typo in run_as setting definition

* Added optional node-name param to cluster restart request (#3032)

* Added optional node-name param to cluster restart request

* Overlay Wazuh menu to Kibana menu when is opened or docked (#3038)

* fix(frontend): Overlay Wazuh menu to Kibana menu when is opened or docked

* fix(changelog): Add PR to changelog

* Fixed that alerts table is empty when switching pinned agents (#3008)

* Fixed that alerts table is empty when switching pinned agents

* Fixed blanks

* Refactor discover.tsx - Merging filter managers

* Deleted searchbar state

* Set discover stand-alone fileManager

* Code cleaning

* Fix adding previous filters

* Added changes to changelog

* Bugfix pinned agent framework mitre (#3035)

* Added subscribe on filters of framework mitre.

* Updated CHANGELOG

* fixed overlay menu (#3043)

* Fixed changelog and build script

* Fixed changelog link

* Upgrade version to 4.1.2

* Update changelog to 4.1.2

* Feature/2826 create index pattern configuration (#2985)

* Creation of index pattern if it´s changed in conf

* Added button to execute health check

* Fixed default errors

* Update selector of index pattern without refresh

* Changelog update

* Format changelog

* Requested changes

* Fixed errors

* Improved toast message

* Success toast after create alerts index pattern

* Update changelog

* Improve validation and preventio for caching bundles in client side (#3063)

* Improved validation and prevention for caching bundles

* Update revision

* fix typo inmmediate -> immediate (#3076)

* Feature added node name of agent (#3039)

* Added node name of agent on Agent list table and info.

* Fixed validation.

* Updated CHANGELOG

* Changed label by node name.

* Changed label by Cluster node.

* Fix filter in rules (#3057)

* Fix filter in rules

* 2981/roles mapping unespected behavior (#3028)

* Check if there is only 1 rule

* Added test cases and solve bugs

* fix(changelog): Add PR to changelog

* Improve toast message when select default API (#3049)

* Improve toast message when select default API

* Changelog update

* Fixing bug changing master node configuration (#3062)

* Fixing bug changing master node configuration

* Added changelog.md

* Fixed The page of not having permissions appears when you update in a… (#3041)

* Fixed The page of not having permissions appears when you update in any tab for a second

* Fixed descriptions and withUserLogged.tsx function

* Added Changelog.md

* Update CHANGELOG.md

* Update userLogged/userHasLogged -> withUserLogged

* Fix in a name

* Update check-plugin-version.ts

* Update meta.json

* Delete meta.json

* Update CHANGELOG.md

* Update appStateActions.js

* fix(changelog): Moved change of revision in the changelog

* Fixed updateFile method calling error in catch (#3084)

* Fixed updateFile method calling error in catch

* Change all date formats (#3047)

* Added time functions for get kibana settings

* -

* changed dates format

* added changelog

* fix(frontend): Removed no used variables about format ui date. Fix FilterManager import
  - Fix FilterManager missing in fileDetails.tsx
  - FIxed and removed no used variables related to format ui date

* fix(app): Fixed revision in package.json

* fix(frontend): Fix infinite loading user logging in status (#3087)

* Fix/events table (#3086)

* Fix action buttons

* Fix event table urls dissapeared

* Updated changelog

* Added custom message for each possible run_as setup (#3048)

* Added custom message for each possible run_as setup

* added new run_as status, refactor enum

* fixed allow_run_as undefined default message

* Code cleaning + cache-api-user-has-run-as fix

* Small message improvement

* Changed enum API_USER_STATUS_RUN_AS INTERFACE_DISABLED to USER_DISABLED + canUse api fix

* Fixed Enum USER_NOT_ALLOWED name

* Added changelog

* fix falsy run_as condition

* fix Changelog

* fix API configuration table warning

* Bugfix report dark mode (#3083)

* Fixed color legends text on reports.

* Check dark theme to apply changes on reports.

* Change api selected as default message (#3089)

* withUserLogged missing in some files (#3090)

* withUserLogged missing in some files

* Added withUserLogged in withUserAuthrization

* Update withuserAuthorization

* Fixed cluster node in Agents (#3092)

* Clear browser cache (#3091)

* feat(app-cache): refresh cache and warning when app package is different

* fix(frontend): Fix in check-plugin-version file

* fix(changelog): Add PR to changelog

* Update version to 4.1.3

* Fixed version in changelog

* Fixed typo in changelog

* Fixed changelog duplicated issues

* Fixed changelog duplicated PR link

Co-authored-by: gabiwassan <gabriel.wassan@wazuh.com>
Co-authored-by: CPAlejandro <cuellarpeinado@gmail.com>
Co-authored-by: Desvelao <iamdesvelao@gmail.com>
Co-authored-by: Federico Rodriguez <federico.rodriguez@wazuh.com>
Co-authored-by: s-ocando <sandra.ocando@wazuh.com>
Co-authored-by: Pablo Martínez <pablomarga@hotmail.com>
Co-authored-by: Maximiliano Ibarra <maximilianoaibarra@gmail.com>
Co-authored-by: sortiz <sortiz@owlh.net>
Co-authored-by: Toni <34042064+Desvelao@users.noreply.github.com>
Co-authored-by: Alejandro Cuéllar Peinado <alejandro.cuellar@wazuh.com>
Co-authored-by: sortizowlh <47242022+sortizowlh@users.noreply.github.com>
Co-authored-by: harduino <37391150+harduino@users.noreply.github.com>
Co-authored-by: Juan Carlos Tello <juancarlos.tello@wazuh.com>
Co-authored-by: monkz <git@monkz.de>
frankeros added a commit that referenced this pull request Apr 23, 2021
* fix(frontend): Fix SCA table with wrong behaviour using the refresh button
  - Removed the filters in the request. The filters are applied in the results of the request.
  - Replaced filter in search bar for not Not applicable result from
empty string to 'not applicable'

* Fix body-payload of Sample Alerts POST endpoint

* fix(backend): Fix the creation of Statistics indices with the shards and replicas setings

* fix(backend): Removed the server/lib/cron-sheduler directory and init.js file due to not being in use

* fix: Changed the Wazuh API default user to `wazuh-wui`

* Fixed bug in sca and regulatory compliance tables and in wz menu on firefox

* Added cron statistics config as need restart

* Added hoc withUserAuthorizationPrompt to SCA view.

* Fixed calls to requestAsInternalUser

* Changed const name to avoid confusion.

* Removed filter prop on handler refresh

* Refactor handler refresh

* Fixed css of layouts because of conflicts with kibana flyouts

* fix(frontend): remove class wzApp from EuiFlyout of Discover

* Revert refactor handle refresh, added panels as default tabview

* Removed console.log

* Added Wazuh category and set default index pattern

* Changed method and request to check status of cluster/manager after restart.

* Updated changelog and readme for revision 4017

* Updated copyrights

* Fixed bug in inventory of Windows Registry

* Added csv-key-equivalence.ts

* Addel warning toast when creating new role mapping

* Fixed errors

* Comments removed

* Message improved

* Removed unnecesary async

* Added isCluster on makePing to validate if cluster or not.

* Updated changelog with last commits

* Added step for data directory in Readme

* Fixed errors

* Set secure cookies in SSL/TLS sessions

* Increase the default max buckets

* fix(frontend): Fix the decoder details for keys as objects

* Unchecked the agents when you click outside

* Added on FIM Inventory Windows Registry registry_key and registry_value items from syscheck

* Updated changelog

* Fixed wrong cookie value validation

* New method to reuse it

* fix(frontend): Fix show decoder key as object in decoder detail

* Fixed access to forbidden agents

* Changes fix

* Merge pull request #2879 from wazuh/bugfix/filter-event-rules

Bugfix filter event rules

* Fixed default value for content of empty files.

* fix(changelog): Added issue about decoder detail view to changelog

* Updated CHANGELOG

* Fix hover text Discard, Save and Export in CDB Lists actions

* Updated CHANGELOG

* fix(frontend): Fix complex searches in WzSearchBar for query filter

* fix(changelog): Fix the complex search using the Wazuh API query filter in search bars

* checking for empty rule file

* Added validation to check userPermissions are not ready yet

* Changed initial state of userPermissions.

* Updated CHANGELOG

* Fix clear visualizations list when changing tabs

* Requested changes

* Fixed bug in the filters of flyouts

* Fixed strange box shadow when click in Export panel

* Updated changelog

* Show callout only in role mapping section

* Fixed wrong command on alert when data folder does not exist

* Disable field os_name sortable property

* Update changelog

* Updated changelog

* Fixed return format.

* Fixed diff parsed datetime between agent detail and agents table

* Update changelog

* fix(frontend): Fix allow enter to Agents section with agent:group permission

* fix(changelog): Allow access to Agents section with agent:group action permission

* Changed agent OS field name to os.name,os.version to allow sorting by OS

* Fix wrong package name in deploy new agent

* updated changelog

* Added style to display number onMouseMove event.

* Upload CHANGELOG

* checking for empty file / check  new file

* Added fix to changelog

* Added fix to changelog

* Fixed shared filter manager and unpdated changelog

* Updated changelog

* Added to initial config and CHANGELOG updated

* Fixed errors

* Fixed z-index of tooltip.

* PR comments checked!

* PR comments checked!

* PR comments checked!

* Restore file to init state. Don't change current editor content.

* Refactored toast message on error

* Updated changelog

* Fixed query filter of TSC.

* Updated changelog

* Fixed unchecked options when change left to right selects.

* Added changelog in package

* Refactored registry values for FIM

* deleted bucket property from json structure of tagclouds

* Fixed table props

* Removed old js files

* Fixed validation for registry_key type in FIM detail

* Fixed q param for registry type in FIM detail

* Fixed typo

* Add vulnerabilities module to macos agents (#2969)

* Add vulnerabilities module to macOS agents

* Changelog updated

* Moved changelog item to revision 4101

Co-authored-by: Franco Charriol <franco.charriol@wazuh.com>

* Fix statusCode error (#2971)

* Fix statusCode undefined toast error

* Changelog updated

* Stats in SCA policy stats didn't refresh (#2973)

* fix(frontend): Stats in SCA policy stats

  - Fixed stats in SCA policy stats when use the Refresh button
  - Fixed dates to use the TimeService

* fix(changelog): Add PR to changelog

* fix(frontend): Date format in FIM table and file/registry detail (#2975)

* fix(frontend): Date format in FIM table and file/registry detail

* fix(frontend): Date format in SCA policies table and detail date stat

* fix(changelog): Added PR to changelog

* fix(frontend): Added a missing semicolon

- Added a missing semicolon in an import statement in the `sca/inventory.tsx` file

* Bugfix, setting properly X-Frame-Options (#2977)

* Bugfix, setting properly X-Frame-Options

* Added Changelog.md

* Update CHANGELOG.md

* Fixed Changelog.md

* fix(backend): Organize code in plugin backend setup

* Fixed disabled switch visual edit button when json is empty (#2968)

* Fixed disabled switch visual editar when json is empty

* kibana prettier

* Fixed disabled switch visual edit when json is empty

* updated changelog

* empty agents.conf error and export error (#2978)

* empty agent.resolv solved

* Check server response

* Resolve PRs

* fix(frontend): Replaced var by let variables in some files

* fix(changelog): Add PR to changelog

* Fix a non-stop error in Manage agents when the user has no permissions (#2976)

* fix(frontend): Fix non-stop error in Manage agents when the user has not permissions

  - Manage the error loading the selected agent while loop
  - Added a prompt to th the required permission to the group detail view

* fix(frontend): Added a PR to changelog

* Fixed that alerts table is empty when switching pinned agents (#2956)

* Fixed that alerts table is empty when switching pinned agents

* Made changes in the position of the if

* Changelog updated

Co-authored-by: Pablo Martínez <pablomarga@hotmail.com>
Co-authored-by: Toni <34042064+Desvelao@users.noreply.github.com>

* Fix the unpin button in agent selection modal (#2980)

* Fix the unpin button in agent selection modal

* Fixed Changelog.md

* Creating revision 4102 in changelog.md

Co-authored-by: Toni <34042064+Desvelao@users.noreply.github.com>

* error message when changing a group's config with right permissions (#2955)

* An error message is displayed when changing a group's configuration although the user has the right permissions

* Resolve PRs

* fix(changelog): Add PR to changelog

Co-authored-by: Desvelao <iamdesvelao@gmail.com>

* Fix/wrong number of alerts (#2964)

* Fix wrong number of alerts are shown

* changelog updated

Co-authored-by: Toni <34042064+Desvelao@users.noreply.github.com>

* Fix main and "More" menus and add prompt to modules for unsupported agents (#2959)

* fix(frontend): Fix main and more menus and add prompt to modules for unsupported agents
  - Fixed main menu when selected an usupported agent
  - Fixed More menu in agent view for an unsupported agent
  - Added prompt to show when the module is not supported by the agent
  - Created prompt component to show the module is not supported by the agent
  - Created HOC for the not supported module

* fix(changelog): Added PRs to changelog

* fix(frontend): Removed some temporal divs in Dashboard tab and replaced the text for PromptAgentNoSupportModule component

* Create table + search bar component (#2970)

* feat(frontend): Created table + search bar component. Fix table in Management > Groups > Agents

  - Created basic component with table and search bar: TableWithSearchBar
  - Created custom component with table and search bar: TableWithSearchBarWzAPI
  - Replaced logic in Management > Groups > Agents to use the new custom component
  - Created WzButtonPermissionsModalConfirm component
  - Removed columns-agents.js file and moved its content

* fix(changelog): Added PR to changelog

* Support alerts index pattern with different ID and title (#2979)

* fix(frontend): Some errors with index pattern with custom id

  - Security events table (Discover component)
  - Agents preview AngujarJS controller (pattern variable)
  - GenericRequest service (pattern header)

* fix(frontend): Fixed more problems with alerts index pattern with different ID

  - Fix GenericReqeust the headers.pattern
  - Fix Management > Cluster visualizations. Send body with pattern ID and title
  - Fix Management > Statistics visualizations. Send body with pattern ID and title
  - Adapt `/elastic/visualization/{tab}/{indexPattern}` endpoint to adapt to the new received body

* fix(changelog): Added PR to changelog

* Generate security actions file with API info script (#2987)

* feat(script): Add the security actions to the script to get the API info

  - Adapted the .js and .sh scripts
  - Updated the npm script

* fix(api-info): Update the API info

  - Moved API info to common folder
  - Renamed endpoints.json file
  - Adapted its uses in the app

* Bugfix/2887 null pointer in filter wrong type (#2961)

* Filter fields empty queries

* Added toast warning when a field is empty

* Added changes to changelog.md

* fix(changelog): Moved PR in changelog

* fix(changelog): Moved PR in changelog

Co-authored-by: Toni <34042064+Desvelao@users.noreply.github.com>

* Added toast with a refresh button (#2974)

* Added toast with a refresh button

* Allows to manually create new index-pattern fields

* Added changes to changelog.md

* fix(changelog): Moved PRs in he changelog file

Co-authored-by: Toni <34042064+Desvelao@users.noreply.github.com>

* siemonster :: fix route in getCurrentUser when AWS Elasticsearch is used (#2710)

* Delete user Wazuh API token when log out of Kibana (only ODFE) (#2972)

* Removed old token if login token failed.

* Removed comment code.

* Added event deleteToken on Log out element.

* Updated CHANGELOG

* fix missing && from macOS agent deployment command (#2989)

* Fix missing && from macOS agent deployment command

* Fix white spaces

* Updated changelog

Co-authored-by: Pablo Martínez <pablomarga@hotmail.com>
Co-authored-by: Franco Charriol <franco.charriol@wazuh.com>

* Migrate manager and cluster files endpoints and RBAC (#2984)

* Migrated files endpoints and RBAC permissions

* Some unauthorized sections won't stop loading when they should show a denial access (#2982)

* Added prompt permissions on Framework of Mitre and Inventory of Integrity monitoring.
Added unit test of this cases.

* Added control on request to show the prompt in case of not permissions.

* Fixed boolean and control

* Removed unnecessary permission. Seted isLoading false without if condition notPermission.

* Fixed control on user-permssions and added on promp by specific ID of agent. PR comments

* Changed script to build

* Upgrade version to 4.1.1

* Added noSelectedPrompt to sca view and added specific agent id to withUserAuthorizationPrompt. (#2998)

Fixed validation of PromptNoSelectedAgent.

* Fixed health check runs after every refresh (#2997)

* Fixed open decoder detail fails (#3003)

* Changed hardcoded property name to proper OS compatibility constant (#3004)

* Fixed kibana vis error id of undefined (#3005)

* Added logout remove token for x-pack. (#3012)

* Update readme with version 4.1.1

* Registry_values aren't not displayed for Windows agents (#3020)

* Fix SCA selection policy showing information about another policy (#3007)

* fix(frontend): Fix SCA selection policy

  - Fixed a bug when an agent has more than 1 SCA policies and select
one that is not the first in the SCA inventorory table. The data about
the first policy was shown in the policy details. The policy checks are
working good

* fix(frontend): Add PR to changelog

* Fix pagination in SCA checks table when expanding some row (#3018)

* fix(frontend): Fix pagination in SCA checks table when expand some row

* Fix manager is shown in suggestions (#3025)

* Fix manager is shown in suggestions

* Disabled loading inventory (#3026)

* Disabled loading when catch error from api and added toast to show a message with the error.

* Checking if data is loaded before show button for create role mapping (#3013)

* Checking if data is loaded before show button for create role mapping
* Added same behavior to all create buttons for security module

* Feature/improve prompts (#3015)

* Improve promp when agent has never been connected

* Prompts refactor

* Changelog updated

* Improve import

* Spell corrections

* Add run_as setting to Add new API view (#3021)

* fix(frontend): Add run_as setting to Add new API view

* fix(frontend): Add PR to changelog

* fix(frontend): Spell typo in run_as setting definition

* Added optional node-name param to cluster restart request (#3032)

* Added optional node-name param to cluster restart request

* Overlay Wazuh menu to Kibana menu when is opened or docked (#3038)

* fix(frontend): Overlay Wazuh menu to Kibana menu when is opened or docked

* fix(changelog): Add PR to changelog

* Fixed that alerts table is empty when switching pinned agents (#3008)

* Fixed that alerts table is empty when switching pinned agents

* Fixed blanks

* Refactor discover.tsx - Merging filter managers

* Deleted searchbar state

* Set discover stand-alone fileManager

* Code cleaning

* Fix adding previous filters

* Added changes to changelog

* Bugfix pinned agent framework mitre (#3035)

* Added subscribe on filters of framework mitre.

* Updated CHANGELOG

* fixed overlay menu (#3043)

* Fixed changelog and build script

* Fixed changelog link

* Upgrade version to 4.1.2

* Update changelog to 4.1.2

* Feature/2826 create index pattern configuration (#2985)

* Creation of index pattern if it´s changed in conf

* Added button to execute health check

* Fixed default errors

* Update selector of index pattern without refresh

* Changelog update

* Format changelog

* Requested changes

* Fixed errors

* Improved toast message

* Success toast after create alerts index pattern

* Update changelog

* Improve validation and preventio for caching bundles in client side (#3063)

* Improved validation and prevention for caching bundles

* Update revision

* fix typo inmmediate -> immediate (#3076)

* Feature added node name of agent (#3039)

* Added node name of agent on Agent list table and info.

* Fixed validation.

* Updated CHANGELOG

* Changed label by node name.

* Changed label by Cluster node.

* Fix filter in rules (#3057)

* Fix filter in rules

* 2981/roles mapping unespected behavior (#3028)

* Check if there is only 1 rule

* Added test cases and solve bugs

* fix(changelog): Add PR to changelog

* Improve toast message when select default API (#3049)

* Improve toast message when select default API

* Changelog update

* Fixing bug changing master node configuration (#3062)

* Fixing bug changing master node configuration

* Added changelog.md

* Fixed The page of not having permissions appears when you update in a… (#3041)

* Fixed The page of not having permissions appears when you update in any tab for a second

* Fixed descriptions and withUserLogged.tsx function

* Added Changelog.md

* Update CHANGELOG.md

* Update userLogged/userHasLogged -> withUserLogged

* Fix in a name

* Update check-plugin-version.ts

* Update meta.json

* Delete meta.json

* Update CHANGELOG.md

* Update appStateActions.js

* fix(changelog): Moved change of revision in the changelog

* Fixed updateFile method calling error in catch (#3084)

* Fixed updateFile method calling error in catch

* Change all date formats (#3047)

* Added time functions for get kibana settings

* -

* changed dates format

* added changelog

* fix(frontend): Removed no used variables about format ui date. Fix FilterManager import
  - Fix FilterManager missing in fileDetails.tsx
  - FIxed and removed no used variables related to format ui date

* fix(app): Fixed revision in package.json

* fix(frontend): Fix infinite loading user logging in status (#3087)

* Fix/events table (#3086)

* Fix action buttons

* Fix event table urls dissapeared

* Updated changelog

* Added custom message for each possible run_as setup (#3048)

* Added custom message for each possible run_as setup

* added new run_as status, refactor enum

* fixed allow_run_as undefined default message

* Code cleaning + cache-api-user-has-run-as fix

* Small message improvement

* Changed enum API_USER_STATUS_RUN_AS INTERFACE_DISABLED to USER_DISABLED + canUse api fix

* Fixed Enum USER_NOT_ALLOWED name

* Added changelog

* fix falsy run_as condition

* fix Changelog

* fix API configuration table warning

* Bugfix report dark mode (#3083)

* Fixed color legends text on reports.

* Check dark theme to apply changes on reports.

* Change api selected as default message (#3089)

* withUserLogged missing in some files (#3090)

* withUserLogged missing in some files

* Added withUserLogged in withUserAuthrization

* Update withuserAuthorization

* Fixed cluster node in Agents (#3092)

* Clear browser cache (#3091)

* feat(app-cache): refresh cache and warning when app package is different

* fix(frontend): Fix in check-plugin-version file

* fix(changelog): Add PR to changelog

* Update version to 4.1.3

* Fixed version in changelog

* Fixed typo in changelog

* Fixed changelog duplicated issues

* Fixed changelog duplicated PR link

* fix tcp sessions visualizations

* Update version to 4.1.4

* delete tcp sessions avg metric

* Fixed default color for reports with darkmode.

* Feature add new dev tools (#3055)

* First commit added testlog view and menu with navigation to dev console and testlogs.

* Added reducers for tools.

* Added PUT request logtest and pretty json.

* Clear initial value.

* Apply prettier.

* Fixed pined menu selected. Change some files js to ts.
Added updateSelectedToolsSection redux.

* Removed debuggers

* Fix error on render elements

* Fix render items

* Fixed error on tabs

* Updated CHANGELOG

* Added flyout from ruleset edit and fixed styles.

* Added OverlayMask and event to close.

* Changed title of Logtest

* Fixed styles, PR comments.

* Revert "Feature add new dev tools (#3055)" (#3115)

This reverts commit 6e57023.

* Revert "fix tcp sessions visualizations" (#3117)

* Prepare tag for 7.11.2

* Revert prepare for tag 7.11.2

* Bumped to 4.1.5

* Bumped to 4.1.5-7.10.2

Co-authored-by: Desvelao <iamdesvelao@gmail.com>
Co-authored-by: Federico Rodriguez <federico.rodriguez@wazuh.com>
Co-authored-by: CPAlejandro <cuellarpeinado@gmail.com>
Co-authored-by: gabiwassan <gabriel.wassan@wazuh.com>
Co-authored-by: s-ocando <sandra.ocando@wazuh.com>
Co-authored-by: Pablo Martínez <pablomarga@hotmail.com>
Co-authored-by: Maximiliano Ibarra <maximilianoaibarra@gmail.com>
Co-authored-by: sortiz <sortiz@owlh.net>
Co-authored-by: Toni <34042064+Desvelao@users.noreply.github.com>
Co-authored-by: Alejandro Cuéllar Peinado <alejandro.cuellar@wazuh.com>
Co-authored-by: sortizowlh <47242022+sortizowlh@users.noreply.github.com>
Co-authored-by: harduino <37391150+harduino@users.noreply.github.com>
Co-authored-by: Juan Carlos Tello <juancarlos.tello@wazuh.com>
Co-authored-by: monkz <git@monkz.de>
Co-authored-by: eze9252 <eze9252@gmail.com>
Co-authored-by: Ezequiel Airaudo <36004787+eze9252@users.noreply.github.com>
Co-authored-by: Alberto R <alberpilot@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/bug Bug issue type/enhancement Enhancement issue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Wazuh plugin not able to recognize a manually created index pattern
3 participants