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

adding Alerting to SA workspace #1052

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"@elastic/elastic-eslint-config-kibana": "link:../../packages/opensearch-eslint-config-opensearch-dashboards",
"@elastic/eslint-import-resolver-kibana": "link:../../packages/osd-eslint-import-resolver-opensearch-dashboards",
"cypress": "9.5.4",
"husky": "^3.0.0",
"husky": "^8.0.0",
"lint-staged": "^10.2.0",
"@types/react": "^16.14.23"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

exports[`FormikSwitch renders 1`] = `
<div
class="euiSwitch euiSwitch--compressed"
class="euiSwitch euiSwitch--primary euiSwitch--compressed"
>
<button
aria-checked="false"
Expand Down
12 changes: 12 additions & 0 deletions public/plugin.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,13 @@ export class AlertingPlugin implements Plugin<void, AlertingStart, AlertingSetup
showInAllNavGroup: false
}
])
core.chrome.navGroup.addNavLinksToGroup(DEFAULT_NAV_GROUPS['security-analytics'], [
{
id: PLUGIN_NAME,
category: DEFAULT_APP_CATEGORIES.detect,
showInAllNavGroup: false
}
])

// channels route
core.application.register({
Expand Down Expand Up @@ -136,6 +143,11 @@ export class AlertingPlugin implements Plugin<void, AlertingStart, AlertingSetup
DEFAULT_NAV_GROUPS.observability,
navLinks
);

core.chrome.navGroup.addNavLinksToGroup(
DEFAULT_NAV_GROUPS['security-analytics'],
navLinks
);
}

setUISettings(core.uiSettings);
Expand Down
Loading
Loading