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 server side query in pdf report filter #5733

Merged
merged 7 commits into from
Jul 27, 2023

Conversation

asteriscos
Copy link
Member

Backport from #5714 to 4.5.1-7.16

@Desvelao Desvelao changed the title Backport 5714 to 7.16 [Backport 5714 to 7.16] Fix server side query in pdf report filter Jul 25, 2023
@Desvelao Desvelao changed the title [Backport 5714 to 7.16] Fix server side query in pdf report filter [Backport 4.5.1-7.16] Fix server side query in pdf report filter Jul 25, 2023
@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:01
@asteriscos asteriscos requested a review from a team as a code owner July 25, 2023 18:01
@github-actions
Copy link
Contributor

Code coverage (Jest) % values
Statements 8.62% ( 3261 / 37841 )
Branches 4.41% ( 1285 / 29169 )
Functions 7.48% ( 703 / 9400 )
Lines 8.69% ( 3146 / 36195 )

@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 - 🟢

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 8f277b5 into 4.5.1-7.16 Jul 27, 2023
2 checks passed
@asteriscos asteriscos deleted the backport-5714-to-4.5.1-7.16 branch July 27, 2023 10:09
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 <[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.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 <[email protected]>
Co-authored-by: Nicolas Agustin Guevara Pihen <[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]>

* [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 <[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]>

* [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 <[email protected]>
(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 <[email protected]>

* [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 <[email protected]>

* 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 <[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.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 <[email protected]>
Co-authored-by: Nicolas Agustin Guevara Pihen <[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]>

* [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 <[email protected]>
Co-authored-by: Antonio <[email protected]>
Co-authored-by: Nicolas Agustin Guevara Pihen <[email protected]>
Co-authored-by: Federico Rodriguez <[email protected]>

---------

Co-authored-by: Antonio <[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: 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
2 participants