Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Security Solution] adds missing dependency fieldFormats in kibana.jsonc #160445

Merged
merged 4 commits into from
Jun 23, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
12 changes: 4 additions & 8 deletions x-pack/plugins/security_solution/kibana.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,7 @@
"id": "securitySolution",
"server": true,
"browser": true,
"configPath": [
"xpack",
"securitySolution"
],
"configPath": ["xpack", "securitySolution"],
"requiredPlugins": [
"actions",
"alerting",
Expand All @@ -25,6 +22,7 @@
"embeddable",
"eventLog",
"features",
"fieldFormats",
"guidedOnboarding",
"inspector",
"kubernetesSecurity",
Expand All @@ -43,7 +41,7 @@
"files",
"controls",
"savedObjectsManagement",
"stackConnectors",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

JSONC is the wild west with syntax, apparently 😅

"stackConnectors"
],
"optionalPlugins": [
"cloudExperiments",
Expand Down Expand Up @@ -71,8 +69,6 @@
"unifiedSearch",
"cloudChat"
],
"extraPublicDirs": [
"common"
]
"extraPublicDirs": ["common"]
}
}
9 changes: 9 additions & 0 deletions x-pack/plugins/security_solution/public/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,15 @@ export interface SetupPlugins {
ml?: MlPluginSetup;
}

/**
* IMPORTANT - PLEASE READ: When adding new plugins to the
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

* security solution, please ensure you add that plugin
* name to the kibana.jsonc file located in ../kibana.jsonc
*
* Without adding the plugin name there, the plugin will not
* fulfill at runtime, despite the types showing up correctly
* in the code.
*/
export interface StartPlugins {
cases: CasesUiStart;
data: DataPublicPluginStart;
Expand Down