Open joeperuzzi opened 4 months ago
Hey @joeperuzzi, thanks for opening the issue. To what links are you referring to? And what would be the use case to include them in packages?
@jsoriano I am using a links object in a series of dashboards so users can navigate from a set of grouped dashboards. Before I was using a markdown element with links to each dashboard, however, with the addition of the "links" object type now its much easier to navigate between dashboards, however, the elastic-package doesn't seem to support this dashboard object or I'm just unaware of where to put it as I've tried "visualization" folder and also adding "links" folder under Kibana.
{ "attributes": { "description": "Endpoint browser links to different dashboards. ", "layout": "horizontal", "links": [ { "destinationRefName": "link_9b1bfc94-b1a8-4408-94e6-970733539e09_dashboard", "id": "9b1bfc94-b1a8-4408-94e6-970733539e09", "label": "Host Information", "order": 0, "type": "dashboardLink" }, { "destinationRefName": "link_8372dc23-ad58-4a5c-a5a7-20b72976e410_dashboard", "id": "8372dc23-ad58-4a5c-a5a7-20b72976e410", "label": "Network Cards", "order": 1, "type": "dashboardLink" }, { "destinationRefName": "link_980b12e9-c983-460a-96fb-daab62bba362_dashboard", "id": "980b12e9-c983-460a-96fb-daab62bba362", "label": "Drives and Disks", "order": 2, "type": "dashboardLink" }, { "destinationRefName": "link_b05d24aa-a366-4913-92df-c9a771dba1e0_dashboard", "id": "b05d24aa-a366-4913-92df-c9a771dba1e0", "label": "Apps and Software", "order": 3, "type": "dashboardLink" }, { "destinationRefName": "link_1aff4806-c629-413d-9192-a6dbf1d96b3f_dashboard", "id": "1aff4806-c629-413d-9192-a6dbf1d96b3f", "label": "Hardware Inventory", "order": 4, "type": "dashboardLink" }, { "destinationRefName": "link_704abe2b-cb43-4dd5-b40c-da0238332cc4_dashboard", "id": "704abe2b-cb43-4dd5-b40c-da0238332cc4", "label": "Vulnerabilities ", "order": 5, "type": "dashboardLink" }, { "destinationRefName": "link_0134c81e-703f-4da0-8e4a-ff2fb5689e28_dashboard", "id": "0134c81e-703f-4da0-8e4a-ff2fb5689e28", "label": "Benchmark Results", "order": 6, "type": "dashboardLink" }, { "destinationRefName": "link_7e482e5d-4b28-4b5d-ade6-14a02b857456_dashboard", "id": "7e482e5d-4b28-4b5d-ade6-14a02b857456", "label": "Services and Ports", "order": 7, "type": "dashboardLink" }, { "destinationRefName": "link_e70bac47-eed7-4315-9476-f0c4aea0f751_dashboard", "id": "e70bac47-eed7-4315-9476-f0c4aea0f751", "label": "Endpoint Protection", "order": 8, "type": "dashboardLink" } ], "title": "[TYCHON] Endpoint Browser - Links" }, "coreMigrationVersion": "8.8.0", "created_at": "2024-07-22T12:23:02.783Z", "id": "tychon-241090f0-4825-11ef-a2ca-3fa5cef19730", "managed": false, "references": [ { "id": "tychon-6165bf50-3dbf-11ee-9610-15dee918f31a-host", "name": "link_9b1bfc94-b1a8-4408-94e6-970733539e09_dashboard", "type": "dashboard" }, { "id": "tychon-1af57010-41b6-11ee-83e4-c92ed141b9e5-networkadapter", "name": "link_8372dc23-ad58-4a5c-a5a7-20b72976e410_dashboard", "type": "dashboard" }, { "id": "tychon-380b6c10-3dbd-11ee-9610-15dee918f31a-harddrive", "name": "link_980b12e9-c983-460a-96fb-daab62bba362_dashboard", "type": "dashboard" }, { "id": "tychon-2bd4ca50-3dfd-11ee-9610-15dee918f31a-softwareinventory", "name": "link_b05d24aa-a366-4913-92df-c9a771dba1e0_dashboard", "type": "dashboard" }, { "id": "tychon-993e07a0-3e02-11ee-9610-15dee918f31a-hardware", "name": "link_1aff4806-c629-413d-9192-a6dbf1d96b3f_dashboard", "type": "dashboard" }, { "id": "tychon-2de7a3c0-3e08-11ee-9610-15dee918f31a-cve", "name": "link_704abe2b-cb43-4dd5-b40c-da0238332cc4_dashboard", "type": "dashboard" }, { "id": "tychon-e1c9c490-41a5-11ee-83e4-c92ed141b9e5-stig", "name": "link_0134c81e-703f-4da0-8e4a-ff2fb5689e28_dashboard", "type": "dashboard" }, { "id": "tychon-0c036be0-3de5-11ee-9610-15dee918f31a-exposedservice", "name": "link_7e482e5d-4b28-4b5d-ade6-14a02b857456_dashboard", "type": "dashboard" }, { "id": "tychon-b85e87c0-41ab-11ee-83e4-c92ed141b9e5-epp", "name": "link_e70bac47-eed7-4315-9476-f0c4aea0f751_dashboard", "type": "dashboard" } ], "type": "links", "updated_at": "2024-07-22T12:23:58.213Z", "version": "WzIzNDY3LDRd" }
Oh ok, I see, and it does not work if you include these objects in dashboards?
IN the dashboard folder? i can try that one moment
If stored in the dashboard folder it does not install the links object to kibana
Ok, it is worth to take a look to this, thanks! I will move the issue to the package-spec repo, where we keep the discussions about supporting new things.
Are there any updates on this issue?
Are there any updates on this issue?
We have it in the backlog but we haven't started with it yet. We would be happy to help with a pull request if someone is interested on adding this 🙂
I am attempting to add a Links Kibana object to my project but the build process does not seem to support that type. Reading the spec document for the Kibana folder does not indicate where I could add that object type. Is there support for Links object in the current release, if so where does that .json file get placed in the project, and if not when will elastic-package support the links object type?