Skip to content

Commit

Permalink
fix(slo): Access Cases from SLO details page (elastic#201834)
Browse files Browse the repository at this point in the history
  • Loading branch information
kdelemme authored Nov 27, 2024
1 parent a800360 commit 6fc08a3
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 14 deletions.
29 changes: 15 additions & 14 deletions x-pack/plugins/observability_solution/slo/kibana.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -21,40 +21,41 @@
"charts",
"dashboard",
"data",
"dataViews",
"discoverShared",
"lens",
"dataViewEditor",
"dataViewFieldEditor",
"dataViews",
"discoverShared",
"embeddable",
"features",
"fieldFormats",
"lens",
"licensing",
"observability",
"observabilityShared",
"presentationUtil",
"ruleRegistry",
"share",
"taskManager",
"triggersActionsUi",
"share",
"unifiedSearch",
"uiActions",
"embeddable",
"presentationUtil",
"features",
"licensing",
"usageCollection",
"unifiedSearch",
"usageCollection"
],
"optionalPlugins": [
"cloud",
"serverless",
"discover",
"observabilityAIAssistant",
"serverless",
"spaces",
"security"
],
"requiredBundles": [
"controls",
"embeddable",
"ingestPipelines",
"kibanaReact",
"kibanaUtils",
"unifiedSearch",
"embeddable",
"ingestPipelines"
"unifiedSearch"
]
}
}
3 changes: 3 additions & 0 deletions x-pack/plugins/observability_solution/slo/public/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ import type {
UsageCollectionSetup,
UsageCollectionStart,
} from '@kbn/usage-collection-plugin/public';
import { SecurityPluginSetup, SecurityPluginStart } from '@kbn/security-plugin-types-public';
import type { SLORouteRepository } from '../server/routes/get_slo_server_route_repository';
import { SLOPlugin } from './plugin';

Expand All @@ -65,6 +66,7 @@ export interface SLOPublicPluginsSetup {
triggersActionsUi: TriggersAndActionsUIPublicPluginSetup;
uiActions: UiActionsSetup;
usageCollection: UsageCollectionSetup;
security?: SecurityPluginSetup;
}

export interface SLOPublicPluginsStart {
Expand Down Expand Up @@ -94,6 +96,7 @@ export interface SLOPublicPluginsStart {
uiActions: UiActionsStart;
unifiedSearch: UnifiedSearchPublicPluginStart;
usageCollection: UsageCollectionStart;
security?: SecurityPluginStart;
}

export type SLOPublicSetup = ReturnType<SLOPlugin['setup']>;
Expand Down
1 change: 1 addition & 0 deletions x-pack/plugins/observability_solution/slo/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -99,5 +99,6 @@
"@kbn/observability-alerting-rule-utils",
"@kbn/discover-shared-plugin",
"@kbn/server-route-repository-client",
"@kbn/security-plugin-types-public",
]
}

0 comments on commit 6fc08a3

Please sign in to comment.