mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
## Summary
fixes https://github.com/elastic/kibana/issues/160337
This PR
- hides cases in the serverless Elasticsearch project, cases APIs throw
error
- throws 403 from API when `owner=cases` for security or observability
serverless mode
- verifies the behaviour in serverless functional as well as
api_integration tests
**How to test**
- Boot up `es` serverless solution and make sure that `cases` from the
navbar is hidden and cannot not be accessible through url as well
- Boot up `observability` or `security` serverless solutions and make
sure that `cases` is available in the navbar and works fine
- Boot up classic kibana and make sure that the left navbar has the same
menu entries it always had.
### Checklist
Delete any items that are not applicable to this PR.
- [x] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios
20c1974e
-44f0-45b0-80aa-e644fec148ff
### For maintainers
- [x] This was checked for breaking API changes and was [labeled
appropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)
---------
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
77 lines
2 KiB
JSON
77 lines
2 KiB
JSON
{
|
|
"extends": "../../../tsconfig.base.json",
|
|
"compilerOptions": {
|
|
"outDir": "target/types",
|
|
},
|
|
"include": [
|
|
"common/**/*",
|
|
"public/**/*",
|
|
"server/**/*",
|
|
"../../../typings/**/*"
|
|
],
|
|
"kbn_references": [
|
|
"@kbn/core",
|
|
|
|
// optionalPlugins from ./kibana.json
|
|
"@kbn/lens-plugin",
|
|
"@kbn/security-plugin",
|
|
"@kbn/spaces-plugin",
|
|
|
|
// Required from './kibana.json'
|
|
"@kbn/actions-plugin",
|
|
"@kbn/rule-registry-plugin",
|
|
"@kbn/triggers-actions-ui-plugin",
|
|
"@kbn/notifications-plugin",
|
|
"@kbn/es-ui-shared-plugin",
|
|
"@kbn/kibana-react-plugin",
|
|
"@kbn/kibana-utils-plugin",
|
|
"@kbn/i18n",
|
|
"@kbn/utility-types",
|
|
"@kbn/securitysolution-io-ts-utils",
|
|
"@kbn/cases-components",
|
|
"@kbn/es-query",
|
|
"@kbn/i18n-react",
|
|
"@kbn/management-plugin",
|
|
"@kbn/core-http-browser",
|
|
"@kbn/data-plugin",
|
|
"@kbn/embeddable-plugin",
|
|
"@kbn/home-plugin",
|
|
"@kbn/features-plugin",
|
|
"@kbn/licensing-plugin",
|
|
"@kbn/user-profile-components",
|
|
"@kbn/rule-data-utils",
|
|
"@kbn/ui-theme",
|
|
"@kbn/std",
|
|
"@kbn/test-jest-helpers",
|
|
"@kbn/config-schema",
|
|
"@kbn/task-manager-plugin",
|
|
"@kbn/usage-collection-plugin",
|
|
"@kbn/core-saved-objects-server",
|
|
"@kbn/core-saved-objects-common",
|
|
"@kbn/safer-lodash-set",
|
|
"@kbn/logging-mocks",
|
|
"@kbn/ecs",
|
|
"@kbn/core-saved-objects-api-server",
|
|
"@kbn/core-saved-objects-base-server-mocks",
|
|
"@kbn/core-saved-objects-utils-server",
|
|
"@kbn/shared-ux-router",
|
|
"@kbn/files-plugin",
|
|
"@kbn/shared-ux-file-types",
|
|
"@kbn/shared-ux-file-context",
|
|
"@kbn/shared-ux-file-upload",
|
|
"@kbn/shared-ux-file-mocks",
|
|
"@kbn/saved-objects-finder-plugin",
|
|
"@kbn/utility-types-jest",
|
|
"@kbn/ui-actions-plugin",
|
|
"@kbn/core-lifecycle-browser",
|
|
"@kbn/core-saved-objects-api-server-mocks",
|
|
"@kbn/core-theme-browser",
|
|
"@kbn/serverless",
|
|
"@kbn/core-http-server",
|
|
"@kbn/alerting-plugin",
|
|
"@kbn/content-management-plugin",
|
|
],
|
|
"exclude": [
|
|
"target/**/*",
|
|
]
|
|
}
|