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.10] Fix server side query in pdf report filter #5732

Merged
merged 6 commits into from
Jul 27, 2023

Conversation

asteriscos
Copy link
Member

@asteriscos asteriscos commented Jul 24, 2023

Backport from #5714 to 4.5.1-7.10

@Desvelao Desvelao linked an issue Jul 25, 2023 that may be closed by this pull request
@asteriscos asteriscos marked this pull request as ready for review July 25, 2023 18:11
@asteriscos asteriscos requested a review from a team as a code owner July 25, 2023 18:11
@github-actions
Copy link
Contributor

Code coverage (Jest) % values
Statements 8.82% ( 3261 / 36970 )
Branches 4.49% ( 1285 / 28634 )
Functions 7.68% ( 703 / 9159 )
Lines 8.89% ( 3146 / 35405 )

@Desvelao
Copy link
Member

Test

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

UI

Test Chrome Firefox Safari
Generate module report in Security events module without filters set by the user 🟢
Generate module report in Security events module with filter added by the Level 12 or above alerts KPI 🟢
Generate module report in Security events module with filter added by the Authentication failure KPI 🟢
AGenerate module report in Security events module with filter added by the Authentication success KPI 🟢
Generate module report in Security events module with filter added by the Level 12 or above alerts KPI and agent.name in search bar input 🟢
Generate module report in Integrity monitoring module without filters set by the user 🟢
Generate agent inventory report and check the data for the vulnerabilities 🟢
Generate module report in Policy monitoring module without filters set by the user
Generate module report in PCI DSS module without filters set by the user
Generate module report in GDPR module without filters set by the user
Generate module report in TSC module without filters set by the user

Details

🟢 Generate module report in Security events module without filters set by the user

Chrome - 🟢
image

Firefox - ⚫

Safari - ⚫

🟢 Generate module report in Security events module with filter added by the Level 12 or above alerts KPI

Chrome - 🟢
image

Firefox - ⚫

Safari - ⚫

🟢 Generate module report in Security events module with filter added by the Authentication failure KPI

Chrome - 🟢
image

Firefox - ⚫

Safari - ⚫

🟢 Generate module report in Security events module with filter added by the Authentication success KPI

Chrome - 🟢
image

Firefox - ⚫

Safari - ⚫

🟢 Generate module report in Security events module with filter added by the Level 12 or above alerts KPI and agent.name in search bar input

Chrome - 🟢
image

Firefox - ⚫

Safari - ⚫

🟢 Generate module report in Integrity monitoring module without filters set by the user

Chrome - 🟢
image

Firefox - ⚫

Safari - ⚫

🟢 Generate agent inventory report and check the data for the vulnerabilities

Chrome - 🟢
image

Firefox - ⚫

Safari - ⚫

🟢 Generate module report in Policy monitoring module without filters set by the user

Chrome - 🟢
image
image

Firefox - ⚫

Safari - ⚫

🟢 Generate module report in PCI DSS module without filters set by the user

Chrome - 🟢
image
image

Firefox - ⚫

Safari - ⚫

🟢 Generate module report in GDPR module without filters set by the user

Chrome - 🟢
image
image

Firefox - ⚫

Safari - ⚫

🟢 Generate module report in TSC module without filters set by the user

Chrome - 🟢
image
image

Firefox - ⚫

Safari - ⚫

Copy link
Member

@Desvelao Desvelao left a comment

Choose a reason for hiding this comment

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

LGTM!

@asteriscos asteriscos merged commit ccac498 into 4.5.1-7.10 Jul 27, 2023
2 checks passed
@asteriscos asteriscos deleted the backport-5714-to-4.5.1-7.10 branch July 27, 2023 09:30
Copy link
Member

@yenienserrano yenienserrano left a comment

Choose a reason for hiding this comment

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

LGTM

Machi3mfl added a commit that referenced this pull request Aug 11, 2023
* Merge 4.5.0-7.10 into 4.5.1-7.10 (#5724)

* [Backport 4.5.0-7.10] Update test snapshots for 4.5 (#5603)

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 <[email protected]>
(cherry picked from commit 1ae5f19)

Co-authored-by: Álex Ruiz <[email protected]>

* Fix API reference links in endpoints.json

* Merge 4.4 7.10 into 4.5.0 7.10 (#5693)

Merge v4.4.5-7.10.2 into 4.4-7.10 (#5667)

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

* 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)

* 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)

---------



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

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

Add -rc1 tag suffix

(cherry picked from commit c10eb4e)

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

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

* [Backport 4.4.5-7.10] Update unit-test.yml (#5656)

Update unit-test.yml (#5655)

(cherry picked from commit 29ec6f9)



* [Backport 4.4.5-7.10] Add support for Wazuh 4.4.5-rc2 (#5660)

* 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.10.2-rc2

---------

Co-authored-by: Ian Yenien Serrano <[email protected]>
Co-authored-by: Nicolas Agustin Guevara Pihen <[email protected]>
Co-authored-by: Álex Ruiz <[email protected]>
Co-authored-by: Antonio <[email protected]>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* [Backport 4.5.0-7.10] Update release utilities (#5715)

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 <[email protected]>
Co-authored-by: Maximiliano Ibarra <[email protected]>
Co-authored-by: Ian Yenien Serrano <[email protected]>
Co-authored-by: Nicolas Agustin Guevara Pihen <[email protected]>

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

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 <[email protected]>
(cherry picked from commit 6a18172)

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

* Backport 5417

* Add comments

* Add changelog

* Fix deep clone filters

* Fix server side requirement query

* Fix rootkit filter

* [Backport 4.5.1-7.10] Update API data for 4.5.1 (#5759)

Update API data for 4.5.1 (#5758)

update: API data
(cherry picked from commit db9a2c7)

Co-authored-by: Antonio <[email protected]>

* [Backport 4.6.0-7.10] Fix outdated year in PDF report footer (#5768)

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)

* Merge 4.5-7.10 into 4.5.1-7.10 (#5776)

* [Backport 4.5.0-7.10] Update test snapshots for 4.5 (#5603)

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 <[email protected]>
(cherry picked from commit 1ae5f19)

Co-authored-by: Álex Ruiz <[email protected]>

* Fix API reference links in endpoints.json

* Merge 4.4 7.10 into 4.5.0 7.10 (#5693)

Merge v4.4.5-7.10.2 into 4.4-7.10 (#5667)

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

* 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)

* 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)

---------



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

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

Add -rc1 tag suffix

(cherry picked from commit c10eb4e)

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

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

* [Backport 4.4.5-7.10] Update unit-test.yml (#5656)

Update unit-test.yml (#5655)

(cherry picked from commit 29ec6f9)



* [Backport 4.4.5-7.10] Add support for Wazuh 4.4.5-rc2 (#5660)

* 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.10.2-rc2

---------

Co-authored-by: Ian Yenien Serrano <[email protected]>
Co-authored-by: Nicolas Agustin Guevara Pihen <[email protected]>
Co-authored-by: Álex Ruiz <[email protected]>
Co-authored-by: Antonio <[email protected]>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* [Backport 4.5.0-7.10] Update release utilities (#5715)

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.10.2-alpha1

* Update CHANGELOG.md

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Álex Ruiz <[email protected]>
Co-authored-by: Maximiliano Ibarra <[email protected]>
Co-authored-by: Nicolas Agustin Guevara Pihen <[email protected]>
Co-authored-by: Antonio <[email protected]>
Co-authored-by: Federico Rodriguez <[email protected]>

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Álex Ruiz <[email protected]>
Co-authored-by: Maximiliano Ibarra <[email protected]>
Co-authored-by: Ian Yenien Serrano <[email protected]>
Co-authored-by: Nicolas Agustin Guevara Pihen <[email protected]>
Co-authored-by: Federico Rodriguez <[email protected]>
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.

Server side PDF report filters are not being properly parsed
3 participants