[Response Ops][Reporting] Adding DISCOVER_APP_LOCATOR to REPORTING_REDIRECT_ALLOWED_LOCATOR_TYPES#227297
Conversation
5964917 to
f613db6
Compare
|
Pinging @elastic/response-ops (Team:ResponseOps) |
tsullivan
left a comment
There was a problem hiding this comment.
Reviewed the code only, LGTM to unblock
nreese
left a comment
There was a problem hiding this comment.
kibana-presentation changes LGTM
code review only
💚 Build Succeeded
Metrics [docs]Public APIs missing comments
Async chunks
Page load bundle
cc @ymao1 |
davismcphee
left a comment
There was a problem hiding this comment.
Data Discovery changes LGTM, thanks for fixing it 👍
|
Starting backport for target branches: 8.18, 8.19, 9.0, 9.1 https://github.com/elastic/kibana/actions/runs/16194537914 |
…_REDIRECT_ALLOWED_LOCATOR_TYPES` (elastic#227297) ## Summary It was noticed during verification that generating a ES|QL CSV report (either single or scheduled) and then trying to access the `Open Dashboard` link from the Reporting UI would result in a redirect error:  The locator params for this look like, so it looks like `DISCOVER_APP_LOCATOR` needs to be added to the `REPORTING_REDIRECT_ALLOWED_LOCATOR_TYPES`, similar to this [previous PR](elastic#224309) for the `CANVAS_APP_LOCATOR` ``` { "id": "DISCOVER_APP_LOCATOR", "params": { "columns": [], "dataViewSpec": { "allowHidden": false, "allowNoIndex": false, "fieldFormats": {}, "id": "bc48ed34f1056457dd1c77b6326d7226c302ea35aecfae268cd142a126bb3143", "name": "logs-library_endgame-default", "runtimeFieldMap": {}, "sourceFilters": [], "timeFieldName": "@timestamp", "title": "logs-library_endgame-default", "type": "esql" }, "filters": [], "hideChart": false, "interval": "auto", "query": { "esql": "FROM logs-library_endgame-default | LIMIT 10" }, "refreshInterval": { "pause": true, "value": 60000 }, "sort": [ [ "@timestamp", "desc" ] ], "timeRange": { "from": "2024-10-30T14:28:39.718Z", "to": "2024-11-04T19:35:40.254Z" } } } ``` ## To Verify 1. Export a CSV from Discover in ES|QL mode (does not have to be a scheduled export) 2. Navigate to the Reporting UI and click the hamburger menu > Open in Dashboard 3. This should navigate you back to Discover in ES|QL mode instead of showing the above error. --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> Co-authored-by: Janki Salvi <jankigaurav.salvi@elastic.co> (cherry picked from commit e4bc487)
…_REDIRECT_ALLOWED_LOCATOR_TYPES` (elastic#227297) ## Summary It was noticed during verification that generating a ES|QL CSV report (either single or scheduled) and then trying to access the `Open Dashboard` link from the Reporting UI would result in a redirect error:  The locator params for this look like, so it looks like `DISCOVER_APP_LOCATOR` needs to be added to the `REPORTING_REDIRECT_ALLOWED_LOCATOR_TYPES`, similar to this [previous PR](elastic#224309) for the `CANVAS_APP_LOCATOR` ``` { "id": "DISCOVER_APP_LOCATOR", "params": { "columns": [], "dataViewSpec": { "allowHidden": false, "allowNoIndex": false, "fieldFormats": {}, "id": "bc48ed34f1056457dd1c77b6326d7226c302ea35aecfae268cd142a126bb3143", "name": "logs-library_endgame-default", "runtimeFieldMap": {}, "sourceFilters": [], "timeFieldName": "@timestamp", "title": "logs-library_endgame-default", "type": "esql" }, "filters": [], "hideChart": false, "interval": "auto", "query": { "esql": "FROM logs-library_endgame-default | LIMIT 10" }, "refreshInterval": { "pause": true, "value": 60000 }, "sort": [ [ "@timestamp", "desc" ] ], "timeRange": { "from": "2024-10-30T14:28:39.718Z", "to": "2024-11-04T19:35:40.254Z" } } } ``` ## To Verify 1. Export a CSV from Discover in ES|QL mode (does not have to be a scheduled export) 2. Navigate to the Reporting UI and click the hamburger menu > Open in Dashboard 3. This should navigate you back to Discover in ES|QL mode instead of showing the above error. --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> Co-authored-by: Janki Salvi <jankigaurav.salvi@elastic.co> (cherry picked from commit e4bc487)
💔 Some backports could not be created
Note: Successful backport PRs will be merged automatically after passing CI. Manual backportTo create the backport manually run: Questions ?Please refer to the Backport tool documentation |
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
…_REDIRECT_ALLOWED_LOCATOR_TYPES` (elastic#227297) ## Summary It was noticed during verification that generating a ES|QL CSV report (either single or scheduled) and then trying to access the `Open Dashboard` link from the Reporting UI would result in a redirect error:  The locator params for this look like, so it looks like `DISCOVER_APP_LOCATOR` needs to be added to the `REPORTING_REDIRECT_ALLOWED_LOCATOR_TYPES`, similar to this [previous PR](elastic#224309) for the `CANVAS_APP_LOCATOR` ``` { "id": "DISCOVER_APP_LOCATOR", "params": { "columns": [], "dataViewSpec": { "allowHidden": false, "allowNoIndex": false, "fieldFormats": {}, "id": "bc48ed34f1056457dd1c77b6326d7226c302ea35aecfae268cd142a126bb3143", "name": "logs-library_endgame-default", "runtimeFieldMap": {}, "sourceFilters": [], "timeFieldName": "@timestamp", "title": "logs-library_endgame-default", "type": "esql" }, "filters": [], "hideChart": false, "interval": "auto", "query": { "esql": "FROM logs-library_endgame-default | LIMIT 10" }, "refreshInterval": { "pause": true, "value": 60000 }, "sort": [ [ "@timestamp", "desc" ] ], "timeRange": { "from": "2024-10-30T14:28:39.718Z", "to": "2024-11-04T19:35:40.254Z" } } } ``` ## To Verify 1. Export a CSV from Discover in ES|QL mode (does not have to be a scheduled export) 2. Navigate to the Reporting UI and click the hamburger menu > Open in Dashboard 3. This should navigate you back to Discover in ES|QL mode instead of showing the above error. --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> Co-authored-by: Janki Salvi <jankigaurav.salvi@elastic.co> (cherry picked from commit e4bc487) # Conflicts: # x-pack/platform/plugins/private/reporting/public/management/components/report_schedules_table.tsx # x-pack/platform/plugins/private/reporting/public/management/report_listing_table.tsx
…_REDIRECT_ALLOWED_LOCATOR_TYPES` (elastic#227297) ## Summary It was noticed during verification that generating a ES|QL CSV report (either single or scheduled) and then trying to access the `Open Dashboard` link from the Reporting UI would result in a redirect error:  The locator params for this look like, so it looks like `DISCOVER_APP_LOCATOR` needs to be added to the `REPORTING_REDIRECT_ALLOWED_LOCATOR_TYPES`, similar to this [previous PR](elastic#224309) for the `CANVAS_APP_LOCATOR` ``` { "id": "DISCOVER_APP_LOCATOR", "params": { "columns": [], "dataViewSpec": { "allowHidden": false, "allowNoIndex": false, "fieldFormats": {}, "id": "bc48ed34f1056457dd1c77b6326d7226c302ea35aecfae268cd142a126bb3143", "name": "logs-library_endgame-default", "runtimeFieldMap": {}, "sourceFilters": [], "timeFieldName": "@timestamp", "title": "logs-library_endgame-default", "type": "esql" }, "filters": [], "hideChart": false, "interval": "auto", "query": { "esql": "FROM logs-library_endgame-default | LIMIT 10" }, "refreshInterval": { "pause": true, "value": 60000 }, "sort": [ [ "@timestamp", "desc" ] ], "timeRange": { "from": "2024-10-30T14:28:39.718Z", "to": "2024-11-04T19:35:40.254Z" } } } ``` ## To Verify 1. Export a CSV from Discover in ES|QL mode (does not have to be a scheduled export) 2. Navigate to the Reporting UI and click the hamburger menu > Open in Dashboard 3. This should navigate you back to Discover in ES|QL mode instead of showing the above error. --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> Co-authored-by: Janki Salvi <jankigaurav.salvi@elastic.co> (cherry picked from commit e4bc487) # Conflicts: # x-pack/platform/plugins/private/reporting/public/management/components/report_schedules_table.tsx # x-pack/platform/plugins/private/reporting/public/management/report_listing_table.tsx
…ORTING_REDIRECT_ALLOWED_LOCATOR_TYPES` (#227297) (#227436) # Backport This will backport the following commits from `main` to `9.1`: - [[Response Ops][Reporting] Adding `DISCOVER_APP_LOCATOR` to `REPORTING_REDIRECT_ALLOWED_LOCATOR_TYPES` (#227297)](#227297) <!--- Backport version: 9.6.6 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Ying Mao","email":"ying.mao@elastic.co"},"sourceCommit":{"committedDate":"2025-07-10T12:01:49Z","message":"[Response Ops][Reporting] Adding `DISCOVER_APP_LOCATOR` to `REPORTING_REDIRECT_ALLOWED_LOCATOR_TYPES` (#227297)\n\n## Summary\n\nIt was noticed during verification that generating a ES|QL CSV report\n(either single or scheduled) and then trying to access the `Open\nDashboard` link from the Reporting UI would result in a redirect error:\n\n\n\nThe locator params for this look like, so it looks like\n`DISCOVER_APP_LOCATOR` needs to be added to the\n`REPORTING_REDIRECT_ALLOWED_LOCATOR_TYPES`, similar to this [previous\nPR](#224309) for the\n`CANVAS_APP_LOCATOR`\n\n```\n{\n \"id\": \"DISCOVER_APP_LOCATOR\",\n \"params\": {\n \"columns\": [],\n \"dataViewSpec\": {\n \"allowHidden\": false,\n \"allowNoIndex\": false,\n \"fieldFormats\": {},\n \"id\": \"bc48ed34f1056457dd1c77b6326d7226c302ea35aecfae268cd142a126bb3143\",\n \"name\": \"logs-library_endgame-default\",\n \"runtimeFieldMap\": {},\n \"sourceFilters\": [],\n \"timeFieldName\": \"@timestamp\",\n \"title\": \"logs-library_endgame-default\",\n \"type\": \"esql\"\n },\n \"filters\": [],\n \"hideChart\": false,\n \"interval\": \"auto\",\n \"query\": {\n \"esql\": \"FROM logs-library_endgame-default | LIMIT 10\"\n },\n \"refreshInterval\": {\n \"pause\": true,\n \"value\": 60000\n },\n \"sort\": [\n [\n \"@timestamp\",\n \"desc\"\n ]\n ],\n \"timeRange\": {\n \"from\": \"2024-10-30T14:28:39.718Z\",\n \"to\": \"2024-11-04T19:35:40.254Z\"\n }\n }\n}\n```\n\n## To Verify\n\n1. Export a CSV from Discover in ES|QL mode (does not have to be a\nscheduled export)\n2. Navigate to the Reporting UI and click the hamburger menu > Open in\nDashboard\n3. This should navigate you back to Discover in ES|QL mode instead of\nshowing the above error.\n\n---------\n\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>\nCo-authored-by: Janki Salvi <jankigaurav.salvi@elastic.co>","sha":"e4bc487dd0151df32ff0dd5a8cdfb9d7a61714f5","branchLabelMapping":{"^v9.2.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:ResponseOps","Feature:Reporting:Framework","backport:version","v9.1.0","v8.19.0","v9.2.0","v8.18.4","v9.0.4"],"title":"[Response Ops][Reporting] Adding `DISCOVER_APP_LOCATOR` to `REPORTING_REDIRECT_ALLOWED_LOCATOR_TYPES`","number":227297,"url":"https://github.com/elastic/kibana/pull/227297","mergeCommit":{"message":"[Response Ops][Reporting] Adding `DISCOVER_APP_LOCATOR` to `REPORTING_REDIRECT_ALLOWED_LOCATOR_TYPES` (#227297)\n\n## Summary\n\nIt was noticed during verification that generating a ES|QL CSV report\n(either single or scheduled) and then trying to access the `Open\nDashboard` link from the Reporting UI would result in a redirect error:\n\n\n\nThe locator params for this look like, so it looks like\n`DISCOVER_APP_LOCATOR` needs to be added to the\n`REPORTING_REDIRECT_ALLOWED_LOCATOR_TYPES`, similar to this [previous\nPR](#224309) for the\n`CANVAS_APP_LOCATOR`\n\n```\n{\n \"id\": \"DISCOVER_APP_LOCATOR\",\n \"params\": {\n \"columns\": [],\n \"dataViewSpec\": {\n \"allowHidden\": false,\n \"allowNoIndex\": false,\n \"fieldFormats\": {},\n \"id\": \"bc48ed34f1056457dd1c77b6326d7226c302ea35aecfae268cd142a126bb3143\",\n \"name\": \"logs-library_endgame-default\",\n \"runtimeFieldMap\": {},\n \"sourceFilters\": [],\n \"timeFieldName\": \"@timestamp\",\n \"title\": \"logs-library_endgame-default\",\n \"type\": \"esql\"\n },\n \"filters\": [],\n \"hideChart\": false,\n \"interval\": \"auto\",\n \"query\": {\n \"esql\": \"FROM logs-library_endgame-default | LIMIT 10\"\n },\n \"refreshInterval\": {\n \"pause\": true,\n \"value\": 60000\n },\n \"sort\": [\n [\n \"@timestamp\",\n \"desc\"\n ]\n ],\n \"timeRange\": {\n \"from\": \"2024-10-30T14:28:39.718Z\",\n \"to\": \"2024-11-04T19:35:40.254Z\"\n }\n }\n}\n```\n\n## To Verify\n\n1. Export a CSV from Discover in ES|QL mode (does not have to be a\nscheduled export)\n2. Navigate to the Reporting UI and click the hamburger menu > Open in\nDashboard\n3. This should navigate you back to Discover in ES|QL mode instead of\nshowing the above error.\n\n---------\n\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>\nCo-authored-by: Janki Salvi <jankigaurav.salvi@elastic.co>","sha":"e4bc487dd0151df32ff0dd5a8cdfb9d7a61714f5"}},"sourceBranch":"main","suggestedTargetBranches":["9.1","8.19","8.18","9.0"],"targetPullRequestStates":[{"branch":"9.1","label":"v9.1.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.19","label":"v8.19.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v9.2.0","branchLabelMappingKey":"^v9.2.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/227297","number":227297,"mergeCommit":{"message":"[Response Ops][Reporting] Adding `DISCOVER_APP_LOCATOR` to `REPORTING_REDIRECT_ALLOWED_LOCATOR_TYPES` (#227297)\n\n## Summary\n\nIt was noticed during verification that generating a ES|QL CSV report\n(either single or scheduled) and then trying to access the `Open\nDashboard` link from the Reporting UI would result in a redirect error:\n\n\n\nThe locator params for this look like, so it looks like\n`DISCOVER_APP_LOCATOR` needs to be added to the\n`REPORTING_REDIRECT_ALLOWED_LOCATOR_TYPES`, similar to this [previous\nPR](#224309) for the\n`CANVAS_APP_LOCATOR`\n\n```\n{\n \"id\": \"DISCOVER_APP_LOCATOR\",\n \"params\": {\n \"columns\": [],\n \"dataViewSpec\": {\n \"allowHidden\": false,\n \"allowNoIndex\": false,\n \"fieldFormats\": {},\n \"id\": \"bc48ed34f1056457dd1c77b6326d7226c302ea35aecfae268cd142a126bb3143\",\n \"name\": \"logs-library_endgame-default\",\n \"runtimeFieldMap\": {},\n \"sourceFilters\": [],\n \"timeFieldName\": \"@timestamp\",\n \"title\": \"logs-library_endgame-default\",\n \"type\": \"esql\"\n },\n \"filters\": [],\n \"hideChart\": false,\n \"interval\": \"auto\",\n \"query\": {\n \"esql\": \"FROM logs-library_endgame-default | LIMIT 10\"\n },\n \"refreshInterval\": {\n \"pause\": true,\n \"value\": 60000\n },\n \"sort\": [\n [\n \"@timestamp\",\n \"desc\"\n ]\n ],\n \"timeRange\": {\n \"from\": \"2024-10-30T14:28:39.718Z\",\n \"to\": \"2024-11-04T19:35:40.254Z\"\n }\n }\n}\n```\n\n## To Verify\n\n1. Export a CSV from Discover in ES|QL mode (does not have to be a\nscheduled export)\n2. Navigate to the Reporting UI and click the hamburger menu > Open in\nDashboard\n3. This should navigate you back to Discover in ES|QL mode instead of\nshowing the above error.\n\n---------\n\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>\nCo-authored-by: Janki Salvi <jankigaurav.salvi@elastic.co>","sha":"e4bc487dd0151df32ff0dd5a8cdfb9d7a61714f5"}},{"branch":"8.18","label":"v8.18.4","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"9.0","label":"v9.0.4","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: Ying Mao <ying.mao@elastic.co> Co-authored-by: Janki Salvi <jankigaurav.salvi@elastic.co>
…PORTING_REDIRECT_ALLOWED_LOCATOR_TYPES` (#227297) (#227435) # Backport This will backport the following commits from `main` to `8.19`: - [[Response Ops][Reporting] Adding `DISCOVER_APP_LOCATOR` to `REPORTING_REDIRECT_ALLOWED_LOCATOR_TYPES` (#227297)](#227297) <!--- Backport version: 9.6.6 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Ying Mao","email":"ying.mao@elastic.co"},"sourceCommit":{"committedDate":"2025-07-10T12:01:49Z","message":"[Response Ops][Reporting] Adding `DISCOVER_APP_LOCATOR` to `REPORTING_REDIRECT_ALLOWED_LOCATOR_TYPES` (#227297)\n\n## Summary\n\nIt was noticed during verification that generating a ES|QL CSV report\n(either single or scheduled) and then trying to access the `Open\nDashboard` link from the Reporting UI would result in a redirect error:\n\n\n\nThe locator params for this look like, so it looks like\n`DISCOVER_APP_LOCATOR` needs to be added to the\n`REPORTING_REDIRECT_ALLOWED_LOCATOR_TYPES`, similar to this [previous\nPR](#224309) for the\n`CANVAS_APP_LOCATOR`\n\n```\n{\n \"id\": \"DISCOVER_APP_LOCATOR\",\n \"params\": {\n \"columns\": [],\n \"dataViewSpec\": {\n \"allowHidden\": false,\n \"allowNoIndex\": false,\n \"fieldFormats\": {},\n \"id\": \"bc48ed34f1056457dd1c77b6326d7226c302ea35aecfae268cd142a126bb3143\",\n \"name\": \"logs-library_endgame-default\",\n \"runtimeFieldMap\": {},\n \"sourceFilters\": [],\n \"timeFieldName\": \"@timestamp\",\n \"title\": \"logs-library_endgame-default\",\n \"type\": \"esql\"\n },\n \"filters\": [],\n \"hideChart\": false,\n \"interval\": \"auto\",\n \"query\": {\n \"esql\": \"FROM logs-library_endgame-default | LIMIT 10\"\n },\n \"refreshInterval\": {\n \"pause\": true,\n \"value\": 60000\n },\n \"sort\": [\n [\n \"@timestamp\",\n \"desc\"\n ]\n ],\n \"timeRange\": {\n \"from\": \"2024-10-30T14:28:39.718Z\",\n \"to\": \"2024-11-04T19:35:40.254Z\"\n }\n }\n}\n```\n\n## To Verify\n\n1. Export a CSV from Discover in ES|QL mode (does not have to be a\nscheduled export)\n2. Navigate to the Reporting UI and click the hamburger menu > Open in\nDashboard\n3. This should navigate you back to Discover in ES|QL mode instead of\nshowing the above error.\n\n---------\n\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>\nCo-authored-by: Janki Salvi <jankigaurav.salvi@elastic.co>","sha":"e4bc487dd0151df32ff0dd5a8cdfb9d7a61714f5","branchLabelMapping":{"^v9.2.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:ResponseOps","Feature:Reporting:Framework","backport:version","v9.1.0","v8.19.0","v9.2.0","v8.18.4","v9.0.4"],"title":"[Response Ops][Reporting] Adding `DISCOVER_APP_LOCATOR` to `REPORTING_REDIRECT_ALLOWED_LOCATOR_TYPES`","number":227297,"url":"https://github.com/elastic/kibana/pull/227297","mergeCommit":{"message":"[Response Ops][Reporting] Adding `DISCOVER_APP_LOCATOR` to `REPORTING_REDIRECT_ALLOWED_LOCATOR_TYPES` (#227297)\n\n## Summary\n\nIt was noticed during verification that generating a ES|QL CSV report\n(either single or scheduled) and then trying to access the `Open\nDashboard` link from the Reporting UI would result in a redirect error:\n\n\n\nThe locator params for this look like, so it looks like\n`DISCOVER_APP_LOCATOR` needs to be added to the\n`REPORTING_REDIRECT_ALLOWED_LOCATOR_TYPES`, similar to this [previous\nPR](#224309) for the\n`CANVAS_APP_LOCATOR`\n\n```\n{\n \"id\": \"DISCOVER_APP_LOCATOR\",\n \"params\": {\n \"columns\": [],\n \"dataViewSpec\": {\n \"allowHidden\": false,\n \"allowNoIndex\": false,\n \"fieldFormats\": {},\n \"id\": \"bc48ed34f1056457dd1c77b6326d7226c302ea35aecfae268cd142a126bb3143\",\n \"name\": \"logs-library_endgame-default\",\n \"runtimeFieldMap\": {},\n \"sourceFilters\": [],\n \"timeFieldName\": \"@timestamp\",\n \"title\": \"logs-library_endgame-default\",\n \"type\": \"esql\"\n },\n \"filters\": [],\n \"hideChart\": false,\n \"interval\": \"auto\",\n \"query\": {\n \"esql\": \"FROM logs-library_endgame-default | LIMIT 10\"\n },\n \"refreshInterval\": {\n \"pause\": true,\n \"value\": 60000\n },\n \"sort\": [\n [\n \"@timestamp\",\n \"desc\"\n ]\n ],\n \"timeRange\": {\n \"from\": \"2024-10-30T14:28:39.718Z\",\n \"to\": \"2024-11-04T19:35:40.254Z\"\n }\n }\n}\n```\n\n## To Verify\n\n1. Export a CSV from Discover in ES|QL mode (does not have to be a\nscheduled export)\n2. Navigate to the Reporting UI and click the hamburger menu > Open in\nDashboard\n3. This should navigate you back to Discover in ES|QL mode instead of\nshowing the above error.\n\n---------\n\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>\nCo-authored-by: Janki Salvi <jankigaurav.salvi@elastic.co>","sha":"e4bc487dd0151df32ff0dd5a8cdfb9d7a61714f5"}},"sourceBranch":"main","suggestedTargetBranches":["9.1","8.19","8.18","9.0"],"targetPullRequestStates":[{"branch":"9.1","label":"v9.1.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.19","label":"v8.19.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v9.2.0","branchLabelMappingKey":"^v9.2.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/227297","number":227297,"mergeCommit":{"message":"[Response Ops][Reporting] Adding `DISCOVER_APP_LOCATOR` to `REPORTING_REDIRECT_ALLOWED_LOCATOR_TYPES` (#227297)\n\n## Summary\n\nIt was noticed during verification that generating a ES|QL CSV report\n(either single or scheduled) and then trying to access the `Open\nDashboard` link from the Reporting UI would result in a redirect error:\n\n\n\nThe locator params for this look like, so it looks like\n`DISCOVER_APP_LOCATOR` needs to be added to the\n`REPORTING_REDIRECT_ALLOWED_LOCATOR_TYPES`, similar to this [previous\nPR](#224309) for the\n`CANVAS_APP_LOCATOR`\n\n```\n{\n \"id\": \"DISCOVER_APP_LOCATOR\",\n \"params\": {\n \"columns\": [],\n \"dataViewSpec\": {\n \"allowHidden\": false,\n \"allowNoIndex\": false,\n \"fieldFormats\": {},\n \"id\": \"bc48ed34f1056457dd1c77b6326d7226c302ea35aecfae268cd142a126bb3143\",\n \"name\": \"logs-library_endgame-default\",\n \"runtimeFieldMap\": {},\n \"sourceFilters\": [],\n \"timeFieldName\": \"@timestamp\",\n \"title\": \"logs-library_endgame-default\",\n \"type\": \"esql\"\n },\n \"filters\": [],\n \"hideChart\": false,\n \"interval\": \"auto\",\n \"query\": {\n \"esql\": \"FROM logs-library_endgame-default | LIMIT 10\"\n },\n \"refreshInterval\": {\n \"pause\": true,\n \"value\": 60000\n },\n \"sort\": [\n [\n \"@timestamp\",\n \"desc\"\n ]\n ],\n \"timeRange\": {\n \"from\": \"2024-10-30T14:28:39.718Z\",\n \"to\": \"2024-11-04T19:35:40.254Z\"\n }\n }\n}\n```\n\n## To Verify\n\n1. Export a CSV from Discover in ES|QL mode (does not have to be a\nscheduled export)\n2. Navigate to the Reporting UI and click the hamburger menu > Open in\nDashboard\n3. This should navigate you back to Discover in ES|QL mode instead of\nshowing the above error.\n\n---------\n\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>\nCo-authored-by: Janki Salvi <jankigaurav.salvi@elastic.co>","sha":"e4bc487dd0151df32ff0dd5a8cdfb9d7a61714f5"}},{"branch":"8.18","label":"v8.18.4","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"9.0","label":"v9.0.4","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: Ying Mao <ying.mao@elastic.co> Co-authored-by: Janki Salvi <jankigaurav.salvi@elastic.co>
…ORTING_REDIRECT_ALLOWED_LOCATOR_TYPES` (#227297) (#227438) # Backport This will backport the following commits from `main` to `9.0`: - [[Response Ops][Reporting] Adding `DISCOVER_APP_LOCATOR` to `REPORTING_REDIRECT_ALLOWED_LOCATOR_TYPES` (#227297)](#227297) <!--- Backport version: 10.0.1 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Ying Mao","email":"ying.mao@elastic.co"},"sourceCommit":{"committedDate":"2025-07-10T12:01:49Z","message":"[Response Ops][Reporting] Adding `DISCOVER_APP_LOCATOR` to `REPORTING_REDIRECT_ALLOWED_LOCATOR_TYPES` (#227297)\n\n## Summary\n\nIt was noticed during verification that generating a ES|QL CSV report\n(either single or scheduled) and then trying to access the `Open\nDashboard` link from the Reporting UI would result in a redirect error:\n\n\n\nThe locator params for this look like, so it looks like\n`DISCOVER_APP_LOCATOR` needs to be added to the\n`REPORTING_REDIRECT_ALLOWED_LOCATOR_TYPES`, similar to this [previous\nPR](#224309) for the\n`CANVAS_APP_LOCATOR`\n\n```\n{\n \"id\": \"DISCOVER_APP_LOCATOR\",\n \"params\": {\n \"columns\": [],\n \"dataViewSpec\": {\n \"allowHidden\": false,\n \"allowNoIndex\": false,\n \"fieldFormats\": {},\n \"id\": \"bc48ed34f1056457dd1c77b6326d7226c302ea35aecfae268cd142a126bb3143\",\n \"name\": \"logs-library_endgame-default\",\n \"runtimeFieldMap\": {},\n \"sourceFilters\": [],\n \"timeFieldName\": \"@timestamp\",\n \"title\": \"logs-library_endgame-default\",\n \"type\": \"esql\"\n },\n \"filters\": [],\n \"hideChart\": false,\n \"interval\": \"auto\",\n \"query\": {\n \"esql\": \"FROM logs-library_endgame-default | LIMIT 10\"\n },\n \"refreshInterval\": {\n \"pause\": true,\n \"value\": 60000\n },\n \"sort\": [\n [\n \"@timestamp\",\n \"desc\"\n ]\n ],\n \"timeRange\": {\n \"from\": \"2024-10-30T14:28:39.718Z\",\n \"to\": \"2024-11-04T19:35:40.254Z\"\n }\n }\n}\n```\n\n## To Verify\n\n1. Export a CSV from Discover in ES|QL mode (does not have to be a\nscheduled export)\n2. Navigate to the Reporting UI and click the hamburger menu > Open in\nDashboard\n3. This should navigate you back to Discover in ES|QL mode instead of\nshowing the above error.\n\n---------\n\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>\nCo-authored-by: Janki Salvi <jankigaurav.salvi@elastic.co>","sha":"e4bc487dd0151df32ff0dd5a8cdfb9d7a61714f5","branchLabelMapping":{"^v9.2.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:ResponseOps","Feature:Reporting:Framework","backport:version","v9.1.0","v8.19.0","v9.2.0","v8.18.4","v9.0.4"],"title":"[Response Ops][Reporting] Adding `DISCOVER_APP_LOCATOR` to `REPORTING_REDIRECT_ALLOWED_LOCATOR_TYPES`","number":227297,"url":"https://github.com/elastic/kibana/pull/227297","mergeCommit":{"message":"[Response Ops][Reporting] Adding `DISCOVER_APP_LOCATOR` to `REPORTING_REDIRECT_ALLOWED_LOCATOR_TYPES` (#227297)\n\n## Summary\n\nIt was noticed during verification that generating a ES|QL CSV report\n(either single or scheduled) and then trying to access the `Open\nDashboard` link from the Reporting UI would result in a redirect error:\n\n\n\nThe locator params for this look like, so it looks like\n`DISCOVER_APP_LOCATOR` needs to be added to the\n`REPORTING_REDIRECT_ALLOWED_LOCATOR_TYPES`, similar to this [previous\nPR](#224309) for the\n`CANVAS_APP_LOCATOR`\n\n```\n{\n \"id\": \"DISCOVER_APP_LOCATOR\",\n \"params\": {\n \"columns\": [],\n \"dataViewSpec\": {\n \"allowHidden\": false,\n \"allowNoIndex\": false,\n \"fieldFormats\": {},\n \"id\": \"bc48ed34f1056457dd1c77b6326d7226c302ea35aecfae268cd142a126bb3143\",\n \"name\": \"logs-library_endgame-default\",\n \"runtimeFieldMap\": {},\n \"sourceFilters\": [],\n \"timeFieldName\": \"@timestamp\",\n \"title\": \"logs-library_endgame-default\",\n \"type\": \"esql\"\n },\n \"filters\": [],\n \"hideChart\": false,\n \"interval\": \"auto\",\n \"query\": {\n \"esql\": \"FROM logs-library_endgame-default | LIMIT 10\"\n },\n \"refreshInterval\": {\n \"pause\": true,\n \"value\": 60000\n },\n \"sort\": [\n [\n \"@timestamp\",\n \"desc\"\n ]\n ],\n \"timeRange\": {\n \"from\": \"2024-10-30T14:28:39.718Z\",\n \"to\": \"2024-11-04T19:35:40.254Z\"\n }\n }\n}\n```\n\n## To Verify\n\n1. Export a CSV from Discover in ES|QL mode (does not have to be a\nscheduled export)\n2. Navigate to the Reporting UI and click the hamburger menu > Open in\nDashboard\n3. This should navigate you back to Discover in ES|QL mode instead of\nshowing the above error.\n\n---------\n\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>\nCo-authored-by: Janki Salvi <jankigaurav.salvi@elastic.co>","sha":"e4bc487dd0151df32ff0dd5a8cdfb9d7a61714f5"}},"sourceBranch":"main","suggestedTargetBranches":["8.18","9.0"],"targetPullRequestStates":[{"branch":"9.1","label":"v9.1.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/227436","number":227436,"state":"OPEN"},{"branch":"8.19","label":"v8.19.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/227435","number":227435,"state":"OPEN"},{"branch":"main","label":"v9.2.0","branchLabelMappingKey":"^v9.2.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/227297","number":227297,"mergeCommit":{"message":"[Response Ops][Reporting] Adding `DISCOVER_APP_LOCATOR` to `REPORTING_REDIRECT_ALLOWED_LOCATOR_TYPES` (#227297)\n\n## Summary\n\nIt was noticed during verification that generating a ES|QL CSV report\n(either single or scheduled) and then trying to access the `Open\nDashboard` link from the Reporting UI would result in a redirect error:\n\n\n\nThe locator params for this look like, so it looks like\n`DISCOVER_APP_LOCATOR` needs to be added to the\n`REPORTING_REDIRECT_ALLOWED_LOCATOR_TYPES`, similar to this [previous\nPR](#224309) for the\n`CANVAS_APP_LOCATOR`\n\n```\n{\n \"id\": \"DISCOVER_APP_LOCATOR\",\n \"params\": {\n \"columns\": [],\n \"dataViewSpec\": {\n \"allowHidden\": false,\n \"allowNoIndex\": false,\n \"fieldFormats\": {},\n \"id\": \"bc48ed34f1056457dd1c77b6326d7226c302ea35aecfae268cd142a126bb3143\",\n \"name\": \"logs-library_endgame-default\",\n \"runtimeFieldMap\": {},\n \"sourceFilters\": [],\n \"timeFieldName\": \"@timestamp\",\n \"title\": \"logs-library_endgame-default\",\n \"type\": \"esql\"\n },\n \"filters\": [],\n \"hideChart\": false,\n \"interval\": \"auto\",\n \"query\": {\n \"esql\": \"FROM logs-library_endgame-default | LIMIT 10\"\n },\n \"refreshInterval\": {\n \"pause\": true,\n \"value\": 60000\n },\n \"sort\": [\n [\n \"@timestamp\",\n \"desc\"\n ]\n ],\n \"timeRange\": {\n \"from\": \"2024-10-30T14:28:39.718Z\",\n \"to\": \"2024-11-04T19:35:40.254Z\"\n }\n }\n}\n```\n\n## To Verify\n\n1. Export a CSV from Discover in ES|QL mode (does not have to be a\nscheduled export)\n2. Navigate to the Reporting UI and click the hamburger menu > Open in\nDashboard\n3. This should navigate you back to Discover in ES|QL mode instead of\nshowing the above error.\n\n---------\n\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>\nCo-authored-by: Janki Salvi <jankigaurav.salvi@elastic.co>","sha":"e4bc487dd0151df32ff0dd5a8cdfb9d7a61714f5"}},{"branch":"8.18","label":"v8.18.4","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"9.0","label":"v9.0.4","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT-->
…PORTING_REDIRECT_ALLOWED_LOCATOR_TYPES` (#227297) (#227439) # Backport This will backport the following commits from `main` to `8.18`: - [[Response Ops][Reporting] Adding `DISCOVER_APP_LOCATOR` to `REPORTING_REDIRECT_ALLOWED_LOCATOR_TYPES` (#227297)](#227297) <!--- Backport version: 10.0.1 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Ying Mao","email":"ying.mao@elastic.co"},"sourceCommit":{"committedDate":"2025-07-10T12:01:49Z","message":"[Response Ops][Reporting] Adding `DISCOVER_APP_LOCATOR` to `REPORTING_REDIRECT_ALLOWED_LOCATOR_TYPES` (#227297)\n\n## Summary\n\nIt was noticed during verification that generating a ES|QL CSV report\n(either single or scheduled) and then trying to access the `Open\nDashboard` link from the Reporting UI would result in a redirect error:\n\n\n\nThe locator params for this look like, so it looks like\n`DISCOVER_APP_LOCATOR` needs to be added to the\n`REPORTING_REDIRECT_ALLOWED_LOCATOR_TYPES`, similar to this [previous\nPR](#224309) for the\n`CANVAS_APP_LOCATOR`\n\n```\n{\n \"id\": \"DISCOVER_APP_LOCATOR\",\n \"params\": {\n \"columns\": [],\n \"dataViewSpec\": {\n \"allowHidden\": false,\n \"allowNoIndex\": false,\n \"fieldFormats\": {},\n \"id\": \"bc48ed34f1056457dd1c77b6326d7226c302ea35aecfae268cd142a126bb3143\",\n \"name\": \"logs-library_endgame-default\",\n \"runtimeFieldMap\": {},\n \"sourceFilters\": [],\n \"timeFieldName\": \"@timestamp\",\n \"title\": \"logs-library_endgame-default\",\n \"type\": \"esql\"\n },\n \"filters\": [],\n \"hideChart\": false,\n \"interval\": \"auto\",\n \"query\": {\n \"esql\": \"FROM logs-library_endgame-default | LIMIT 10\"\n },\n \"refreshInterval\": {\n \"pause\": true,\n \"value\": 60000\n },\n \"sort\": [\n [\n \"@timestamp\",\n \"desc\"\n ]\n ],\n \"timeRange\": {\n \"from\": \"2024-10-30T14:28:39.718Z\",\n \"to\": \"2024-11-04T19:35:40.254Z\"\n }\n }\n}\n```\n\n## To Verify\n\n1. Export a CSV from Discover in ES|QL mode (does not have to be a\nscheduled export)\n2. Navigate to the Reporting UI and click the hamburger menu > Open in\nDashboard\n3. This should navigate you back to Discover in ES|QL mode instead of\nshowing the above error.\n\n---------\n\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>\nCo-authored-by: Janki Salvi <jankigaurav.salvi@elastic.co>","sha":"e4bc487dd0151df32ff0dd5a8cdfb9d7a61714f5","branchLabelMapping":{"^v9.2.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:ResponseOps","Feature:Reporting:Framework","backport:version","v9.1.0","v8.19.0","v9.2.0","v8.18.4","v9.0.4"],"title":"[Response Ops][Reporting] Adding `DISCOVER_APP_LOCATOR` to `REPORTING_REDIRECT_ALLOWED_LOCATOR_TYPES`","number":227297,"url":"https://github.com/elastic/kibana/pull/227297","mergeCommit":{"message":"[Response Ops][Reporting] Adding `DISCOVER_APP_LOCATOR` to `REPORTING_REDIRECT_ALLOWED_LOCATOR_TYPES` (#227297)\n\n## Summary\n\nIt was noticed during verification that generating a ES|QL CSV report\n(either single or scheduled) and then trying to access the `Open\nDashboard` link from the Reporting UI would result in a redirect error:\n\n\n\nThe locator params for this look like, so it looks like\n`DISCOVER_APP_LOCATOR` needs to be added to the\n`REPORTING_REDIRECT_ALLOWED_LOCATOR_TYPES`, similar to this [previous\nPR](#224309) for the\n`CANVAS_APP_LOCATOR`\n\n```\n{\n \"id\": \"DISCOVER_APP_LOCATOR\",\n \"params\": {\n \"columns\": [],\n \"dataViewSpec\": {\n \"allowHidden\": false,\n \"allowNoIndex\": false,\n \"fieldFormats\": {},\n \"id\": \"bc48ed34f1056457dd1c77b6326d7226c302ea35aecfae268cd142a126bb3143\",\n \"name\": \"logs-library_endgame-default\",\n \"runtimeFieldMap\": {},\n \"sourceFilters\": [],\n \"timeFieldName\": \"@timestamp\",\n \"title\": \"logs-library_endgame-default\",\n \"type\": \"esql\"\n },\n \"filters\": [],\n \"hideChart\": false,\n \"interval\": \"auto\",\n \"query\": {\n \"esql\": \"FROM logs-library_endgame-default | LIMIT 10\"\n },\n \"refreshInterval\": {\n \"pause\": true,\n \"value\": 60000\n },\n \"sort\": [\n [\n \"@timestamp\",\n \"desc\"\n ]\n ],\n \"timeRange\": {\n \"from\": \"2024-10-30T14:28:39.718Z\",\n \"to\": \"2024-11-04T19:35:40.254Z\"\n }\n }\n}\n```\n\n## To Verify\n\n1. Export a CSV from Discover in ES|QL mode (does not have to be a\nscheduled export)\n2. Navigate to the Reporting UI and click the hamburger menu > Open in\nDashboard\n3. This should navigate you back to Discover in ES|QL mode instead of\nshowing the above error.\n\n---------\n\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>\nCo-authored-by: Janki Salvi <jankigaurav.salvi@elastic.co>","sha":"e4bc487dd0151df32ff0dd5a8cdfb9d7a61714f5"}},"sourceBranch":"main","suggestedTargetBranches":["8.18","9.0"],"targetPullRequestStates":[{"branch":"9.1","label":"v9.1.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/227436","number":227436,"state":"OPEN"},{"branch":"8.19","label":"v8.19.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/227435","number":227435,"state":"OPEN"},{"branch":"main","label":"v9.2.0","branchLabelMappingKey":"^v9.2.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/227297","number":227297,"mergeCommit":{"message":"[Response Ops][Reporting] Adding `DISCOVER_APP_LOCATOR` to `REPORTING_REDIRECT_ALLOWED_LOCATOR_TYPES` (#227297)\n\n## Summary\n\nIt was noticed during verification that generating a ES|QL CSV report\n(either single or scheduled) and then trying to access the `Open\nDashboard` link from the Reporting UI would result in a redirect error:\n\n\n\nThe locator params for this look like, so it looks like\n`DISCOVER_APP_LOCATOR` needs to be added to the\n`REPORTING_REDIRECT_ALLOWED_LOCATOR_TYPES`, similar to this [previous\nPR](#224309) for the\n`CANVAS_APP_LOCATOR`\n\n```\n{\n \"id\": \"DISCOVER_APP_LOCATOR\",\n \"params\": {\n \"columns\": [],\n \"dataViewSpec\": {\n \"allowHidden\": false,\n \"allowNoIndex\": false,\n \"fieldFormats\": {},\n \"id\": \"bc48ed34f1056457dd1c77b6326d7226c302ea35aecfae268cd142a126bb3143\",\n \"name\": \"logs-library_endgame-default\",\n \"runtimeFieldMap\": {},\n \"sourceFilters\": [],\n \"timeFieldName\": \"@timestamp\",\n \"title\": \"logs-library_endgame-default\",\n \"type\": \"esql\"\n },\n \"filters\": [],\n \"hideChart\": false,\n \"interval\": \"auto\",\n \"query\": {\n \"esql\": \"FROM logs-library_endgame-default | LIMIT 10\"\n },\n \"refreshInterval\": {\n \"pause\": true,\n \"value\": 60000\n },\n \"sort\": [\n [\n \"@timestamp\",\n \"desc\"\n ]\n ],\n \"timeRange\": {\n \"from\": \"2024-10-30T14:28:39.718Z\",\n \"to\": \"2024-11-04T19:35:40.254Z\"\n }\n }\n}\n```\n\n## To Verify\n\n1. Export a CSV from Discover in ES|QL mode (does not have to be a\nscheduled export)\n2. Navigate to the Reporting UI and click the hamburger menu > Open in\nDashboard\n3. This should navigate you back to Discover in ES|QL mode instead of\nshowing the above error.\n\n---------\n\nCo-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>\nCo-authored-by: Janki Salvi <jankigaurav.salvi@elastic.co>","sha":"e4bc487dd0151df32ff0dd5a8cdfb9d7a61714f5"}},{"branch":"8.18","label":"v8.18.4","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"9.0","label":"v9.0.4","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT-->
…_REDIRECT_ALLOWED_LOCATOR_TYPES` (elastic#227297) ## Summary It was noticed during verification that generating a ES|QL CSV report (either single or scheduled) and then trying to access the `Open Dashboard` link from the Reporting UI would result in a redirect error:  The locator params for this look like, so it looks like `DISCOVER_APP_LOCATOR` needs to be added to the `REPORTING_REDIRECT_ALLOWED_LOCATOR_TYPES`, similar to this [previous PR](elastic#224309) for the `CANVAS_APP_LOCATOR` ``` { "id": "DISCOVER_APP_LOCATOR", "params": { "columns": [], "dataViewSpec": { "allowHidden": false, "allowNoIndex": false, "fieldFormats": {}, "id": "bc48ed34f1056457dd1c77b6326d7226c302ea35aecfae268cd142a126bb3143", "name": "logs-library_endgame-default", "runtimeFieldMap": {}, "sourceFilters": [], "timeFieldName": "@timestamp", "title": "logs-library_endgame-default", "type": "esql" }, "filters": [], "hideChart": false, "interval": "auto", "query": { "esql": "FROM logs-library_endgame-default | LIMIT 10" }, "refreshInterval": { "pause": true, "value": 60000 }, "sort": [ [ "@timestamp", "desc" ] ], "timeRange": { "from": "2024-10-30T14:28:39.718Z", "to": "2024-11-04T19:35:40.254Z" } } } ``` ## To Verify 1. Export a CSV from Discover in ES|QL mode (does not have to be a scheduled export) 2. Navigate to the Reporting UI and click the hamburger menu > Open in Dashboard 3. This should navigate you back to Discover in ES|QL mode instead of showing the above error. --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> Co-authored-by: Janki Salvi <jankigaurav.salvi@elastic.co>
Summary
It was noticed during verification that generating a ES|QL CSV report (either single or scheduled) and then trying to access the
Open Dashboardlink from the Reporting UI would result in a redirect error:The locator params for this look like, so it looks like
DISCOVER_APP_LOCATORneeds to be added to theREPORTING_REDIRECT_ALLOWED_LOCATOR_TYPES, similar to this previous PR for theCANVAS_APP_LOCATORTo Verify