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

Add specific RBAC permissions to Security section #5551

Merged
merged 16 commits into from
Jun 28, 2023

Conversation

Desvelao
Copy link
Member

@Desvelao Desvelao commented Jun 12, 2023

Description

This pull request adds specific RBAC permissions to Security section.

Other changes:

  • Renamed panel title to Roles mapping in the Security > Roles mapping
  • Removed unused code.
  • Added some mock responses related to the Security section

Issues Resolved

#5235

Evidence

  • Users: show section
    image
    image
    image

  • Users: Create user button
    image

  • Users: Edit run_as
    image

  • Users: Update user
    image

  • Users: remove user
    image

  • Roles: show section
    image
    image
    image

  • Roles: create role
    image

  • Roles: remove role
    image

  • Roles: edit role (apply new policy)
    image

  • Roles: edit role (delete policy)
    image

  • Policies: show section
    image

  • Policies: remove policy
    image

  • Policies: create policy
    image

  • Role mappings: show section
    image
    image
    image

  • Role mappings: delete policy mapping
    image

  • Roles mappings: create user
    image

  • Roles mapping: edit role
    image

Test

wka-pr-5551.md

ℹ️ This pull request adds user policies that make easier the manual testing suite.

The file `docker/imposter/security/security-me-policies.js` has defined a suite of user policies. The response for `GET /security/user/me/policies` depends on the selected suite, this can be changed through:
var selectedUserPolicy = userPoliciesMap['PLUGIN_SECURITY_USERS_ALL']; // CHANGE `PLUGIN_SECURITY_USERS_ALL` to another valid value defined in the userPoliciesMap variable. If you are using the imposter included in the development environment and change the selected policy you will need to restart the imposter container to take the changes.

Check List

  • All tests pass
    • yarn test:jest
  • New functionality includes testing.
  • New functionality has been documented.
  • Update CHANGELOG.md
  • Commits are signed per the DCO using --signoff

- Add specific RBAC permissions to actions and views
- Remove unused code
@Desvelao Desvelao self-assigned this Jun 12, 2023
@Desvelao Desvelao marked this pull request as ready for review June 13, 2023 09:15
@Desvelao Desvelao requested a review from a team as a code owner June 13, 2023 09:15
@yenienserrano
Copy link
Member

yenienserrano commented Jun 14, 2023

Wazuh dashboard

Legend:
⚫: none
🟢: pass
🟡: warning
🔴: fail
⚪: not applicable

UI

Test Chrome Firefox Safari
Using an user with security:read(user:id:):allow and security:read(role:id:):allow the Security > Users should be visible. 🟢
Using an user with security:read(user:id:):deny and security:read(role:id:):allow the Security > Users should not be visible. 🟢
Using an user with security:read(user:id:):allow and security:read(role:id:):deny the Security > Users should not be visible. 🟢
Using an user with security:read(user:id:):deny and security:read(role:id:):deny the Security > Users should not be visible. 🟢
Using an user with security:read(user:id:):allow, security:read(role:id:):allow and security:create_user(::*):allow the button Create user in the Security > Users should be enabled. 🟢
Using an user with security:read(user:id:):allow, security:read(role:id:):allow and security:create_user(::*):deny the button Create user in the Security > Users should be disabled. 🟢
Using an user with security:read(user:id:):allow, security:read(role:id:):allow and security:delete(user:id:{user_id}):deny the user should not be removed from the table in Security > Users. 🟢
Using an user with security:read(user:id:):allow, security:read(role:id:):allow and security:update(user:id:{user_id}):allow should be allowed to edit the user in Security > Users. 🟢
Using an user with security:read(user:id:):allow, security:read(role:id:):allow and security:update(user:id:{user_id}):deny should not be allowed to edit the user in Security > Users. 🟢
Using an user with security:read(user:id:):allow, security:read(role:id:):allow and security:update(user:id:{user_id}):allow and security:edit_run_as(::*):allow should be allowed to edit run as option of user in Security > Users. 🟢
Using an user with security:read(user:id:):allow, security:read(role:id:):allow and security:update(user:id:{user_id}):allow and security:edit_run_as(::*):deny should not be allowed to edit run as option of user in Security > Users. 🟢
Using an user with security:read(role:id:):allow and security:read(policy:id:):allow the Security > Roles should be visible. 🟢
Using an user with security:read(role:id:):deny and security:read(policy:id:):allow the Security > Roles should not be visible. 🟢
Using an user with security:read(role:id:):allow and security:read(policy:id:):deny the Security > Roles should not be visible. 🟢
Using an user with security:read(role:id:):deny and security:read(policy:id:):deny the Security > Roles should not be visible. 🟢
Using an user with security:read(role:id:):allow, security:read(policy:id:):allow and security:create(::*):allow the button Create role in the Security > Roles should be enabled. 🟢
Using an user with security:read(role:id:):allow, security:read(policy:id:):allow and security:create(::*):deny the button Create role in the Security > Users should be disabled. 🟢
Using an user with security:read(role:id:):allow, security:read(policy:id:):allow and security:delete(role:id:{role_id}):allow the button to remove the role should be enabled. 🟢
Using an user with security:read(role:id:):allow, security:read(policy:id:):allow and security:delete(role:id:{role_id}):deny the button to remove the role should be disabled. 🟢
Using an user with security:read(role:id:):allow, security:read(policy:id:):allow and security:update(role:id:{user_id}):allow should be allowed to edit the role in Security > Roles. 🟢
Using an user with security:read(policy:id:*):allow the Security > Policies should be visible. 🟢
Using an user with security:read(policy:id:*):deny the Security > Policies should not be visible. 🟢
Using an user with security:read(policy:id:):allow and security:create(::):allow the button Create policy in the Security > Policies should be enabled. 🟢
Using an user with security:read(policy:id:):allow and security:create(::):deny the button Create policy in the Security > Policies should be disabled. 🟢
Using an user with security:read(policy:id:*):allow and security:delete(policy:id:{policy_id}):allow the button to remove the policy should be enabled. 🟢
Using an user with security:read(policy:id:*):allow and security:delete(policy:id:{policy_id}):deny the button to remove the policy should be disabled. 🟢
Using an user with security:read(policy:id:):allow and security:create(::):allow should be allowed to create an policy through the form. 🟢
Using an user with security:read(policy:id:*):allow and security:update(policy:id:{policy_id}):allow should be allowed to edit the policy through the form. 🟢
Using an user with security:read(policy:id:*):allow and security:update(policy:id:{policy_id}):deny should not be allowed to edit the policy through the form. 🟢
Using an user with security:read(role:id:):allow and security:read(rule:id:):allow the Security > Roles mapping should be visible. 🟢
Using an user with security:read(role:id:):allow and security:read(rule:id:):allow the Security > Roles mapping should not be visible. 🟢
Using an user with security:read(role:id:):allow, security:read(rule:id:):allow and security:create(::*):allow the button Create Role mapping in the Security > Roles mapping should be enabled. 🟢
Using an user with security:read(role:id:):allow, security:read(rule:id:):allow and security:create(::*):deny the button Create Role mapping in the Security > Roles mapping should be disabled. 🟢
Using an user with security:read(role:id:):allow, security:read(rule:id:):allow and security:delete(rule:id:{rule_id}):allow the button to remove the role mapping should be enabled. 🟢
Using an user with security:read(role:id:):allow, security:read(rule:id:):allow and security:delete(rule:id:{rule_id}):deny the button to remove the role mapping should be disabled. 🟢
Using an user with security:read(role:id:):allow, security:read(rule:id:):allow, security:create(::):allow, security:update(rule:id:):allow and security:delete(rule:id:*):allow should be allowed to create a role mapping through the form. 🟢
Using an user with security:read(role:id:):allow, security:read(rule:id:):allow, security:create(::):allow, security:update(rule:id:):deny and security:delete(rule:id:*):allow should not be allowed to create a role mapping through the form. 🟢
Using an user with security:read(role:id:):allow, security:read(rule:id:):allow, security:create(::):allow, security:update(rule:id:):allow and security:delete(rule:id:*):deny should not be allowed to create a role mapping through the form. 🟢
Using an user with security:read(role:id:):allow, security:read(rule:id:):allow, security:create(::):allow, security:update(rule:id:):deny and security:delete(rule:id:*):deny should not be allowed to create a role mapping through the form. 🟢
Using an user with security:read(role:id:):allow, security:read(rule:id:):allow, security:create(::*):allow, security:update(rule:id:{rule_id}):allow and security:delete(rule:id:{rule_id}):allow should be allowed to edit a role mapping through the form.
Using an user with security:read(role:id:):allow, security:read(rule:id:):allow, security:create(::*):allow, security:update(rule:id:{rule_id}):deny and security:delete(rule:id:{rule_id}):allow should not be allowed to edit a role mapping through the form.
Using an user with security:read(role:id:):allow, security:read(rule:id:):allow, security:create(::*):allow, security:update(rule:id:{rule_id}):allow and security:delete(rule:id:{rule_id}):deny should be allowed to edit a role mapping through the form.
Using an user with security:read(role:id:):allow, security:read(rule:id:):allow, security:create(::*):allow, security:update(rule:id:{rule_id}):deny and security:delete(rule:id:{rule_id}):deny should be allowed to edit a role mapping through the form.

Details

🟢 Using an user with security:read(user:id:*):allow and security:read(role:id:*):allow the Security > Users should be visible.

Chrome - 🟢

image

Firefox - ⚫

Safari - ⚫

🟢 Using an user with security:read(user:id:*):deny and security:read(role:id:*):allow the Security > Users should not be visible.

Chrome - 🟢

image

Firefox - ⚫

Safari - ⚫

🟢 Using an user with security:read(user:id:*):allow and security:read(role:id:*):deny the Security > Users should not be visible.

Chrome - 🟢

image

Firefox - ⚫

Safari - ⚫

🟢 Using an user with security:read(user:id:*):deny and security:read(role:id:*):deny the Security > Users should not be visible.

Chrome - 🟢

image

Firefox - ⚫

Safari - ⚫

🟢 Using an user with security:read(user:id:*):allow, security:read(role:id:*):allow and security:create_user(*:*:*):allow the button Create user in the Security > Users should be enabled.

Chrome - 🟢

image

Firefox - ⚫

Safari - ⚫

🟢 Using an user with security:read(user:id:*):allow, security:read(role:id:*):allow and security:create_user(*:*:*):deny the button Create user in the Security > Users should be disabled.

Chrome - 🟢

image

Firefox - ⚫

Safari - ⚫

🟢 Using an user with security:read(user:id:*):allow, security:read(role:id:*):allow and security:delete(user:id:{user_id}):deny the user should not be removed from the table in Security > Users.

Chrome - 🟢

image

Firefox - ⚫

Safari - ⚫

🟢 Using an user with security:read(user:id:*):allow, security:read(role:id:*):allow and security:update(user:id:{user_id}):allow should be allowed to edit the user in Security > Users.

Chrome - 🟢

image

Firefox - ⚫

Safari - ⚫

🟢 Using an user with security:read(user:id:*):allow, security:read(role:id:*):allow and security:update(user:id:{user_id}):deny should not be allowed to edit the user in Security > Users.

Chrome - 🟢

image

Firefox - ⚫

Safari - ⚫

🟢 Using an user with security:read(user:id:*):allow, security:read(role:id:*):allow and security:update(user:id:{user_id}):allow and security:edit_run_as(*:*:*):allow should be allowed to edit run as option of user in Security > Users.

Chrome - 🟢

image

Firefox - ⚫

Safari - ⚫

🟢 Using an user with security:read(user:id:*):allow, security:read(role:id:*):allow and security:update(user:id:{user_id}):allow and security:edit_run_as(*:*:*):deny should not be allowed to edit run as option of user in Security > Users.

Chrome - 🟢

image

Firefox - ⚫

Safari - ⚫

🟢 Using an user with security:read(role:id:*):allow and security:read(policy:id:*):allow the Security > Roles should be visible.

Chrome - 🟢

image

Firefox - ⚫

Safari - ⚫

🟢 Using an user with security:read(role:id:*):deny and security:read(policy:id:*):allow the Security > Roles should not be visible.

Chrome - 🟢

image

Firefox - ⚫

Safari - ⚫

🟢 Using an user with security:read(role:id:*):allow and security:read(policy:id:*):deny the Security > Roles should not be visible.

Chrome - 🟢

image

Firefox - ⚫

Safari - ⚫

🟢 Using an user with security:read(role:id:*):deny and security:read(policy:id:*):deny the Security > Roles should not be visible.

Chrome - 🟢

image

Firefox - ⚫

Safari - ⚫

🟢 Using an user with security:read(role:id:*):allow, security:read(policy:id:*):allow and security:create(*:*:*):allow the button Create role in the Security > Roles should be enabled.

Chrome - 🟢

image

Firefox - ⚫

Safari - ⚫

🟢 Using an user with security:read(role:id:*):allow, security:read(policy:id:*):allow and security:create(*:*:*):deny the button Create role in the Security > Users should be disabled.

Chrome - 🟢

image

Firefox - ⚫

Safari - ⚫

🟢 Using an user with security:read(role:id:*):allow, security:read(policy:id:*):allow and security:delete(role:id:{role_id}):allow the button to remove the role should be enabled.

Chrome - 🟢

image

Firefox - ⚫

Safari - ⚫

🟢 Using an user with security:read(role:id:*):allow, security:read(policy:id:*):allow and security:delete(role:id:{role_id}):deny the button to remove the role should be disabled.

Chrome - 🟢

image

image

Firefox - ⚫

Safari - ⚫

🟢 Using an user with security:read(role:id:*):allow, security:read(policy:id:*):allow and security:update(role:id:{user_id}):allow should be allowed to edit the role in Security > Roles.

Chrome - 🟢

image

Firefox - ⚫

Safari - ⚫

🟢 Using an user with security:read(role:id:*):allow, security:read(policy:id:*):allow and security:update(role:id:{user_id}):deny should be allowed to edit the role in Security > Roles.

Chrome - 🟢

image

Firefox - ⚫

Safari - ⚫

🟢 Using an user with security:read(policy:id:*):allow the Security > Policies should be visible.

Chrome - 🟢

image

Firefox - ⚫

Safari - ⚫

🟢 Using an user with security:read(policy:id:*):deny the Security > Policies should not be visible.

Chrome - 🟢

image

Firefox - ⚫

Safari - ⚫

🟢 Using an user with security:read(policy:id:*):allow and security:create(*:*:*):allow the button Create policy in the Security > Policies should be enabled.

Chrome - 🟢

image

Firefox - ⚫

Safari - ⚫

🟢 Using an user with security:read(policy:id:*):allow and security:create(*:*:*):deny the button Create policy in the Security > Policies should be disabled.

Chrome - 🟢

image

Firefox - ⚫

Safari - ⚫

🟢 Using an user with security:read(policy:id:*):allow and security:delete(policy:id:{policy_id}):allow the button to remove the policy should be enabled.

Chrome - 🟢

image

Firefox - ⚫

Safari - ⚫

🟢 Using an user with security:read(policy:id:*):allow and security:delete(policy:id:{policy_id}):deny the button to remove the policy should be disabled.

Chrome - 🟢

image

Firefox - ⚫

Safari - ⚫

🟢 Using an user with security:read(policy:id:*):allow and security:create(*:*:*):allow should be allowed to create an policy through the form.

Chrome - 🟢

image

Firefox - ⚫

Safari - ⚫

🟢 Using an user with security:read(policy:id:*):allow and security:update(policy:id:{policy_id}):allow should be allowed to edit the policy through the form.

Chrome - 🟢

image

Firefox - ⚫

Safari - ⚫

🟢 Using an user with security:read(policy:id:*):allow and security:update(policy:id:{policy_id}):deny should not be allowed to edit the policy through the form.

Chrome - 🟢

image

Firefox - ⚫

Safari - ⚫

🟢 Using an user with security:read(role:id:*):allow and security:read(rule:id:*):allow the Security > Roles mapping should be visible.

Chrome - 🟢

image

Firefox - ⚫

Safari - ⚫

🟢 Using an user with security:read(role:id:*):deny and security:read(rule:id:*):allow the Security > Roles mapping should not be visible.

Chrome - 🟢

image

Firefox - ⚫

Safari - ⚫

🟢 Using an user with security:read(role:id:*):allow and security:read(rule:id:*):deny the Security > Roles mapping should not be visible.

Chrome - 🟢

image

Firefox - ⚫

Safari - ⚫

🟢 Using an user with security:read(role:id:*):deny and security:read(rule:id:*):deny the Security > Roles mapping should not be visible.

Chrome - 🟢

image

Firefox - ⚫

Safari - ⚫

🟢 Using an user with security:read(role:id:*):allow, security:read(rule:id:*):allow and security:create(*:*:*):allow the button Create Role mapping in the Security > Roles mapping should be enabled.

Chrome - 🟢

image

Firefox - ⚫

Safari - ⚫

🟢 Using an user with security:read(role:id:*):allow, security:read(rule:id:*):allow and security:create(*:*:*):deny the button Create Role mapping in the Security > Roles mapping should be disabled.

Chrome - 🟢

image

Firefox - ⚫

Safari - ⚫

🟢 Using an user with security:read(role:id:*):allow, security:read(rule:id:*):allow and security:delete(rule:id:{rule_id}):allow the button to remove the role mapping should be enabled.

Chrome - 🟢

image

Firefox - ⚫

Safari - ⚫

🟢 Using an user with security:read(role:id:*):allow, security:read(rule:id:*):allow and security:delete(rule:id:{rule_id}):deny the button to remove the role mapping should be disabled.

Chrome - 🟢

image

Firefox - ⚫

Safari - ⚫

🟢 Using an user with security:read(role:id:*):allow, security:read(rule:id:*):allow, security:create(*:*:*):allow, security:update(rule:id:*):allow and security:delete(rule:id:*):allow should be allowed to create a role mapping through the form.

Chrome - 🟢

image

Firefox - ⚫

Safari - ⚫

🟢 Using an user with security:read(role:id:*):allow, security:read(rule:id:*):allow, security:create(*:*:*):allow, security:update(rule:id:*):deny and security:delete(rule:id:*):allow should not be allowed to create a role mapping through the form.

Chrome - 🟢

image

Firefox - ⚫

Safari - ⚫

🟢 🟡 Using an user with security:read(role:id:*):allow, security:read(rule:id:*):allow, security:create(*:*:*):allow, security:update(rule:id:*):allow and security:delete(rule:id:*):deny should not be allowed to create a role mapping through the form.

Chrome - 🟢

image

Firefox - ⚫

Safari - ⚫

🟢 Using an user with security:read(role:id:*):allow, security:read(rule:id:*):allow, security:create(*:*:*):allow, security:update(rule:id:*):deny and security:delete(rule:id:*):deny should not be allowed to create a role mapping through the form.

Chrome - 🟢

image

Firefox - ⚫

Safari - ⚫

⚫ Using an user with security:read(role🆔*):allow, security:read(rule🆔*):allow, security:create(*:*:*):allow, security:update(rule🆔{rule_id}):allow and security:delete(rule🆔{rule_id}):allow should be allowed to edit a role mapping through the form.

Chrome - ⚫

Firefox - ⚫

Safari - ⚫

⚫ Using an user with security:read(role🆔*):allow, security:read(rule🆔*):allow, security:create(*:*:*):allow, security:update(rule🆔{rule_id}):deny and security:delete(rule🆔{rule_id}):allow should not be allowed to edit a role mapping through the form.

Chrome - ⚫

Firefox - ⚫

Safari - ⚫

⚫ Using an user with security:read(role🆔*):allow, security:read(rule🆔*):allow, security:create(*:*:*):allow, security:update(rule🆔{rule_id}):allow and security:delete(rule🆔{rule_id}):deny should be allowed to edit a role mapping through the form.

Chrome - ⚫

Firefox - ⚫

Safari - ⚫

⚫ Using an user with security:read(role🆔*):allow, security:read(rule🆔*):allow, security:create(*:*:*):allow, security:update(rule🆔{rule_id}):deny and security:delete(rule🆔{rule_id}):deny should be allowed to edit a role mapping through the form.

Chrome - ⚫

Firefox - ⚫

Safari - ⚫

@Desvelao
Copy link
Member Author

Desvelao commented Jun 16, 2023

Changes

Using a user with security:read(roleid*):allow, security:read(policyid*):allow and security:update(roleid{user_id}):deny should be allowed to edit the role in Security > Roles. Chrome - yellow_circle

The tooltip does not appear above the button
image

  • Changed the layout of the edit security role. Now the tooltip is above the button.
    image

The button was moved to the end of the line to replicate another layout in the security section.
image

  • Added security:update(user:id:*) permission to the create user flyout. This is required if the user selected some role to assign to the user.
    image
    image

Update

  • Update the development branch with the latest changes of the base branch.

@yenienserrano
Copy link
Member

Is it really necessary to have permissions to delete when creating a new role mapping?

@jbiset
Copy link
Member

jbiset commented Jun 16, 2023

Wazuh dashboard

Legend:
⚫: none
🟢: pass
🟡: warning
🔴: fail
⚪: not applicable

UI

Test Chrome Firefox Safari
Using an user with security:read(user:id:):allow and security:read(role:id:):allow the Security > Users should be visible. 🟢 🟢
Using an user with security:read(user:id:):deny and security:read(role:id:):allow the Security > Users should not be visible. 🟢 🟢
Using an user with security:read(user:id:):allow and security:read(role:id:):deny the Security > Users should not be visible. 🟢 🟢
Using an user with security:read(user:id:):deny and security:read(role:id:):deny the Security > Users should not be visible. 🟢 🟢
Using an user with security:read(user:id:):allow, security:read(role:id:):allow and security:create_user(::*):allow the button Create user in the Security > Users should be enabled. 🟢 🟢
Using an user with security:read(user:id:):allow, security:read(role:id:):allow and security:create_user(::*):deny the button Create user in the Security > Users should be disabled. 🟢 🟢
Using an user with security:read(user:id:):allow, security:read(role:id:):allow and security:delete(user:id:{user_id}):deny the user should not be removed from the table in Security > Users. 🟢 🟢
Using an user with security:read(user:id:):allow, security:read(role:id:):allow and security:update(user:id:{user_id}):allow should be allowed to edit the user in Security > Users. 🟢 🟢
Using an user with security:read(user:id:):allow, security:read(role:id:):allow and security:update(user:id:{user_id}):deny should not be allowed to edit the user in Security > Users. 🟢 🟢
Using an user with security:read(user:id:):allow, security:read(role:id:):allow and security:update(user:id:{user_id}):allow and security:edit_run_as(::*):allow should be allowed to edit run as option of user in Security > Users. 🟢 🟢
Using an user with security:read(user:id:):allow, security:read(role:id:):allow and security:update(user:id:{user_id}):allow and security:edit_run_as(::*):deny should not be allowed to edit run as option of user in Security > Users. 🟢 🟢
Using an user with security:read(role:id:):allow and security:read(policy:id:):allow the Security > Roles should be visible. 🟢 🟢
Using an user with security:read(role:id:):deny and security:read(policy:id:):allow the Security > Roles should not be visible. 🟢 🟢
Using an user with security:read(role:id:):allow and security:read(policy:id:):deny the Security > Roles should not be visible. 🟢 🟢
Using an user with security:read(role:id:):deny and security:read(policy:id:):deny the Security > Roles should not be visible. 🟢 🟢
Using an user with security:read(role:id:):allow, security:read(policy:id:):allow and security:create(::*):allow the button Create role in the Security > Roles should be enabled. 🟢 🟢
Using an user with security:read(role:id:):allow, security:read(policy:id:):allow and security:create(::*):deny the button Create role in the Security > Users should be disabled. 🟢 🟢
Using an user with security:read(role:id:):allow, security:read(policy:id:):allow and security:delete(role:id:{role_id}):allow the button to remove the role should be enabled. 🟢 🟢
Using an user with security:read(role:id:):allow, security:read(policy:id:):allow and security:delete(role:id:{role_id}):deny the button to remove the role should be disabled. 🟢 🟢
Using an user with security:read(role:id:):allow, security:read(policy:id:):allow and security:update(role:id:{role_id}):allow should be allowed to edit the role in Security > Roles. 🟢 🟢
Using an user with security:read(policy:id:*):allow the Security > Policies should be visible. 🟢 🟢
Using an user with security:read(policy:id:*):deny the Security > Policies should not be visible. 🟢 🟢
Using an user with security:read(policy:id:):allow and security:create(::):allow the button Create policy in the Security > Policies should be enabled. 🟢 🟢
Using an user with security:read(policy:id:):allow and security:create(::):deny the button Create policy in the Security > Policies should be disabled. 🟢 🟢
Using an user with security:read(policy:id:*):allow and security:delete(policy:id:{policy_id}):allow the button to remove the policy should be enabled. 🟢 🟢
Using an user with security:read(policy:id:*):allow and security:delete(policy:id:{policy_id}):deny the button to remove the policy should be disabled. 🟢 🟢
Using an user with security:read(policy:id:):allow and security:create(::):allow should be allowed to create an policy through the form. 🟢 🟢
Using an user with security:read(policy:id:*):allow and security:update(policy:id:{policy_id}):allow should be allowed to edit the policy through the form. 🟢 🟢
Using an user with security:read(policy:id:*):allow and security:update(policy:id:{policy_id}):deny should not be allowed to edit the policy through the form. 🟢 🟢
Using an user with security:read(role:id:):allow and security:read(rule:id:):allow the Security > Roles mapping should be visible. 🟢 🟢
Using an user with security:read(role:id:):allow and security:read(rule:id:):deny the Security > Roles mapping should not be visible. 🟢 🟢
Using an user with security:read(role:id:):allow, security:read(rule:id:):allow and security:create(::*):allow the button Create Role mapping in the Security > Roles mapping should be enabled. 🟢 🟢
Using an user with security:read(role:id:):allow, security:read(rule:id:):allow and security:create(::*):deny the button Create Role mapping in the Security > Roles mapping should be disabled. 🟢 🟢
Using an user with security:read(role:id:):allow, security:read(rule:id:):allow and security:delete(rule:id:{rule_id}):allow the button to remove the role mapping should be enabled. 🟢 🟢
Using an user with security:read(role:id:):allow, security:read(rule:id:):allow and security:delete(rule:id:{rule_id}):deny the button to remove the role mapping should be disabled. 🟢 🟢
Using an user with security:read(role:id:):allow, security:read(rule:id:):allow, security:create(::):allow, security:update(rule:id:):allow and security:delete(rule:id:*):allow should be allowed to create a role mapping through the form. 🟢 🟢
Using an user with security:read(role:id:):allow, security:read(rule:id:):allow, security:create(::):allow, security:update(rule:id:):deny and security:delete(rule:id:*):allow should not be allowed to create a role mapping through the form. 🟢 🟢
Using an user with security:read(role:id:):allow, security:read(rule:id:):allow, security:create(::):allow, security:update(rule:id:):allow and security:delete(rule:id:*):deny should not be allowed to create a role mapping through the form. 🟢 🟢
Using an user with security:read(role:id:):allow, security:read(rule:id:):allow, security:create(::):allow, security:update(rule:id:):deny and security:delete(rule:id:*):deny should not be allowed to create a role mapping through the form. 🟢 🟢
Using an user with security:read(role:id:):allow, security:read(rule:id:):allow, security:create(::*):allow, security:update(rule:id:{rule_id}):allow and security:delete(rule:id:{rule_id}):allow should be allowed to edit a role mapping through the form. 🟢 🟢
Using an user with security:read(role:id:):allow, security:read(rule:id:):allow, security:create(::*):allow, security:update(rule:id:{rule_id}):deny and security:delete(rule:id:{rule_id}):allow should not be allowed to edit a role mapping through the form. 🟢 🟢
Using an user with security:read(role:id:):allow, security:read(rule:id:):allow, security:create(::*):allow, security:update(rule:id:{rule_id}):allow and security:delete(rule:id:{rule_id}):deny should be allowed to edit a role mapping through the form. 🟢 🟢
Using an user with security:read(role:id:):allow, security:read(rule:id:):allow, security:create(::*):allow, security:update(rule:id:{rule_id}):deny and security:delete(rule:id:{rule_id}):deny should be allowed to edit a role mapping through the form. 🟢 🟢

Details

🟢 Using an user with security:read(user🆔*):allow and security:read(role🆔*):allow the Security > Users should be visible.

Chrome - 🟢
00_Chrome_security:read(user:id:):allowsecurity:read(role:id:):allow

Firefox - 🟢
00_Firefox_security:read(user:id:):allowsecurity:read(role:id:):allow

Safari - ⚫

🟢 Using an user with security:read(user🆔*):deny and security:read(role🆔*):allow the Security > Users should not be visible.

Chrome - 🟢
01_Chrome_security:read(user:id:):deny and security:read(role:id:):allow

Firefox - 🟢
01_Firefox_security:read(user:id:):deny and security:read(role:id:):allow

Safari - ⚫

🟢 Using an user with security:read(user🆔*):allow and security:read(role🆔*):deny the Security > Users should not be visible.

Chrome - 🟢
02_Chrome_security:read(user:id:):allowsecurity:read(role:id:):deny

Firefox - 🟢
02_Firefox_security:read(user:id:):allowsecurity:read(role:id:):deny

Safari - ⚫

🟢 Using an user with security:read(user🆔*):deny and security:read(role🆔*):deny the Security > Users should not be visible.

Chrome - 🟢
03_Chrome_security:read(user:id:):denysecurity:read(role:id:):deny

Firefox - 🟢
03_Firefox__security:read(user:id:):denysecurity:read(role:id:):deny

Safari - ⚫

🟢 Using an user with security:read(user🆔*):allow, security:read(role🆔*):allow and security:create_user(*:*:*):allow the button Create user in the Security > Users should be enabled.

Chrome - 🟢
04_Chrome_security:read(user:id:):allowsecurity:read(role:id:):allowsecurity:create_user(::*):allow

Firefox - 🟢
04_Firefox__security:read(user:id:):allowsecurity:read(role:id:):allowsecurity:create_user(::*):allow

Safari - ⚫

🟢 Using an user with security:read(user🆔*):allow, security:read(role🆔*):allow and security:create_user(*:*:*):deny the button Create user in the Security > Users should be disabled.

Chrome - 🟢
05_Chrome_security:read(user:id:):allowsecurity:read(role:id:):allowsecurity:create_user(::*):deny

Firefox - 🟢
05_Firefox_security:read(user:id:):allowsecurity:read(role:id:):allowsecurity:create_user(::*):deny

Safari - ⚫

🟢 Using an user with security:read(user🆔*):allow, security:read(role🆔*):allow and security:delete(user🆔{user_id}):deny the user should not be removed from the table in Security > Users.

Chrome - 🟢
06_Chrome_security:read(user:id:):allowsecurity:read(role:id:):allowsecurity:delete(user:id:101):deny

Firefox - 🟢
06_Firefox_security:read(user:id:):allowsecurity:read(role:id:):allowsecurity:delete(user:id:101):deny

Safari - ⚫

🟢 Using an user with security:read(user🆔*):allow, security:read(role🆔*):allow and security:update(user🆔{user_id}):allow should be allowed to edit the user in Security > Users.

Chrome - 🟢
07_Chrome_security:read(user:id:):allowsecurity:read(role:id:):allowsecurity:update(user:id:101):allow

Firefox - 🟢
07_Firefox__security:read(user:id:):allowsecurity:read(role:id:):allowsecurity:update(user:id:101):allow

Safari - ⚫

🟢 Using an user with security:read(user🆔*):allow, security:read(role🆔*):allow and security:update(user🆔{user_id}):deny should not be allowed to edit the user in Security > Users.

Chrome - 🟢
08_Chrome_security:read(user:id:):allowsecurity:read(role:id:):allowsecurity:update(user:id:101):deny

Firefox
08_Firefox__security:read(user:id:):allowsecurity:read(role:id:):allowsecurity:update(user:id:101):deny

  • 🟢

Safari - ⚫

🟢 Using an user with security:read(user🆔*):allow, security:read(role🆔*):allow and security:update(user🆔{user_id}):allow and security:edit_run_as(*:*:*):allow should be allowed to edit run as option of user in Security > Users.

Chrome - 🟢
09_Chrome_security:read(user:id:):allowsecurity:read(role:id:):allowsecurity:update(user:id:101):allowsecurity:edit_run_as(::*):allow

Firefox - 🟢
09_Firefox__security:read(user:id:):allowsecurity:read(role:id:):allowsecurity:update(user:id:101):allowsecurity:edit_run_as(::*):allow

Safari - ⚫

🟢 Using an user with security:read(user🆔*):allow, security:read(role🆔*):allow and security:update(user🆔{user_id}):allow and security:edit_run_as(*:*:*):deny should not be allowed to edit run as option of user in Security > Users.

Chrome - 🟢
10_Chrome_security:read(user:id:):allowsecurity:read(role:id:):allowsecurity:update(user:id:101):allowsecurity:edit_run_as(::*):deny

Firefox - 🟢
10_Firefox__security:read(user:id:):allowsecurity:read(role:id:):allowsecurity:update(user:id:101):allowsecurity:edit_run_as(::*):deny

Safari - ⚫

🟢 Using an user with security:read(role🆔*):allow and security:read(policy🆔*):allow the Security > Roles should be visible.

Chrome - 🟢
11_Chrome_security:read(role:id:):allowsecurity:read(policy:id:):allow

Firefox - 🟢
11_Firefox__security:read(role:id:):allowsecurity:read(policy:id:):allow

Safari - ⚫

🟢 Using an user with security:read(role🆔*):deny and security:read(policy🆔*):allow the Security > Roles should not be visible.

Chrome - 🟢
12_Chrome_security:read(role:id:):denysecurity:read(policy:id:):allow

Firefox - 🟢
12_Firefox__security:read(role:id:):denysecurity:read(policy:id:):allow

Safari - ⚫

🟢 Using an user with security:read(role🆔*):allow and security:read(policy🆔*):deny the Security > Roles should not be visible.

Chrome - 🟢
13_Chrome_security:read(role:id:):allowsecurity:read(policy:id:):deny

Firefox - 🟢
13_Firefox__security:read(role:id:):allowsecurity:read(policy:id:):deny

Safari - ⚫

🟢 Using an user with security:read(role🆔*):deny and security:read(policy🆔*):deny the Security > Roles should not be visible.

Chrome - 🟢
14_Chrome_security:read(role:id:):denysecurity:read(policy:id:):deny

Firefox - 🟢
14_Firefox__security:read(role:id:):denysecurity:read(policy:id:):deny

Safari - ⚫

🟢 Using an user with security:read(role🆔*):allow, security:read(policy🆔*):allow and security:create(*:*:*):allow the button Create role in the Security > Roles should be enabled.

Chrome - 🟢
15_Chrome_security:read(role:id:):allowsecurity:read(policy:id:):allowsecurity:create(::*):allow

Firefox - 🟢
15_Firefox__security:read(role:id:):allowsecurity:read(policy:id:):allowsecurity:create(::*):allow

Safari - ⚫

🟢 Using an user with security:read(role🆔*):allow, security:read(policy🆔*):allow and security:create(*:*:*):deny the button Create role in the Security > Users should be disabled.

Chrome - 🟢
16_Chrome_security:read(role:id:):allowsecurity:read(policy:id:):allowsecurity:create(::*):deny

Firefox - 🟢
16_Firefox__security:read(role:id:):allowsecurity:read(policy:id:):allowsecurity:create(::*):deny

Safari - ⚫

🟢 Using an user with security:read(role🆔*):allow, security:read(policy🆔*):allow and security:delete(role🆔{role_id}):allow the button to remove the role should be enabled.

Chrome - 🟢
17_Chrome_security:read(role:id:):allowsecurity:read(policy:id:):allowsecurity:delete(role:id:102):allow

Firefox - 🟢
17_Firefox_security:read(role:id:):allowsecurity:read(policy:id:):allowsecurity:delete(role:id:102):allow

Safari - ⚫

🟢 Using an user with security:read(role🆔*):allow, security:read(policy🆔*):allow and security:delete(role🆔{role_id}):deny the button to remove the role should be disabled.

Chrome - 🟢
18_Chrome_security:read(role:id:):allowsecurity:read(policy:id:):allowsecurity:delete(role:id:101):deny

Firefox - 🟢
18_Firefox_security:read(role:id:):allowsecurity:read(policy:id:):allowsecurity:delete(role:id:101):deny

Safari - ⚫

🟢 Using an user with security:read(role🆔*):allow, security:read(policy🆔*):allow and security:update(role🆔{user_id}):allow should be allowed to edit the role in Security > Roles.

Chrome - 🟢
19_Chrome_security:read(role:id:):allowsecurity:read(policy:id:):allowsecurity:update(role:id:102):allow

Firefox - 🟢
19_Firefox_security:read(role:id:):allowsecurity:read(policy:id:):allowsecurity:update(role:id:102):allow

Safari - ⚫

🟢 Using an user with security:read(policy🆔*):allow the Security > Policies should be visible.

Chrome - 🟢
20_Chrome_security:read(policy:id:*):allow

Firefox - 🟢
20_Firefox__security:read(policy:id:*):allow

Safari - ⚫

🟢 Using an user with security:read(policy🆔*):deny the Security > Policies should not be visible.

Chrome - 🟢
21_Chrome_security:read(policy:id:*):deny

Firefox - 🟢
21_Firefox_security:read(policy:id:*):deny

Safari - ⚫

🟢 Using an user with security:read(policy🆔*):allow and security:create(*:*:*):allow the button Create policy in the Security > Policies should be enabled.

Chrome - 🟢
22_Chrome_security:read(policy:id:):allowsecurity:create(::):allow

Firefox - 🟢
22_Firefox_security:read(policy:id:):allowsecurity:create(::):allow

Safari - ⚫

🟢 Using an user with security:read(policy🆔*):allow and security:create(*:*:*):deny the button Create policy in the Security > Policies should be disabled.

Chrome - 🟢
23_Chrome_security:read(policy:id:):allowsecurity:create(::):deny

Firefox - 🟢
23_Firefox_security:read(policy:id:):allowsecurity:create(::):deny

Safari - ⚫

🟢 Using an user with security:read(policy🆔*):allow and security:delete(policy🆔{policy_id}):allow the button to remove the policy should be enabled.

Chrome - 🟢
24_Chrome_security:read(policy:id:*):allowsecurity:delete(policy:id:102):allow

Firefox - 🟢
24_Firefox_security:read(policy:id:*):allowsecurity:delete(policy:id:102):allow

Safari - ⚫

🟢 Using an user with security:read(policy🆔*):allow and security:delete(policy🆔{policy_id}):deny the button to remove the policy should be disabled.

Chrome - 🟢
25_Chrome_security:read(policy:id:*):allowsecurity:delete(policy:id:101):deny

Firefox - 🟢
25_Firefox__security:read(policy:id:*):allowsecurity:delete(policy:id:101):deny

Safari - ⚫

🟢 Using an user with security:read(policy🆔*):allow and security:create(*:*:*):allow should be allowed to create an policy through the form.

Chrome - 🟢
26_Chrome_security:read(policy:id:):allowsecurity:create(::):allow

Firefox - 🟢
26_Firefox__security:read(policy:id:):allowsecurity:create(::):allow

Safari - ⚫

🟢 Using an user with security:read(policy🆔*):allow and security:update(policy🆔{policy_id}):allow should be allowed to edit the policy through the form.

Chrome - 🟢
27_Chrome_security:read(policy:id:*):allowsecurity:update(policy:id:101):allow

Firefox - 🟢
27_Firefox_security:read(policy:id:*):allowsecurity:update(policy:id:101):allow

Safari - ⚫

🟢 Using an user with security:read(policy🆔*):allow and security:update(policy🆔{policy_id}):deny should not be allowed to edit the policy through the form.

Chrome - 🟢
28_Chrome_security:read(policy:id:*):allowsecurity:update(policy:id:102):deny

Firefox - 🟢
28_Firefox_security:read(policy:id:*):allowsecurity:update(policy:id:102):deny

Safari - ⚫

🟢 Using an user with security:read(role🆔*):allow and security:read(rule🆔*):allow the Security > Roles mapping should be visible.

Chrome - 🟢
29_Chrome_security:read(role:id:):allowsecurity:read(rule:id:):allow

Firefox - 🟢
29_Firefox_security:read(role:id:):allowsecurity:read(rule:id:):allow

Safari - ⚫

🟢 Using an user with security:read(role🆔*):allow and security:read(rule🆔*):deny the Security > Roles mapping should not be visible.

Chrome - 🟢
30_Chrome_security:read(role:id:):allowsecurity:read(rule:id:):deny

Firefox - 🟢
30_Firefox_security:read(role:id:):allowsecurity:read(rule:id:):deny

Safari - ⚫

🟢 Using an user with security:read(role🆔*):allow, security:read(rule🆔*):allow and security:create(*:*:*):allow the button Create Role mapping in the Security > Roles mapping should be enabled.

Chrome - 🟢
31_Chrome_security:read(role:id:):allowsecurity:read(rule:id:):allowsecurity:create(::*):allow

Firefox - 🟢
31_Firefox_security:read(role:id:):allowsecurity:read(rule:id:):allowsecurity:create(::*):allow

Safari - ⚫

🟢 Using an user with security:read(role🆔*):allow, security:read(rule🆔*):allow and security:create(*:*:*):deny the button Create Role mapping in the Security > Roles mapping should be disabled.

Chrome - 🟢
32_Chrome_security:read(role:id:):allowsecurity:read(rule:id:):allowsecurity:create(::*):deny

Firefox - :
32_Firefox_security:read(role:id:):allowsecurity:read(rule:id:):allowsecurity:create(::*):deny
green_circle:

Safari - ⚫

🟢 Using an user with security:read(role🆔*):allow, security:read(rule🆔*):allow and security:delete(rule🆔{rule_id}):allow the button to remove the role mapping should be enabled.

Chrome - 🟢
33_Chrome_security:read(role:id:):allowsecurity:read(rule:id:):allowsecurity:delete(rule:id:102):allow

Firefox - 🟢
33_Firefox_security:read(role:id:):allowsecurity:read(rule:id:):allowsecurity:delete(rule:id:102):allow

Safari - ⚫

🟢 Using an user with security:read(role🆔*):allow, security:read(rule🆔*):allow and security:delete(rule🆔{rule_id}):deny the button to remove the role mapping should be disabled.

Chrome - 🟢
34_Chrome_security:read(role:id:):allowsecurity:read(rule:id:):allowsecurity:delete(rule:id:101):deny

Firefox - 🟢
34_Firefox_security:read(role:id:):allowsecurity:read(rule:id:):allowsecurity:delete(rule:id:101):deny

Safari - ⚫

🟢 Using an user with security:read(role🆔*):allow, security:read(rule🆔*):allow, security:create(*:*:*):allow, security:update(rule🆔*):allow and security:delete(rule🆔*):allow should be allowed to create a role mapping through the form.

Chrome - 🟢
35_Chrome_security:read(role:id:):allowsecurity:read(rule:id:):allowsecurity:create(::):allowsecurity:update(rule:id:):allowsecurity:delete(rule:id:*):allow

Firefox - 🟢
35_Firefox_security:read(role:id:):allowsecurity:read(rule:id:):allowsecurity:create(::):allowsecurity:update(rule:id:):allowsecurity:delete(rule:id:*):allow

Safari - ⚫

🟢 Using an user with security:read(role🆔*):allow, security:read(rule🆔*):allow, security:create(*:*:*):allow, security:update(rule🆔*):deny and security:delete(rule🆔*):allow should not be allowed to create a role mapping through the form.

Chrome - 🟢
36_Chrome_security:read(role:id:):allowsecurity:read(rule:id:):allowsecurity:create(::):allowsecurity:update(rule:id:):denysecurity:delete(rule:id:*):allow

Firefox - 🟢
36_Firefox_security:read(role:id:):allowsecurity:read(rule:id:):allowsecurity:create(::):allowsecurity:update(rule:id:):denysecurity:delete(rule:id:*):allow

Safari - ⚫

🟢 Using an user with security:read(role🆔*):allow, security:read(rule🆔*):allow, security:create(*:*:*):allow, security:update(rule🆔*):allow and security:delete(rule🆔*):deny should not be allowed to create a role mapping through the form.

Chrome - 🟢
37_Chrome_security:read(role:id:):allowsecurity:read(rule:id:):allowsecurity:create(::):allowsecurity:update(rule:id:):allowsecurity:delete(rule:id:*):deny

Firefox - 🟢
37_Firefox__security:read(role:id:):allowsecurity:read(rule:id:):allowsecurity:create(::):allowsecurity:update(rule:id:):allowsecurity:delete(rule:id:*):deny

Safari - ⚫

🟢 Using an user with security:read(role🆔*):allow, security:read(rule🆔*):allow, security:create(*:*:*):allow, security:update(rule🆔*):deny and security:delete(rule🆔*):deny should not be allowed to create a role mapping through the form.

Chrome - 🟢
38_Chrome_security:read(role:id:):allowsecurity:read(rule:id:):allowsecurity:create(::):allowsecurity:update(rule:id:):denysecurity:delete(rule:id:*):deny

Firefox - 🟢
38_Firefox_security:read(role:id:):allowsecurity:read(rule:id:):allowsecurity:create(::):allowsecurity:update(rule:id:):denysecurity:delete(rule:id:*):deny

Safari - ⚫

🟢 Using an user with security:read(role🆔*):allow, security:read(rule🆔*):allow, security:create(*:*:*):allow, security:update(rule🆔{rule_id}):allow and security:delete(rule🆔{rule_id}):allow should be allowed to edit a role mapping through the form.

Chrome - 🟢
39_Chrome_security:read(role:id:):allowsecurity:read(rule:id:):allowsecurity:create(::*):allowsecurity:update(rule:id:102):allowsecurity:delete(rule:id:102):allow

Firefox - 🟢
39_Firefox_security:read(role:id:):allowsecurity:read(rule:id:):allowsecurity:create(::*):allowsecurity:update(rule:id:102):allowsecurity:delete(rule:id:102):allow png

Safari - ⚫

🟢 Using an user with security:read(role🆔*):allow, security:read(rule🆔*):allow, security:create(*:*:*):allow, security:update(rule🆔{rule_id}):deny and security:delete(rule🆔{rule_id}):allow should not be allowed to edit a role mapping through the form.

Chrome - 🟢
40_Chrome_security:read(role:id:):allowsecurity:read(rule:id:):allowsecurity:create(::*):allowsecurity:update(rule:id:101):denysecurity:delete(rule:id:101):allow

Firefox - :
40_Firefox_security:read(role:id:):allowsecurity:read(rule:id:):allowsecurity:create(::*):allowsecurity:update(rule:id:101):denysecurity:delete(rule:id:101):allow
green_circle:

Safari - ⚫

🟢 Using an user with security:read(role🆔*):allow, security:read(rule🆔*):allow, security:create(*:*:*):allow, security:update(rule🆔{rule_id}):allow and security:delete(rule🆔{rule_id}):deny should be allowed to edit a role mapping through the form.

Chrome - 🟢
41_Chrome_FIXED_security:read(role:id:):allowsecurity:read(rule:id:):allowsecurity:create(::*):allowsecurity:update(rule:id:101):allowsecurity:delete(rule:id:101):deny

Firefox - 🟢
41_Firefox_FIXED_security:read(role:id:):allowsecurity:read(rule:id:):allowsecurity:create(::*):allowsecurity:update(rule:id:101):allowsecurity:delete(rule:id:101):deny

Safari - ⚫

🟢 Using an user with security:read(role🆔*):allow, security:read(rule🆔*):allow, security:create(*:*:*):allow, security:update(rule🆔{rule_id}):deny and security:delete(rule🆔{rule_id}):deny should be allowed to edit a role mapping through the form.

Chrome - 🟢
42_Chrome_FIXED_security:read(role:id:):allowsecurity:read(rule:id:):allowsecurity:create(::*):allowsecurity:update(rule:id:101):denysecurity:delete(rule:id:101):deny

Firefox - 🟢
42_Firefox_FIXED_security:read(role:id:):allowsecurity:read(rule:id:):allowsecurity:create(::*):allowsecurity:update(rule:id:101):denysecurity:delete(rule:id:101):deny

Safari - ⚫

NOTE: The test "Using an user with security:read(role:id:):allow and security:read(rule:id:):allow the Security > Roles mapping should not be visible." has been changed to "Using an user with security:read(role:id:):allow and security:read(rule:id:):deny the Security > Roles mapping should not be visible." because the configuration was the same as the previous test. Based on the expected result, set "security:read(rule:id:*)" as "deny"

@github-actions
Copy link
Contributor

Code coverage (Jest) % values
Statements 9.52% ( 3503 / 36794 )
Branches 5.02% ( 1433 / 28516 )
Functions 8.18% ( 747 / 9122 )
Lines 9.59% ( 3383 / 35249 )

@Desvelao
Copy link
Member Author

Changes

  • Removed the permission requirement security:delete when creating a role mapping
  • Enhance a fine-grain permission requirements when creating or removing a role mapping

@AlexRuiz7 AlexRuiz7 merged commit 252822a into 4.6.0 Jun 28, 2023
@AlexRuiz7 AlexRuiz7 deleted the feat/5235-apply-rbac-security-section branch June 28, 2023 08:25
@github-actions
Copy link
Contributor

The backport to 4.6.0-7.10 failed:

The process '/usr/bin/git' failed with exit code 1

To backport manually, run these commands in your terminal:

# Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add .worktrees/backport-4.6.0-7.10 4.6.0-7.10
# Navigate to the new working tree
cd .worktrees/backport-4.6.0-7.10
# Create a new branch
git switch --create backport-5551-to-4.6.0-7.10
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 252822a4036a17580e7c5f2c848f45e45f3cedae
# Push it to GitHub
git push --set-upstream origin backport-5551-to-4.6.0-7.10
# Go back to the original working tree
cd ../..
# Delete the working tree
git worktree remove .worktrees/backport-4.6.0-7.10

Then, create a pull request where the base branch is 4.6.0-7.10 and the compare/head branch is backport-5551-to-4.6.0-7.10.

@github-actions
Copy link
Contributor

The backport to 4.6.0-7.16 failed:

The process '/usr/bin/git' failed with exit code 1

To backport manually, run these commands in your terminal:

# Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add .worktrees/backport-4.6.0-7.16 4.6.0-7.16
# Navigate to the new working tree
cd .worktrees/backport-4.6.0-7.16
# Create a new branch
git switch --create backport-5551-to-4.6.0-7.16
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 252822a4036a17580e7c5f2c848f45e45f3cedae
# Push it to GitHub
git push --set-upstream origin backport-5551-to-4.6.0-7.16
# Go back to the original working tree
cd ../..
# Delete the working tree
git worktree remove .worktrees/backport-4.6.0-7.16

Then, create a pull request where the base branch is 4.6.0-7.16 and the compare/head branch is backport-5551-to-4.6.0-7.16.

Desvelao added a commit that referenced this pull request Jun 28, 2023
* feat(rbac): add specific RBAC permissions to actions and views

- Add specific RBAC permissions to actions and views
- Remove unused code

* changelog: add pull request entry

* feat(imposter): add mocked API request to imposter

* fix: change title of Security>Roles mapping

* feat: rename files related to API mocked request and add response for GET /security/rules

* fix: fix layout of edit security role flyout

* fix: add missing security permission when the new user is assigned some roles

* Add security actions response

* Add PLUGIN_SECURITY_POLICIES_DENY_UPDATE_POLICY

* fix: permissions when creating or editing a security Role mapping

* fix: remove unused code

* fix: use constant instead of hardcoded values for the WUI security rules from API

* fix: use optional chaining operator

---------

Co-authored-by: yenienserrano <ian.serrano@wazuh.com>
(cherry picked from commit 252822a)
Desvelao added a commit that referenced this pull request Jun 28, 2023
* feat(rbac): add specific RBAC permissions to actions and views

- Add specific RBAC permissions to actions and views
- Remove unused code

* changelog: add pull request entry

* feat(imposter): add mocked API request to imposter

* fix: change title of Security>Roles mapping

* feat: rename files related to API mocked request and add response for GET /security/rules

* fix: fix layout of edit security role flyout

* fix: add missing security permission when the new user is assigned some roles

* Add security actions response

* Add PLUGIN_SECURITY_POLICIES_DENY_UPDATE_POLICY

* fix: permissions when creating or editing a security Role mapping

* fix: remove unused code

* fix: use constant instead of hardcoded values for the WUI security rules from API

* fix: use optional chaining operator

---------

Co-authored-by: yenienserrano <ian.serrano@wazuh.com>
(cherry picked from commit 252822a)
AlexRuiz7 pushed a commit that referenced this pull request Jul 5, 2023
…on (#5619)

Add specific RBAC permissions to Security section (#5551)

* feat(rbac): add specific RBAC permissions to actions and views

- Add specific RBAC permissions to actions and views
- Remove unused code

* changelog: add pull request entry

* feat(imposter): add mocked API request to imposter

* fix: change title of Security>Roles mapping

* feat: rename files related to API mocked request and add response for GET /security/rules

* fix: fix layout of edit security role flyout

* fix: add missing security permission when the new user is assigned some roles

* Add security actions response

* Add PLUGIN_SECURITY_POLICIES_DENY_UPDATE_POLICY

* fix: permissions when creating or editing a security Role mapping

* fix: remove unused code

* fix: use constant instead of hardcoded values for the WUI security rules from API

* fix: use optional chaining operator

---------

Co-authored-by: yenienserrano <ian.serrano@wazuh.com>
(cherry picked from commit 252822a)
AlexRuiz7 pushed a commit that referenced this pull request Jul 5, 2023
…on (#5618)

Add specific RBAC permissions to Security section (#5551)

* feat(rbac): add specific RBAC permissions to actions and views

- Add specific RBAC permissions to actions and views
- Remove unused code

* changelog: add pull request entry

* feat(imposter): add mocked API request to imposter

* fix: change title of Security>Roles mapping

* feat: rename files related to API mocked request and add response for GET /security/rules

* fix: fix layout of edit security role flyout

* fix: add missing security permission when the new user is assigned some roles

* Add security actions response

* Add PLUGIN_SECURITY_POLICIES_DENY_UPDATE_POLICY

* fix: permissions when creating or editing a security Role mapping

* fix: remove unused code

* fix: use constant instead of hardcoded values for the WUI security rules from API

* fix: use optional chaining operator

---------

Co-authored-by: yenienserrano <ian.serrano@wazuh.com>
(cherry picked from commit 252822a)
AlexRuiz7 added a commit that referenced this pull request Jul 11, 2023
* [Backport 4.6.0] Update test snapshots for 4.5 (#5615)

Update test snapshots for 4.5 (#5601)

* Add missing supported versions to the Docker environments (#5584)

feat(environments): add latest versions to Docker environments

- Add Kibana versions: 7.17.7, 7.17.8, 7.17.9 and 7.17.10
- Add OpenSearch: 2.6.0
- Add OpenSearch Dashboards: 2.6.0
- Add Wazuh 4.4.1, 4.4.2, 4.4.3 and 4.4.4

* Update test snapshost

* Update API data to 4.5

* Update branch patterns for GH Actions

---------

Co-authored-by: Antonio <34042064+Desvelao@users.noreply.github.com>
(cherry picked from commit 1ae5f19)

* Add specific RBAC permissions to Security section (#5551)

* feat(rbac): add specific RBAC permissions to actions and views

- Add specific RBAC permissions to actions and views
- Remove unused code

* changelog: add pull request entry

* feat(imposter): add mocked API request to imposter

* fix: change title of Security>Roles mapping

* feat: rename files related to API mocked request and add response for GET /security/rules

* fix: fix layout of edit security role flyout

* fix: add missing security permission when the new user is assigned some roles

* Add security actions response

* Add PLUGIN_SECURITY_POLICIES_DENY_UPDATE_POLICY

* fix: permissions when creating or editing a security Role mapping

* fix: remove unused code

* fix: use constant instead of hardcoded values for the WUI security rules from API

* fix: use optional chaining operator

---------

Co-authored-by: yenienserrano <ian.serrano@wazuh.com>

* Fix API endpoint documentation link in static file (#5611)

* fix(script): fix documentation link generated from API spec

* fix: fix API endpoint documentation link in static file

* Merge 4.5.1 into 4.6.0 (#5671)

* Change windows agent service name (#5538)

* Change windows agent service name to Wazuh

Change windows agent service name to Wazuh

* Add CHANGELOG

* Remove agent name in agent info ribbon (#5497)

* remove: agent name in agent info ribbon

* changelog: add pull request entry

---------

Co-authored-by: Álex Ruiz <alejandro.ruiz.becerra@wazuh.com>

* Fix IPV6 visualizations (#5471)

* add ipv6 service

* add test for service

* Fix issue in agents-table

* fix issue in agents-info

* fix groups agents issue

* Fix width in groups agents

* use mapResponseItem

* Add copy button to groups

* Add copy button to info

* fix for node list

* Optimize code

* Fix styles

* Edit changelog

* Edit changelog

* Add imposter changes to test ipv6

* Replace onMouseDown with onClick

* Move copy buttons to the left

* fix: removed compressipv6 property of TableWzAPI

* feat: add tableLayout property to some tables and remove IPv6 address compression

add tableLayout=auto property to some tables:
- Agents/{agent_id}/Inventory data
- Management/Cluster/Nodes
- Agents
- Management/Configuration/Client
- Management/Global configuration/Remote
remove IPv6 address compression

* remove: remove unused service to IPv6 compression

* revert: revert changes in TableWzAPI component

* add: add mocked responses to some syscollector endpoints

* remove: unwanted table columns properties

* changelog: add pull request entry

* Fix imposter

---------

Co-authored-by: Antonio David Gutiérrez <antonio.gutierrez@wazuh.com>
Co-authored-by: Álex Ruiz <alejandro.ruiz.becerra@wazuh.com>
Co-authored-by: yenienserrano <ian.serrano@wazuh.com>
Co-authored-by: Antonio <34042064+Desvelao@users.noreply.github.com>

* Bump v4.4.4-2.6.0-rc2

* Add Apple Silicon architecture to the register Agent wizard (#5478)

* Add Apple Silicon architecture

* Add changelog

* Change macOS environment variables

* Revert "Change macOS environment variables"

This reverts commit 108e866.

* Change macOS architecture ids

* Add missing supported versions to the Docker environments (#5584)

feat(environments): add latest versions to Docker environments

- Add Kibana versions: 7.17.7, 7.17.8, 7.17.9 and 7.17.10
- Add OpenSearch: 2.6.0
- Add OpenSearch Dashboards: 2.6.0
- Add Wazuh 4.4.1, 4.4.2, 4.4.3 and 4.4.4

* Bump 4.5.1

* Change the method to make the redirect (#5539)

* Change the metod to make the redirect

* Remove unused code

* Add changelog

---------

Co-authored-by: Álex Ruiz <alejandro.ruiz.becerra@wazuh.com>

* Fix agents active coverage stat as NaN (#5490)

* fix: agents active coverate stat as NaN

Ensure the values used to calculate have the expected types and
the total count is greater than 0.

* remove: unused openRegistrationDocs method

* changelog: add entry

* fix: check if agents active coverage is a NaN

* changelog: fix entry

---------

Co-authored-by: Álex Ruiz <alejandro.ruiz.becerra@wazuh.com>

* [Backport 4.5.1] Update test snapshots for 4.5 (#5607)

* Update test snapshots for 4.5 (#5601)

* Add missing supported versions to the Docker environments (#5584)

feat(environments): add latest versions to Docker environments

- Add Kibana versions: 7.17.7, 7.17.8, 7.17.9 and 7.17.10
- Add OpenSearch: 2.6.0
- Add OpenSearch Dashboards: 2.6.0
- Add Wazuh 4.4.1, 4.4.2, 4.4.3 and 4.4.4

* Update test snapshost

* Update API data to 4.5

* Update branch patterns for GH Actions

---------

Co-authored-by: Antonio <34042064+Desvelao@users.noreply.github.com>
(cherry picked from commit 1ae5f19)

* Fix API reference links in endpoints.json

* Add kbn-dev 7.17.11 (#5628)

* Merge 4.5.0 into 4.5.1 (#5670)

* Update test snapshots for 4.5 (#5601)

* Add missing supported versions to the Docker environments (#5584)

feat(environments): add latest versions to Docker environments

- Add Kibana versions: 7.17.7, 7.17.8, 7.17.9 and 7.17.10
- Add OpenSearch: 2.6.0
- Add OpenSearch Dashboards: 2.6.0
- Add Wazuh 4.4.1, 4.4.2, 4.4.3 and 4.4.4

* Update test snapshost

* Update API data to 4.5

* Update branch patterns for GH Actions

---------

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

* Fix API reference links in endpoints.json

* Merge 4.4 into 4.5.0 (#5669)

Merge v4.4.5-2.6.0 into 4.4 (#5665)

* Bump Wazuh and platform versions for v4.4.5 (#5639)

* Update changelog

* Update opensearch_dashboards.json

* Update package.json

* Update readme

* Update tag script

* Change tag.py version value

* Empty tag suffix

* Prepare tag.py for v4.4.5-rc1 (#5645)

Add -rc1 tag suffix

* Fix incompatible version of triple-beam subdependency (#5652)

fix: add yarn.lock file and set version of triple-beam in yarn.lock

* Update unit-test.yml (#5655)

* Add support for Wazuh 4.4.5-rc2 (#5659)

* Update revision of v4.4.5 in the Changelog

* Bump v4.4.5-2.6.0-rc2

---------

Co-authored-by: Nicolas Agustin Guevara Pihen <42900763+Tostti@users.noreply.github.com>
Co-authored-by: Federico Rodriguez <federico.rodriguez@wazuh.com>
Co-authored-by: Álex Ruiz <alejandro.ruiz.becerra@wazuh.com>
Co-authored-by: Antonio <34042064+Desvelao@users.noreply.github.com>

---------

Co-authored-by: Álex Ruiz <alejandro.ruiz.becerra@wazuh.com>
Co-authored-by: Antonio <34042064+Desvelao@users.noreply.github.com>
Co-authored-by: Nicolas Agustin Guevara Pihen <42900763+Tostti@users.noreply.github.com>
Co-authored-by: Federico Rodriguez <federico.rodriguez@wazuh.com>

---------

Co-authored-by: Julio César Biset <43619595+jbiset@users.noreply.github.com>
Co-authored-by: Antonio <34042064+Desvelao@users.noreply.github.com>
Co-authored-by: Álex Ruiz <alejandro.ruiz.becerra@wazuh.com>
Co-authored-by: Nicolas Agustin Guevara Pihen <42900763+Tostti@users.noreply.github.com>
Co-authored-by: Antonio David Gutiérrez <antonio.gutierrez@wazuh.com>
Co-authored-by: Federico Rodriguez <federico.rodriguez@wazuh.com>

* Fix snapshot

---------

Co-authored-by: Álex Ruiz <alejandro.ruiz.becerra@wazuh.com>
Co-authored-by: Antonio <34042064+Desvelao@users.noreply.github.com>
Co-authored-by: Julio César Biset <43619595+jbiset@users.noreply.github.com>
Co-authored-by: Nicolas Agustin Guevara Pihen <42900763+Tostti@users.noreply.github.com>
Co-authored-by: Antonio David Gutiérrez <antonio.gutierrez@wazuh.com>
Co-authored-by: Federico Rodriguez <federico.rodriguez@wazuh.com>
@Desvelao Desvelao mentioned this pull request Jul 20, 2023
6 tasks
Desvelao added a commit that referenced this pull request Jul 20, 2023
* [Backport 4.6.0] Update test snapshots for 4.5 (#5615)

Update test snapshots for 4.5 (#5601)

* Add missing supported versions to the Docker environments (#5584)

feat(environments): add latest versions to Docker environments

- Add Kibana versions: 7.17.7, 7.17.8, 7.17.9 and 7.17.10
- Add OpenSearch: 2.6.0
- Add OpenSearch Dashboards: 2.6.0
- Add Wazuh 4.4.1, 4.4.2, 4.4.3 and 4.4.4

* Update test snapshost

* Update API data to 4.5

* Update branch patterns for GH Actions

---------

Co-authored-by: Antonio <34042064+Desvelao@users.noreply.github.com>
(cherry picked from commit 1ae5f19)

* Add specific RBAC permissions to Security section (#5551)

* feat(rbac): add specific RBAC permissions to actions and views

- Add specific RBAC permissions to actions and views
- Remove unused code

* changelog: add pull request entry

* feat(imposter): add mocked API request to imposter

* fix: change title of Security>Roles mapping

* feat: rename files related to API mocked request and add response for GET /security/rules

* fix: fix layout of edit security role flyout

* fix: add missing security permission when the new user is assigned some roles

* Add security actions response

* Add PLUGIN_SECURITY_POLICIES_DENY_UPDATE_POLICY

* fix: permissions when creating or editing a security Role mapping

* fix: remove unused code

* fix: use constant instead of hardcoded values for the WUI security rules from API

* fix: use optional chaining operator

---------

Co-authored-by: yenienserrano <ian.serrano@wazuh.com>

* Fix API endpoint documentation link in static file (#5611)

* fix(script): fix documentation link generated from API spec

* fix: fix API endpoint documentation link in static file

* Bump 4.7.0 (#5629)

* Bump 4.7.0

* Update snapshots

* Bump API spec

---------

Co-authored-by: Alex Ruiz Becerra <alejandro.ruiz.becerra@wazuh.com>

* Merge 4.6.0 into 4.7.0  (#5675)

Merge 4.5.1 into 4.6.0 (#5671)

* Change windows agent service name (#5538)

* Change windows agent service name to Wazuh

Change windows agent service name to Wazuh

* Add CHANGELOG

* Remove agent name in agent info ribbon (#5497)

* remove: agent name in agent info ribbon

* changelog: add pull request entry

---------



* Fix IPV6 visualizations (#5471)

* add ipv6 service

* add test for service

* Fix issue in agents-table

* fix issue in agents-info

* fix groups agents issue

* Fix width in groups agents

* use mapResponseItem

* Add copy button to groups

* Add copy button to info

* fix for node list

* Optimize code

* Fix styles

* Edit changelog

* Edit changelog

* Add imposter changes to test ipv6

* Replace onMouseDown with onClick

* Move copy buttons to the left

* fix: removed compressipv6 property of TableWzAPI

* feat: add tableLayout property to some tables and remove IPv6 address compression

add tableLayout=auto property to some tables:
- Agents/{agent_id}/Inventory data
- Management/Cluster/Nodes
- Agents
- Management/Configuration/Client
- Management/Global configuration/Remote
remove IPv6 address compression

* remove: remove unused service to IPv6 compression

* revert: revert changes in TableWzAPI component

* add: add mocked responses to some syscollector endpoints

* remove: unwanted table columns properties

* changelog: add pull request entry

* Fix imposter

---------






* Bump v4.4.4-2.6.0-rc2

* Add Apple Silicon architecture to the register Agent wizard (#5478)

* Add Apple Silicon architecture

* Add changelog

* Change macOS environment variables

* Revert "Change macOS environment variables"

This reverts commit 108e866.

* Change macOS architecture ids

* Add missing supported versions to the Docker environments (#5584)

feat(environments): add latest versions to Docker environments

- Add Kibana versions: 7.17.7, 7.17.8, 7.17.9 and 7.17.10
- Add OpenSearch: 2.6.0
- Add OpenSearch Dashboards: 2.6.0
- Add Wazuh 4.4.1, 4.4.2, 4.4.3 and 4.4.4

* Bump 4.5.1

* Change the method to make the redirect (#5539)

* Change the metod to make the redirect

* Remove unused code

* Add changelog

---------



* Fix agents active coverage stat as NaN (#5490)

* fix: agents active coverate stat as NaN

Ensure the values used to calculate have the expected types and
the total count is greater than 0.

* remove: unused openRegistrationDocs method

* changelog: add entry

* fix: check if agents active coverage is a NaN

* changelog: fix entry

---------



* [Backport 4.5.1] Update test snapshots for 4.5 (#5607)

* Update test snapshots for 4.5 (#5601)

* Add missing supported versions to the Docker environments (#5584)

feat(environments): add latest versions to Docker environments

- Add Kibana versions: 7.17.7, 7.17.8, 7.17.9 and 7.17.10
- Add OpenSearch: 2.6.0
- Add OpenSearch Dashboards: 2.6.0
- Add Wazuh 4.4.1, 4.4.2, 4.4.3 and 4.4.4

* Update test snapshost

* Update API data to 4.5

* Update branch patterns for GH Actions

---------


(cherry picked from commit 1ae5f19)

* Fix API reference links in endpoints.json

* Add kbn-dev 7.17.11 (#5628)

* Merge 4.5.0 into 4.5.1 (#5670)

* Update test snapshots for 4.5 (#5601)

* Add missing supported versions to the Docker environments (#5584)

feat(environments): add latest versions to Docker environments

- Add Kibana versions: 7.17.7, 7.17.8, 7.17.9 and 7.17.10
- Add OpenSearch: 2.6.0
- Add OpenSearch Dashboards: 2.6.0
- Add Wazuh 4.4.1, 4.4.2, 4.4.3 and 4.4.4

* Update test snapshost

* Update API data to 4.5

* Update branch patterns for GH Actions

---------



* Fix API reference links in endpoints.json

* Merge 4.4 into 4.5.0 (#5669)

Merge v4.4.5-2.6.0 into 4.4 (#5665)

* Bump Wazuh and platform versions for v4.4.5 (#5639)

* Update changelog

* Update opensearch_dashboards.json

* Update package.json

* Update readme

* Update tag script

* Change tag.py version value

* Empty tag suffix

* Prepare tag.py for v4.4.5-rc1 (#5645)

Add -rc1 tag suffix

* Fix incompatible version of triple-beam subdependency (#5652)

fix: add yarn.lock file and set version of triple-beam in yarn.lock

* Update unit-test.yml (#5655)

* Add support for Wazuh 4.4.5-rc2 (#5659)

* Update revision of v4.4.5 in the Changelog

* Bump v4.4.5-2.6.0-rc2

---------






---------






---------

Co-authored-by: Julio César Biset <43619595+jbiset@users.noreply.github.com>
Co-authored-by: Antonio <34042064+Desvelao@users.noreply.github.com>
Co-authored-by: Álex Ruiz <alejandro.ruiz.becerra@wazuh.com>
Co-authored-by: Nicolas Agustin Guevara Pihen <42900763+Tostti@users.noreply.github.com>
Co-authored-by: Antonio David Gutiérrez <antonio.gutierrez@wazuh.com>
Co-authored-by: Federico Rodriguez <federico.rodriguez@wazuh.com>

* Merge 4.6.0 into 4.7.0 (#5711)

* Merge 4.5.1 into 4.6.0 (#5671)

* Change windows agent service name (#5538)

* Change windows agent service name to Wazuh

Change windows agent service name to Wazuh

* Add CHANGELOG

* Remove agent name in agent info ribbon (#5497)

* remove: agent name in agent info ribbon

* changelog: add pull request entry

---------

Co-authored-by: Álex Ruiz <alejandro.ruiz.becerra@wazuh.com>

* Fix IPV6 visualizations (#5471)

* add ipv6 service

* add test for service

* Fix issue in agents-table

* fix issue in agents-info

* fix groups agents issue

* Fix width in groups agents

* use mapResponseItem

* Add copy button to groups

* Add copy button to info

* fix for node list

* Optimize code

* Fix styles

* Edit changelog

* Edit changelog

* Add imposter changes to test ipv6

* Replace onMouseDown with onClick

* Move copy buttons to the left

* fix: removed compressipv6 property of TableWzAPI

* feat: add tableLayout property to some tables and remove IPv6 address compression

add tableLayout=auto property to some tables:
- Agents/{agent_id}/Inventory data
- Management/Cluster/Nodes
- Agents
- Management/Configuration/Client
- Management/Global configuration/Remote
remove IPv6 address compression

* remove: remove unused service to IPv6 compression

* revert: revert changes in TableWzAPI component

* add: add mocked responses to some syscollector endpoints

* remove: unwanted table columns properties

* changelog: add pull request entry

* Fix imposter

---------

Co-authored-by: Antonio David Gutiérrez <antonio.gutierrez@wazuh.com>
Co-authored-by: Álex Ruiz <alejandro.ruiz.becerra@wazuh.com>
Co-authored-by: yenienserrano <ian.serrano@wazuh.com>
Co-authored-by: Antonio <34042064+Desvelao@users.noreply.github.com>

* Bump v4.4.4-2.6.0-rc2

* Add Apple Silicon architecture to the register Agent wizard (#5478)

* Add Apple Silicon architecture

* Add changelog

* Change macOS environment variables

* Revert "Change macOS environment variables"

This reverts commit 108e866.

* Change macOS architecture ids

* Add missing supported versions to the Docker environments (#5584)

feat(environments): add latest versions to Docker environments

- Add Kibana versions: 7.17.7, 7.17.8, 7.17.9 and 7.17.10
- Add OpenSearch: 2.6.0
- Add OpenSearch Dashboards: 2.6.0
- Add Wazuh 4.4.1, 4.4.2, 4.4.3 and 4.4.4

* Bump 4.5.1

* Change the method to make the redirect (#5539)

* Change the metod to make the redirect

* Remove unused code

* Add changelog

---------

Co-authored-by: Álex Ruiz <alejandro.ruiz.becerra@wazuh.com>

* Fix agents active coverage stat as NaN (#5490)

* fix: agents active coverate stat as NaN

Ensure the values used to calculate have the expected types and
the total count is greater than 0.

* remove: unused openRegistrationDocs method

* changelog: add entry

* fix: check if agents active coverage is a NaN

* changelog: fix entry

---------

Co-authored-by: Álex Ruiz <alejandro.ruiz.becerra@wazuh.com>

* [Backport 4.5.1] Update test snapshots for 4.5 (#5607)

* Update test snapshots for 4.5 (#5601)

* Add missing supported versions to the Docker environments (#5584)

feat(environments): add latest versions to Docker environments

- Add Kibana versions: 7.17.7, 7.17.8, 7.17.9 and 7.17.10
- Add OpenSearch: 2.6.0
- Add OpenSearch Dashboards: 2.6.0
- Add Wazuh 4.4.1, 4.4.2, 4.4.3 and 4.4.4

* Update test snapshost

* Update API data to 4.5

* Update branch patterns for GH Actions

---------

Co-authored-by: Antonio <34042064+Desvelao@users.noreply.github.com>
(cherry picked from commit 1ae5f19)

* Fix API reference links in endpoints.json

* Add kbn-dev 7.17.11 (#5628)

* Merge 4.5.0 into 4.5.1 (#5670)

* Update test snapshots for 4.5 (#5601)

* Add missing supported versions to the Docker environments (#5584)

feat(environments): add latest versions to Docker environments

- Add Kibana versions: 7.17.7, 7.17.8, 7.17.9 and 7.17.10
- Add OpenSearch: 2.6.0
- Add OpenSearch Dashboards: 2.6.0
- Add Wazuh 4.4.1, 4.4.2, 4.4.3 and 4.4.4

* Update test snapshost

* Update API data to 4.5

* Update branch patterns for GH Actions

---------

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

* Fix API reference links in endpoints.json

* Merge 4.4 into 4.5.0 (#5669)

Merge v4.4.5-2.6.0 into 4.4 (#5665)

* Bump Wazuh and platform versions for v4.4.5 (#5639)

* Update changelog

* Update opensearch_dashboards.json

* Update package.json

* Update readme

* Update tag script

* Change tag.py version value

* Empty tag suffix

* Prepare tag.py for v4.4.5-rc1 (#5645)

Add -rc1 tag suffix

* Fix incompatible version of triple-beam subdependency (#5652)

fix: add yarn.lock file and set version of triple-beam in yarn.lock

* Update unit-test.yml (#5655)

* Add support for Wazuh 4.4.5-rc2 (#5659)

* Update revision of v4.4.5 in the Changelog

* Bump v4.4.5-2.6.0-rc2

---------

Co-authored-by: Nicolas Agustin Guevara Pihen <42900763+Tostti@users.noreply.github.com>
Co-authored-by: Federico Rodriguez <federico.rodriguez@wazuh.com>
Co-authored-by: Álex Ruiz <alejandro.ruiz.becerra@wazuh.com>
Co-authored-by: Antonio <34042064+Desvelao@users.noreply.github.com>

---------

Co-authored-by: Álex Ruiz <alejandro.ruiz.becerra@wazuh.com>
Co-authored-by: Antonio <34042064+Desvelao@users.noreply.github.com>
Co-authored-by: Nicolas Agustin Guevara Pihen <42900763+Tostti@users.noreply.github.com>
Co-authored-by: Federico Rodriguez <federico.rodriguez@wazuh.com>

---------

Co-authored-by: Julio César Biset <43619595+jbiset@users.noreply.github.com>
Co-authored-by: Antonio <34042064+Desvelao@users.noreply.github.com>
Co-authored-by: Álex Ruiz <alejandro.ruiz.becerra@wazuh.com>
Co-authored-by: Nicolas Agustin Guevara Pihen <42900763+Tostti@users.noreply.github.com>
Co-authored-by: Antonio David Gutiérrez <antonio.gutierrez@wazuh.com>
Co-authored-by: Federico Rodriguez <federico.rodriguez@wazuh.com>

* Remove unused embedded jquery-ui (#5592)

* fix: remove unused embedded jquery-ui dependency

* changelog: add pull request entry

---------

Co-authored-by: Federico Rodriguez <federico.rodriguez@wazuh.com>

* Fixes redirection problem to inventory data, stats and configuration in an agent (#5685)

Fix redirect to inventory data, stats and configuration

* Fix conflicts in branch synchronization (#5708)

* fix: fix conflicts

* changelog: remove entry

* Fix 4.6.0 changelog merge errors (#5692)

* Update changelog

* Update CHANGELOG.md

---------

Co-authored-by: Ian Yenien Serrano <63758389+yenienserrano@users.noreply.github.com>
Co-authored-by: Julio César Biset <43619595+jbiset@users.noreply.github.com>
Co-authored-by: Álex Ruiz <alejandro.ruiz.becerra@wazuh.com>
Co-authored-by: Nicolas Agustin Guevara Pihen <42900763+Tostti@users.noreply.github.com>
Co-authored-by: Federico Rodriguez <federico.rodriguez@wazuh.com>

---------

Co-authored-by: Álex Ruiz <alejandro.ruiz.becerra@wazuh.com>
Co-authored-by: yenienserrano <ian.serrano@wazuh.com>
Co-authored-by: Federico Rodriguez <federico.rodriguez@wazuh.com>
Co-authored-by: Ian Yenien Serrano <63758389+yenienserrano@users.noreply.github.com>
Co-authored-by: Julio César Biset <43619595+jbiset@users.noreply.github.com>
Co-authored-by: Nicolas Agustin Guevara Pihen <42900763+Tostti@users.noreply.github.com>
Desvelao added a commit that referenced this pull request Jul 21, 2023
* [Backport 4.6.0] Update test snapshots for 4.5 (#5615)

Update test snapshots for 4.5 (#5601)

* Add missing supported versions to the Docker environments (#5584)

feat(environments): add latest versions to Docker environments

- Add Kibana versions: 7.17.7, 7.17.8, 7.17.9 and 7.17.10
- Add OpenSearch: 2.6.0
- Add OpenSearch Dashboards: 2.6.0
- Add Wazuh 4.4.1, 4.4.2, 4.4.3 and 4.4.4

* Update test snapshost

* Update API data to 4.5

* Update branch patterns for GH Actions

---------

Co-authored-by: Antonio <34042064+Desvelao@users.noreply.github.com>
(cherry picked from commit 1ae5f19)

* Add specific RBAC permissions to Security section (#5551)

* feat(rbac): add specific RBAC permissions to actions and views

- Add specific RBAC permissions to actions and views
- Remove unused code

* changelog: add pull request entry

* feat(imposter): add mocked API request to imposter

* fix: change title of Security>Roles mapping

* feat: rename files related to API mocked request and add response for GET /security/rules

* fix: fix layout of edit security role flyout

* fix: add missing security permission when the new user is assigned some roles

* Add security actions response

* Add PLUGIN_SECURITY_POLICIES_DENY_UPDATE_POLICY

* fix: permissions when creating or editing a security Role mapping

* fix: remove unused code

* fix: use constant instead of hardcoded values for the WUI security rules from API

* fix: use optional chaining operator

---------

Co-authored-by: yenienserrano <ian.serrano@wazuh.com>

* Fix API endpoint documentation link in static file (#5611)

* fix(script): fix documentation link generated from API spec

* fix: fix API endpoint documentation link in static file

* Bump 4.7.0 (#5629)

* Bump 4.7.0

* Update snapshots

* Bump API spec

---------

Co-authored-by: Alex Ruiz Becerra <alejandro.ruiz.becerra@wazuh.com>

* Merge 4.6.0 into 4.7.0  (#5675)

Merge 4.5.1 into 4.6.0 (#5671)

* Change windows agent service name (#5538)

* Change windows agent service name to Wazuh

Change windows agent service name to Wazuh

* Add CHANGELOG

* Remove agent name in agent info ribbon (#5497)

* remove: agent name in agent info ribbon

* changelog: add pull request entry

---------



* Fix IPV6 visualizations (#5471)

* add ipv6 service

* add test for service

* Fix issue in agents-table

* fix issue in agents-info

* fix groups agents issue

* Fix width in groups agents

* use mapResponseItem

* Add copy button to groups

* Add copy button to info

* fix for node list

* Optimize code

* Fix styles

* Edit changelog

* Edit changelog

* Add imposter changes to test ipv6

* Replace onMouseDown with onClick

* Move copy buttons to the left

* fix: removed compressipv6 property of TableWzAPI

* feat: add tableLayout property to some tables and remove IPv6 address compression

add tableLayout=auto property to some tables:
- Agents/{agent_id}/Inventory data
- Management/Cluster/Nodes
- Agents
- Management/Configuration/Client
- Management/Global configuration/Remote
remove IPv6 address compression

* remove: remove unused service to IPv6 compression

* revert: revert changes in TableWzAPI component

* add: add mocked responses to some syscollector endpoints

* remove: unwanted table columns properties

* changelog: add pull request entry

* Fix imposter

---------






* Bump v4.4.4-2.6.0-rc2

* Add Apple Silicon architecture to the register Agent wizard (#5478)

* Add Apple Silicon architecture

* Add changelog

* Change macOS environment variables

* Revert "Change macOS environment variables"

This reverts commit 108e866.

* Change macOS architecture ids

* Add missing supported versions to the Docker environments (#5584)

feat(environments): add latest versions to Docker environments

- Add Kibana versions: 7.17.7, 7.17.8, 7.17.9 and 7.17.10
- Add OpenSearch: 2.6.0
- Add OpenSearch Dashboards: 2.6.0
- Add Wazuh 4.4.1, 4.4.2, 4.4.3 and 4.4.4

* Bump 4.5.1

* Change the method to make the redirect (#5539)

* Change the metod to make the redirect

* Remove unused code

* Add changelog

---------



* Fix agents active coverage stat as NaN (#5490)

* fix: agents active coverate stat as NaN

Ensure the values used to calculate have the expected types and
the total count is greater than 0.

* remove: unused openRegistrationDocs method

* changelog: add entry

* fix: check if agents active coverage is a NaN

* changelog: fix entry

---------



* [Backport 4.5.1] Update test snapshots for 4.5 (#5607)

* Update test snapshots for 4.5 (#5601)

* Add missing supported versions to the Docker environments (#5584)

feat(environments): add latest versions to Docker environments

- Add Kibana versions: 7.17.7, 7.17.8, 7.17.9 and 7.17.10
- Add OpenSearch: 2.6.0
- Add OpenSearch Dashboards: 2.6.0
- Add Wazuh 4.4.1, 4.4.2, 4.4.3 and 4.4.4

* Update test snapshost

* Update API data to 4.5

* Update branch patterns for GH Actions

---------


(cherry picked from commit 1ae5f19)

* Fix API reference links in endpoints.json

* Add kbn-dev 7.17.11 (#5628)

* Merge 4.5.0 into 4.5.1 (#5670)

* Update test snapshots for 4.5 (#5601)

* Add missing supported versions to the Docker environments (#5584)

feat(environments): add latest versions to Docker environments

- Add Kibana versions: 7.17.7, 7.17.8, 7.17.9 and 7.17.10
- Add OpenSearch: 2.6.0
- Add OpenSearch Dashboards: 2.6.0
- Add Wazuh 4.4.1, 4.4.2, 4.4.3 and 4.4.4

* Update test snapshost

* Update API data to 4.5

* Update branch patterns for GH Actions

---------



* Fix API reference links in endpoints.json

* Merge 4.4 into 4.5.0 (#5669)

Merge v4.4.5-2.6.0 into 4.4 (#5665)

* Bump Wazuh and platform versions for v4.4.5 (#5639)

* Update changelog

* Update opensearch_dashboards.json

* Update package.json

* Update readme

* Update tag script

* Change tag.py version value

* Empty tag suffix

* Prepare tag.py for v4.4.5-rc1 (#5645)

Add -rc1 tag suffix

* Fix incompatible version of triple-beam subdependency (#5652)

fix: add yarn.lock file and set version of triple-beam in yarn.lock

* Update unit-test.yml (#5655)

* Add support for Wazuh 4.4.5-rc2 (#5659)

* Update revision of v4.4.5 in the Changelog

* Bump v4.4.5-2.6.0-rc2

---------






---------






---------

Co-authored-by: Julio César Biset <43619595+jbiset@users.noreply.github.com>
Co-authored-by: Antonio <34042064+Desvelao@users.noreply.github.com>
Co-authored-by: Álex Ruiz <alejandro.ruiz.becerra@wazuh.com>
Co-authored-by: Nicolas Agustin Guevara Pihen <42900763+Tostti@users.noreply.github.com>
Co-authored-by: Antonio David Gutiérrez <antonio.gutierrez@wazuh.com>
Co-authored-by: Federico Rodriguez <federico.rodriguez@wazuh.com>

* Merge 4.6.0 into 4.7.0 (#5711)

* Merge 4.5.1 into 4.6.0 (#5671)

* Change windows agent service name (#5538)

* Change windows agent service name to Wazuh

Change windows agent service name to Wazuh

* Add CHANGELOG

* Remove agent name in agent info ribbon (#5497)

* remove: agent name in agent info ribbon

* changelog: add pull request entry

---------

Co-authored-by: Álex Ruiz <alejandro.ruiz.becerra@wazuh.com>

* Fix IPV6 visualizations (#5471)

* add ipv6 service

* add test for service

* Fix issue in agents-table

* fix issue in agents-info

* fix groups agents issue

* Fix width in groups agents

* use mapResponseItem

* Add copy button to groups

* Add copy button to info

* fix for node list

* Optimize code

* Fix styles

* Edit changelog

* Edit changelog

* Add imposter changes to test ipv6

* Replace onMouseDown with onClick

* Move copy buttons to the left

* fix: removed compressipv6 property of TableWzAPI

* feat: add tableLayout property to some tables and remove IPv6 address compression

add tableLayout=auto property to some tables:
- Agents/{agent_id}/Inventory data
- Management/Cluster/Nodes
- Agents
- Management/Configuration/Client
- Management/Global configuration/Remote
remove IPv6 address compression

* remove: remove unused service to IPv6 compression

* revert: revert changes in TableWzAPI component

* add: add mocked responses to some syscollector endpoints

* remove: unwanted table columns properties

* changelog: add pull request entry

* Fix imposter

---------

Co-authored-by: Antonio David Gutiérrez <antonio.gutierrez@wazuh.com>
Co-authored-by: Álex Ruiz <alejandro.ruiz.becerra@wazuh.com>
Co-authored-by: yenienserrano <ian.serrano@wazuh.com>
Co-authored-by: Antonio <34042064+Desvelao@users.noreply.github.com>

* Bump v4.4.4-2.6.0-rc2

* Add Apple Silicon architecture to the register Agent wizard (#5478)

* Add Apple Silicon architecture

* Add changelog

* Change macOS environment variables

* Revert "Change macOS environment variables"

This reverts commit 108e866.

* Change macOS architecture ids

* Add missing supported versions to the Docker environments (#5584)

feat(environments): add latest versions to Docker environments

- Add Kibana versions: 7.17.7, 7.17.8, 7.17.9 and 7.17.10
- Add OpenSearch: 2.6.0
- Add OpenSearch Dashboards: 2.6.0
- Add Wazuh 4.4.1, 4.4.2, 4.4.3 and 4.4.4

* Bump 4.5.1

* Change the method to make the redirect (#5539)

* Change the metod to make the redirect

* Remove unused code

* Add changelog

---------

Co-authored-by: Álex Ruiz <alejandro.ruiz.becerra@wazuh.com>

* Fix agents active coverage stat as NaN (#5490)

* fix: agents active coverate stat as NaN

Ensure the values used to calculate have the expected types and
the total count is greater than 0.

* remove: unused openRegistrationDocs method

* changelog: add entry

* fix: check if agents active coverage is a NaN

* changelog: fix entry

---------

Co-authored-by: Álex Ruiz <alejandro.ruiz.becerra@wazuh.com>

* [Backport 4.5.1] Update test snapshots for 4.5 (#5607)

* Update test snapshots for 4.5 (#5601)

* Add missing supported versions to the Docker environments (#5584)

feat(environments): add latest versions to Docker environments

- Add Kibana versions: 7.17.7, 7.17.8, 7.17.9 and 7.17.10
- Add OpenSearch: 2.6.0
- Add OpenSearch Dashboards: 2.6.0
- Add Wazuh 4.4.1, 4.4.2, 4.4.3 and 4.4.4

* Update test snapshost

* Update API data to 4.5

* Update branch patterns for GH Actions

---------

Co-authored-by: Antonio <34042064+Desvelao@users.noreply.github.com>
(cherry picked from commit 1ae5f19)

* Fix API reference links in endpoints.json

* Add kbn-dev 7.17.11 (#5628)

* Merge 4.5.0 into 4.5.1 (#5670)

* Update test snapshots for 4.5 (#5601)

* Add missing supported versions to the Docker environments (#5584)

feat(environments): add latest versions to Docker environments

- Add Kibana versions: 7.17.7, 7.17.8, 7.17.9 and 7.17.10
- Add OpenSearch: 2.6.0
- Add OpenSearch Dashboards: 2.6.0
- Add Wazuh 4.4.1, 4.4.2, 4.4.3 and 4.4.4

* Update test snapshost

* Update API data to 4.5

* Update branch patterns for GH Actions

---------

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

* Fix API reference links in endpoints.json

* Merge 4.4 into 4.5.0 (#5669)

Merge v4.4.5-2.6.0 into 4.4 (#5665)

* Bump Wazuh and platform versions for v4.4.5 (#5639)

* Update changelog

* Update opensearch_dashboards.json

* Update package.json

* Update readme

* Update tag script

* Change tag.py version value

* Empty tag suffix

* Prepare tag.py for v4.4.5-rc1 (#5645)

Add -rc1 tag suffix

* Fix incompatible version of triple-beam subdependency (#5652)

fix: add yarn.lock file and set version of triple-beam in yarn.lock

* Update unit-test.yml (#5655)

* Add support for Wazuh 4.4.5-rc2 (#5659)

* Update revision of v4.4.5 in the Changelog

* Bump v4.4.5-2.6.0-rc2

---------

Co-authored-by: Nicolas Agustin Guevara Pihen <42900763+Tostti@users.noreply.github.com>
Co-authored-by: Federico Rodriguez <federico.rodriguez@wazuh.com>
Co-authored-by: Álex Ruiz <alejandro.ruiz.becerra@wazuh.com>
Co-authored-by: Antonio <34042064+Desvelao@users.noreply.github.com>

---------

Co-authored-by: Álex Ruiz <alejandro.ruiz.becerra@wazuh.com>
Co-authored-by: Antonio <34042064+Desvelao@users.noreply.github.com>
Co-authored-by: Nicolas Agustin Guevara Pihen <42900763+Tostti@users.noreply.github.com>
Co-authored-by: Federico Rodriguez <federico.rodriguez@wazuh.com>

---------

Co-authored-by: Julio César Biset <43619595+jbiset@users.noreply.github.com>
Co-authored-by: Antonio <34042064+Desvelao@users.noreply.github.com>
Co-authored-by: Álex Ruiz <alejandro.ruiz.becerra@wazuh.com>
Co-authored-by: Nicolas Agustin Guevara Pihen <42900763+Tostti@users.noreply.github.com>
Co-authored-by: Antonio David Gutiérrez <antonio.gutierrez@wazuh.com>
Co-authored-by: Federico Rodriguez <federico.rodriguez@wazuh.com>

* Remove unused embedded jquery-ui (#5592)

* fix: remove unused embedded jquery-ui dependency

* changelog: add pull request entry

---------

Co-authored-by: Federico Rodriguez <federico.rodriguez@wazuh.com>

* Fixes redirection problem to inventory data, stats and configuration in an agent (#5685)

Fix redirect to inventory data, stats and configuration

* Fix conflicts in branch synchronization (#5708)

* fix: fix conflicts

* changelog: remove entry

* Fix 4.6.0 changelog merge errors (#5692)

* Update changelog

* Update CHANGELOG.md

---------

Co-authored-by: Ian Yenien Serrano <63758389+yenienserrano@users.noreply.github.com>
Co-authored-by: Julio César Biset <43619595+jbiset@users.noreply.github.com>
Co-authored-by: Álex Ruiz <alejandro.ruiz.becerra@wazuh.com>
Co-authored-by: Nicolas Agustin Guevara Pihen <42900763+Tostti@users.noreply.github.com>
Co-authored-by: Federico Rodriguez <federico.rodriguez@wazuh.com>

* Fix agent name color in groups section in dark mode (#5676)

* fix agent name color in groups section as it is not visible in dark mode

* Update changelog

* remove yarn lock

* changelog: removed unused headers

---------

Co-authored-by: Antonio David Gutiérrez <antonio.gutierrez@wazuh.com>

* Merge 4.6.0 into 4.7.0 (#5722)

* Merge 4.5.1 into 4.6.0 (#5671)

* Change windows agent service name (#5538)

* Change windows agent service name to Wazuh

Change windows agent service name to Wazuh

* Add CHANGELOG

* Remove agent name in agent info ribbon (#5497)

* remove: agent name in agent info ribbon

* changelog: add pull request entry

---------

Co-authored-by: Álex Ruiz <alejandro.ruiz.becerra@wazuh.com>

* Fix IPV6 visualizations (#5471)

* add ipv6 service

* add test for service

* Fix issue in agents-table

* fix issue in agents-info

* fix groups agents issue

* Fix width in groups agents

* use mapResponseItem

* Add copy button to groups

* Add copy button to info

* fix for node list

* Optimize code

* Fix styles

* Edit changelog

* Edit changelog

* Add imposter changes to test ipv6

* Replace onMouseDown with onClick

* Move copy buttons to the left

* fix: removed compressipv6 property of TableWzAPI

* feat: add tableLayout property to some tables and remove IPv6 address compression

add tableLayout=auto property to some tables:
- Agents/{agent_id}/Inventory data
- Management/Cluster/Nodes
- Agents
- Management/Configuration/Client
- Management/Global configuration/Remote
remove IPv6 address compression

* remove: remove unused service to IPv6 compression

* revert: revert changes in TableWzAPI component

* add: add mocked responses to some syscollector endpoints

* remove: unwanted table columns properties

* changelog: add pull request entry

* Fix imposter

---------

Co-authored-by: Antonio David Gutiérrez <antonio.gutierrez@wazuh.com>
Co-authored-by: Álex Ruiz <alejandro.ruiz.becerra@wazuh.com>
Co-authored-by: yenienserrano <ian.serrano@wazuh.com>
Co-authored-by: Antonio <34042064+Desvelao@users.noreply.github.com>

* Bump v4.4.4-2.6.0-rc2

* Add Apple Silicon architecture to the register Agent wizard (#5478)

* Add Apple Silicon architecture

* Add changelog

* Change macOS environment variables

* Revert "Change macOS environment variables"

This reverts commit 108e866.

* Change macOS architecture ids

* Add missing supported versions to the Docker environments (#5584)

feat(environments): add latest versions to Docker environments

- Add Kibana versions: 7.17.7, 7.17.8, 7.17.9 and 7.17.10
- Add OpenSearch: 2.6.0
- Add OpenSearch Dashboards: 2.6.0
- Add Wazuh 4.4.1, 4.4.2, 4.4.3 and 4.4.4

* Bump 4.5.1

* Change the method to make the redirect (#5539)

* Change the metod to make the redirect

* Remove unused code

* Add changelog

---------

Co-authored-by: Álex Ruiz <alejandro.ruiz.becerra@wazuh.com>

* Fix agents active coverage stat as NaN (#5490)

* fix: agents active coverate stat as NaN

Ensure the values used to calculate have the expected types and
the total count is greater than 0.

* remove: unused openRegistrationDocs method

* changelog: add entry

* fix: check if agents active coverage is a NaN

* changelog: fix entry

---------

Co-authored-by: Álex Ruiz <alejandro.ruiz.becerra@wazuh.com>

* [Backport 4.5.1] Update test snapshots for 4.5 (#5607)

* Update test snapshots for 4.5 (#5601)

* Add missing supported versions to the Docker environments (#5584)

feat(environments): add latest versions to Docker environments

- Add Kibana versions: 7.17.7, 7.17.8, 7.17.9 and 7.17.10
- Add OpenSearch: 2.6.0
- Add OpenSearch Dashboards: 2.6.0
- Add Wazuh 4.4.1, 4.4.2, 4.4.3 and 4.4.4

* Update test snapshost

* Update API data to 4.5

* Update branch patterns for GH Actions

---------

Co-authored-by: Antonio <34042064+Desvelao@users.noreply.github.com>
(cherry picked from commit 1ae5f19)

* Fix API reference links in endpoints.json

* Add kbn-dev 7.17.11 (#5628)

* Merge 4.5.0 into 4.5.1 (#5670)

* Update test snapshots for 4.5 (#5601)

* Add missing supported versions to the Docker environments (#5584)

feat(environments): add latest versions to Docker environments

- Add Kibana versions: 7.17.7, 7.17.8, 7.17.9 and 7.17.10
- Add OpenSearch: 2.6.0
- Add OpenSearch Dashboards: 2.6.0
- Add Wazuh 4.4.1, 4.4.2, 4.4.3 and 4.4.4

* Update test snapshost

* Update API data to 4.5

* Update branch patterns for GH Actions

---------

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

* Fix API reference links in endpoints.json

* Merge 4.4 into 4.5.0 (#5669)

Merge v4.4.5-2.6.0 into 4.4 (#5665)

* Bump Wazuh and platform versions for v4.4.5 (#5639)

* Update changelog

* Update opensearch_dashboards.json

* Update package.json

* Update readme

* Update tag script

* Change tag.py version value

* Empty tag suffix

* Prepare tag.py for v4.4.5-rc1 (#5645)

Add -rc1 tag suffix

* Fix incompatible version of triple-beam subdependency (#5652)

fix: add yarn.lock file and set version of triple-beam in yarn.lock

* Update unit-test.yml (#5655)

* Add support for Wazuh 4.4.5-rc2 (#5659)

* Update revision of v4.4.5 in the Changelog

* Bump v4.4.5-2.6.0-rc2

---------

Co-authored-by: Nicolas Agustin Guevara Pihen <42900763+Tostti@users.noreply.github.com>
Co-authored-by: Federico Rodriguez <federico.rodriguez@wazuh.com>
Co-authored-by: Álex Ruiz <alejandro.ruiz.becerra@wazuh.com>
Co-authored-by: Antonio <34042064+Desvelao@users.noreply.github.com>

---------

Co-authored-by: Álex Ruiz <alejandro.ruiz.becerra@wazuh.com>
Co-authored-by: Antonio <34042064+Desvelao@users.noreply.github.com>
Co-authored-by: Nicolas Agustin Guevara Pihen <42900763+Tostti@users.noreply.github.com>
Co-authored-by: Federico Rodriguez <federico.rodriguez@wazuh.com>

---------

Co-authored-by: Julio César Biset <43619595+jbiset@users.noreply.github.com>
Co-authored-by: Antonio <34042064+Desvelao@users.noreply.github.com>
Co-authored-by: Álex Ruiz <alejandro.ruiz.becerra@wazuh.com>
Co-authored-by: Nicolas Agustin Guevara Pihen <42900763+Tostti@users.noreply.github.com>
Co-authored-by: Antonio David Gutiérrez <antonio.gutierrez@wazuh.com>
Co-authored-by: Federico Rodriguez <federico.rodriguez@wazuh.com>

* Remove unused embedded jquery-ui (#5592)

* fix: remove unused embedded jquery-ui dependency

* changelog: add pull request entry

---------

Co-authored-by: Federico Rodriguez <federico.rodriguez@wazuh.com>

* Fixes redirection problem to inventory data, stats and configuration in an agent (#5685)

Fix redirect to inventory data, stats and configuration

* Fix conflicts in branch synchronization (#5708)

* fix: fix conflicts

* changelog: remove entry

* Fix 4.6.0 changelog merge errors (#5692)

* Update changelog

* Update CHANGELOG.md

* Merge 4.5.2 into 4.6.0 (#5721)

---------

Co-authored-by: Ian Yenien Serrano <63758389+yenienserrano@users.noreply.github.com>
Co-authored-by: Julio César Biset <43619595+jbiset@users.noreply.github.com>
Co-authored-by: Álex Ruiz <alejandro.ruiz.becerra@wazuh.com>
Co-authored-by: Nicolas Agustin Guevara Pihen <42900763+Tostti@users.noreply.github.com>
Co-authored-by: Federico Rodriguez <federico.rodriguez@wazuh.com>

---------

Co-authored-by: Álex Ruiz <alejandro.ruiz.becerra@wazuh.com>
Co-authored-by: yenienserrano <ian.serrano@wazuh.com>
Co-authored-by: Federico Rodriguez <federico.rodriguez@wazuh.com>
Co-authored-by: Ian Yenien Serrano <63758389+yenienserrano@users.noreply.github.com>
Co-authored-by: Julio César Biset <43619595+jbiset@users.noreply.github.com>
Co-authored-by: Nicolas Agustin Guevara Pihen <42900763+Tostti@users.noreply.github.com>
Co-authored-by: Chantal Belén kelm <99441266+chantal-kelm@users.noreply.github.com>
asteriscos added a commit that referenced this pull request Aug 11, 2023
* [Backport 4.6.0] Update test snapshots for 4.5 (#5615)

Update test snapshots for 4.5 (#5601)

* Add missing supported versions to the Docker environments (#5584)

feat(environments): add latest versions to Docker environments

- Add Kibana versions: 7.17.7, 7.17.8, 7.17.9 and 7.17.10
- Add OpenSearch: 2.6.0
- Add OpenSearch Dashboards: 2.6.0
- Add Wazuh 4.4.1, 4.4.2, 4.4.3 and 4.4.4

* Update test snapshost

* Update API data to 4.5

* Update branch patterns for GH Actions

---------

Co-authored-by: Antonio <34042064+Desvelao@users.noreply.github.com>
(cherry picked from commit 1ae5f19a9edc967187b2d946aad6e8d8f0afff14)

* Add specific RBAC permissions to Security section (#5551)

* feat(rbac): add specific RBAC permissions to actions and views

- Add specific RBAC permissions to actions and views
- Remove unused code

* changelog: add pull request entry

* feat(imposter): add mocked API request to imposter

* fix: change title of Security>Roles mapping

* feat: rename files related to API mocked request and add response for GET /security/rules

* fix: fix layout of edit security role flyout

* fix: add missing security permission when the new user is assigned some roles

* Add security actions response

* Add PLUGIN_SECURITY_POLICIES_DENY_UPDATE_POLICY

* fix: permissions when creating or editing a security Role mapping

* fix: remove unused code

* fix: use constant instead of hardcoded values for the WUI security rules from API

* fix: use optional chaining operator

---------

Co-authored-by: yenienserrano <ian.serrano@wazuh.com>

* Fix API endpoint documentation link in static file (#5611)

* fix(script): fix documentation link generated from API spec

* fix: fix API endpoint documentation link in static file

* Bump 4.7.0 (#5629)

* Bump 4.7.0

* Update snapshots

* Bump API spec

---------

Co-authored-by: Alex Ruiz Becerra <alejandro.ruiz.becerra@wazuh.com>

* Merge 4.6.0 into 4.7.0  (#5675)

Merge 4.5.1 into 4.6.0 (#5671)

* Change windows agent service name (#5538)

* Change windows agent service name to Wazuh

Change windows agent service name to Wazuh

* Add CHANGELOG

* Remove agent name in agent info ribbon (#5497)

* remove: agent name in agent info ribbon

* changelog: add pull request entry

---------



* Fix IPV6 visualizations (#5471)

* add ipv6 service

* add test for service

* Fix issue in agents-table

* fix issue in agents-info

* fix groups agents issue

* Fix width in groups agents

* use mapResponseItem

* Add copy button to groups

* Add copy button to info

* fix for node list

* Optimize code

* Fix styles

* Edit changelog

* Edit changelog

* Add imposter changes to test ipv6

* Replace onMouseDown with onClick

* Move copy buttons to the left

* fix: removed compressipv6 property of TableWzAPI

* feat: add tableLayout property to some tables and remove IPv6 address compression

add tableLayout=auto property to some tables:
- Agents/{agent_id}/Inventory data
- Management/Cluster/Nodes
- Agents
- Management/Configuration/Client
- Management/Global configuration/Remote
remove IPv6 address compression

* remove: remove unused service to IPv6 compression

* revert: revert changes in TableWzAPI component

* add: add mocked responses to some syscollector endpoints

* remove: unwanted table columns properties

* changelog: add pull request entry

* Fix imposter

---------






* Bump v4.4.4-2.6.0-rc2

* Add Apple Silicon architecture to the register Agent wizard (#5478)

* Add Apple Silicon architecture

* Add changelog

* Change macOS environment variables

* Revert "Change macOS environment variables"

This reverts commit 108e86626045de6b5cd7b7053a8c6333d8bf8b89.

* Change macOS architecture ids

* Add missing supported versions to the Docker environments (#5584)

feat(environments): add latest versions to Docker environments

- Add Kibana versions: 7.17.7, 7.17.8, 7.17.9 and 7.17.10
- Add OpenSearch: 2.6.0
- Add OpenSearch Dashboards: 2.6.0
- Add Wazuh 4.4.1, 4.4.2, 4.4.3 and 4.4.4

* Bump 4.5.1

* Change the method to make the redirect (#5539)

* Change the metod to make the redirect

* Remove unused code

* Add changelog

---------



* Fix agents active coverage stat as NaN (#5490)

* fix: agents active coverate stat as NaN

Ensure the values used to calculate have the expected types and
the total count is greater than 0.

* remove: unused openRegistrationDocs method

* changelog: add entry

* fix: check if agents active coverage is a NaN

* changelog: fix entry

---------



* [Backport 4.5.1] Update test snapshots for 4.5 (#5607)

* Update test snapshots for 4.5 (#5601)

* Add missing supported versions to the Docker environments (#5584)

feat(environments): add latest versions to Docker environments

- Add Kibana versions: 7.17.7, 7.17.8, 7.17.9 and 7.17.10
- Add OpenSearch: 2.6.0
- Add OpenSearch Dashboards: 2.6.0
- Add Wazuh 4.4.1, 4.4.2, 4.4.3 and 4.4.4

* Update test snapshost

* Update API data to 4.5

* Update branch patterns for GH Actions

---------


(cherry picked from commit 1ae5f19a9edc967187b2d946aad6e8d8f0afff14)

* Fix API reference links in endpoints.json

* Add kbn-dev 7.17.11 (#5628)

* Merge 4.5.0 into 4.5.1 (#5670)

* Update test snapshots for 4.5 (#5601)

* Add missing supported versions to the Docker environments (#5584)

feat(environments): add latest versions to Docker environments

- Add Kibana versions: 7.17.7, 7.17.8, 7.17.9 and 7.17.10
- Add OpenSearch: 2.6.0
- Add OpenSearch Dashboards: 2.6.0
- Add Wazuh 4.4.1, 4.4.2, 4.4.3 and 4.4.4

* Update test snapshost

* Update API data to 4.5

* Update branch patterns for GH Actions

---------



* Fix API reference links in endpoints.json

* Merge 4.4 into 4.5.0 (#5669)

Merge v4.4.5-2.6.0 into 4.4 (#5665)

* Bump Wazuh and platform versions for v4.4.5 (#5639)

* Update changelog

* Update opensearch_dashboards.json

* Update package.json

* Update readme

* Update tag script

* Change tag.py version value

* Empty tag suffix

* Prepare tag.py for v4.4.5-rc1 (#5645)

Add -rc1 tag suffix

* Fix incompatible version of triple-beam subdependency (#5652)

fix: add yarn.lock file and set version of triple-beam in yarn.lock

* Update unit-test.yml (#5655)

* Add support for Wazuh 4.4.5-rc2 (#5659)

* Update revision of v4.4.5 in the Changelog

* Bump v4.4.5-2.6.0-rc2

---------






---------






---------

Co-authored-by: Julio César Biset <43619595+jbiset@users.noreply.github.com>
Co-authored-by: Antonio <34042064+Desvelao@users.noreply.github.com>
Co-authored-by: Álex Ruiz <alejandro.ruiz.becerra@wazuh.com>
Co-authored-by: Nicolas Agustin Guevara Pihen <42900763+Tostti@users.noreply.github.com>
Co-authored-by: Antonio David Gutiérrez <antonio.gutierrez@wazuh.com>
Co-authored-by: Federico Rodriguez <federico.rodriguez@wazuh.com>

* Merge 4.6.0 into 4.7.0 (#5711)

* Merge 4.5.1 into 4.6.0 (#5671)

* Change windows agent service name (#5538)

* Change windows agent service name to Wazuh

Change windows agent service name to Wazuh

* Add CHANGELOG

* Remove agent name in agent info ribbon (#5497)

* remove: agent name in agent info ribbon

* changelog: add pull request entry

---------

Co-authored-by: Álex Ruiz <alejandro.ruiz.becerra@wazuh.com>

* Fix IPV6 visualizations (#5471)

* add ipv6 service

* add test for service

* Fix issue in agents-table

* fix issue in agents-info

* fix groups agents issue

* Fix width in groups agents

* use mapResponseItem

* Add copy button to groups

* Add copy button to info

* fix for node list

* Optimize code

* Fix styles

* Edit changelog

* Edit changelog

* Add imposter changes to test ipv6

* Replace onMouseDown with onClick

* Move copy buttons to the left

* fix: removed compressipv6 property of TableWzAPI

* feat: add tableLayout property to some tables and remove IPv6 address compression

add tableLayout=auto property to some tables:
- Agents/{agent_id}/Inventory data
- Management/Cluster/Nodes
- Agents
- Management/Configuration/Client
- Management/Global configuration/Remote
remove IPv6 address compression

* remove: remove unused service to IPv6 compression

* revert: revert changes in TableWzAPI component

* add: add mocked responses to some syscollector endpoints

* remove: unwanted table columns properties

* changelog: add pull request entry

* Fix imposter

---------

Co-authored-by: Antonio David Gutiérrez <antonio.gutierrez@wazuh.com>
Co-authored-by: Álex Ruiz <alejandro.ruiz.becerra@wazuh.com>
Co-authored-by: yenienserrano <ian.serrano@wazuh.com>
Co-authored-by: Antonio <34042064+Desvelao@users.noreply.github.com>

* Bump v4.4.4-2.6.0-rc2

* Add Apple Silicon architecture to the register Agent wizard (#5478)

* Add Apple Silicon architecture

* Add changelog

* Change macOS environment variables

* Revert "Change macOS environment variables"

This reverts commit 108e86626045de6b5cd7b7053a8c6333d8bf8b89.

* Change macOS architecture ids

* Add missing supported versions to the Docker environments (#5584)

feat(environments): add latest versions to Docker environments

- Add Kibana versions: 7.17.7, 7.17.8, 7.17.9 and 7.17.10
- Add OpenSearch: 2.6.0
- Add OpenSearch Dashboards: 2.6.0
- Add Wazuh 4.4.1, 4.4.2, 4.4.3 and 4.4.4

* Bump 4.5.1

* Change the method to make the redirect (#5539)

* Change the metod to make the redirect

* Remove unused code

* Add changelog

---------

Co-authored-by: Álex Ruiz <alejandro.ruiz.becerra@wazuh.com>

* Fix agents active coverage stat as NaN (#5490)

* fix: agents active coverate stat as NaN

Ensure the values used to calculate have the expected types and
the total count is greater than 0.

* remove: unused openRegistrationDocs method

* changelog: add entry

* fix: check if agents active coverage is a NaN

* changelog: fix entry

---------

Co-authored-by: Álex Ruiz <alejandro.ruiz.becerra@wazuh.com>

* [Backport 4.5.1] Update test snapshots for 4.5 (#5607)

* Update test snapshots for 4.5 (#5601)

* Add missing supported versions to the Docker environments (#5584)

feat(environments): add latest versions to Docker environments

- Add Kibana versions: 7.17.7, 7.17.8, 7.17.9 and 7.17.10
- Add OpenSearch: 2.6.0
- Add OpenSearch Dashboards: 2.6.0
- Add Wazuh 4.4.1, 4.4.2, 4.4.3 and 4.4.4

* Update test snapshost

* Update API data to 4.5

* Update branch patterns for GH Actions

---------

Co-authored-by: Antonio <34042064+Desvelao@users.noreply.github.com>
(cherry picked from commit 1ae5f19a9edc967187b2d946aad6e8d8f0afff14)

* Fix API reference links in endpoints.json

* Add kbn-dev 7.17.11 (#5628)

* Merge 4.5.0 into 4.5.1 (#5670)

* Update test snapshots for 4.5 (#5601)

* Add missing supported versions to the Docker environments (#5584)

feat(environments): add latest versions to Docker environments

- Add Kibana versions: 7.17.7, 7.17.8, 7.17.9 and 7.17.10
- Add OpenSearch: 2.6.0
- Add OpenSearch Dashboards: 2.6.0
- Add Wazuh 4.4.1, 4.4.2, 4.4.3 and 4.4.4

* Update test snapshost

* Update API data to 4.5

* Update branch patterns for GH Actions

---------

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

* Fix API reference links in endpoints.json

* Merge 4.4 into 4.5.0 (#5669)

Merge v4.4.5-2.6.0 into 4.4 (#5665)

* Bump Wazuh and platform versions for v4.4.5 (#5639)

* Update changelog

* Update opensearch_dashboards.json

* Update package.json

* Update readme

* Update tag script

* Change tag.py version value

* Empty tag suffix

* Prepare tag.py for v4.4.5-rc1 (#5645)

Add -rc1 tag suffix

* Fix incompatible version of triple-beam subdependency (#5652)

fix: add yarn.lock file and set version of triple-beam in yarn.lock

* Update unit-test.yml (#5655)

* Add support for Wazuh 4.4.5-rc2 (#5659)

* Update revision of v4.4.5 in the Changelog

* Bump v4.4.5-2.6.0-rc2

---------

Co-authored-by: Nicolas Agustin Guevara Pihen <42900763+Tostti@users.noreply.github.com>
Co-authored-by: Federico Rodriguez <federico.rodriguez@wazuh.com>
Co-authored-by: Álex Ruiz <alejandro.ruiz.becerra@wazuh.com>
Co-authored-by: Antonio <34042064+Desvelao@users.noreply.github.com>

---------

Co-authored-by: Álex Ruiz <alejandro.ruiz.becerra@wazuh.com>
Co-authored-by: Antonio <34042064+Desvelao@users.noreply.github.com>
Co-authored-by: Nicolas Agustin Guevara Pihen <42900763+Tostti@users.noreply.github.com>
Co-authored-by: Federico Rodriguez <federico.rodriguez@wazuh.com>

---------

Co-authored-by: Julio César Biset <43619595+jbiset@users.noreply.github.com>
Co-authored-by: Antonio <34042064+Desvelao@users.noreply.github.com>
Co-authored-by: Álex Ruiz <alejandro.ruiz.becerra@wazuh.com>
Co-authored-by: Nicolas Agustin Guevara Pihen <42900763+Tostti@users.noreply.github.com>
Co-authored-by: Antonio David Gutiérrez <antonio.gutierrez@wazuh.com>
Co-authored-by: Federico Rodriguez <federico.rodriguez@wazuh.com>

* Remove unused embedded jquery-ui (#5592)

* fix: remove unused embedded jquery-ui dependency

* changelog: add pull request entry

---------

Co-authored-by: Federico Rodriguez <federico.rodriguez@wazuh.com>

* Fixes redirection problem to inventory data, stats and configuration in an agent (#5685)

Fix redirect to inventory data, stats and configuration

* Fix conflicts in branch synchronization (#5708)

* fix: fix conflicts

* changelog: remove entry

* Fix 4.6.0 changelog merge errors (#5692)

* Update changelog

* Update CHANGELOG.md

---------

Co-authored-by: Ian Yenien Serrano <63758389+yenienserrano@users.noreply.github.com>
Co-authored-by: Julio César Biset <43619595+jbiset@users.noreply.github.com>
Co-authored-by: Álex Ruiz <alejandro.ruiz.becerra@wazuh.com>
Co-authored-by: Nicolas Agustin Guevara Pihen <42900763+Tostti@users.noreply.github.com>
Co-authored-by: Federico Rodriguez <federico.rodriguez@wazuh.com>

* Fix agent name color in groups section in dark mode (#5676)

* fix agent name color in groups section as it is not visible in dark mode

* Update changelog

* remove yarn lock

* changelog: removed unused headers

---------

Co-authored-by: Antonio David Gutiérrez <antonio.gutierrez@wazuh.com>

* Merge 4.6.0 into 4.7.0 (#5722)

* Merge 4.5.1 into 4.6.0 (#5671)

* Change windows agent service name (#5538)

* Change windows agent service name to Wazuh

Change windows agent service name to Wazuh

* Add CHANGELOG

* Remove agent name in agent info ribbon (#5497)

* remove: agent name in agent info ribbon

* changelog: add pull request entry

---------

Co-authored-by: Álex Ruiz <alejandro.ruiz.becerra@wazuh.com>

* Fix IPV6 visualizations (#5471)

* add ipv6 service

* add test for service

* Fix issue in agents-table

* fix issue in agents-info

* fix groups agents issue

* Fix width in groups agents

* use mapResponseItem

* Add copy button to groups

* Add copy button to info

* fix for node list

* Optimize code

* Fix styles

* Edit changelog

* Edit changelog

* Add imposter changes to test ipv6

* Replace onMouseDown with onClick

* Move copy buttons to the left

* fix: removed compressipv6 property of TableWzAPI

* feat: add tableLayout property to some tables and remove IPv6 address compression

add tableLayout=auto property to some tables:
- Agents/{agent_id}/Inventory data
- Management/Cluster/Nodes
- Agents
- Management/Configuration/Client
- Management/Global configuration/Remote
remove IPv6 address compression

* remove: remove unused service to IPv6 compression

* revert: revert changes in TableWzAPI component

* add: add mocked responses to some syscollector endpoints

* remove: unwanted table columns properties

* changelog: add pull request entry

* Fix imposter

---------

Co-authored-by: Antonio David Gutiérrez <antonio.gutierrez@wazuh.com>
Co-authored-by: Álex Ruiz <alejandro.ruiz.becerra@wazuh.com>
Co-authored-by: yenienserrano <ian.serrano@wazuh.com>
Co-authored-by: Antonio <34042064+Desvelao@users.noreply.github.com>

* Bump v4.4.4-2.6.0-rc2

* Add Apple Silicon architecture to the register Agent wizard (#5478)

* Add Apple Silicon architecture

* Add changelog

* Change macOS environment variables

* Revert "Change macOS environment variables"

This reverts commit 108e86626045de6b5cd7b7053a8c6333d8bf8b89.

* Change macOS architecture ids

* Add missing supported versions to the Docker environments (#5584)

feat(environments): add latest versions to Docker environments

- Add Kibana versions: 7.17.7, 7.17.8, 7.17.9 and 7.17.10
- Add OpenSearch: 2.6.0
- Add OpenSearch Dashboards: 2.6.0
- Add Wazuh 4.4.1, 4.4.2, 4.4.3 and 4.4.4

* Bump 4.5.1

* Change the method to make the redirect (#5539)

* Change the metod to make the redirect

* Remove unused code

* Add changelog

---------

Co-authored-by: Álex Ruiz <alejandro.ruiz.becerra@wazuh.com>

* Fix agents active coverage stat as NaN (#5490)

* fix: agents active coverate stat as NaN

Ensure the values used to calculate have the expected types and
the total count is greater than 0.

* remove: unused openRegistrationDocs method

* changelog: add entry

* fix: check if agents active coverage is a NaN

* changelog: fix entry

---------

Co-authored-by: Álex Ruiz <alejandro.ruiz.becerra@wazuh.com>

* [Backport 4.5.1] Update test snapshots for 4.5 (#5607)

* Update test snapshots for 4.5 (#5601)

* Add missing supported versions to the Docker environments (#5584)

feat(environments): add latest versions to Docker environments

- Add Kibana versions: 7.17.7, 7.17.8, 7.17.9 and 7.17.10
- Add OpenSearch: 2.6.0
- Add OpenSearch Dashboards: 2.6.0
- Add Wazuh 4.4.1, 4.4.2, 4.4.3 and 4.4.4

* Update test snapshost

* Update API data to 4.5

* Update branch patterns for GH Actions

---------

Co-authored-by: Antonio <34042064+Desvelao@users.noreply.github.com>
(cherry picked from commit 1ae5f19a9edc967187b2d946aad6e8d8f0afff14)

* Fix API reference links in endpoints.json

* Add kbn-dev 7.17.11 (#5628)

* Merge 4.5.0 into 4.5.1 (#5670)

* Update test snapshots for 4.5 (#5601)

* Add missing supported versions to the Docker environments (#5584)

feat(environments): add latest versions to Docker environments

- Add Kibana versions: 7.17.7, 7.17.8, 7.17.9 and 7.17.10
- Add OpenSearch: 2.6.0
- Add OpenSearch Dashboards: 2.6.0
- Add Wazuh 4.4.1, 4.4.2, 4.4.3 and 4.4.4

* Update test snapshost

* Update API data to 4.5

* Update branch patterns for GH Actions

---------

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

* Fix API reference links in endpoints.json

* Merge 4.4 into 4.5.0 (#5669)

Merge v4.4.5-2.6.0 into 4.4 (#5665)

* Bump Wazuh and platform versions for v4.4.5 (#5639)

* Update changelog

* Update opensearch_dashboards.json

* Update package.json

* Update readme

* Update tag script

* Change tag.py version value

* Empty tag suffix

* Prepare tag.py for v4.4.5-rc1 (#5645)

Add -rc1 tag suffix

* Fix incompatible version of triple-beam subdependency (#5652)

fix: add yarn.lock file and set version of triple-beam in yarn.lock

* Update unit-test.yml (#5655)

* Add support for Wazuh 4.4.5-rc2 (#5659)

* Update revision of v4.4.5 in the Changelog

* Bump v4.4.5-2.6.0-rc2

---------

Co-authored-by: Nicolas Agustin Guevara Pihen <42900763+Tostti@users.noreply.github.com>
Co-authored-by: Federico Rodriguez <federico.rodriguez@wazuh.com>
Co-authored-by: Álex Ruiz <alejandro.ruiz.becerra@wazuh.com>
Co-authored-by: Antonio <34042064+Desvelao@users.noreply.github.com>

---------

Co-authored-by: Álex Ruiz <alejandro.ruiz.becerra@wazuh.com>
Co-authored-by: Antonio <34042064+Desvelao@users.noreply.github.com>
Co-authored-by: Nicolas Agustin Guevara Pihen <42900763+Tostti@users.noreply.github.com>
Co-authored-by: Federico Rodriguez <federico.rodriguez@wazuh.com>

---------

Co-authored-by: Julio César Biset <43619595+jbiset@users.noreply.github.com>
Co-authored-by: Antonio <34042064+Desvelao@users.noreply.github.com>
Co-authored-by: Álex Ruiz <alejandro.ruiz.becerra@wazuh.com>
Co-authored-by: Nicolas Agustin Guevara Pihen <42900763+Tostti@users.noreply.github.com>
Co-authored-by: Antonio David Gutiérrez <antonio.gutierrez@wazuh.com>
Co-authored-by: Federico Rodriguez <federico.rodriguez@wazuh.com>

* Remove unused embedded jquery-ui (#5592)

* fix: remove unused embedded jquery-ui dependency

* changelog: add pull request entry

---------

Co-authored-by: Federico Rodriguez <federico.rodriguez@wazuh.com>

* Fixes redirection problem to inventory data, stats and configuration in an agent (#5685)

Fix redirect to inventory data, stats and configuration

* Fix conflicts in branch synchronization (#5708)

* fix: fix conflicts

* changelog: remove entry

* Fix 4.6.0 changelog merge errors (#5692)

* Update changelog

* Update CHANGELOG.md

* Merge 4.5.2 into 4.6.0 (#5721)

---------

Co-authored-by: Ian Yenien Serrano <63758389+yenienserrano@users.noreply.github.com>
Co-authored-by: Julio César Biset <43619595+jbiset@users.noreply.github.com>
Co-authored-by: Álex Ruiz <alejandro.ruiz.becerra@wazuh.com>
Co-authored-by: Nicolas Agustin Guevara Pihen <42900763+Tostti@users.noreply.github.com>
Co-authored-by: Federico Rodriguez <federico.rodriguez@wazuh.com>

* Fixed propagation event for flyout on decoders (#5597)

* Add stopPropagation

* Add changelog

* Update changelog

* changelog: fix revision

---------

Co-authored-by: Antonio David Gutiérrez <antonio.gutierrez@wazuh.com>

* Fix error adding or deleting new fields (#5591)

* Fix error adding or deleting new fields

* Add test

* Fix test

* Linter

* Add changelog

* create visualization of processed events

* create visualization events dropped

* create visualization queue usage

* create visualization of events decoded summary

* Add optional chaining

* Revert "create visualization of events decoded summary"

This reverts commit cce97bdf152378bc65034582879eda0461abd6eb.

* Revert "create visualization queue usage"

This reverts commit 9fa4d40573ddacf4ca559c44dd42bce0a96a0b20.

* Revert "create visualization events dropped"

This reverts commit a6b35b13267b6fdb71a49bf9fff3732165e738eb.

* Revert "create visualization of processed events"

This reverts commit 7397b978df93465f47a4e41d89827cf1930152bc.

---------

Co-authored-by: chantal.kelm <chantal.kelm@wazuh.com>

* Fixed tooltip in security (#5631)

* Update imposter

* Fix toltip in security

* Remove requests when closing flyouts without changes

* Update changelog

* Update create-policy.tsx

* Fix possible undefinded

* Add process name in ports information for Linux systems (#5636)

* Add imposter, remove console.log

* Add new columns

* Add test linux agents

* Add test for windows and Mac OS

* Update CHANGELOG.md

* Fix test

* Bump dependencies version for development tools (#5748)

* Update version node

* Update devDependencies

* Update pluginPlataform version

* Update CHANGELOG.md

* Show in agent table the disconnection reason (#5680)

* Add status_code imposter

* Add status_code column in agents table

* Add changelog

* Fix test

* "Add test"

* Add test

* Fix snapshot

* Remove code unnecessary

* Fix comment

* Update agents.json

* fix test

* remove column status code, add tooltip

* Fix invalid xml config generation (#5747)

* Remove JSON and XML tabs from management configuration

* Remove JSON and XML tabs from integrations management configuration and delete configuration-settings-tab-selector

* Clean up unused code and comments

* Fix log-settings-archives.js when import WzConfigurationSettingsGroup

* Update CHANGELOG.md

* Forward [Redesign agent page] into 4.7.0 (#5761)

Redesign deploy new agent page (#5457)

* parent component

* Added a title to the container and updated filenames

* Update register-agent.scss

* [Redesign add agent] Register agent reuse common/form component (Settings > Configuration) (#5446)

* Add useForm hook types

* Add custom field use in useForm hook

* Add some code redeability fixes

* Refactored useForm types and unit tests

* Move types to types file

* Remove react use inside hook test file

* Fix review requested changes

* [Redesign add agent] Add register agent command generator (#5469)

* Create reusable card for operating systems (#5462)

* Add useForm hook types

* Add custom field use in useForm hook

* Add some code redeability fixes

* Refactored useForm types and unit tests

* Move types to types file

* reuse of common form on the card

* Card with logic

* CheckboxGroup component logic update

* CheckboxGroup component logic update

* Adding card icons

* update checkbox logic, styles, and card styles

* clean code

* clean code

* gitignore Mac files

* updating checkbox logic, styles, and card styles

* Update os-card.scss

* macos card update

* undoing merging as it was causing checkboxes not to work

* test

* file ds_store

* file ds_store

* file ds_store

* remove files DS_store

* remove files DS_store

---------




* 5518 inputs logic server address name password and group (#5554)

* Add useForm hook types

* Add custom field use in useForm hook

* Add some code redeability fixes

* Refactored useForm types and unit tests

* Move types to types file

* reuse of common form on the card

* Card with logic

* CheckboxGroup component logic update

* CheckboxGroup component logic update

* Adding card icons

* update checkbox logic, styles, and card styles

* clean code

* clean code

* gitignore Mac files

* updating checkbox logic, styles, and card styles

* step component

* Passing interfaces to a separate file, updating styles, and component logic

* Update interfaces and clean up code

* update of folder structure and step logic

* tcp, udp, protocols, password, groups, logics

* input logic server address name password groups and styles

* group input logic

* oscards input logic

* oscards input logic

* styles

* regex

* styles and settings

* styles

* various adjustments

* cleaning up code and changing some styles

* cleaning up code

* cleaning code

* update password

* gitignore

* gitignore

* correcting validation text in input agent name

* correcting validation text in input agent name

* corrección de validación de input de nombre del agente

* cleaning code

* cleaning code

* regex that differentiates between FQDN and IP

* Use of PLUGIN_VERSION_SHORT

* Use of PLUGIN_VERSION_SHORT

* link

* Revert "Merge branch '4205-redesign-add-agent-page' into 5518-inputs-logic-server-address-name-password-and-group"

This reverts commit a4c6fb5d24a482e80f9595a879d141ff2d7fa5bb, reversing
changes made to 5a0d2cb0e71972eb8f68b16f035ebc977220379f.

* link and revert

* characteres valid

* correction of styles when bringing changes from parent branch

* change tooltip to popover

* moving validations to a separate file with their tests

* corrections and cleaning of comments

* camel case

* change in function

* type

* remove type

* fullWidth

* type

* change

* conditional

* change label a to Euilink

* change label a to Euilink

* conditional

* delete usePrevious

* delete usePrevious

* deleted files ds store

* test correction and placeholder

* show architecture instead of id

* removing console css warnings

* fixed regex fqdn

* fixed regex fqdn

* data

* changelog

* changelog

---------




* [Redesign add agent] Integration commands generator with UI (#5593)

* Add useForm hook types

* Add custom field use in useForm hook

* Add some code redeability fixes

* Refactored useForm types and unit tests

* Move types to types file

* reuse of common form on the card

* Card with logic

* CheckboxGroup component logic update

* CheckboxGroup component logic update

* Adding card icons

* update checkbox logic, styles, and card styles

* clean code

* clean code

* gitignore Mac files

* updating checkbox logic, styles, and card styles

* step component

* Passing interfaces to a separate file, updating styles, and component logic

* Update interfaces and clean up code

* update of folder structure and step logic

* tcp, udp, protocols, password, groups, logics

* input logic server address name password groups and styles

* group input logic

* oscards input logic

* oscards input logic

* styles

* regex

* styles and settings

* styles

* various adjustments

* cleaning up code and changing some styles

* cleaning up code

* cleaning code

* update password

* gitignore

* gitignore

* correcting validation text in input agent name

* correcting validation text in input agent name

* corrección de validación de input de nombre del agente

* cleaning code

* cleaning code

* regex that differentiates between FQDN and IP

* Use of PLUGIN_VERSION_SHORT

* Use of PLUGIN_VERSION_SHORT

* link

* Revert "Merge branch '4205-redesign-add-agent-page' into 5518-inputs-logic-server-address-name-password-and-group"

This reverts commit a4c6fb5d24a482e80f9595a879d141ff2d7fa5bb, reversing
changes made to 5a0d2cb0e71972eb8f68b16f035ebc977220379f.

* link and revert

* characteres valid

* correction of styles when bringing changes from parent branch

* change tooltip to popover

* moving validations to a separate file with their tests

* corrections and cleaning of comments

* camel case

* change in function

* type

* remove type

* fullWidth

* type

* change

* conditional

* change label a to Euilink

* change label a to Euilink

* conditional

* delete usePrevious

* delete usePrevious

* deleted files ds store

* test correction and placeholder

* show architecture instead of id

* Add register agent form values parser

* Remove extension on operating system type

* Add command sections with form values

* Create new components for steps inputs

* Fix some types

* Renamed some options

* Move commands config inside core folder

* Fix server address error message display

* Create methods to get form steps status

* Allow select more than group

* Hide agent group param when is empty

* Fix steps form statuses

* Remove break lines in commands

* Add white space in error messages

* Fix steps form status

* Added new command component white custom copy and language

* Fixed step form status

---------




* [Redesign add agent] Dark mode (#5620)

* remove custom color styles to make the elastic dark mode work by default on the agent registration page

* add development for images to have dark mode in the section deploy a new agent

* changelog about dark mode

* Cleaning console.log from assets file

* Adding suggested style modifications in the agent registration section

* add a style hint so that text cannot be selected on cards

* add suggested changes to the styles in the register an agent section

* correction added to the word wizard

* added coding enhancements in the agent registration section

* adding an enhancement to eliminate the console error

* adding an enhancement to eliminate the console error

* [Redesign add agent] Add and validate register agent commands (#5622)

* Add show/hide password in command component

* Add protocol and password types

* Add more step status methods

* Add os commands service

* Resolve strings replacements in command component

* Change macos packages name by arch

* Add \n to the macos params

* Fixed parsed macos params inside echo

* Add -e in mac os install command

* Remove sudo from macos install command with echo

* Add sudo to linux before optional params

* Fix PR review comments

* Fixed imports in tests

* Fix components unit tests

* Fix unit test checkbox group component

* Fix os card unit test with mock uiSettings

* modify the fqdn regex because it interferes with an ipv4 instance

* [Redesign add page] Add form status callout message (#5634)

* Add form status manager and unit tests

* Add empty and invalid fields messages

* Hide commands code block when exists warning messages

* Fix fields names in warning messages

* Updated CHANGELOG

* Step 2: the design triggers warnings (#5649)

* changing design to remove console warnings

* update changelog

* Changes in the display of pop-up windows in the agents log section

* semicolon is added

* update changelog

* update changelog

* Add requested fixs on texts

* Add new rpm and deb install commands

* modify fqdn regex

* Fix server address validation unit test

* Add type in command output types

---------

Co-authored-by: Chantal Belén kelm <99441266+chantal-kelm@users.noreply.github.com>

* Statistical histograms did not update the x-axis with large time intervals (#5707)

* create the visualization of the total number of received bytes

* create the visualization of Events sent to Analysisd

* create the visualization of messages statistics

* update the visualization of the total number of received bytes

* update the visualization of Events sent to Analysisd

* create the visualization tcp sessions

* update from stacked to normal

* create visualization of processed events

* create visualization events dropped

* create visualization queue usage

* create visualization of events decoded summary

* update label timestamp

* create visualization syscheck

* create visualization syscollector

* create visualization rootcheck

* create visualization sca

* create visualization host info

* change the colors to the 70 and 90 percent lines, change the range of the right Y-axis of the syscheck chart

* unify colors to all charts

* unify colors to all charts

* unify colors of all charts, change range of the right Y-axis

* change label quantity to count

* center icon hiding or showing labels

* Delete visualizations that are not possible due to missing fields.

* update changelog

* removing harcoded labels

* removing harcoded labels

* add a solution to make the graphics change according to the selected api

* add a solution to make the graphics change according to the selected api

* [Redesign add page] Agent register wizard handle properly special characters in password (#5738)

* parent component

* Added a title to the container and updated filenames

* Update register-agent.scss

* [Redesign add agent] Register agent reuse common/form component (Settings > Configuration) (#5446)

* Add useForm hook types

* Add custom field use in useForm hook

* Add some code redeability fixes

* Refactored useForm types and unit tests

* Move types to types file

* Remove react use inside hook test file

* Fix review requested changes

* [Redesign add agent] Add register agent command generator (#5469)

* Create reusable card for operating systems (#5462)

* Add useForm hook types

* Add custom field use in useForm hook

* Add some code redeability fixes

* Refactored useForm types and unit tests

* Move types to types file

* reuse of common form on the card

* Card with logic

* CheckboxGroup component logic update

* CheckboxGroup component logic update

* Adding card icons

* update checkbox logic, styles, and card styles

* clean code

* clean code

* gitignore Mac files

* updating checkbox logic, styles, and card styles

* Update os-card.scss

* macos card update

* undoing merging as it was causing checkboxes not to work

* test

* file ds_store

* file ds_store

* file ds_store

* remove files DS_store

* remove files DS_store

---------

Co-authored-by: Maximiliano Ibarra <maximiliano.ibarra@wazuh.com>
Co-authored-by: Maximiliano Ibarra <6089438+Machi3mfl@users.noreply.github.com>

* 5518 inputs logic server address name password and group (#5554)

* Add useForm hook types

* Add custom field use in useForm hook

* Add some code redeability fixes

* Refactored useForm types and unit tests

* Move types to types file

* reuse of common form on the card

* Card with logic

* CheckboxGroup component logic update

* CheckboxGroup component logic update

* Adding card icons

* update checkbox logic, styles, and card styles

* clean code

* clean code

* gitignore Mac files

* updating checkbox logic, styles, and card styles

* step component

* Passing interfaces to a separate file, updating styles, and component logic

* Update interfaces and clean up code

* update of folder structure and step logic

* tcp, udp, protocols, password, groups, logics

* input logic server address name password groups and styles

* group input logic

* oscards input logic

* oscards input logic

* styles

* regex

* styles and settings

* styles

* various adjustments

* cleaning up code and changing some styles

* cleaning up code

* cleaning code

* update password

* gitignore

* gitignore

* correcting validation text in input agent name

* correcting validation text in input agent name

* corrección de validación de input de nombre del agente

* cleaning code

* cleaning code

* regex that differentiates between FQDN and IP

* Use of PLUGIN_VERSION_SHORT

* Use of PLUGIN_VERSION_SHORT

* link

* Revert "Merge branch '4205-redesign-add-agent-page' into 5518-inputs-logic-server-address-name-password-and-group"

This reverts commit a4c6fb5d24a482e80f9595a879d141ff2d7fa5bb, reversing
changes made to 5a0d2cb0e71972eb8f68b16f035ebc977220379f.

* link and revert

* characteres valid

* correction of styles when bringing changes from parent branch

* change tooltip to popover

* moving validations to a separate file with their tests

* corrections and cleaning of comments

* camel case

* change in function

* type

* remove type

* fullWidth

* type

* change

* conditional

* change label a to Euilink

* change label a to Euilink

* conditional

* delete usePrevious

* delete usePrevious

* deleted files ds store

* test correction and placeholder

* show architecture instead of id

* removing console css warnings

* fixed regex fqdn

* fixed regex fqdn

* data

* changelog

* changelog

---------

Co-authored-by: Maximiliano Ibarra <maximiliano.ibarra@wazuh.com>
Co-authored-by: Maximiliano Ibarra <6089438+Machi3mfl@users.noreply.github.com>

* [Redesign add agent] Integration commands generator with UI (#5593)

* Add useForm hook types

* Add custom field use in useForm hook

* Add some code redeability fixes

* Refactored useForm types and unit tests

* Move types to types file

* reuse of common form on the card

* Card with logic

* CheckboxGroup component logic update

* CheckboxGroup component logic update

* Adding card icons

* update checkbox logic, styles, and card styles

* clean code

* clean code

* gitignore Mac files

* updating checkbox logic, styles, and card styles

* step component

* Passing interfaces to a separate file, updating styles, and component logic

* Update interfaces and clean up code

* update of folder structure and step logic

* tcp, udp, protocols, password, groups, logics

* input logic server address name password groups and styles

* group input logic

* oscards input logic

* oscards input logic

* styles

* regex

* styles and settings

* styles

* various adjustments

* cleaning up code and changing some styles

* cleaning up code

* cleaning code

* update password

* gitignore

* gitignore

* correcting validation text in input agent name

* correcting validation text in input agent name

* corrección de validación de input de nombre del agente

* cleaning code

* cleaning code

* regex that differentiates between FQDN and IP

* Use of PLUGIN_VERSION_SHORT

* Use of PLUGIN_VERSION_SHORT

* link

* Revert "Merge branch '4205-redesign-add-agent-page' into 5518-inputs-logic-server-address-name-password-and-group"

This reverts commit a4c6fb5d24a482e80f9595a879d141ff2d7fa5bb, reversing
changes made to 5a0d2cb0e71972eb8f68b16f035ebc977220379f.

* link and revert

* characteres valid

* correction of styles when bringing changes from parent branch

* change tooltip to popover

* moving validations to a separate file with their tests

* corrections and cleaning of comments

* camel case

* change in function

* type

* remove type

* fullWidth

* type

* change

* conditional

* change label a to Euilink

* change label a to Euilink

* conditional

* delete usePrevious

* delete usePrevious

* deleted files ds store

* test correction and placeholder

* show architecture instead of id

* Add register agent form values parser

* Remove extension on operating system type

* Add command sections with form values

* Create new components for steps inputs

* Fix some types

* Renamed some options

* Move commands config inside core folder

* Fix server address error message display

* Create methods to get form steps status

* Allow select more than group

* Hide agent group param when is empty

* Fix steps form statuses

* Remove break lines in commands

* Add white space in error messages

* Fix steps form status

* Added new command component white custom copy and language

* Fixed step form status

---------

Co-authored-by: chantal.kelm <chantal.kelm@wazuh.com>
Co-authored-by: Chantal Belén kelm <99441266+chantal-kelm@users.noreply.github.com>

* [Redesign add agent] Dark mode (#5620)

* remove custom color styles to make the elastic dark mode work by default on the agent registration page

* add development for images to have dark mode in the section deploy a new agent

* changelog about dark mode

* Cleaning console.log from assets file

* Adding suggested style modifications in the agent registration section

* add a style hint so that text cannot be selected on cards

* add suggested changes to the styles in the register an agent section

* correction added to the word wizard

* added coding enhancements in the agent registration section

* adding an enhancement to eliminate the console error

* adding an enhancement to eliminate the console error

* [Redesign add agent] Add and validate register agent commands (#5622)

* Add show/hide password in command component

* Add protocol and password types

* Add more step status methods

* Add os commands service

* Resolve strings replacements in command component

* Change macos packages name by arch

* Add \n to the macos params

* Fixed parsed macos params inside echo

* Add -e in mac os install command

* Remove sudo from macos install command with echo

* Add sudo to linux before optional params

* Fix PR review comments

* Fixed imports in tests

* Fix components unit tests

* Fix unit test checkbox group component

* Fix os card unit test with mock uiSettings

* modify the fqdn regex because it interferes with an ipv4 instance

* [Redesign add page] Add form status callout message (#5634)

* Add form status manager and unit tests

* Add empty and invalid fields messages

* Hide commands code block when exists warning messages

* Fix fields names in warning messages

* Updated CHANGELOG

* Step 2: the design triggers warnings (#5649)

* changing design to remove console warnings

* update changelog

* Changes in the display of pop-up windows in the agents log section

* semicolon is added

* update changelog

* update changelog

* Merge 4.5.1 into 4.6.0 (#5671)

* Change windows agent service name (#5538)

* Change windows agent service name to Wazuh

Change windows agent service name to Wazuh

* Add CHANGELOG

* Remove agent name in agent info ribbon (#5497)

* remove: agent name in agent info ribbon

* changelog: add pull request entry

---------

Co-authored-by: Álex Ruiz <alejandro.ruiz.becerra@wazuh.com>

* Fix IPV6 visualizations (#5471)

* add ipv6 service

* add test for service

* Fix issue in agents-table

* fix issue in agents-info

* fix groups agents issue

* Fix width in groups agents

* use mapResponseItem

* Add copy button to groups

* Add copy button to info

* fix for node list

* Optimize code

* Fix styles

* Edit changelog

* Edit changelog

* Add imposter changes to test ipv6

* Replace onMouseDown with onClick

* Move copy buttons to the left

* fix: removed compressipv6 property of TableWzAPI

* feat: add tableLayout property to some tables and remove IPv6 address compression

add tableLayout=auto property to some tables:
- Agents/{agent_id}/Inventory data
- Management/Cluster/Nodes
- Agents
- Management/Configuration/Client
- Management/Global configuration/Remote
remove IPv6 address compression

* remove: remove unused service to IPv6 compression

* revert: revert changes in TableWzAPI component

* add: add mocked responses to some syscollector endpoints

* remove: unwanted table columns properties

* changelog: add pull request entry

* Fix imposter

---------

Co-authored-by: Antonio David Gutiérrez <antonio.gutierrez@wazuh.com>
Co-authored-by: Álex Ruiz <alejandro.ruiz.becerra@wazuh.com>
Co-authored-by: yenienserrano <ian.serrano@wazuh.com>
Co-authored-by: Antonio <34042064+Desvelao@users.noreply.github.com>

* Bump v4.4.4-2.6.0-rc2

* Add Apple Silicon architecture to the register Agent wizard (#5478)

* Add Apple Silicon architecture

* Add changelog

* Change macOS environment variables

* Revert "Change macOS environment variables"

This reverts commit 108e86626045de6b5cd7b7053a8c6333d8bf8b89.

* Change macOS architecture ids

* Add missing supported versions to the Docker environments (#5584)

feat(environments): add latest versions to Docker environments

- Add Kibana versions: 7.17.7, 7.17.8, 7.17.9 and 7.17.10
- Add OpenSearch: 2.6.0
- Add OpenSearch Dashboards: 2.6.0
- Add Wazuh 4.4.1, 4.4.2, 4.4.3 and 4.4.4

* Bump 4.5.1

* Change the method to make the redirect (#5539)

* Change the metod to make the redirect

* Remove unused code

* Add changelog

---------

Co-authored-by: Álex Ruiz <alejandro.ruiz.becerra@wazuh.com>

* Fix agents active coverage stat as NaN (#5490)

* fix: agents active coverate stat as NaN

Ensure the values used to calculate have the expected types and
the total count is greater than 0.

* remove: unused openRegistrationDocs method

* changelog: add entry

* fix: check if agents active coverage is a NaN

* changelog: fix entry

---------

Co-authored-by: Álex Ruiz <alejandro.ruiz.becerra@wazuh.com>

* [Backport 4.5.1] Update test snapshots for 4.5 (#5607)

* Update test snapshots for 4.5 (#5601)

* Add missing supported versions to the Docker environments (#5584)

feat(environments): add latest versions to Docker environments

- Add Kibana versions: 7.17.7, 7.17.8, 7.17.9 and 7.17.10
- Add OpenSearch: 2.6.0
- Add OpenSearch Dashboards: 2.6.0
- Add Wazuh 4.4.1, 4.4.2, 4.4.3 and 4.4.4

* Update test snapshost

* Update API data to 4.5

* Update branch patterns for GH Actions

---------

Co-authored-by: Antonio <34042064+Desvelao@users.noreply.github.com>
(cherry picked from commit 1ae5f19a9edc967187b2d946aad6e8d8f0afff14)

* Fix API reference links in endpoints.json

* Add kbn-dev 7.17.11 (#5628)

* Merge 4.5.0 into 4.5.1 (#5670)

* Update test snapshots for 4.5 (#5601)

* Add missing supported versions to the Docker environments (#5584)

feat(environments): add latest versions to Docker environments

- Add Kibana versions: 7.17.7, 7.17.8, 7.17.9 and 7.17.10
- Add OpenSearch: 2.6.0
- Add OpenSearch Dashboards: 2.6.0
- Add Wazuh 4.4.1, 4.4.2, 4.4.3 and 4.4.4

* Update test snapshost

* Update API data to 4.5

* Update branch patterns for GH Actions

---------

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

* Fix API reference links in endpoints.json

* Merge 4.4 into 4.5.0 (#5669)

Merge v4.4.5-2.6.0 into 4.4 (#5665)

* Bump Wazuh and platform versions for v4.4.5 (#5639)

* Update changelog

* Update opensearch_dashboards.json

* Update package.json

* Update readme

* Update tag script

* Change tag.py version value

* Empty tag suffix

* Prepare tag.py for v4.4.5-rc1 (#5645)

Add -rc1 tag suffix

* Fix incompatible version of triple-beam subdependency (#5652)

fix: add yarn.lock file and set version of triple-beam in yarn.lock

* Update unit-test.yml (#5655)

* Add support for Wazuh 4.4.5-rc2 (#5659)

* Update revision of v4.4.5 in the Changelog

* Bump v4.4.5-2.6.0-rc2

---------

Co-authored-by: Nicolas Agustin Guevara Pihen <42900763+Tostti@users.noreply.github.com>
Co-authored-by: Federico Rodriguez <federico.rodriguez@wazuh.com>
Co-authored-by: Álex Ruiz <alejandro.ruiz.becerra@wazuh.com>
Co-authored-by: Antonio <34042064+Desvelao@users.noreply.github.com>

---------

Co-authored-by: Álex Ruiz <alejandro.ruiz.becerra@wazuh.com>
Co-authored-by: Antonio <34042064+Desvelao@users.noreply.github.com>
Co-authored-by: Nicolas Agustin Guevara Pihen <42900763+Tostti@users.noreply.github.com>
Co-authored-by: Federico Rodriguez <federico.rodriguez@wazuh.com>

---------

Co-authored-by: Julio César Biset <43619595+jbiset@users.noreply.github.com>
Co-authored-by: Antonio <34042064+Desvelao@users.noreply.github.com>
Co-authored-by: Álex Ruiz <alejandro.ruiz.becerra@wazuh.com>
Co-authored-by: Nicolas Agustin Guevara Pihen <42900763+Tostti@users.noreply.github.com>
Co-authored-by: Antonio David Gutiérrez <antonio.gutierrez@wazuh.com>
Co-authored-by: Federico Rodriguez <federico.rodriguez@wazuh.com>

* Remove unused embedded jquery-ui (#5592)

* fix: remove unused embedded jquery-ui dependency

* changelog: add pull request entry

---------

Co-authored-by: Federico Rodriguez <federico.rodriguez@wazuh.com>

* Fixes redirection problem to inventory data, stats and configuration in an agent (#5685)

Fix redirect to inventory data, stats and configuration

* Fix conflicts in branch synchronization (#5708)

* fix: fix conflicts

* changelog: remove entry

* Fix 4.6.0 changelog merge errors (#5692)

* Update changelog

* Update CHANGELOG.md

* Merge 4.5.2 into 4.6.0 (#5721)

* Add method to scape special chars in wazuh password

* Upgrade environments to 4.6 and 4.7 (#5741)

* Add wzd-dev.dockerfile

* Update osd dev.sh

* Applied special chars scape un command password

* Redesign deploy new agent page (#5457)

* parent component

* Added a title to the container and updated filenames

* Update register-agent.scss

* [Redesign add agent] Register agent reuse common/form component (Settings > Configuration) (#5446)

* Add useForm hook types

* Add custom field use in useForm hook

* Add some code redeability fixes

* Refactored useForm types and unit tests

* Move types to types file

* Remove react use inside hook test file

* Fix review requested changes

* [Redesign add agent] Add register agent command generator (#5469)

* Create reusable card for operating systems (#5462)

* Add useForm hook types

* Add custom field use in useForm hook

* Add some code redeability fixes

* Refactored useForm types and unit tests

* Move types to types file

* reuse of common form on the card

* Card with logic

* CheckboxGroup component logic update

* CheckboxGroup component logic update

* Adding card icons

* update checkbox logic, styles, and card styles

* clean code

* clean code

* gitignore Mac files

* updating checkbox logic, styles, and card styles

* Update os-card.scss

* macos card update

* undoing merging as it was causing checkboxes not to work

* test

* file ds_store

* file ds_store

* file ds_store

* remove files DS_store

* remove files DS_store

---------

Co-authored-by: Maximiliano Ibarra <maximiliano.ibarra@wazuh.com>
Co-authored-by: Maximiliano Ibarra <6089438+Machi3mfl@users.noreply.github.com>

* 5518 inputs logic server address name password and group (#5554)

* Add useForm hook types

* Add custom field use in useForm hook

* Add some code redeability fixes

* Refactored useForm types and unit tests

* Move types to types file

* reuse of common form on the card

* Card with logic

* CheckboxGroup component logic update

* CheckboxGroup component logic update

* Adding card icons

* update checkbox logic, styles, and card styles

* clean code

* clean code

* gitignore Mac files

* updating checkbox logic, styles, and card styles

* step component

* Passing interfaces to a separate file, updating styles, and component logic

* Update interfaces and clean up code

* update of folder structure and step logic

* tcp, udp, protocols, password, groups, logics

* input logic server address name password groups and styles

* group input logic

* oscards input logic

* oscards input logic

* styles

* regex

* styles and settings

* styles

* various adjustments

* cleaning up code and changing some styles

* cleaning up code

* cleaning code

* update password

* gitignore

* gitignore

* correcting validation text in input agent name

* correcting validation text in input agent name

* corrección de validación de input de nombre del agente

* cleaning code

* cleaning code

* regex that differentiates between FQDN and IP

* Use of PLUGIN_VERSION_SHORT

* Use of PLUGIN_VERSION_SHORT

* link

* Revert "Merge branch '4205-redesign-add-agent-page' into 5518-inputs-logic-server-address-name-password-and-group"

This reverts commit a4c6fb5d24a482e80f9595a879d141ff2d7fa5bb, reversing
changes made to 5a0d2cb0e71972eb8f68b16f035ebc977220379f.

* link and revert

* characteres valid

* correction of styles when bringing changes from parent branch

* change tooltip to popover

* moving validations to a separate file with their tests

* corrections and cleaning of comments

* camel case

* change in function

* type

* remove type

* fullWidth

* type

* change

* conditional

* change label a to Euilink

* change label a to Euilink

* conditional

* delete usePrevious

* delete usePrevious

* deleted files ds store

* test correction and placeholder

* show architecture instead of id

* removing console css warnings

* fixed regex fqdn

* fixed regex fqdn

* data

* changelog

* changelog

---------

Co-authored-by: Maximiliano Ibarra <maximiliano.ibarra@wazuh.com>
Co-authored-by: Maximiliano Ibarra <6089438+Machi3mfl@users.noreply.github.com>

* [Redesign add agent] Integration commands generator with UI (#5593)

* Add useForm hook types

* Add custom field use in useForm hook

* Add some code redeability fixes

* Refactored useForm types and unit tests

* Move types to types file

* reuse of common form on the card

* Card with logic

* CheckboxGroup component logic update

* CheckboxGroup component logic update

* Adding card icons

* update checkbox logic, styles, and card styles

* clean code

* clean code

* gitignore Mac files

* updating checkbox logic, styles, and card styles

* step component

* Passing interfaces to a separate file, updating styles, and component logic

* Update interfaces and clean up code

* update of folder structure and step logic

* tcp, udp, protocols, password, groups, logics

* input logic server address name password groups and styles

* group input logic

* oscards input logic

* oscards input logic

* styles

* regex

* styles and settings

* styles

* various adjustments

* cleaning up code and changing some styles

* cleaning up code

* cleaning code

* update password

* gitignore

* gitignore

* correcting validation text in input agent name

* correcting validation text in input agent name

* corrección de validación de input de nombre del agente

* cleaning code

* cleaning code

* regex that differentiates between FQDN and IP

* Use of PLUGIN_VERSION_SHORT

* Use of PLUGIN_VERSION_SHORT

* link

* Revert "Merge branch '4205-redesign-add-agent-page' into 5518-inputs-logic-server-address-name-password-and-group"

This reverts commit a4c6fb5d24a482e80f9595a879d141ff2d7fa5bb, reversing
changes made to 5a0d2cb0e71972eb8f68b16f035ebc977220379f.

* link and revert

* characteres valid

* correction of styles when bringing changes from parent branch

* change tooltip to popover

* moving validations to a separate file with their tests

* corrections and cleaning of comments

* camel case

* change in function

* type

* remove type

* fullWidth

* type

* change

* conditional

* change label a to Euilink

* change label a to Euilink

* conditional

* delete usePrevious

* delete usePrevious

* deleted files ds store

* test correction and placeholder

* show architecture instead of id

* Add register agent form values parser

* Remove extension on operating system type

* Add command sections with form values

* Create new components for steps inputs

* Fix some types

* Renamed some options

* Move commands config inside core folder

* Fix server address error message display

* Create methods to get form steps status

* Allow select more than group

* Hide agent group param when is empty

* Fix steps form statuses

* Remove break lines in commands

* Add white space in error messages

* Fix steps form status

* Added new command component white custom copy and language

* Fixed step form status

---------

Co-authored-by: chantal.kelm <chantal.kelm@wazuh.com>
Co-authored-by: Chantal Belén kelm <99441266+chantal-kelm@users.noreply.github.com>

* [Redesign add agent] Dark mode (#5620)

* remove custom color styles to make the elastic dark mode work by default on the agent registration page

* add development for images to have dark mode in the section deploy a new agent

* changelog about dark mode

* Cleaning console.log from assets file

* Adding suggested style modifications in the agent registration section

* add a style hint so that text cannot be selected on cards

* add suggested changes to the styles in the register an agent section

* correction added to the word wizard

* added coding enhancements in the agent registration section

* adding an enhancement to eliminate the console error

* adding an enhancement to eliminate the console error

* [Redesign add agent] Add and validate register agent commands (#5622)

* Add show/hide password in command component

* Add protocol and password types

* Add more step status methods

* Add os commands service

* Resolve strings replacements in command component

* Change macos packages name by arch

* Add \n to the macos params

* Fixed parsed macos params inside echo

* Add -e in mac os install command

* Remove sudo from macos install command with echo

* Add sudo to linux before optional params

* Fix PR review comments

* Fixed imports in tests

* Fix components unit tests

* Fix unit test checkbox group component

* Fix os card unit test with mock uiSettings

* modify the fqdn regex because it interferes with an ipv4 instance

* [Redesign add page] Add form status callout message (#5634)

* Add form status manager and unit tests

* Add empty and invalid fields messages

* Hide commands code block when exists warning messages

* Fix fields names in warning messages

* Updated CHANGELOG

* Step 2: the design triggers warnings (#5649)

* changing design to remove console warnings

* update changelog

* Changes in the display of pop-up windows in the agents log section

* semicolon is added

* update changelog

* update changelog

* Add requested fixs on texts

* Add new rpm and deb install commands

* modify fqdn regex

* Fix server address validation unit test

* Add type in command output types

---------

Co-authored-by: Maximiliano Ibarra <6089438+Machi3mfl@users.noreply.github.com>
Co-authored-by: Maximiliano Ibarra <maximiliano.ibarra@wazuh.com>

* Add password scaped singlequote

* Add new wazuh password service for scape special characters with unit tests

* Add new unit test case

* Fix service and added unit tests

* Comment logs in service unit test

* Update CHANGELOG

* Change regex to scape special characters

* Fix unit tests

* Fix osdfucate password with toggle

* Change scape and osdfucate password depending on os selected

* Add osdfucate and scape password for windows

* Add windows scape password unit tests

* Remove $ in wazuh password command param

* Fix overlay height to fix horizontal scroll

* Change macos scape characters method and unit tests

* Change macos scape method

* Fix mac os scape service unit test

---------

Co-authored-by: chantal.kelm <chantal.kelm@wazuh.com>
Co-authored-by: Chantal Belén kelm <99441266+chantal-kelm@users.noreply.github.com>
Co-authored-by: Ian Yenien Serrano <63758389+yenienserrano@users.noreply.github.com>
Co-authored-by: Julio César Biset <43619595+jbiset@users.noreply.github.com>
Co-authored-by: Antonio <34042064+Desvelao@users.noreply.github.com>
Co-authored-by: Álex Ruiz <alejandro.ruiz.becerra@wazuh.com>
Co-authored-by: Nicolas Agustin Guevara Pihen <42900763+Tostti@users.noreply.github.com>
Co-authored-by: Antonio David Gutiérrez <antonio.gutierrez@wazuh.com>
Co-authored-by: Federico Rodriguez <federico.rodriguez@wazuh.com>

* Merge 4.6.0 into 4.7.0 (#5783)

* Merge 4.5.1 into 4.6.0 (#5671)

* Change windows agent service name (#5538)

* Change windows agent service name to Wazuh

Change windows agent service name to Wazuh

* Add CHANGELOG

* Remove agent name in agent info ribbon (#5497)

* remove: agent name in agent info ribbon

* changelog: add pull request entry

---------

Co-authored-by: Álex Ruiz <alejandro.ruiz.becerra@wazuh.com>

* Fix IPV6 visualizations (#5471)

* add ipv6 service

* add test for service

* Fix issue in agents-table

* fix issue in agents-info

* fix groups agents issue

* Fix width in groups agents

* use mapResponseItem

* Add copy button to groups

* Add copy button to info

* fix for node list

* Optimize code

* Fix styles

* Edit changelog

* Edit changelog

* Add imposter changes to test ipv6

* Replace onMouseDown with onClick

* Move copy buttons to the left

* fix: removed compressipv6 property of TableWzAPI

* feat: add tableLayout property to some tables and remove IPv6 address compression

add tableLayout=auto property to some tables:
- Agents/{agent_id}/Inventory data
- Management/Cluster/Nodes
- Agents
- Management/Configuration/Client
- Management/Global configuration/Remote
remove IPv6 address compression

* remove: remove unused service to IPv6 compression

* revert: revert changes in TableWzAPI component

* add: add mocked responses to some syscollector endpoints

* remove: unwanted table columns properties

* changelog: add pull request entry

* Fix imposter

---------

Co-authored-by: Antonio David Gutiérrez <antonio.gutierrez@wazuh.com>
Co-authored-by: Álex Ruiz <alejandro.ruiz.becerra@wazuh.com>
Co-authored-by: yenienserrano <ian.serrano@wazuh.com>
Co-authored-by: Antonio <34042064+Desvelao@users.noreply.github.com>

* Bump v4.4.4-2.6.0-rc2

* Add Apple Silicon architecture to the register Agent wizard (#5478)

* Add Apple Silicon architecture

* Add changelog

* Change macOS environment variables

* Revert "Change macOS environment variables"

This reverts commit 108e86626045de6b5cd7b7053a8c6333d8bf8b89.

* Change macOS architecture ids

* Add missing supported versions to the Docker environments (#5584)

feat(environments): add latest versions to Docker environments

- Add Kibana versions: 7.17.7, 7.17.8, 7.17.9 and 7.17.10
- Add OpenSearch: 2.6.0
- Add OpenSearch Dashboards: 2.6.0
- Add Wazuh 4.4.1, 4.4.2, 4.4.3 and 4.4.4

* Bump 4.5.1

* Change the method to make the redirect (#5539)
…
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cannot access to Users administration with other role than administrator
4 participants