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

[Backport 4.5.1-7.16] Fix API request to get the manager labels and broken documentation link #5731

Merged
merged 1 commit into from
Jul 24, 2023

Conversation

Desvelao
Copy link
Member

Backport 6a18172 from #5687.

…nk (#5687)

* fix: broken documentation link

* changelog: add pull request entry

* fix: changed API endpoint to get the manager labels and managing the data to render

* changelog: add pull request entry

* changelog: fix entry

* changelog: fix entry

* Add response to imposter

---------

Co-authored-by: yenienserrano <ian.serrano@wazuh.com>
(cherry picked from commit 6a18172)
@Desvelao Desvelao requested a review from a team as a code owner July 24, 2023 10:49
@github-actions
Copy link
Contributor

Code coverage (Jest) % values
Statements 8.61% ( 3261 / 37856 )
Branches 4.4% ( 1285 / 29183 )
Functions 7.48% ( 703 / 9400 )
Lines 8.69% ( 3146 / 36210 )

Copy link
Member

@Tostti Tostti left a comment

Choose a reason for hiding this comment

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

Test

7.16.3

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

CR: ✔️

UI

Test Chrome Firefox Safari
Select an agent and go to its Labels configuration. Review the Agents labels help link is pointing to user-manual/agents/labels.html 🟢 🟢
Configure the manager labels and see in Management> Configuration > Alerts > Labels the labels are displayed (Manager mode) 🟢 🟢
Configure the manager labels and see in Management> Configuration > Alerts > Labels the labels are displayed (Cluster mode) 🟢 🟢
Configure the manager reports and see in Management> Configuration > Alerts > Reports the reports are displayed (Manager mode) 🟢 🟢
Configure the manager reports and see in Management> Configuration > Alerts > Reports the reports are displayed (Cluster mode) 🟢 🟢
Configure the agent labels and see in Configuration > Labels the labels are displayed 🟢 🟢

Details

🟢 Select an agent and go to its Labels configuration. Review the Agents labels help link is pointing to user-manual/agents/labels.html

Chrome - 🟢
image

Firefox - 🟢
image

Safari - ⚫

🟢 Configure the manager labels and see in Management> Configuration > Alerts > Labels the labels are displayed (Manager mode)

Chrome - 🟢
image

Firefox - 🟢
image

Safari - ⚫

🟢 Configure the manager labels and see in Management> Configuration > Alerts > Labels the labels are displayed (Cluster mode)

Chrome - 🟢
image

Firefox - 🟢
image

Safari - ⚫

🟢 Configure the manager reports and see in Management> Configuration > Alerts > Reports the reports are displayed (Manager mode)

Chrome - 🟢
image

Firefox - 🟢
image

Safari - ⚫

🟢 Configure the manager reports and see in Management> Configuration > Alerts > Reports the reports are displayed (Cluster mode)

Chrome - 🟢
image

Firefox - 🟢
image

Safari - ⚫

🟢 Configure the agent labels and see in Configuration > Labels the labels are displayed

Chrome - 🟢
image

Firefox - 🟢
image

Safari - ⚫

7.17.11

UI

Test Chrome Firefox Safari
Select an agent and go to its Labels configuration. Review the Agents labels help link is pointing to user-manual/agents/labels.html 🟢 🟢
Configure the manager labels and see in Management> Configuration > Alerts > Labels the labels are displayed (Manager mode) 🟢 🟢
Configure the manager labels and see in Management> Configuration > Alerts > Labels the labels are displayed (Cluster mode) 🟢 🟢
Configure the manager reports and see in Management> Configuration > Alerts > Reports the reports are displayed (Manager mode) 🟢 🟢
Configure the manager reports and see in Management> Configuration > Alerts > Reports the reports are displayed (Cluster mode) 🟢 🟢
Configure the agent labels and see in Configuration > Labels the labels are displayed 🟢 🟢

Details

🟢 Select an agent and go to its Labels configuration. Review the Agents labels help link is pointing to user-manual/agents/labels.html

Chrome - 🟢
image

Firefox - 🟢
image

Safari - ⚫

🟢 Configure the manager labels and see in Management> Configuration > Alerts > Labels the labels are displayed (Manager mode)

Chrome - 🟢
image

Firefox - 🟢
image

Safari - ⚫

🟢 Configure the manager labels and see in Management> Configuration > Alerts > Labels the labels are displayed (Cluster mode)

Chrome - 🟢
image

Firefox - 🟢
image

Safari - ⚫

🟢 Configure the manager reports and see in Management> Configuration > Alerts > Reports the reports are displayed (Manager mode)

Chrome - 🟢
image

Firefox - 🟢
image

Safari - ⚫

🟢 Configure the manager reports and see in Management> Configuration > Alerts > Reports the reports are displayed (Cluster mode)

Chrome - 🟢
image

Firefox - 🟢
image

Safari - ⚫

🟢 Configure the agent labels and see in Configuration > Labels the labels are displayed

Chrome - 🟢
image

Firefox - 🟢
image

Safari - ⚫

TEST:✔️
CR:✔️

LGTM

@Desvelao Desvelao merged commit 1b7a20d into 4.5.1-7.16 Jul 24, 2023
@Desvelao Desvelao deleted the backport-5687-to-4.5.1-7.16 branch July 24, 2023 12:42
Machi3mfl pushed a commit that referenced this pull request Aug 11, 2023
* Merge 4.5.0-7.16 into 4.5.1-7.16 (#5725)

* [Backport 4.5.0-7.16] Update test snapshots for 4.5 (#5604)

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)

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

* Fix API reference links in endpoints.json

* Merge 4.4-7.16 into 4.5.0-7.16 (#5695)

Merge v4.4.5-7.16.0 into 4.4-7.16 (#5668)

* [Backport 4.4.5-7.16] Bump Wazuh and platform versions for v4.4.5 (#5639) (#5641)

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

* Update changelog

* Update opensearch_dashboards.json

* Update package.json

* Update readme

* Update tag script

(cherry picked from commit b33c4a5)

* Change tag.py version value

* Empty tag suffix

---------




* [Backport 4.4.5-7.16] Prepare tag.py for v4.4.5-rc1 (#5647)

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

Add -rc1 tag suffix

(cherry picked from commit c10eb4e)



* Add yarn.lock (#5653)

feat: add yarn.lock file

* [Backport 4.4.5-7.16] Update unit-test.yml (#5657)

Update unit-test.yml (#5655)

(cherry picked from commit 29ec6f9)



* [Backport 4.4.5-7.16] Add support for Wazuh 4.4.5-rc2 (#5661)

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

(cherry picked from commit 1103a0c)

* Update revision of v4.4.5 in the Changelog

---------



* Bump v4.4.5-7.16.0-rc2

---------

Co-authored-by: Ian Yenien Serrano <63758389+yenienserrano@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: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Álex Ruiz <alejandro.ruiz.becerra@wazuh.com>

* [Backport 4.5.0-7.16] Update release utilities (#5716)

Update release utilities (#5677)

* feat: update release utilities to current process

- Add new bump script
- Port tag.py to NodeJS and allow receive parameters from stdin
- Add RELEASING.md file with information about the release process
  related to the usage of the included scripts
- Add release:bump and release:tag package scripts to run these process

* remove: remove scripts/tag.py and reference in the Makefile

* fix: fix help text in bump and tag scripts

* remove: remove stage and commit properties from the package.json

* remove: test related to stage property in the package.json

* fix: check if there are changes to commit in the tag script

- Code formatting
- Fix variable name

(cherry picked from commit e6caddc)

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Álex Ruiz <alejandro.ruiz.becerra@wazuh.com>
Co-authored-by: Ian Yenien Serrano <63758389+yenienserrano@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>

* [Backport 4.5.1-7.16] Fix API request to get the manager labels and broken documentation link (#5731)

Fix API request to get the manager labels and broken documentation link (#5687)

* fix: broken documentation link

* changelog: add pull request entry

* fix: changed API endpoint to get the manager labels and managing the data to render

* changelog: add pull request entry

* changelog: fix entry

* changelog: fix entry

* Add response to imposter

---------

Co-authored-by: yenienserrano <ian.serrano@wazuh.com>
(cherry picked from commit 6a18172)

* [Backport 4.5.1-7.16] Fix server side query in pdf report filter (#5733)

* Backport 5714 to 7.16

* Added Changelog

* Add comments

* Fix deep clone filters

* Fix server side requirement query

* Fix rootkit filter

* [Backport 4.5.1-7.16] Update API data for 4.5.1 (#5760)

Update API data for 4.5.1 (#5758)

update: API data
(cherry picked from commit db9a2c7)

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

* [Backport 4.5.1-7.16] Fix outdated year in PDF report footer (#5767)

Fix outdated year in PDF report footer (#5766)

* Fix year in PDF footer

* Modify changelog

* Change tests to match the new value

* Change md5 in reporting test

* Change md5 in reporting test

* Revert accidental change

* Revert accidental change

* Fix md5 in test

* Change md5 in test

* Change md5 in test

(cherry picked from commit a997dcf)

Co-authored-by: Nicolas Agustin Guevara Pihen <42900763+Tostti@users.noreply.github.com>

* Merge 4.5-7.16 into 4.5.1-7.16 (#5777)

* [Backport 4.5.0-7.16] Update test snapshots for 4.5 (#5604)

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)

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

* Fix API reference links in endpoints.json

* Merge 4.4-7.16 into 4.5.0-7.16 (#5695)

Merge v4.4.5-7.16.0 into 4.4-7.16 (#5668)

* [Backport 4.4.5-7.16] Bump Wazuh and platform versions for v4.4.5 (#5639) (#5641)

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

* Update changelog

* Update opensearch_dashboards.json

* Update package.json

* Update readme

* Update tag script

(cherry picked from commit b33c4a5)

* Change tag.py version value

* Empty tag suffix

---------




* [Backport 4.4.5-7.16] Prepare tag.py for v4.4.5-rc1 (#5647)

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

Add -rc1 tag suffix

(cherry picked from commit c10eb4e)



* Add yarn.lock (#5653)

feat: add yarn.lock file

* [Backport 4.4.5-7.16] Update unit-test.yml (#5657)

Update unit-test.yml (#5655)

(cherry picked from commit 29ec6f9)



* [Backport 4.4.5-7.16] Add support for Wazuh 4.4.5-rc2 (#5661)

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

(cherry picked from commit 1103a0c)

* Update revision of v4.4.5 in the Changelog

---------



* Bump v4.4.5-7.16.0-rc2

---------

Co-authored-by: Ian Yenien Serrano <63758389+yenienserrano@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: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Álex Ruiz <alejandro.ruiz.becerra@wazuh.com>

* [Backport 4.5.0-7.16] Update release utilities (#5716)

Update release utilities (#5677)

* feat: update release utilities to current process

- Add new bump script
- Port tag.py to NodeJS and allow receive parameters from stdin
- Add RELEASING.md file with information about the release process
  related to the usage of the included scripts
- Add release:bump and release:tag package scripts to run these process

* remove: remove scripts/tag.py and reference in the Makefile

* fix: fix help text in bump and tag scripts

* remove: remove stage and commit properties from the package.json

* remove: test related to stage property in the package.json

* fix: check if there are changes to commit in the tag script

- Code formatting
- Fix variable name

(cherry picked from commit e6caddc)

* Bump v4.5.0-7.16.0-alpha1

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@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: Antonio <34042064+Desvelao@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@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>
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.

Invalid API calls and broken link in the Management < Configuration < Alerts section
2 participants