-
Notifications
You must be signed in to change notification settings - Fork 176
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
Serialize cronjob doc and remove type property #5150
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
review:
code 🟢
Wazuh dashboard
Legend:
⚫: none
🟢: passed
🔴: failed
🟡: warning
⚪: not applicable
Environment:
Platform: Wazuh dashboard
Test | Chrome | Firefox | Safari |
---|---|---|---|
Verify the Statistics information is indexed in Cluster mode | 🟢 | 🟢 | ⚫ |
Verify the Statistics information is indexed in Manager mode | 🟢 | 🟢 | ⚫ |
Details
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
review:
code 🟢
Wazuh dashboard
Legend:
⚫: none
🟢: passed
🔴: failed
🟡: warning
⚪: not applicable
Environment:
Platform: Wazuh dashboard
Test | Chrome | Firefox | Safari |
---|---|---|---|
Verify the Statistics information is indexed in Cluster mode | 🟢 | 🟢 | 🟢 |
Verify the Statistics information is indexed in Manager mode | 🟢 | 🟢 | 🟢 |
Details
The backport to
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.4-7.16 4.4-7.16
# Navigate to the new working tree
cd .worktrees/backport-4.4-7.16
# Create a new branch
git switch --create backport-5150-to-4.4-7.16
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 6a6ea1f8af52fa63b30a39fb7589ccf4847e71b3
# Push it to GitHub
git push --set-upstream origin backport-5150-to-4.4-7.16
# Go back to the original working tree
cd ../..
# Delete the working tree
git worktree remove .worktrees/backport-4.4-7.16 Then, create a pull request where the |
The backport to
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.4-7.10 4.4-7.10
# Navigate to the new working tree
cd .worktrees/backport-4.4-7.10
# Create a new branch
git switch --create backport-5150-to-4.4-7.10
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 6a6ea1f8af52fa63b30a39fb7589ccf4847e71b3
# Push it to GitHub
git push --set-upstream origin backport-5150-to-4.4-7.10
# Go back to the original working tree
cd ../..
# Delete the working tree
git worktree remove .worktrees/backport-4.4-7.10 Then, create a pull request where the |
* serialize cronjob doc and remove type property * Add Changelog Co-authored-by: Álex Ruiz <alejandro.ruiz.becerra@wazuh.com> (cherry picked from commit 6a6ea1f)
* serialize cronjob doc and remove type property * Add Changelog Co-authored-by: Álex Ruiz <alejandro.ruiz.becerra@wazuh.com> (cherry picked from commit 6a6ea1f)
…5160) Serialize cronjob doc and remove type property (#5150) * serialize cronjob doc and remove type property * Add Changelog Co-authored-by: Álex Ruiz <alejandro.ruiz.becerra@wazuh.com> (cherry picked from commit 6a6ea1f) Co-authored-by: Federico Rodriguez <federico.rodriguez@wazuh.com> Co-authored-by: Nico Guevara <42900763+Tostti@users.noreply.github.com>
Description
Hi team,
this PR fixes the statistics cronjob request body to fix the
"mapper_parsing_exception"
. It seems the opensearch dependency that executes the bulk doc insert has changed.https://github.com/opensearch-project/OpenSearch-Dashboards/blob/1.2.0/package.json#L121
https://github.com/opensearch-project/OpenSearch-Dashboards/blob/2.4.1/package.json#L133
Issues Resolved
Closes https://github.com/wazuh/wazuh-automation/issues/1020
Evidence
Discover
Statistics
Test
Check List
yarn test:jest