wazuh / wazuh-dashboard-plugins

Plugins for Wazuh Dashboard
https://wazuh.com/
GNU General Public License v2.0
432 stars 180 forks source link

Release 4.3.5 RC1 - Wazuh UI Manual Testing #4286

Closed AlexRuiz7 closed 2 years ago

AlexRuiz7 commented 2 years ago

Wazuh v4.3.5 - Kibana 7.10.2, 7.16.x, 7.17.x - Revision 4306

Test Chrome Safari Firefox Package
Test 1 🟒/πŸ”΄ 🟒/πŸ”΄ 🟒/πŸ”΄ 🟒/πŸ”΄

Status legend: ⚫ - None πŸ”΄ - Rejected 🟒 - Approved

In the case of πŸ”΄, create and link the issue.

Changelog

Added

Changed

Fixed

Test for #4244

Scenario: An error message should be displayed when a rule is duplicated.

Precondition: It’s needed to have a duplicated rule

 Given: The Kibana admin user is logged in using xpack and the Wazuh logo is displayed
 When: The user navigates to Ruleset Test 
 And: The user enters the test message 
And: The user clicks on the test button
Then: A error message is displayed on the console section  description of the problem

Test comments

To create a duplicated rule:

  1. Navigate to management/rule
  2. Access to any rule
  3. Copy the rule code
  4. Navigate back to management/rules
  5. Create a custom rule
  6. Paste the rule code
  7. Saved the rule

Test for #4261

Scenario: Access denied to a Mitre Module

Precondition: It’s needed to log on to Wazuh Dashboard with a user that was not read permission for mitre

Given: The user without reading permission on mitre  is logged in using Wazuh Dashboard and the Wazuh logo is displayed
When: The user navigates to Mitre Module
Then: The access denied screen is displayed
And: The user can’t access any submodule of mitre

Test comments

All the test steps are described on the associated PR.

Test for #4239

Scenario: Validate the information to add a new Agent Red Hat / CentOS SO from CentOS6 or higher version with armhf architecture

Given: The Kibana admin user is logged in using xpack and the Wazuh logo is displayed
And: navigate on the new deploy agent page
When: the user selects `Red Hat / CentOS SO` from CentOS6 or higher version with `armhf` architecture
Then: the new sixth step is added with a "title", a "description", a "message", a "Wazuh documentation" link, and "console command", and a Copy command button are displayed

        | title | Install and enroll the agent |
        | description | You can use this command to install and enroll the Wazuh agent in one or more hosts. |
        | message | Running this command on a host with an agent already installed upgrades the agent package without enrolling the agent. To enroll in it, see the Wazuh documentation. |
        | Wazuh documentation | https://documentation.Wazuh.com/current/user-manual/registering/index.html |
        | console command | sudo WAZUH_MANAGER='172.19.0.4' yum install https://packages.Wazuh.com/4.x/yum/Wazuh-agent-4.3.0-1.armv7hl.rpm |

And: the new seventh step is added with a "title", the "Systemd" and "SysV init" tabs, a Copy command button, a message, and a "document" link are displayed

        | title |
        | Start the agent |

        | Systemd |
        | sudo systemctl daemon-reload |
        | sudo systemctl enable Wazuh-agent |
        | sudo systemctl start Wazuh-agent |

        | SysV Init |
        | sudo chkconfig --add Wazuh-agent |
        |sudo service Wazuh-agent start |

        | message |
        | To verify the connection with the Wazuh server, please follow this document. |

        | document |
        | https://documentation.Wazuh.com/4.3/user-manual/agents/agent-connection.html |

Scenario: Validate the information to add a new Red Hat / CentOS SO version with armhf architecture

Given: The Kibana admin user is logged in using xpack and the Wazuh logo is displayed
And: navigate on the new deploy agent page
When: the user selects `Red Hat / CentOS SO` from `RedHat6` or higher version with `armhf` architecture
Then: the new sixth step is added with a "title", a "description", a "message", a "Wazuh documentation" link, and "console command", and a Copy command button are displayed

        | title | Install and enroll the agent |
        | description | You can use this command to install and enroll the Wazuh agent in one or more hosts. |
        | message | Running this command on a host with an agent already installed upgrades the agent package without enrolling the agent. To enroll it, see the Wazuh documentation. |
        | Wazuh documentation | https://documentation.Wazuh.com/current/user-manual/registering/index.html |
        | console command | curl -so Wazuh-agent-4.3.0.deb https://packages.Wazuh.com/4.x/apt/pool/main/w/Wazuh-agent/Wazuh-agent_4.3.0-1_armhf.deb && sudo WAZUH_MANAGER='172.19.0.3' dpkg -i ./Wazuh-agent-4.3.0.deb |
- And: the new seventh step is added with a "title", the "Systemd" and "SysV init" tabs, a Copy command button, a message, and a "document" link are displayed

        | title |
        | Start the agent |

        | Systemd |
        | sudo systemctl daemon-reload |
        | sudo systemctl enable Wazuh-agent |
        | sudo systemctl start Wazuh-agent |

        | SysV Init |
        | sudo chkconfig --add Wazuh-agent |
        |sudo service Wazuh-agent start |

        | message |
        | To verify the connection with the Wazuh server, please follow this document. |

        | document |
        | https://documentation.Wazuh.com/4.3/user-manual/agents/agent-connection.html |

Scenario: Validate the information to add a new Agent Debian / Ubuntu SO version with armhf architecture

Given: The Kibana admin user is logged in using xpack and the Wazuh logo is displayed
And: navigate on the new deploy agent page
When: the user selects `Debian / Ubuntu SO` with `armhf` architecture
Then: the new sixth step is added with a "title", a "description", a "message", a "Wazuh documentation" link, and "console command", and a Copy command button are displayed

        | title | Install and enroll the agent |
        | description | You can use this command to install and enroll the Wazuh agent in one or more hosts. |
        | message | Running this command on a host with an agent already installed upgrades the agent package without enrolling the agent. To enroll in it, see the Wazuh documentation. |
        | Wazuh documentation | https://documentation.Wazuh.com/current/user-manual/registering/index.html |
        | console command | curl -so Wazuh-agent-4.3.0.deb https://packages.Wazuh.com/4.x/apt/pool/main/w/Wazuh-agent/Wazuh-agent_4.3.0-1_armhf.deb && sudo WAZUH_MANAGER='172.19.0.3' dpkg -i ./Wazuh-agent-4.3.0.deb |
- And: the new seventh step is added with a "title", the "Systemd" and "SysV init" tabs, a Copy command button, a message, and a "document" link are displayed

        | title |
        | Start the agent |

        | Systemd |
        | sudo systemctl daemon-reload |
        | sudo systemctl enable Wazuh-agent |
        | sudo systemctl start Wazuh-agent |

        | SysV Init |
        | sudo chkconfig --add Wazuh-agent |
        |sudo service Wazuh-agent start |

        | message |
        | To verify the connection with the Wazuh server, please follow this document. |

        | document |
        | https://documentation.Wazuh.com/4.3/user-manual/agents/agent-connection.html |

Test for #4267

Scenario: Filter tags

Precondition: It’s needed to have the GCP integration enabled and set

Given The Kibana admin user is logged in using xpack and the Wazuh logo is displayed
When The user navigates to management/logs
And The user clicks on the log selector
And The user clicks on the GCP bucket log
Then The log message is displayed

Test comments

To integrate GCP module:

  1. Navigate to management/configuration
  2. On the manager, create an empty file named credentials.json on the path ossec/wodles
  3. Add these configuration to the ossec.file
    <gcp-bucket>
        <run_on_start>yes</run_on_start>
        <interval>1m</interval>
            <logging>debug</logging>
        <bucket type="access_logs">
         <name>custom</name>
             <credentials_file>wodles/credentials.json</credentials_file>
        </bucket>
    </gcp-bucket>
  4. Save the changes
  5. Restart the manager

Test for #4254

Scenario:

Given The Kibana admin user is logged in using xpack and the Wazuh logo is displayed
And navigate on the Vulnerabilities modules
When the dashboard with the plots is displayed with an styles
And the user select Agent 
Then the dashboards with plot is displayed with the same styles of vulnerabilities

Test for #4235

Scenario:

Given The Kibana admin user is logged in using xpack and the Wazuh logo is displayed
And  navigate the setting options
When the user select the Log tab
Then the app los message is displayed wit the log file located url `/usr.share/Wazuh-dashboard/data/Wazuh/log/Wazuhapp.log`
And on the log isn’t displayed a error message

Test for #4233

Scenario: Resize Screen

Given The Kibana admin user is logged in using xpack and the Wazuh logo is displayed
When The user navigates to the agent dashboard 
And The user resizes the browser screen
Then  there aren’t errors displayed in the Browser Dev Console

Test for #4237

Scenario: Wrong query search

Given The Kibana admin user is logged in using xpack and the Wazuh logo is displayed
When The user navigates to the <Module Name>
And The user insert a wrong query at the search field
Then a toast should be displayed with an error message 
And The user should not be redirected to an error screen

Test for #4266

Scenario: Wrong query search

Given The Kibana admin user is logged in using xpack and the Wazuh logo is displayed
When The user navigates to the devtools
And The user use an wrong query expression
Then The console should display an friendly error message

Test for #4253

Scenario: Resize Screen - Management - Logs

Given The Kibana admin user is logged in using xpack and the Wazuh logo is displayed
When The user navigates to `Management/Logs`
And The user changes the screen resolution (zoom-in/zoom-out) 
Then the number of lines displayed on the logs screen changes according to the zoom level.

Test for #4240

Scenario: Generate a module report

Given The Kibana admin user is logged in using xpack and the Wazuh logo is displayed
When The user navigates to `Modules/<Module>`
And Select an agent with the Explore agent button 
And generate a module report clicking on the Generate report
And Change the selected agent to another one, and generate a module report
Then This should be done
    Examples:

        | Module               |
        | Security Events      |
        | Integrity Monitoring |
        | System Auditing      |
        | Mitre & Attack       |
        | GDPR                 |
        | HIPAA                |
        | NIST                 |
        | TSC                  |
        | Policy Monitoring    |
        | PCIDSS               |

Test for #4264

Scenario: Generate a module report

Given The Kibana admin user is logged in using xpack and the Wazuh logo is displayed
When The user navigates to `Management > Configuration`
And Click on `Edit configuration`
And Change `vulnerability-detector` to enabled or disabled
And Click save, restart manager button, Wait for it to restart
Then the waiting time to see if the manager is active again
Desvelao commented 2 years ago
Kibana 7.16.3 (X-Pack) Test Chrome Safari Firefox Package
4244 :green_circle: :black_circle: :green_circle: 4.3.5_7.16.3-1
4261 :green_circle: :black_circle: :green_circle: 4.3.5_7.16.3-1
4239.1 :green_circle: :black_circle: :green_circle: 4.3.5_7.16.3-1
4239.2 :green_circle: :black_circle: :green_circle: 4.3.5_7.16.3-1
4239.3 :green_circle: :black_circle: :green_circle: 4.3.5_7.16.3-1
4267 :green_circle: :black_circle: :green_circle: 4.3.5_7.16.3-1
4254 :green_circle: :black_circle: :green_circle: 4.3.5_7.16.3-1
4235 :green_circle: :black_circle: :green_circle: 4.3.5_7.16.3-1
4233 :green_circle: :black_circle: :green_circle: 4.3.5_7.16.3-1
4237 :green_circle: :black_circle: :green_circle: 4.3.5_7.16.3-1
4266 :green_circle: :black_circle: :green_circle: 4.3.5_7.16.3-1
4253 :green_circle: :black_circle: :green_circle: 4.3.5_7.16.3-1
4240 :green_circle: :black_circle: :green_circle: 4.3.5_7.16.3-1
4264 :green_circle: :black_circle: :green_circle: 4.3.5_7.16.3-1
Desvelao commented 2 years ago

Kibana 7.10.2 (ODFE)

Test Chrome Safari Firefox Package
4244 :green_circle: :black_circle: :green_circle: 4.3.5_7.10.2-1
4261 :green_circle: :black_circle: :green_circle: 4.3.5_7.10.2-1
4239.1 :green_circle: :black_circle: :green_circle: 4.3.5_7.10.2-1
4239.2 :green_circle: :black_circle: :green_circle: 4.3.5_7.10.2-1
4239.3 :green_circle: :black_circle: :green_circle: 4.3.5_7.10.2-1
4267 :green_circle: :black_circle: :green_circle: 4.3.5_7.10.2-1
4254 :green_circle: :black_circle: :green_circle: 4.3.5_7.10.2-1
4235 :green_circle: :black_circle: :green_circle: 4.3.5_7.10.2-1
4233 :green_circle: :black_circle: :green_circle: 4.3.5_7.10.2-1
4237 :green_circle: :black_circle: :green_circle: 4.3.5_7.10.2-1
4266 :green_circle: :black_circle: :green_circle: 4.3.5_7.10.2-1
4253 :green_circle: :black_circle: :green_circle: 4.3.5_7.10.2-1
4240 :green_circle: :black_circle: :green_circle: 4.3.5_7.10.2-1
4264 :green_circle: :black_circle: :green_circle: 4.3.5_7.10.2-1
yenienserrano commented 2 years ago
Kibana 7.17.4 (X-Pack) Test Chrome Safari Firefox Package
4244 :green_circle: :black_circle: :green_circle: 4.3.5_7.17.4-1
4261 :green_circle: :black_circle: :green_circle: 4.3.5_7.17.4-1
4239.1 :green_circle: :black_circle: :green_circle: 4.3.5_7.17.4-1
4239.2 :green_circle: :black_circle: :green_circle: 4.3.5_7.17.4-1
4239.3 :green_circle: :black_circle: :green_circle: 4.3.5_7.17.4-1
4267 :green_circle: :black_circle: :green_circle: 4.3.5_7.17.4-1
4254 :green_circle: :black_circle: :green_circle: 4.3.5_7.17.4-1
4235 :green_circle: :black_circle: :green_circle: 4.3.5_7.17.4-1
4233 :green_circle: :black_circle: :green_circle: 4.3.5_7.17.4-1
4237 :green_circle: :black_circle: :green_circle: 4.3.5_7.17.4-1
4266 :green_circle: :black_circle: :green_circle: 4.3.5_7.17.4-1
4253 :green_circle: :black_circle: :green_circle: 4.3.5_7.17.4-1
4240 :green_circle: :black_circle: :green_circle: 4.3.5_7.17.4-1
4264 :green_circle: :black_circle: :green_circle: 4.3.5_7.17.4-1

Test for https://github.com/wazuh/wazuh-kibana-app/pull/4244

![Screenshot from 2022-06-24 15-19-08](https://user-images.githubusercontent.com/76791841/175628548-93a0cd53-8991-4672-97d7-2f066df38360.png)

Test for https://github.com/wazuh/wazuh-kibana-app/pull/4261

![Screenshot from 2022-06-24 15-42-40](https://user-images.githubusercontent.com/76791841/175646090-02fe1f1a-2bcb-4cbe-8cd8-9a5f63bddd25.png)

Test for https://github.com/wazuh/wazuh-kibana-app/pull/4239

![Screenshot from 2022-06-24 15-45-18](https://user-images.githubusercontent.com/76791841/175646490-68155ede-3fce-4fb1-997c-44e60e51a360.png)

Test for https://github.com/wazuh/wazuh-kibana-app/pull/4267

![image (1)](https://user-images.githubusercontent.com/76791841/175648862-6795deed-90af-42b6-a1eb-5d9f06cf7c95.png) ![Screenshot from 2022-06-24 16-01-28](https://user-images.githubusercontent.com/76791841/175648924-125d16ea-4192-41b6-9109-7a99f182cb2e.png)

Test for https://github.com/wazuh/wazuh-kibana-app/pull/4235

![Screenshot from 2022-06-24 16-10-30](https://user-images.githubusercontent.com/76791841/175649938-7ad638f4-a5d0-4e5b-a4c4-7222e3397a85.png)

Test for https://github.com/wazuh/wazuh-kibana-app/pull/4233

![size](https://user-images.githubusercontent.com/76791841/175650614-1d89d346-496c-405a-87da-ab3c07f8b31c.gif)

Test for https://github.com/wazuh/wazuh-kibana-app/pull/4237

![Screenshot from 2022-06-24 16-19-01](https://user-images.githubusercontent.com/76791841/175650982-30b7e04d-a35a-48a3-834d-6710601e2870.png)

Test for https://github.com/wazuh/wazuh-kibana-app/pull/4266

![Screenshot from 2022-06-24 16-22-14](https://user-images.githubusercontent.com/76791841/175652029-e1a8dcd6-6785-4ed8-bc57-74a0132312a7.png)

Test for https://github.com/wazuh/wazuh-kibana-app/pull/4253

![Screenshot from 2022-06-24 16-24-41](https://user-images.githubusercontent.com/76791841/175652953-daef6004-7c9f-4ca4-b6c4-91a65e710f08.png) ![Screenshot from 2022-06-24 16-24-27](https://user-images.githubusercontent.com/76791841/175652964-cc17ca86-cc90-490a-bd5d-8ea019118fce.png)

Test for https://github.com/wazuh/wazuh-kibana-app/pull/4240

![Screenshot from 2022-06-24 16-26-56](https://user-images.githubusercontent.com/76791841/175653863-4ab3b2ab-3453-4610-8f77-2dcc33ac6d3b.png) ![Screenshot from 2022-06-24 16-27-15](https://user-images.githubusercontent.com/76791841/175654121-4f7f9ab1-6ebe-476a-89cd-d891b51c6d36.png)

Test for https://github.com/wazuh/wazuh-kibana-app/pull/4264

![Screenshot from 2022-06-24 16-31-49](https://user-images.githubusercontent.com/76791841/175655276-84327923-2850-4437-afdb-6ee1d8f68700.png)
yenienserrano commented 2 years ago
Kibana 7.17.3 (X-Pack) Test Chrome Safari Firefox Package
4244 :green_circle: :black_circle: :green_circle: 4.3.5_7.17.3-1
4261 :green_circle: :black_circle: :green_circle: 4.3.5_7.17.3-1
4239.1 :green_circle: :black_circle: :green_circle: 4.3.5_7.17.3-1
4239.2 :green_circle: :black_circle: :green_circle: 4.3.5_7.17.3-1
4239.3 :green_circle: :black_circle: :green_circle: 4.3.5_7.17.3-1
4267 :green_circle: :black_circle: :green_circle: 4.3.5_7.17.3-1
4254 :green_circle: :black_circle: :green_circle: 4.3.5_7.17.3-1
4235 :green_circle: :black_circle: :green_circle: 4.3.5_7.17.3-1
4233 :green_circle: :black_circle: :green_circle: 4.3.5_7.17.3-1
4237 :green_circle: :black_circle: :green_circle: 4.3.5_7.17.3-1
4266 :green_circle: :black_circle: :green_circle: 4.3.5_7.17.3-1
4253 :green_circle: :black_circle: :green_circle: 4.3.5_7.17.3-1
4240 :green_circle: :black_circle: :green_circle: 4.3.5_7.17.3-1
4264 :green_circle: :black_circle: :green_circle: 4.3.5_7.17.3-1
yenienserrano commented 2 years ago
Kibana 7.17.2 (X-Pack) Test Chrome Safari Firefox Package
4244 :green_circle: :black_circle: :green_circle: 4.3.5_7.17.2-1
4261 :green_circle: :black_circle: :green_circle: 4.3.5_7.17.2-1
4239.1 :green_circle: :black_circle: :green_circle: 4.3.5_7.17.2-1
4239.2 :green_circle: :black_circle: :green_circle: 4.3.5_7.17.2-1
4239.3 :green_circle: :black_circle: :green_circle: 4.3.5_7.17.2-1
4267 :green_circle: :black_circle: :green_circle: 4.3.5_7.17.2-1
4254 :green_circle: :black_circle: :green_circle: 4.3.5_7.17.2-1
4235 :green_circle: :black_circle: :green_circle: 4.3.5_7.17.2-1
4233 :green_circle: :black_circle: :green_circle: 4.3.5_7.17.2-1
4237 :green_circle: :black_circle: :green_circle: 4.3.5_7.17.2-1
4266 :green_circle: :black_circle: :green_circle: 4.3.5_7.17.2-1
4253 :green_circle: :black_circle: :green_circle: 4.3.5_7.17.2-1
4240 :green_circle: :black_circle: :green_circle: 4.3.5_7.17.2-1
4264 :green_circle: :black_circle: :green_circle: 4.3.5_7.17.2-1
Desvelao commented 2 years ago
Wazuh dashboard 4.3.5 Test Chrome Safari Firefox Package
4244 :green_circle: :black_circle: :green_circle: 4.3.5-1
4261 :green_circle: :black_circle: :green_circle: 4.3.5-1
4239.1 :green_circle: :black_circle: :green_circle: 4.3.5-1
4239.2 :green_circle: :black_circle: :green_circle: 4.3.5-1
4239.3 :green_circle: :black_circle: :green_circle: 4.3.5-1
4267 :green_circle: :black_circle: :green_circle: 4.3.5-1
4254 :green_circle: :black_circle: :green_circle: 4.3.5-1
4235 :green_circle: :black_circle: :green_circle: 4.3.5-1
4233 :green_circle: :black_circle: :green_circle: 4.3.5-1
4237 :green_circle: :black_circle: :green_circle: 4.3.5-1
4266 :green_circle: :black_circle: :green_circle: 4.3.5-1
4253 :green_circle: :black_circle: :green_circle: 4.3.5-1
4240 :green_circle: :black_circle: :green_circle: 4.3.5-1
4264 :green_circle: :black_circle: :green_circle: 4.3.5-1
4244 ![image](https://user-images.githubusercontent.com/34042064/175887627-1756474f-4426-4fd0-8914-4445f484a874.png)
4261 ![image](https://user-images.githubusercontent.com/34042064/175893040-4b0313d2-ceb8-4a17-8f35-0dc575c54972.png) ![image](https://user-images.githubusercontent.com/34042064/175893069-8c4dada9-33bc-45f9-9ca9-cbfa278826e4.png)
4239.1 ![image](https://user-images.githubusercontent.com/34042064/175888598-89788c64-f18a-4b0e-8ef6-dfc36230726e.png) ![image](https://user-images.githubusercontent.com/34042064/175888846-1bf5de27-483b-4e3f-8cbf-ccc88dcecb86.png)
4239.2 ![image](https://user-images.githubusercontent.com/34042064/175889282-30a482b4-a7f0-4d03-937e-639cc4b11eae.png) ![image](https://user-images.githubusercontent.com/34042064/175889372-6b352299-5074-41c2-83ae-572df71b2972.png)
4239.3 ![image](https://user-images.githubusercontent.com/34042064/175889020-4a2a4311-730a-4cb4-a2fe-89516ab7d109.png) ![image](https://user-images.githubusercontent.com/34042064/175889078-98d7f9a8-6d0b-48a5-bae4-f0d3b4c4c3a8.png)
4267 ![image](https://user-images.githubusercontent.com/34042064/175889828-940d9b02-082e-4c3b-976f-f3e74cf3bcd9.png) ![image](https://user-images.githubusercontent.com/34042064/175889874-8b90eca2-9bec-48ab-ad9e-fd3638a35b8b.png)
4254 ![image](https://user-images.githubusercontent.com/34042064/175890074-b4887659-b5d7-4d97-a577-096a5e6d50b1.png)
4235 ![image](https://user-images.githubusercontent.com/34042064/175890247-6b6f233c-f00d-480c-94da-17c3c13b844c.png)
4233 ![image](https://user-images.githubusercontent.com/34042064/175890416-a659b518-ed67-4ee0-96c4-6e4c969fd463.png)
4237 ![image](https://user-images.githubusercontent.com/34042064/175890626-1bd21e90-6fb1-46e5-a6fa-5401e8e2eafe.png)
4266 ![image](https://user-images.githubusercontent.com/34042064/175890912-1ba83284-b422-4be5-be14-28d2709f010d.png)
4253 ![image](https://user-images.githubusercontent.com/34042064/175891164-85572fef-e9d3-4c1c-a848-b93738799033.png)
4240 ![image](https://user-images.githubusercontent.com/34042064/175891343-f51aa770-daea-4225-8371-7b47782c1ccb.png) ![image](https://user-images.githubusercontent.com/34042064/175891409-f101e66b-1191-447c-8eef-3dd60062d225.png)
4264 ![image](https://user-images.githubusercontent.com/34042064/175891729-b15ded86-47fb-431f-bcf6-41828e8b2636.png) ![image](https://user-images.githubusercontent.com/34042064/175891768-7259ad39-cc5d-4805-9036-494f168deb06.png)
AlexRuiz7 commented 2 years ago

Testing done. No problems found.