Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
…#178081) # Backport This will backport the following commits from `main` to `8.13`: - [[Security Solution] Add dataViewId to filter actions (#177946)](#177946) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Sergi Massaneda","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-03-06T10:57:41Z","message":"[Security Solution] Add dataViewId to filter actions (#177946)\n\n## Summary\r\n\r\nThis PR fixes a bug related to the filter edition:\r\nhttps://github.com//issues/164406\r\n\r\nFilter actions were missing the `meta.index` value, which needs to be\r\nassigned to the dataView id being used. When the filter is edited, the\r\nfilter component retrieves the index pattern from the dataView saved\r\nobject.\r\n\r\nThe `meta.index` value has been added to all the \"Filter in/out\" actions\r\nusing the `CellActions` metadata object.\r\n\r\nThanks @angorayc for catching this and implementing the fix\r\n\r\n### Screenshots\r\n\r\nBefore:\r\n\r\n\r\n\r\n\r\nAfter:\r\n\r\n\r\n\r\n\r\n---------\r\n\r\nCo-authored-by: Angela Chuang <[email protected]>\r\nCo-authored-by: kibanamachine <[email protected]>\r\nCo-authored-by: Angela Chuang <[email protected]>","sha":"406b24c6a8758fc82218ad5dbaf048677454d0d9","branchLabelMapping":{"^v8.14.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["bug","release_note:fix","Team:Threat Hunting","Team:Threat Hunting:Explore","v8.13.0","v8.14.0","v8.12.3"],"title":"[Security Solution] Add dataViewId to filter actions","number":177946,"url":"https://github.com/elastic/kibana/pull/177946","mergeCommit":{"message":"[Security Solution] Add dataViewId to filter actions (#177946)\n\n## Summary\r\n\r\nThis PR fixes a bug related to the filter edition:\r\nhttps://github.com//issues/164406\r\n\r\nFilter actions were missing the `meta.index` value, which needs to be\r\nassigned to the dataView id being used. When the filter is edited, the\r\nfilter component retrieves the index pattern from the dataView saved\r\nobject.\r\n\r\nThe `meta.index` value has been added to all the \"Filter in/out\" actions\r\nusing the `CellActions` metadata object.\r\n\r\nThanks @angorayc for catching this and implementing the fix\r\n\r\n### Screenshots\r\n\r\nBefore:\r\n\r\n\r\n\r\n\r\nAfter:\r\n\r\n\r\n\r\n\r\n---------\r\n\r\nCo-authored-by: Angela Chuang <[email protected]>\r\nCo-authored-by: kibanamachine <[email protected]>\r\nCo-authored-by: Angela Chuang <[email protected]>","sha":"406b24c6a8758fc82218ad5dbaf048677454d0d9"}},"sourceBranch":"main","suggestedTargetBranches":["8.13","8.12"],"targetPullRequestStates":[{"branch":"8.13","label":"v8.13.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.14.0","branchLabelMappingKey":"^v8.14.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/177946","number":177946,"mergeCommit":{"message":"[Security Solution] Add dataViewId to filter actions (#177946)\n\n## Summary\r\n\r\nThis PR fixes a bug related to the filter edition:\r\nhttps://github.com//issues/164406\r\n\r\nFilter actions were missing the `meta.index` value, which needs to be\r\nassigned to the dataView id being used. When the filter is edited, the\r\nfilter component retrieves the index pattern from the dataView saved\r\nobject.\r\n\r\nThe `meta.index` value has been added to all the \"Filter in/out\" actions\r\nusing the `CellActions` metadata object.\r\n\r\nThanks @angorayc for catching this and implementing the fix\r\n\r\n### Screenshots\r\n\r\nBefore:\r\n\r\n\r\n\r\n\r\nAfter:\r\n\r\n\r\n\r\n\r\n---------\r\n\r\nCo-authored-by: Angela Chuang <[email protected]>\r\nCo-authored-by: kibanamachine <[email protected]>\r\nCo-authored-by: Angela Chuang <[email protected]>","sha":"406b24c6a8758fc82218ad5dbaf048677454d0d9"}},{"branch":"8.12","label":"v8.12.3","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> --------- Co-authored-by: Sergi Massaneda <[email protected]>
- Loading branch information