{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":7833168,"defaultBranch":"main","name":"kibana","ownerLogin":"elastic","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2013-01-26T04:00:59.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/6764390?v=4","public":true,"private":false,"isOrgOwned":true},"refInfo":{"name":"","listCacheKey":"v0:1716469014.0","currentOid":""},"activityList":{"items":[{"before":"2ec4ec362d21fe03d04d53181fa0a8f7da888eb5","after":"d380098c1c9a6de4f5a4ca3573db102f3fb70afd","ref":"refs/heads/main","pushedAt":"2024-05-23T16:06:53.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"kibanamachine","name":"Kibana Machine","path":"/kibanamachine","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/42973632?s=80&v=4"},"commit":{"message":"skip failing test suite (#182783)","shortMessageHtmlLink":"skip failing test suite (#182783)"}},{"before":"4da2f3e47ee2d5cb35d8b5291b82fc21200ce3a8","after":"a696971309527bc4a69a4986aa8d9b13c6882982","ref":"refs/heads/8.14","pushedAt":"2024-05-23T15:18:40.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"lcawl","name":"Lisa Cawley","path":"/lcawl","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/26471269?s=80&v=4"},"commit":{"message":"[8.14] [HTTP] Make `alerting` APIs public (#183945) (#184072)\n\n# Backport\r\n\r\nThis will backport the following commits from `main` to `8.14`:\r\n- [[HTTP] Make `alerting` APIs public\r\n(#183945)](https://github.com/elastic/kibana/pull/183945)\r\n\r\n\r\n\r\n### Questions ?\r\nPlease refer to the [Backport tool\r\ndocumentation](https://github.com/sqren/backport)\r\n\r\n\r\n\r\nCo-authored-by: Jean-Louis Leysens ","shortMessageHtmlLink":"[8.14] [HTTP] Make alerting APIs public (#183945) (#184072)"}},{"before":"2c7efb4464b926d7d3643eb9302e6f15ceddea39","after":"2ec4ec362d21fe03d04d53181fa0a8f7da888eb5","ref":"refs/heads/main","pushedAt":"2024-05-23T15:02:24.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"alvarezmelissa87","name":"Melissa Alvarez","path":"/alvarezmelissa87","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/6446462?s=80&v=4"},"commit":{"message":"[ML] Anomaly Detection: Single Metric Viewer - add cases action (#183423)\n\n## Summary\r\n\r\nRelated meta issue https://github.com/elastic/kibana/issues/181272\r\n\r\nThis PR adds the 'Add to case' action in the Single Metric Viewer\r\n\r\n\r\n### Checklist\r\n\r\nDelete any items that are not applicable to this PR.\r\n\r\n- [ ] Any text added follows [EUI's writing\r\nguidelines](https://elastic.github.io/eui/#/guidelines/writing), uses\r\nsentence case text and includes [i18n\r\nsupport](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)\r\n- [ ]\r\n[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)\r\nwas added for features that require explanation or tutorials\r\n- [ ] [Unit or functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere updated or added to match the most common scenarios\r\n- [ ] [Flaky Test\r\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was\r\nused on any tests changed\r\n- [ ] Any UI touched in this PR is usable by keyboard only (learn more\r\nabout [keyboard accessibility](https://webaim.org/techniques/keyboard/))\r\n- [ ] Any UI touched in this PR does not create any new axe failures\r\n(run axe in browser:\r\n[FF](https://addons.mozilla.org/en-US/firefox/addon/axe-devtools/),\r\n[Chrome](https://chrome.google.com/webstore/detail/axe-web-accessibility-tes/lhdoppojpmngadmnindnejefpokejbdd?hl=en-US))\r\n- [ ] If a plugin configuration key changed, check if it needs to be\r\nallowlisted in the cloud and added to the [docker\r\nlist](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)\r\n- [ ] This renders correctly on smaller devices using a responsive\r\nlayout. (You can test this [in your\r\nbrowser](https://www.browserstack.com/guide/responsive-testing-on-local-server))\r\n- [ ] This was checked for [cross-browser\r\ncompatibility](https://www.elastic.co/support/matrix#matrix_browsers)\r\n\r\n---------\r\n\r\nCo-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by: Dima Arnautov ","shortMessageHtmlLink":"[ML] Anomaly Detection: Single Metric Viewer - add cases action (#183423"}},{"before":"f5b93d500c1c4e0c2c547a6985b6668f96c18e09","after":"2c7efb4464b926d7d3643eb9302e6f15ceddea39","ref":"refs/heads/main","pushedAt":"2024-05-23T14:55:40.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"saikatsarkar056","name":"Saikat Sarkar","path":"/saikatsarkar056","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/132922331?s=80&v=4"},"commit":{"message":"[Semantic Text UI] Banner dismissal is not persisted after a page reload (#184052)\n\nThe banner is displayed even after a semantic field is added and the\r\ndismissal is not persisted after a page reload.\r\n\r\n### After Change\r\n\r\n\r\nhttps://github.com/elastic/kibana/assets/132922331/41c3b755-aeaa-45b5-88f0-c8286756d990\r\n\r\n### How to enable semantic text locally for testing these changes\r\nSet isSemanticTextEnabled = true in this\r\n[location](https://github.com/elastic/kibana/blob/3890189eee10555e67514ea8a3e9ca03b07eb887/x-pack/plugins/index_management/public/application/sections/home/index_list/details_page/details_page_mappings_content.tsx#L72)","shortMessageHtmlLink":"[Semantic Text UI] Banner dismissal is not persisted after a page rel…"}},{"before":"47293f778dbc725a6f33ef15bd1b16e8cdae1304","after":"f5b93d500c1c4e0c2c547a6985b6668f96c18e09","ref":"refs/heads/main","pushedAt":"2024-05-23T14:26:23.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"flash1293","name":"Joe Reuter","path":"/flash1293","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1508364?s=80&v=4"},"commit":{"message":"Onboarding: Remove virtual firehose card (#183929)\n\nAs the firehose integration is GA now and includes all relevant\r\ndocumentation, it's not necessary to have a link to the docs page from\r\nthe onboarding flow:\r\nhttps://www.elastic.co/guide/en/kinesis/current/aws-firehose-setup-guide.html\r\n\r\nThis PR removes it","shortMessageHtmlLink":"Onboarding: Remove virtual firehose card (#183929)"}},{"before":"a11709419eb79d445e7f7f2f249ec45ab6694f7a","after":"47293f778dbc725a6f33ef15bd1b16e8cdae1304","ref":"refs/heads/main","pushedAt":"2024-05-23T14:15:53.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"kibanamachine","name":"Kibana Machine","path":"/kibanamachine","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/42973632?s=80&v=4"},"commit":{"message":"skip failing test suite (#184128)","shortMessageHtmlLink":"skip failing test suite (#184128)"}},{"before":"989729fe397b68c83ea8d600fd37604cffd99b53","after":"a11709419eb79d445e7f7f2f249ec45ab6694f7a","ref":"refs/heads/main","pushedAt":"2024-05-23T14:14:09.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"justinkambic","name":"Justin Kambic","path":"/justinkambic","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/18429259?s=80&v=4"},"commit":{"message":"[Onboarding] Change navigation behavior for the o11y guide cards to pre-select the correct solution (#184065)\n\n## Summary\r\n\r\nResolves https://github.com/elastic/observability-dev/issues/3342.\r\n\r\nThis patch will change the link behavior to pre-select the correct\r\nsolution for logs and metrics from the onboarding cards.\r\n\r\n## Testing note\r\n\r\nTo reveal this view locally, you need to specify a cloud ID in kibana's\r\nconfig file, example:\r\n\r\n```\r\nxpack.cloud.id: 'testID'\r\n```","shortMessageHtmlLink":"[Onboarding] Change navigation behavior for the o11y guide cards to p…"}},{"before":"c99d8c2335bc2ec4f1ea59bd72a87827bf13cc0b","after":"989729fe397b68c83ea8d600fd37604cffd99b53","ref":"refs/heads/main","pushedAt":"2024-05-23T13:48:22.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"delanni","name":"Alex Szabo","path":"/delanni","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/4738868?s=80&v=4"},"commit":{"message":"[CI] Skip build step, if `KIBANA_BUILD_ID` is given (#184121)\n\n## Summary\r\nSimilar to other cases in our CI, if `KIBANA_BUILD_ID` is present, we\r\ncan skip the build step, and the test steps would download artifacts\r\nfrom the referenced build.\r\n\r\nIf the elasticsearch side invocations to this pipeline provide\r\n`KIBANA_BUILD_ID`, then we can save ~15-20m on these runs.\r\n\r\nsee: https://elastic.slack.com/archives/C5UDAFZQU/p1716450726916959\r\n\r\ncloses: https://github.com/elastic/kibana-operations/issues/116","shortMessageHtmlLink":"[CI] Skip build step, if KIBANA_BUILD_ID is given (#184121)"}},{"before":"d60bd0ca3e26a83afae32b21799e89aa4d33846b","after":"c99d8c2335bc2ec4f1ea59bd72a87827bf13cc0b","ref":"refs/heads/main","pushedAt":"2024-05-23T13:31:38.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"lgestc","name":"Luke G","path":"/lgestc","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/11671118?s=80&v=4"},"commit":{"message":"rewrite ternary in more readable way (#184112)\n\n## Summary\r\n\r\nThis tiny PR rewrites ternary conditonal in sourcerer helpers so that it\r\nis easier to read and reason about.","shortMessageHtmlLink":"rewrite ternary in more readable way (#184112)"}},{"before":"71e2beb606b604096726acfe975db30a7eef0823","after":"d60bd0ca3e26a83afae32b21799e89aa4d33846b","ref":"refs/heads/main","pushedAt":"2024-05-23T13:31:10.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"gergoabraham","name":"Gergő Ábrahám","path":"/gergoabraham","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/39014407?s=80&v=4"},"commit":{"message":"[EDR Workflows][tests] Enable endpoint exceptions integration test (#183471)\n\n## Summary\r\n\r\nfixes #176009\r\n\r\nImproving and enabling Endpoint Exceptions integration tests.\r\n\r\nThe test failed on CI because it looked at alerts in the default time\r\nwindow (`today`), and midnight has passed during the test run. ^^\r\nSo with this change the test looks at alerts from the last 24 hours\r\ninstead.\r\n\r\nFlaky runner:\r\n-\r\nhttps://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/5979\r\n\r\n\r\nnote: I had some transient issues locally with alerts not showing up at\r\nall, but it happened twice in a row, and never again, and only locally,\r\nso let's forget about it for now.\r\n\r\n---------\r\n\r\nCo-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>","shortMessageHtmlLink":"[EDR Workflows][tests] Enable endpoint exceptions integration test (#…"}},{"before":"269649a908745f7e06d5377f65a1afe99147332a","after":"71e2beb606b604096726acfe975db30a7eef0823","ref":"refs/heads/main","pushedAt":"2024-05-23T13:16:59.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"CohenIdo","name":"Ido Cohen","path":"/CohenIdo","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/90558359?s=80&v=4"},"commit":{"message":"[Cloud Security] Prevent overbilling (#184057)","shortMessageHtmlLink":"[Cloud Security] Prevent overbilling (#184057)"}},{"before":"a1e073067896be4047bc8a4f7a27fd6a23c5be4e","after":"b892cdbb94464824eae43e314e0e8846acc61422","ref":"refs/heads/renovate/main-ftr","pushedAt":"2024-05-23T12:56:16.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"renovate[bot]","name":null,"path":"/apps/renovate","primaryAvatarUrl":"https://avatars.githubusercontent.com/in/2740?s=80&v=4"},"commit":{"message":"Update ftr","shortMessageHtmlLink":"Update ftr"}},{"before":"f6c2fece84752a9b9b8489ae28326a789e6530c1","after":"269649a908745f7e06d5377f65a1afe99147332a","ref":"refs/heads/main","pushedAt":"2024-05-23T12:51:59.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"mistic","name":"Tiago Costa","path":"/mistic","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/4440734?s=80&v=4"},"commit":{"message":"skip flaky suite (#170593)","shortMessageHtmlLink":"skip flaky suite (#170593)"}},{"before":"e89b991d7473caba2a3a5b6204080f50100c67b9","after":"f6c2fece84752a9b9b8489ae28326a789e6530c1","ref":"refs/heads/main","pushedAt":"2024-05-23T12:44:47.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"nchaulet","name":"Nicolas Chaulet","path":"/nchaulet","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1336873?s=80&v=4"},"commit":{"message":"[Fleet] Support kibana_namespace in preconfiguration (#183920)","shortMessageHtmlLink":"[Fleet] Support kibana_namespace in preconfiguration (#183920)"}},{"before":"a834d76f2251ec1cb6971fd889e2392652b47014","after":"e89b991d7473caba2a3a5b6204080f50100c67b9","ref":"refs/heads/main","pushedAt":"2024-05-23T12:37:27.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"mistic","name":"Tiago Costa","path":"/mistic","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/4440734?s=80&v=4"},"commit":{"message":"skip failing es promotion suites (#184081)","shortMessageHtmlLink":"skip failing es promotion suites (#184081)"}},{"before":"3a0aa1a65b5b6b55063372ca5ae2f115a922c4d5","after":"a834d76f2251ec1cb6971fd889e2392652b47014","ref":"refs/heads/main","pushedAt":"2024-05-23T12:13:23.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"SiddharthMantri","name":"Sid","path":"/SiddharthMantri","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1442420?s=80&v=4"},"commit":{"message":"Replace usage of Get API keys endpoint with Query API keys endpoint for API keys grid page (#168970)\n\nCloses https://github.com/elastic/kibana/issues/165585\r\n\r\n## Release notes\r\n\r\nEnhanced API key management to manage larger number of API keys by\r\nadding server side filtering, pagination and querying.\r\n\r\n## Summary\r\n- Replaced the usage of Get API keys API with Query API keys API\r\n- Added server side pagination, filtering and aggregations with a\r\nmaximum limit of 10000 keys (default for max results on index). Added\r\nnew label to indicate that we show only 10k results.\r\n- Search box and filters now work independently. Toggling through\r\nfilters will not update the search bar. Instead they are sent as filters\r\nto the internal endpoint to then create a custom DSL.\r\n\r\n### Screen recordings\r\n\r\nhttps://github.com/elastic/kibana/assets/1442420/4dd5ab09-fc3e-44bf-9642-1e7fd0334041\r\n\r\n## Technical notes\r\n- Client side EuiInMemory table has been replaced by EuiSearchBar,\r\nEuiBasicTable and Filters\r\n- Search Bar construct Elastic DSL which is then passed to the `query`\r\nendpoint to query API keys\r\n- Filters are sent as extra objects to internal endpoint to be used to\r\nextend any incoming query DSL\r\n- One new Kibana endpoints added\r\n- `api_keys/_query` - Returns server side results for any given query\r\nDSL\r\n- Removed internal GET `api_keys` endpoint as it was no longer being\r\nused.\r\n- Extra logic to handle previously UI only filters `expired:true/false`\r\nand `type:managed.\r\n- Parse the query to construct the correct DSL if any or both of the\r\nabove queries are present.\r\n- Filter invalidated keys in the internal endpoint handler. \r\n\r\n## Testing\r\n### Automated tests\r\n\r\nAdded to existing unit tests for UI functionality in\r\n`x-pack/plugins/security/public/management/api_keys/api_keys_grid/api_keys_grid_page.test.tsx`,\r\n\r\nAdded new api integration tests for API key aggregations and querying\r\nin: `x-pack/test/api_integration/apis/security/query_api_keys.ts`\r\n\r\nWhich can be run by either\r\n```node scripts/functional_tests_server.js --config x-pack/test/api_integration/config_security_basic.ts```\r\n\r\nor \r\n\r\n```node scripts/functional_tests_server.js --config\r\nx-pack/test/api_integration/config_security_trial.ts```\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>\r\nCo-authored-by: Cee Chen ","shortMessageHtmlLink":"Replace usage of Get API keys endpoint with Query API keys endpoint f…"}},{"before":"a186d6e4de771f302a1f6eb53d976d1d1dd69095","after":"a1e073067896be4047bc8a4f7a27fd6a23c5be4e","ref":"refs/heads/renovate/main-ftr","pushedAt":"2024-05-23T11:52:11.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"renovate[bot]","name":null,"path":"/apps/renovate","primaryAvatarUrl":"https://avatars.githubusercontent.com/in/2740?s=80&v=4"},"commit":{"message":"Update ftr","shortMessageHtmlLink":"Update ftr"}},{"before":"6150a221c26369a67031fbf5d9147b231372f31a","after":"3a0aa1a65b5b6b55063372ca5ae2f115a922c4d5","ref":"refs/heads/main","pushedAt":"2024-05-23T11:40:43.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"klacabane","name":"Kevin Lacabane","path":"/klacabane","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/5239883?s=80&v=4"},"commit":{"message":"[EEM] add entity definition managed flag (#184007)\n\nAdds a `managed` flag to entity definition to determine if it was\r\ncreated by user or by system\r\n\r\n### Testing\r\n- Create a definition and optionally pass a top level `managed: boolean`\r\nflag to it\r\n- Verify managed flag is appropriately shown in the response\r\n\r\n```\r\nPOST kbn:/api/entities/definition\r\n{\r\n \"id\": \"admin-console-logs-service\",\r\n \"name\": \"Services for Admin Console\",\r\n \"type\": \"service\",\r\n \"indexPatterns\": [\"kbn-data-forge-fake_stack.*\"],\r\n \"timestampField\": \"@timestamp\",\r\n \"lookback\": \"5m\",\r\n \"identityFields\": [\"log.logger\"],\r\n \"identityTemplate\": \"{{log.logger}}\",\r\n \"metadata\": [\r\n \"tags\",\r\n \"host.name\"\r\n ],\r\n \"metrics\": [\r\n {\r\n \"name\": \"logRate\",\r\n \"equation\": \"A / 5\", \r\n \"metrics\": [\r\n {\r\n \"name\": \"A\",\r\n \"aggregation\": \"doc_count\",\r\n \"filter\": \"log.level: *\"\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"errorRate\",\r\n \"equation\": \"A / 5\", \r\n \"metrics\": [\r\n {\r\n \"name\": \"A\",\r\n \"aggregation\": \"doc_count\",\r\n \"filter\": \"log.level: \\\"ERROR\\\"\"\r\n }\r\n ]\r\n }\r\n ]\r\n}\r\n```","shortMessageHtmlLink":"[EEM] add entity definition managed flag (#184007)"}},{"before":"fc49b407b194a9d376c242768b07d550c16b0e2f","after":"4da2f3e47ee2d5cb35d8b5291b82fc21200ce3a8","ref":"refs/heads/8.14","pushedAt":"2024-05-23T10:51:22.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"cnasikas","name":"Christos Nasikas","path":"/cnasikas","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/7871006?s=80&v=4"},"commit":{"message":"[8.14] Change all connectors to use the basic auth header instead of the `auth` property of `axios` (#183162) (#184091)\n\n# Backport\n\nThis will backport the following commits from `main` to `8.14`:\n- [Change all connectors to use the basic auth header instead of the\n`auth` property of `axios`\n(#183162)](https://github.com/elastic/kibana/pull/183162)\n\n\n\n### Questions ?\nPlease refer to the [Backport tool\ndocumentation](https://github.com/sqren/backport)\n\n","shortMessageHtmlLink":"[8.14] Change all connectors to use the basic auth header instead of …"}},{"before":"e45b3d9db3455b7d39622e5787be4db1219e8d83","after":"eab8532faad08ed26741b8d22951233832822bdd","ref":"refs/heads/csp-quick-wins-add-grouping-to-dashboard-lings","pushedAt":"2024-05-23T09:49:51.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"maxcold","name":"Maxim Kholod","path":"/maxcold","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/478762?s=80&v=4"},"commit":{"message":"link to patchable vulnerabilities only from the top patchable widget","shortMessageHtmlLink":"link to patchable vulnerabilities only from the top patchable widget"}},{"before":"a53227278876b0f895e6cc90f2c71cc91b7c9448","after":"e45b3d9db3455b7d39622e5787be4db1219e8d83","ref":"refs/heads/csp-quick-wins-add-grouping-to-dashboard-lings","pushedAt":"2024-05-23T09:13:03.000Z","pushType":"push","commitsCount":41,"pusher":{"login":"maxcold","name":"Maxim Kholod","path":"/maxcold","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/478762?s=80&v=4"},"commit":{"message":"Merge branch 'main' into csp-quick-wins-add-grouping-to-dashboard-lings","shortMessageHtmlLink":"Merge branch 'main' into csp-quick-wins-add-grouping-to-dashboard-lings"}},{"before":"9203c977735eef2179c552b51a786fd6d88b5d65","after":"fc49b407b194a9d376c242768b07d550c16b0e2f","ref":"refs/heads/8.14","pushedAt":"2024-05-23T08:39:34.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"kibanamachine","name":"Kibana Machine","path":"/kibanamachine","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/42973632?s=80&v=4"},"commit":{"message":"[8.14] [Custom threshold][Logs Explorer] Fix an issue with saving prefilled filters in the custom threshold rule on the Logs Explorer page (#183900) (#184087)\n\n# Backport\n\nThis will backport the following commits from `main` to `8.14`:\n- [[Custom threshold][Logs Explorer] Fix an issue with saving prefilled\nfilters in the custom threshold rule on the Logs Explorer page\n(#183900)](https://github.com/elastic/kibana/pull/183900)\n\n\n\n### Questions ?\nPlease refer to the [Backport tool\ndocumentation](https://github.com/sqren/backport)\n\n\n\nCo-authored-by: Maryam Saeidi ","shortMessageHtmlLink":"[8.14] [Custom threshold][Logs Explorer] Fix an issue with saving pre…"}},{"before":"b6e0f87900067d7ef6f69206a36226aee595867e","after":"6150a221c26369a67031fbf5d9147b231372f31a","ref":"refs/heads/main","pushedAt":"2024-05-23T08:25:46.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"xcrzx","name":"Dmitrii Shevchenko","path":"/xcrzx","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1938181?s=80&v=4"},"commit":{"message":"[Security Solution] Replaced the incorrect runtime type used for ruleSource (#184004)\n\n## Summary\r\n\r\nThis PR replaces the incorrect Zod schema for the `ruleSource` rule\r\nparam.\r\n\r\nPreviously, the rule source field schema was implemented using a Zod\r\ntransformation that automatically converted the snake-cased\r\n`is_customized` attribute to its camel-cased version `isCustomized`.\r\n\r\n```ts\r\nconst RuleSourceCamelCased = RuleSource.transform(convertObjectKeysToCamelCase);\r\n\r\nconst RuleSource = z.object({\r\n type: z.literal('external'),\r\n is_customized: IsExternalRuleCustomized,\r\n});\r\n```\r\n\r\nHowever, this meant that the expected input type for the schema was\r\nsnake-cased, as the transformation happened only after validation.\r\n\r\n**Valid payload before:**\r\n\r\n```json5\r\n{\r\n \"ruleSource\": {\r\n \"type\": \"external\",\r\n \"is_customized\": false // <- it should be camel cased\r\n }\r\n}\r\n```\r\n\r\nTo overcome this issue, the rule source schema was implemented without\r\nusing the transformation (revert\r\nhttps://github.com/elastic/kibana/issues/180121).\r\n\r\n**Valid payload after:**\r\n\r\n```json5\r\n{\r\n \"ruleSource\": {\r\n \"type\": \"external\",\r\n \"isCustomized\": false\r\n }\r\n}\r\n```\r\n\r\n### Important Note\r\n\r\nThis rule param schema change is considered safe because we do not\r\ncurrently use this field in the code. All values of this field are\r\ncurrently `undefined`. However, to ensure a Serverless release rollout\r\nwithout breaking changes, we need to release this schema change before\r\nwe start writing any actual data.","shortMessageHtmlLink":"[Security Solution] Replaced the incorrect runtime type used for rule…"}},{"before":"1cc878f41d1ea2bc1a04f957f264f4c319d298aa","after":"b6e0f87900067d7ef6f69206a36226aee595867e","ref":"refs/heads/main","pushedAt":"2024-05-23T07:53:25.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"hop-dev","name":"Mark Hopkin","path":"/hop-dev","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/3315046?s=80&v=4"},"commit":{"message":"[Entity Analytics] Simplify telemetry tests, add empty index check and logging (#183915)\n\n## Summary\r\n\r\nCloses https://github.com/elastic/kibana/issues/182881 \r\n\r\nNot sure what went wrong with this test btu I did find the structure\r\nslightly more complicated than needed, I have moved the beforeEach data\r\nloading into the test body and removed the describe blocks.\r\n\r\nI have also removed the afterEach, we really shouldnt need to delete the\r\ndata twice 😓\r\n\r\nI have done [a 200 flaky test\r\nrun](https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/6059#018f9b55-2231-4655-ab35-c6f26aa49720)\r\n🟠 173 succeeded and 2 failed due to a bootstrap issue which caused the\r\nothers not to run.\r\n\r\n---------\r\n\r\nCo-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>","shortMessageHtmlLink":"[Entity Analytics] Simplify telemetry tests, add empty index check an…"}},{"before":"8550c2c30cdd484e1a184467242f4a6876931a38","after":"1cc878f41d1ea2bc1a04f957f264f4c319d298aa","ref":"refs/heads/main","pushedAt":"2024-05-23T07:50:39.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"jloleysens","name":"Jean-Louis Leysens","path":"/jloleysens","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/8155004?s=80&v=4"},"commit":{"message":"[OAS] Support lazy runtime types (#184000)\n\n## Summary\r\n\r\nClose https://github.com/elastic/kibana/issues/182910\r\n\r\nAdd the ability to declare recursive schemas. Updates\r\n`@kbn/config-schema` to support recursive types. This design follows the\r\nunderlying pattern provided by Joi:\r\nhttps://joi.dev/api/?v=17.13.0#linkref:\r\n\r\n```ts\r\n const id = 'recursive';\r\n const recursiveSchema: Type = schema.object(\r\n {\r\n name: schema.string(),\r\n self: schema.lazy(id),\r\n },\r\n { meta: { id } }\r\n );\r\n```\r\n\r\nSince using the `.link` API we are also using `.id` which enables us to\r\nleverage this mechanism OOTB with `joi-to-json` for OAS generation (thus\r\nwe could delete a lot of code there).\r\n\r\nI chose to avoid using `id` originally because I thought it would be\r\nsimpler if we control more of the conversion in config-schema's case but\r\nfor recursive schemas and references I think this is a favourable trade\r\noff. Open to other ideas!\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>","shortMessageHtmlLink":"[OAS] Support lazy runtime types (#184000)"}},{"before":"0941a7daf086abd236345c4ccfc2907f83d9136c","after":"8550c2c30cdd484e1a184467242f4a6876931a38","ref":"refs/heads/main","pushedAt":"2024-05-23T07:45:10.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"mrodm","name":"Mario Rodriguez Molins","path":"/mrodm","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/5330827?s=80&v=4"},"commit":{"message":"Add security_detection_engine into exclude list for observability projects (#184022)\n\n## Summary\r\n\r\nInclude [`security_detection_engine`\r\npackage](https://github.com/elastic/integrations/tree/d2a74171c8fc32fd8754af0a2dd733669b5f6578/packages/security_detection_engine)\r\ninto the list of excluded packages for Observability projects in Elastic\r\nServerless.\r\n\r\nRelates https://github.com/elastic/integrations/pull/9849\r\nRelates https://github.com/elastic/integrations/pull/9938\r\n\r\n\r\n### For maintainers\r\n\r\n- [x] This was checked for breaking API changes and was [labeled\r\nappropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\r\n\r\nCo-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>","shortMessageHtmlLink":"Add security_detection_engine into exclude list for observability pro…"}},{"before":"4ccd47d90e7b812d0d405cdd906a8b775757c1a4","after":"0941a7daf086abd236345c4ccfc2907f83d9136c","ref":"refs/heads/main","pushedAt":"2024-05-23T07:38:47.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"rshen91","name":"Rachel Shen","path":"/rshen91","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/20343860?s=80&v=4"},"commit":{"message":"[Share Modal ]fix flaky test (#183679)\n\n## Summary\r\n\r\nCloses https://github.com/elastic/kibana/issues/183566","shortMessageHtmlLink":"[Share Modal ]fix flaky test (#183679)"}},{"before":"d0d60754ae69580cb3e403c6f9ce96757bc181ca","after":"4ccd47d90e7b812d0d405cdd906a8b775757c1a4","ref":"refs/heads/main","pushedAt":"2024-05-23T07:16:07.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"maryam-saeidi","name":"Maryam Saeidi","path":"/maryam-saeidi","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/12370520?s=80&v=4"},"commit":{"message":"[Custom threshold][Logs Explorer] Fix an issue with saving prefilled filters in the custom threshold rule on the Logs Explorer page (#183900)\n\nFixes #183710\r\n\r\n## Summary\r\n\r\nThis PR fixes the issue of saving prefilled filters in the custom\r\nthreshold rule by using `getSearchConfiguration` every time the\r\nserachConfiguration is saved in rule parameters. Now,\r\n`getSearchConfiguration` does two things:\r\n1. Ensure the query has the correct type (`Qurey`), or it will be set as\r\nthe default query.\r\n2. Adjust filters by removing `$state` and only keeping `meta` and\r\n`query`\r\n\r\nAlso, I adjusted the related type to exclude `$state`.\r\n\r\n### How to test\r\n\r\n\r\n\r\nhttps://github.com/elastic/kibana/assets/12370520/9d69e601-d021-4ae3-8baf-88286d3716fe","shortMessageHtmlLink":"[Custom threshold][Logs Explorer] Fix an issue with saving prefilled …"}},{"before":"8d8cd05fcc5f9665b900d25092c39fde752651f8","after":"d0d60754ae69580cb3e403c6f9ce96757bc181ca","ref":"refs/heads/main","pushedAt":"2024-05-23T06:40:34.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"jughosta","name":"Julia Rechkunova","path":"/jughosta","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1415710?s=80&v=4"},"commit":{"message":"[Discover] Unskip ES|QL Inspector tests (#183894)\n\n- Closes https://github.com/elastic/kibana/issues/183847","shortMessageHtmlLink":"[Discover] Unskip ES|QL Inspector tests (#183894)"}},{"before":"b9cbfd72262b754231d6be192c3d59f506eada17","after":"8d8cd05fcc5f9665b900d25092c39fde752651f8","ref":"refs/heads/main","pushedAt":"2024-05-23T06:08:21.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"jen-huang","name":"Jen Huang","path":"/jen-huang","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1965714?s=80&v=4"},"commit":{"message":"[UII] Add back `fleet_server.inactive` to `fleet_server.unenrolled` to fleet usage telemetry (#184056)\n\n## Summary\r\n\r\nResolves https://github.com/elastic/kibana/issues/148720\r\n\r\nhttps://github.com/elastic/telemetry/pull/3490 needs to be merged and\r\npost-merge action items done before these fields show in telemetry\r\nclusters\r\n\r\n### Testing\r\n\r\nFleet usage logger:\r\n1. Change the\r\n[interval](https://github.com/jen-huang/kibana/blob/ca5af82dd921fd1d12849e78e0f7f0234189a9bf/x-pack/plugins/fleet/server/services/fleet_usage_logger.ts#L59)\r\nof the `FleetUsageLogger` to e.g. `1m`.\r\n2. Wait for the log line and ensure that `fleet_server.inactive` and\r\n`fleet_server.unenrolled` are included:\r\n```\r\n[2024-05-22T12:03:07.606-07:00][DEBUG][plugins.fleet] Fleet Usage: {\"agents_enabled\":true,\"agents\":{\"total_enrolled\":0,\"healthy\":0,\"unhealthy\":0,\"offline\":0,\"inactive\":0,\"unenrolled\":0,\"total_all_statuses\":0,\"updating\":0},\"fleet_server\":{\"total_all_statuses\":0,\"total_enrolled\":0,\"healthy\":0,\"unhealthy\":0,\"offline\":0,\"updating\":0,\"inactive\":0,\"unenrolled\":0,\"num_host_urls\":0},\"license_issued_to\":\"elasticsearch\"}\r\n```\r\n\r\nFleet usage sender:\r\n1. Change the\r\n[interval](https://github.com/elastic/kibana/blob/ca5af82dd921fd1d12849e78e0f7f0234189a9bf/x-pack/plugins/fleet/server/services/telemetry/fleet_usage_sender.ts#L30)\r\nof the `FleetUsageSender` to e.g. `1m`.\r\n2. Wait for the log line and ensure that `fleet_server.inactive` and\r\n`fleet_server.unenrolled` are included:\r\n```\r\n[2024-05-22T12:05:17.577-07:00][DEBUG][plugins.fleet] Fleet usage telemetry: {\"agents_enabled\":true,\"agents\":{\"total_enrolled\":0,\"healthy\":0,\"unhealthy\":0,\"offline\":0,\"inactive\":0,\"unenrolled\":0,\"total_all_statuses\":0,\"updating\":0},\"fleet_server\":{\"total_all_statuses\":0,\"total_enrolled\":0,\"healthy\":0,\"unhealthy\":0,\"offline\":0,\"updating\":0,\"inactive\":0,\"unenrolled\":0,\"num_host_urls\":0},\"packages\":[{\"name\":\"nginx\",\"version\":\"1.20.0\",\"enabled\":false},{\"name\":\"system\",\"version\":\"1.58.0\",\"enabled\":false},{\"name\":\"synthetics\",\"version\":\"1.2.1\",\"enabled\":false}],\"agent_checkin_status\":{\"error\":0,\"degraded\":0},\"agents_per_policy\":[],\"agents_per_os\":[],\"fleet_server_config\":{\"policies\":[]},\"agent_policies\":{\"count\":0,\"output_types\":[]},\"agent_logs_panics_last_hour\":[],\"agent_logs_top_errors\":[],\"fleet_server_logs_top_errors\":[],\"license_issued_to\":\"elasticsearch\"}\r\n```\r\n\r\n### Checklist\r\n\r\nDelete any items that are not applicable to this PR.\r\n\r\n- [x] [Unit or functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere updated or added to match the most common scenarios","shortMessageHtmlLink":"[UII] Add back fleet_server.inactive to fleet_server.unenrolled t…"}}],"hasNextPage":true,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"djE6ks8AAAAEUjhi3QA","startCursor":null,"endCursor":null}},"title":"Activity · elastic/kibana"}