mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
Sustainable Kibana Architecture: Move modules owned by @elastic/security-detection-engine
(#202844)
## Summary This PR aims at relocating some of the Kibana modules (plugins and packages) into a new folder structure, according to the _Sustainable Kibana Architecture_ initiative. > [!IMPORTANT] > * We kindly ask you to: > * Manually fix the errors in the error section below (if there are any). > * Search for the `packages[\/\\]` and `plugins[\/\\]` patterns in the source code (Babel and Eslint config files), and update them appropriately. > * Manually review `.buildkite/scripts/pipelines/pull_request/pipeline.ts` to ensure that any CI pipeline customizations continue to be correctly applied after the changed path names > * Review all of the updated files, specially the `.ts` and `.js` files listed in the sections below, as some of them contain relative paths that have been updated. > * Think of potential impact of the move, including tooling and configuration files that can be pointing to the relocated modules. E.g.: > * customised eslint rules > * docs pointing to source code > [!NOTE] > * This PR has been auto-generated. > * Any manual contributions will be lost if the 'relocate' script is re-run. > * Try to obtain the missing reviews / approvals before applying manual fixes, and/or keep your changes in a .patch / git stash. > * Please use [#sustainable_kibana_architecture](https://elastic.slack.com/archives/C07TCKTA22E) Slack channel for feedback. Are you trying to rebase this PR to solve merge conflicts? Please follow the steps describe [here](https://elastic.slack.com/archives/C07TCKTA22E/p1734019532879269?thread_ts=1734019339.935419&cid=C07TCKTA22E). #### 1 plugin(s) are going to be relocated: | Id | Target folder | | -- | ------------- | | `@kbn/lists-plugin` | `x-pack/solutions/security/plugins/lists` | #### 18 packages(s) are going to be relocated: | Id | Target folder | | -- | ------------- | | `@kbn/securitysolution-autocomplete` | `x-pack/solutions/security/packages/kbn-securitysolution-autocomplete` | | `@kbn/securitysolution-endpoint-exceptions-common` | `x-pack/solutions/security/packages/kbn-securitysolution-endpoint-exceptions-common` | | `@kbn/securitysolution-es-utils` | `src/platform/packages/shared/kbn-securitysolution-es-utils` | | `@kbn/securitysolution-exception-list-components` | `x-pack/solutions/security/packages/kbn-securitysolution-exception-list-components` | | `@kbn/securitysolution-exceptions-common` | `x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common` | | `@kbn/securitysolution-hook-utils` | `x-pack/solutions/security/packages/kbn-securitysolution-hook-utils` | | `@kbn/securitysolution-io-ts-alerting-types` | `x-pack/solutions/security/packages/kbn-securitysolution-io-ts-alerting-types` | | `@kbn/securitysolution-io-ts-list-types` | `x-pack/solutions/security/packages/kbn-securitysolution-io-ts-list-types` | | `@kbn/securitysolution-io-ts-types` | `src/platform/packages/shared/kbn-securitysolution-io-ts-types` | | `@kbn/securitysolution-io-ts-utils` | `src/platform/packages/shared/kbn-securitysolution-io-ts-utils` | | `@kbn/securitysolution-list-api` | `x-pack/solutions/security/packages/kbn-securitysolution-list-api` | | `@kbn/securitysolution-list-constants` | `x-pack/solutions/security/packages/kbn-securitysolution-list-constants` | | `@kbn/securitysolution-list-hooks` | `x-pack/solutions/security/packages/kbn-securitysolution-list-hooks` | | `@kbn/securitysolution-list-utils` | `x-pack/solutions/security/packages/kbn-securitysolution-list-utils` | | `@kbn/securitysolution-lists-common` | `x-pack/solutions/security/packages/kbn-securitysolution-lists-common` | | `@kbn/securitysolution-rules` | `src/platform/packages/shared/kbn-securitysolution-rules` | | `@kbn/securitysolution-t-grid` | `x-pack/solutions/security/packages/kbn-securitysolution-t-grid` | | `@kbn/securitysolution-utils` | `x-pack/solutions/security/packages/kbn-securitysolution-utils` | <details > <summary>Updated references</summary> ``` ./.buildkite/scripts/steps/code_generation/security_solution_codegen.sh ./.buildkite/scripts/steps/openapi_bundling/security_solution_openapi_bundling.sh ./.eslintrc.js ./.github/codeql/codeql-config.yml ./.i18nrc.json ./docs/developer/plugin-list.asciidoc ./oas_docs/scripts/merge_ess_oas.js ./oas_docs/scripts/merge_serverless_oas.js ./package.json ./packages/kbn-repo-packages/package-map.json ./packages/kbn-securitysolution-list-hooks/src/use_persist_exception_item/index.ts ./packages/kbn-synthetic-package-map/synthetic-packages.json ./packages/kbn-ts-projects/config-paths.json ./src/dev/storybook/aliases.ts ./src/platform/packages/shared/kbn-securitysolution-es-utils/jest.config.js ./src/platform/packages/shared/kbn-securitysolution-io-ts-types/jest.config.js ./src/platform/packages/shared/kbn-securitysolution-io-ts-utils/jest.config.js ./tsconfig.base.json ./tsconfig.base.type_check.json ./tsconfig.refs.json ./x-pack/.i18nrc.json ./x-pack/build/plugin/kibana/x-pack/.i18nrc.json ./x-pack/plugins/alerting/tsconfig.type_check.json ./x-pack/plugins/cases/tsconfig.type_check.json ./x-pack/plugins/observability_solution/observability/tsconfig.type_check.json ./x-pack/plugins/observability_solution/slo/tsconfig.type_check.json ./x-pack/plugins/observability_solution/synthetics/tsconfig.type_check.json ./x-pack/plugins/observability_solution/uptime/tsconfig.type_check.json ./x-pack/plugins/osquery/tsconfig.type_check.json ./x-pack/plugins/rule_registry/tsconfig.type_check.json ./x-pack/plugins/stack_connectors/tsconfig.type_check.json ./x-pack/solutions/observability/plugins/infra/tsconfig.type_check.json ./x-pack/solutions/security/packages/kbn-securitysolution-autocomplete/jest.config.js ./x-pack/solutions/security/packages/kbn-securitysolution-exception-list-components/jest.config.js ./x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/scripts/openapi_generate.js ./x-pack/solutions/security/packages/kbn-securitysolution-hook-utils/jest.config.js ./x-pack/solutions/security/packages/kbn-securitysolution-io-ts-alerting-types/jest.config.js ./x-pack/solutions/security/packages/kbn-securitysolution-io-ts-list-types/jest.config.js ./x-pack/solutions/security/packages/kbn-securitysolution-list-api/jest.config.js ./x-pack/solutions/security/packages/kbn-securitysolution-list-hooks/jest.config.js ./x-pack/solutions/security/packages/kbn-securitysolution-list-utils/jest.config.js ./x-pack/solutions/security/packages/kbn-securitysolution-lists-common/scripts/openapi_generate.js ./x-pack/solutions/security/packages/kbn-securitysolution-utils/jest.config.js ./x-pack/solutions/security/packages/security-solution/features/tsconfig.type_check.json ./x-pack/solutions/security/plugins/ecs_data_quality_dashboard/tsconfig.type_check.json ./x-pack/solutions/security/plugins/lists/README.md ./x-pack/solutions/security/plugins/lists/jest.config.js ./x-pack/solutions/security/plugins/lists/public/exceptions/components/builder/helpers.test.ts ./x-pack/solutions/security/plugins/lists/public/exceptions/hooks/persist_exception_item.test.ts ./x-pack/solutions/security/plugins/lists/public/exceptions/hooks/persist_exception_list.test.ts ./x-pack/solutions/security/plugins/lists/public/exceptions/hooks/use_api.test.ts ./x-pack/solutions/security/plugins/lists/public/exceptions/hooks/use_exception_lists.test.ts ./x-pack/solutions/security/plugins/lists/public/lists/hooks/use_create_list_index.test.ts ./x-pack/solutions/security/plugins/lists/public/lists/hooks/use_delete_list.test.ts ./x-pack/solutions/security/plugins/lists/public/lists/hooks/use_export_list.test.ts ./x-pack/solutions/security/plugins/lists/public/lists/hooks/use_import_list.test.ts ./x-pack/solutions/security/plugins/lists/public/lists/hooks/use_read_list_index.test.ts ./x-pack/solutions/security/plugins/lists/tsconfig.type_check.json ./x-pack/solutions/security/plugins/security_solution/docs/openapi/README.md ./x-pack/solutions/security/plugins/security_solution/server/lib/detection_engine/README.md ./x-pack/solutions/security/plugins/threat_intelligence/tsconfig.type_check.json ./x-pack/solutions/security/plugins/timelines/tsconfig.type_check.json ./x-pack/test/security_solution_api_integration/tsconfig.type_check.json ./x-pack/test/security_solution_cypress/cypress/tsconfig.type_check.json ./x-pack/test/security_solution_endpoint/tsconfig.type_check.json ./x-pack/test/tsconfig.type_check.json ./yarn.lock .github/CODEOWNERS ``` </details><details > <summary>Updated relative paths</summary> ``` src/platform/packages/shared/kbn-securitysolution-es-utils/jest.config.js:12 src/platform/packages/shared/kbn-securitysolution-es-utils/tsconfig.json:2 src/platform/packages/shared/kbn-securitysolution-es-utils/tsconfig.type_check.json:2 src/platform/packages/shared/kbn-securitysolution-io-ts-types/jest.config.js:12 src/platform/packages/shared/kbn-securitysolution-io-ts-types/tsconfig.json:2 src/platform/packages/shared/kbn-securitysolution-io-ts-types/tsconfig.type_check.json:2 src/platform/packages/shared/kbn-securitysolution-io-ts-utils/jest.config.js:12 src/platform/packages/shared/kbn-securitysolution-io-ts-utils/tsconfig.json:2 src/platform/packages/shared/kbn-securitysolution-io-ts-utils/tsconfig.type_check.json:2 src/platform/packages/shared/kbn-securitysolution-rules/tsconfig.json:2 src/platform/packages/shared/kbn-securitysolution-rules/tsconfig.type_check.json:2 x-pack/solutions/security/packages/kbn-securitysolution-autocomplete/jest.config.js:12 x-pack/solutions/security/packages/kbn-securitysolution-autocomplete/src/field_value_lists/index.test.tsx:28 x-pack/solutions/security/packages/kbn-securitysolution-autocomplete/src/field_value_match/index.tsx:25 x-pack/solutions/security/packages/kbn-securitysolution-autocomplete/src/field_value_match_any/index.tsx:17 x-pack/solutions/security/packages/kbn-securitysolution-autocomplete/src/field_value_wildcard/index.tsx:19 x-pack/solutions/security/packages/kbn-securitysolution-autocomplete/src/hooks/use_field_value_autocomplete/index.ts:16 x-pack/solutions/security/packages/kbn-securitysolution-autocomplete/src/list_schema/index.mock.ts:17 x-pack/solutions/security/packages/kbn-securitysolution-autocomplete/src/list_schema/index.mock.ts:44 x-pack/solutions/security/packages/kbn-securitysolution-autocomplete/tsconfig.json:2 x-pack/solutions/security/packages/kbn-securitysolution-autocomplete/tsconfig.type_check.json:2 x-pack/solutions/security/packages/kbn-securitysolution-endpoint-exceptions-common/api/create_endpoint_list/create_endpoint_list.schema.yaml:26 x-pack/solutions/security/packages/kbn-securitysolution-endpoint-exceptions-common/api/create_endpoint_list/create_endpoint_list.schema.yaml:27 x-pack/solutions/security/packages/kbn-securitysolution-endpoint-exceptions-common/api/create_endpoint_list/create_endpoint_list.schema.yaml:33 x-pack/solutions/security/packages/kbn-securitysolution-endpoint-exceptions-common/api/create_endpoint_list/create_endpoint_list.schema.yaml:39 x-pack/solutions/security/packages/kbn-securitysolution-endpoint-exceptions-common/api/create_endpoint_list/create_endpoint_list.schema.yaml:45 x-pack/solutions/security/packages/kbn-securitysolution-endpoint-exceptions-common/api/create_endpoint_list_item/create_endpoint_list_item.schema.yaml:22 x-pack/solutions/security/packages/kbn-securitysolution-endpoint-exceptions-common/api/create_endpoint_list_item/create_endpoint_list_item.schema.yaml:24 x-pack/solutions/security/packages/kbn-securitysolution-endpoint-exceptions-common/api/create_endpoint_list_item/create_endpoint_list_item.schema.yaml:26 x-pack/solutions/security/packages/kbn-securitysolution-endpoint-exceptions-common/api/create_endpoint_list_item/create_endpoint_list_item.schema.yaml:28 x-pack/solutions/security/packages/kbn-securitysolution-endpoint-exceptions-common/api/create_endpoint_list_item/create_endpoint_list_item.schema.yaml:30 x-pack/solutions/security/packages/kbn-securitysolution-endpoint-exceptions-common/api/create_endpoint_list_item/create_endpoint_list_item.schema.yaml:32 x-pack/solutions/security/packages/kbn-securitysolution-endpoint-exceptions-common/api/create_endpoint_list_item/create_endpoint_list_item.schema.yaml:35 x-pack/solutions/security/packages/kbn-securitysolution-endpoint-exceptions-common/api/create_endpoint_list_item/create_endpoint_list_item.schema.yaml:38 x-pack/solutions/security/packages/kbn-securitysolution-endpoint-exceptions-common/api/create_endpoint_list_item/create_endpoint_list_item.schema.yaml:40 x-pack/solutions/security/packages/kbn-securitysolution-endpoint-exceptions-common/api/create_endpoint_list_item/create_endpoint_list_item.schema.yaml:60 x-pack/solutions/security/packages/kbn-securitysolution-endpoint-exceptions-common/api/create_endpoint_list_item/create_endpoint_list_item.schema.yaml:61 x-pack/solutions/security/packages/kbn-securitysolution-endpoint-exceptions-common/api/create_endpoint_list_item/create_endpoint_list_item.schema.yaml:67 x-pack/solutions/security/packages/kbn-securitysolution-endpoint-exceptions-common/api/create_endpoint_list_item/create_endpoint_list_item.schema.yaml:73 x-pack/solutions/security/packages/kbn-securitysolution-endpoint-exceptions-common/api/create_endpoint_list_item/create_endpoint_list_item.schema.yaml:79 x-pack/solutions/security/packages/kbn-securitysolution-endpoint-exceptions-common/api/create_endpoint_list_item/create_endpoint_list_item.schema.yaml:85 x-pack/solutions/security/packages/kbn-securitysolution-endpoint-exceptions-common/api/delete_endpoint_list_item/delete_endpoint_list_item.schema.yaml:19 x-pack/solutions/security/packages/kbn-securitysolution-endpoint-exceptions-common/api/delete_endpoint_list_item/delete_endpoint_list_item.schema.yaml:25 x-pack/solutions/security/packages/kbn-securitysolution-endpoint-exceptions-common/api/delete_endpoint_list_item/delete_endpoint_list_item.schema.yaml:39 x-pack/solutions/security/packages/kbn-securitysolution-endpoint-exceptions-common/api/delete_endpoint_list_item/delete_endpoint_list_item.schema.yaml:40 x-pack/solutions/security/packages/kbn-securitysolution-endpoint-exceptions-common/api/delete_endpoint_list_item/delete_endpoint_list_item.schema.yaml:46 x-pack/solutions/security/packages/kbn-securitysolution-endpoint-exceptions-common/api/delete_endpoint_list_item/delete_endpoint_list_item.schema.yaml:52 x-pack/solutions/security/packages/kbn-securitysolution-endpoint-exceptions-common/api/delete_endpoint_list_item/delete_endpoint_list_item.schema.yaml:58 x-pack/solutions/security/packages/kbn-securitysolution-endpoint-exceptions-common/api/delete_endpoint_list_item/delete_endpoint_list_item.schema.yaml:64 x-pack/solutions/security/packages/kbn-securitysolution-endpoint-exceptions-common/api/find_endpoint_list_item/find_endpoint_list_item.schema.yaml:102 x-pack/solutions/security/packages/kbn-securitysolution-endpoint-exceptions-common/api/find_endpoint_list_item/find_endpoint_list_item.schema.yaml:108 x-pack/solutions/security/packages/kbn-securitysolution-endpoint-exceptions-common/api/find_endpoint_list_item/find_endpoint_list_item.schema.yaml:113 x-pack/solutions/security/packages/kbn-securitysolution-endpoint-exceptions-common/api/find_endpoint_list_item/find_endpoint_list_item.schema.yaml:41 x-pack/solutions/security/packages/kbn-securitysolution-endpoint-exceptions-common/api/find_endpoint_list_item/find_endpoint_list_item.schema.yaml:83 x-pack/solutions/security/packages/kbn-securitysolution-endpoint-exceptions-common/api/find_endpoint_list_item/find_endpoint_list_item.schema.yaml:84 x-pack/solutions/security/packages/kbn-securitysolution-endpoint-exceptions-common/api/find_endpoint_list_item/find_endpoint_list_item.schema.yaml:90 x-pack/solutions/security/packages/kbn-securitysolution-endpoint-exceptions-common/api/find_endpoint_list_item/find_endpoint_list_item.schema.yaml:96 x-pack/solutions/security/packages/kbn-securitysolution-endpoint-exceptions-common/api/model/endpoint_list_common.schema.yaml:11 x-pack/solutions/security/packages/kbn-securitysolution-endpoint-exceptions-common/api/model/endpoint_list_common.schema.yaml:16 x-pack/solutions/security/packages/kbn-securitysolution-endpoint-exceptions-common/api/read_endpoint_list_item/read_endpoint_list_item.schema.yaml:19 x-pack/solutions/security/packages/kbn-securitysolution-endpoint-exceptions-common/api/read_endpoint_list_item/read_endpoint_list_item.schema.yaml:25 x-pack/solutions/security/packages/kbn-securitysolution-endpoint-exceptions-common/api/read_endpoint_list_item/read_endpoint_list_item.schema.yaml:41 x-pack/solutions/security/packages/kbn-securitysolution-endpoint-exceptions-common/api/read_endpoint_list_item/read_endpoint_list_item.schema.yaml:42 x-pack/solutions/security/packages/kbn-securitysolution-endpoint-exceptions-common/api/read_endpoint_list_item/read_endpoint_list_item.schema.yaml:48 x-pack/solutions/security/packages/kbn-securitysolution-endpoint-exceptions-common/api/read_endpoint_list_item/read_endpoint_list_item.schema.yaml:54 x-pack/solutions/security/packages/kbn-securitysolution-endpoint-exceptions-common/api/read_endpoint_list_item/read_endpoint_list_item.schema.yaml:60 x-pack/solutions/security/packages/kbn-securitysolution-endpoint-exceptions-common/api/read_endpoint_list_item/read_endpoint_list_item.schema.yaml:66 x-pack/solutions/security/packages/kbn-securitysolution-endpoint-exceptions-common/api/update_endpoint_list_item/update_endpoint_list_item.schema.yaml:22 x-pack/solutions/security/packages/kbn-securitysolution-endpoint-exceptions-common/api/update_endpoint_list_item/update_endpoint_list_item.schema.yaml:25 x-pack/solutions/security/packages/kbn-securitysolution-endpoint-exceptions-common/api/update_endpoint_list_item/update_endpoint_list_item.schema.yaml:28 x-pack/solutions/security/packages/kbn-securitysolution-endpoint-exceptions-common/api/update_endpoint_list_item/update_endpoint_list_item.schema.yaml:30 x-pack/solutions/security/packages/kbn-securitysolution-endpoint-exceptions-common/api/update_endpoint_list_item/update_endpoint_list_item.schema.yaml:32 x-pack/solutions/security/packages/kbn-securitysolution-endpoint-exceptions-common/api/update_endpoint_list_item/update_endpoint_list_item.schema.yaml:34 x-pack/solutions/security/packages/kbn-securitysolution-endpoint-exceptions-common/api/update_endpoint_list_item/update_endpoint_list_item.schema.yaml:36 x-pack/solutions/security/packages/kbn-securitysolution-endpoint-exceptions-common/api/update_endpoint_list_item/update_endpoint_list_item.schema.yaml:39 x-pack/solutions/security/packages/kbn-securitysolution-endpoint-exceptions-common/api/update_endpoint_list_item/update_endpoint_list_item.schema.yaml:41 x-pack/solutions/security/packages/kbn-securitysolution-endpoint-exceptions-common/api/update_endpoint_list_item/update_endpoint_list_item.schema.yaml:43 x-pack/solutions/security/packages/kbn-securitysolution-endpoint-exceptions-common/api/update_endpoint_list_item/update_endpoint_list_item.schema.yaml:65 x-pack/solutions/security/packages/kbn-securitysolution-endpoint-exceptions-common/api/update_endpoint_list_item/update_endpoint_list_item.schema.yaml:66 x-pack/solutions/security/packages/kbn-securitysolution-endpoint-exceptions-common/api/update_endpoint_list_item/update_endpoint_list_item.schema.yaml:72 x-pack/solutions/security/packages/kbn-securitysolution-endpoint-exceptions-common/api/update_endpoint_list_item/update_endpoint_list_item.schema.yaml:78 x-pack/solutions/security/packages/kbn-securitysolution-endpoint-exceptions-common/api/update_endpoint_list_item/update_endpoint_list_item.schema.yaml:84 x-pack/solutions/security/packages/kbn-securitysolution-endpoint-exceptions-common/api/update_endpoint_list_item/update_endpoint_list_item.schema.yaml:90 x-pack/solutions/security/packages/kbn-securitysolution-endpoint-exceptions-common/scripts/openapi_bundle.js:10 x-pack/solutions/security/packages/kbn-securitysolution-endpoint-exceptions-common/scripts/openapi_generate.js:10 x-pack/solutions/security/packages/kbn-securitysolution-endpoint-exceptions-common/tsconfig.json:7 x-pack/solutions/security/packages/kbn-securitysolution-endpoint-exceptions-common/tsconfig.type_check.json:14 x-pack/solutions/security/packages/kbn-securitysolution-exception-list-components/jest.config.js:12 x-pack/solutions/security/packages/kbn-securitysolution-exception-list-components/tsconfig.json:2 x-pack/solutions/security/packages/kbn-securitysolution-exception-list-components/tsconfig.type_check.json:2 x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/create_exception_list/create_exception_list.schema.yaml:62 x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/create_exception_list/create_exception_list.schema.yaml:63 x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/create_exception_list/create_exception_list.schema.yaml:69 x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/create_exception_list/create_exception_list.schema.yaml:75 x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/create_exception_list/create_exception_list.schema.yaml:81 x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/create_exception_list/create_exception_list.schema.yaml:87 x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/create_exception_list_item/create_exception_list_item.schema.yaml:106 x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/create_exception_list_item/create_exception_list_item.schema.yaml:72 x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/create_exception_list_item/create_exception_list_item.schema.yaml:73 x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/create_exception_list_item/create_exception_list_item.schema.yaml:79 x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/create_exception_list_item/create_exception_list_item.schema.yaml:85 x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/create_exception_list_item/create_exception_list_item.schema.yaml:91 x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/create_exception_list_item/create_exception_list_item.schema.yaml:97 x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/create_rule_exceptions/create_rule_exceptions.schema.yaml:48 x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/create_rule_exceptions/create_rule_exceptions.schema.yaml:49 x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/create_rule_exceptions/create_rule_exceptions.schema.yaml:55 x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/create_rule_exceptions/create_rule_exceptions.schema.yaml:61 x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/create_rule_exceptions/create_rule_exceptions.schema.yaml:67 x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/create_rule_exceptions/create_rule_exceptions.schema.yaml:72 x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/create_rule_exceptions/create_rule_exceptions.schema.yaml:78 x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/create_shared_exceptions_list/create_shared_exceptions_list.schema.yaml:43 x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/create_shared_exceptions_list/create_shared_exceptions_list.schema.yaml:44 x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/create_shared_exceptions_list/create_shared_exceptions_list.schema.yaml:50 x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/create_shared_exceptions_list/create_shared_exceptions_list.schema.yaml:56 x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/create_shared_exceptions_list/create_shared_exceptions_list.schema.yaml:62 x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/create_shared_exceptions_list/create_shared_exceptions_list.schema.yaml:68 x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/delete_exception_list/delete_exception_list.schema.yaml:45 x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/delete_exception_list/delete_exception_list.schema.yaml:46 x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/delete_exception_list/delete_exception_list.schema.yaml:52 x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/delete_exception_list/delete_exception_list.schema.yaml:58 x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/delete_exception_list/delete_exception_list.schema.yaml:64 x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/delete_exception_list/delete_exception_list.schema.yaml:70 x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/delete_exception_list_item/delete_exception_list_item.schema.yaml:45 x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/delete_exception_list_item/delete_exception_list_item.schema.yaml:46 x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/delete_exception_list_item/delete_exception_list_item.schema.yaml:52 x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/delete_exception_list_item/delete_exception_list_item.schema.yaml:58 x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/delete_exception_list_item/delete_exception_list_item.schema.yaml:64 x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/delete_exception_list_item/delete_exception_list_item.schema.yaml:70 x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/duplicate_exception_list/duplicate_exception_list.schema.yaml:46 x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/duplicate_exception_list/duplicate_exception_list.schema.yaml:47 x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/duplicate_exception_list/duplicate_exception_list.schema.yaml:53 x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/duplicate_exception_list/duplicate_exception_list.schema.yaml:59 x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/duplicate_exception_list/duplicate_exception_list.schema.yaml:65 x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/duplicate_exception_list/duplicate_exception_list.schema.yaml:71 x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/export_exception_list/export_exception_list.schema.yaml:54 x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/export_exception_list/export_exception_list.schema.yaml:55 x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/export_exception_list/export_exception_list.schema.yaml:61 x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/export_exception_list/export_exception_list.schema.yaml:67 x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/export_exception_list/export_exception_list.schema.yaml:73 x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/export_exception_list/export_exception_list.schema.yaml:79 x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/find_exception_list_items/find_exception_list_items.schema.yaml:110 x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/find_exception_list_items/find_exception_list_items.schema.yaml:111 x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/find_exception_list_items/find_exception_list_items.schema.yaml:117 x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/find_exception_list_items/find_exception_list_items.schema.yaml:123 x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/find_exception_list_items/find_exception_list_items.schema.yaml:129 x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/find_exception_list_items/find_exception_list_items.schema.yaml:135 x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/find_exception_list_items/find_exception_list_items.schema.yaml:140 x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/find_exception_list_items/find_exception_list_items.schema.yaml:68 x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/find_exception_lists/find_exception_lists.schema.yaml:103 x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/find_exception_lists/find_exception_lists.schema.yaml:109 x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/find_exception_lists/find_exception_lists.schema.yaml:115 x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/find_exception_lists/find_exception_lists.schema.yaml:96 x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/find_exception_lists/find_exception_lists.schema.yaml:97 x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/import_exceptions/import_exceptions.schema.yaml:102 x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/import_exceptions/import_exceptions.schema.yaml:108 x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/import_exceptions/import_exceptions.schema.yaml:114 x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/import_exceptions/import_exceptions.schema.yaml:95 x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/import_exceptions/import_exceptions.schema.yaml:96 x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/model/exception_list_common.schema.yaml:10 x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/model/exception_list_common.schema.yaml:125 x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/model/exception_list_common.schema.yaml:128 x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/model/exception_list_common.schema.yaml:13 x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/model/exception_list_common.schema.yaml:135 x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/model/exception_list_common.schema.yaml:147 x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/model/exception_list_common.schema.yaml:165 x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/model/exception_list_common.schema.yaml:167 x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/model/exception_list_common.schema.yaml:172 x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/model/exception_list_common.schema.yaml:177 x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/model/exception_list_common.schema.yaml:281 x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/model/exception_list_item_entry.schema.yaml:104 x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/model/exception_list_item_entry.schema.yaml:122 x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/model/exception_list_item_entry.schema.yaml:124 x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/model/exception_list_item_entry.schema.yaml:20 x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/model/exception_list_item_entry.schema.yaml:22 x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/model/exception_list_item_entry.schema.yaml:38 x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/model/exception_list_item_entry.schema.yaml:42 x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/model/exception_list_item_entry.schema.yaml:59 x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/model/exception_list_item_entry.schema.yaml:64 x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/model/exception_list_item_entry.schema.yaml:66 x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/model/exception_list_item_entry.schema.yaml:83 x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/read_exception_list/read_exception_list.schema.yaml:45 x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/read_exception_list/read_exception_list.schema.yaml:46 x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/read_exception_list/read_exception_list.schema.yaml:52 x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/read_exception_list/read_exception_list.schema.yaml:58 x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/read_exception_list/read_exception_list.schema.yaml:64 x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/read_exception_list/read_exception_list.schema.yaml:70 x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/read_exception_list_item/read_exception_list_item.schema.yaml:45 x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/read_exception_list_item/read_exception_list_item.schema.yaml:46 x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/read_exception_list_item/read_exception_list_item.schema.yaml:52 x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/read_exception_list_item/read_exception_list_item.schema.yaml:58 x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/read_exception_list_item/read_exception_list_item.schema.yaml:64 x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/read_exception_list_item/read_exception_list_item.schema.yaml:70 x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/read_exception_list_summary/read_exception_list_summary.schema.yaml:64 x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/read_exception_list_summary/read_exception_list_summary.schema.yaml:65 x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/read_exception_list_summary/read_exception_list_summary.schema.yaml:71 x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/read_exception_list_summary/read_exception_list_summary.schema.yaml:77 x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/read_exception_list_summary/read_exception_list_summary.schema.yaml:83 x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/read_exception_list_summary/read_exception_list_summary.schema.yaml:89 x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/update_exception_list/update_exception_list.schema.yaml:62 x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/update_exception_list/update_exception_list.schema.yaml:63 x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/update_exception_list/update_exception_list.schema.yaml:69 x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/update_exception_list/update_exception_list.schema.yaml:75 x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/update_exception_list/update_exception_list.schema.yaml:81 x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/update_exception_list/update_exception_list.schema.yaml:87 x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/update_exception_list_item/update_exception_list_item.schema.yaml:107 x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/update_exception_list_item/update_exception_list_item.schema.yaml:109 x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/update_exception_list_item/update_exception_list_item.schema.yaml:73 x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/update_exception_list_item/update_exception_list_item.schema.yaml:74 x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/update_exception_list_item/update_exception_list_item.schema.yaml:80 x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/update_exception_list_item/update_exception_list_item.schema.yaml:86 x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/update_exception_list_item/update_exception_list_item.schema.yaml:92 x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/api/update_exception_list_item/update_exception_list_item.schema.yaml:98 x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/scripts/openapi_bundle.js:10 x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/scripts/openapi_generate.js:10 x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/tsconfig.json:7 x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/tsconfig.type_check.json:14 x-pack/solutions/security/packages/kbn-securitysolution-hook-utils/jest.config.js:12 x-pack/solutions/security/packages/kbn-securitysolution-hook-utils/tsconfig.json:2 x-pack/solutions/security/packages/kbn-securitysolution-hook-utils/tsconfig.type_check.json:2 x-pack/solutions/security/packages/kbn-securitysolution-io-ts-alerting-types/jest.config.js:12 x-pack/solutions/security/packages/kbn-securitysolution-io-ts-alerting-types/tsconfig.json:2 x-pack/solutions/security/packages/kbn-securitysolution-io-ts-alerting-types/tsconfig.type_check.json:2 x-pack/solutions/security/packages/kbn-securitysolution-io-ts-list-types/jest.config.js:12 x-pack/solutions/security/packages/kbn-securitysolution-io-ts-list-types/tsconfig.json:2 x-pack/solutions/security/packages/kbn-securitysolution-io-ts-list-types/tsconfig.type_check.json:2 x-pack/solutions/security/packages/kbn-securitysolution-list-api/jest.config.js:12 x-pack/solutions/security/packages/kbn-securitysolution-list-api/src/types.ts:20 x-pack/solutions/security/packages/kbn-securitysolution-list-api/tsconfig.json:2 x-pack/solutions/security/packages/kbn-securitysolution-list-api/tsconfig.type_check.json:2 x-pack/solutions/security/packages/kbn-securitysolution-list-constants/tsconfig.json:2 x-pack/solutions/security/packages/kbn-securitysolution-list-constants/tsconfig.type_check.json:2 x-pack/solutions/security/packages/kbn-securitysolution-list-hooks/jest.config.js:12 x-pack/solutions/security/packages/kbn-securitysolution-list-hooks/tsconfig.json:2 x-pack/solutions/security/packages/kbn-securitysolution-list-hooks/tsconfig.type_check.json:2 x-pack/solutions/security/packages/kbn-securitysolution-list-utils/jest.config.js:12 x-pack/solutions/security/packages/kbn-securitysolution-list-utils/tsconfig.json:2 x-pack/solutions/security/packages/kbn-securitysolution-list-utils/tsconfig.type_check.json:2 x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/create_list/create_list.schema.yaml:56 x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/create_list/create_list.schema.yaml:57 x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/create_list/create_list.schema.yaml:63 x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/create_list/create_list.schema.yaml:69 x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/create_list/create_list.schema.yaml:75 x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/create_list/create_list.schema.yaml:81 x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/create_list_index/create_list_index.schema.yaml:30 x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/create_list_index/create_list_index.schema.yaml:31 x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/create_list_index/create_list_index.schema.yaml:37 x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/create_list_index/create_list_index.schema.yaml:43 x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/create_list_index/create_list_index.schema.yaml:49 x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/create_list_index/create_list_index.schema.yaml:55 x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/create_list_item/create_list_item.schema.yaml:57 x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/create_list_item/create_list_item.schema.yaml:58 x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/create_list_item/create_list_item.schema.yaml:64 x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/create_list_item/create_list_item.schema.yaml:70 x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/create_list_item/create_list_item.schema.yaml:76 x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/create_list_item/create_list_item.schema.yaml:82 x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/delete_list/delete_list.schema.yaml:48 x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/delete_list/delete_list.schema.yaml:49 x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/delete_list/delete_list.schema.yaml:55 x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/delete_list/delete_list.schema.yaml:61 x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/delete_list/delete_list.schema.yaml:67 x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/delete_list/delete_list.schema.yaml:73 x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/delete_list_index/delete_list_index.schema.yaml:30 x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/delete_list_index/delete_list_index.schema.yaml:31 x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/delete_list_index/delete_list_index.schema.yaml:37 x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/delete_list_index/delete_list_index.schema.yaml:43 x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/delete_list_index/delete_list_index.schema.yaml:49 x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/delete_list_index/delete_list_index.schema.yaml:55 x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/delete_list_item/delete_list_item.schema.yaml:57 x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/delete_list_item/delete_list_item.schema.yaml:58 x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/delete_list_item/delete_list_item.schema.yaml:64 x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/delete_list_item/delete_list_item.schema.yaml:70 x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/delete_list_item/delete_list_item.schema.yaml:76 x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/delete_list_item/delete_list_item.schema.yaml:82 x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/export_list_items/export_list_items.schema.yaml:35 x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/export_list_items/export_list_items.schema.yaml:36 x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/export_list_items/export_list_items.schema.yaml:42 x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/export_list_items/export_list_items.schema.yaml:48 x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/export_list_items/export_list_items.schema.yaml:54 x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/export_list_items/export_list_items.schema.yaml:60 x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/find_list_items/find_list_items.schema.yaml:104 x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/find_list_items/find_list_items.schema.yaml:110 x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/find_list_items/find_list_items.schema.yaml:116 x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/find_list_items/find_list_items.schema.yaml:121 x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/find_list_items/find_list_items.schema.yaml:37 x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/find_list_items/find_list_items.schema.yaml:97 x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/find_list_items/find_list_items.schema.yaml:98 x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/find_lists/find_lists.schema.yaml:104 x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/find_lists/find_lists.schema.yaml:110 x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/find_lists/find_lists.schema.yaml:115 x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/find_lists/find_lists.schema.yaml:31 x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/find_lists/find_lists.schema.yaml:91 x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/find_lists/find_lists.schema.yaml:92 x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/find_lists/find_lists.schema.yaml:98 x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/import_list_items/import_list_items.schema.yaml:101 x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/import_list_items/import_list_items.schema.yaml:76 x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/import_list_items/import_list_items.schema.yaml:77 x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/import_list_items/import_list_items.schema.yaml:83 x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/import_list_items/import_list_items.schema.yaml:89 x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/import_list_items/import_list_items.schema.yaml:95 x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/model/list_common.schema.yaml:39 x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/model/list_common.schema.yaml:42 x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/model/list_common.schema.yaml:49 x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/model/list_common.schema.yaml:52 x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/model/list_common.schema.yaml:55 x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/model/list_common.schema.yaml:9 x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/patch_list/patch_list.schema.yaml:49 x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/patch_list/patch_list.schema.yaml:50 x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/patch_list/patch_list.schema.yaml:56 x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/patch_list/patch_list.schema.yaml:62 x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/patch_list/patch_list.schema.yaml:68 x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/patch_list/patch_list.schema.yaml:74 x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/patch_list_item/patch_list_item.schema.yaml:51 x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/patch_list_item/patch_list_item.schema.yaml:52 x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/patch_list_item/patch_list_item.schema.yaml:58 x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/patch_list_item/patch_list_item.schema.yaml:64 x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/patch_list_item/patch_list_item.schema.yaml:70 x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/patch_list_item/patch_list_item.schema.yaml:76 x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/read_list/read_list.schema.yaml:33 x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/read_list/read_list.schema.yaml:34 x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/read_list/read_list.schema.yaml:40 x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/read_list/read_list.schema.yaml:46 x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/read_list/read_list.schema.yaml:52 x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/read_list/read_list.schema.yaml:58 x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/read_list_index/read_list_index.schema.yaml:32 x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/read_list_index/read_list_index.schema.yaml:33 x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/read_list_index/read_list_index.schema.yaml:39 x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/read_list_index/read_list_index.schema.yaml:45 x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/read_list_index/read_list_index.schema.yaml:51 x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/read_list_index/read_list_index.schema.yaml:57 x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/read_list_item/read_list_item.schema.yaml:49 x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/read_list_item/read_list_item.schema.yaml:50 x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/read_list_item/read_list_item.schema.yaml:56 x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/read_list_item/read_list_item.schema.yaml:62 x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/read_list_item/read_list_item.schema.yaml:68 x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/read_list_item/read_list_item.schema.yaml:74 x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/read_list_privileges/read_list_privileges.schema.yaml:36 x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/read_list_privileges/read_list_privileges.schema.yaml:37 x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/read_list_privileges/read_list_privileges.schema.yaml:43 x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/read_list_privileges/read_list_privileges.schema.yaml:49 x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/read_list_privileges/read_list_privileges.schema.yaml:55 x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/update_list/update_list.schema.yaml:54 x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/update_list/update_list.schema.yaml:55 x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/update_list/update_list.schema.yaml:61 x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/update_list/update_list.schema.yaml:67 x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/update_list/update_list.schema.yaml:73 x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/update_list/update_list.schema.yaml:79 x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/update_list_item/update_list_item.schema.yaml:48 x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/update_list_item/update_list_item.schema.yaml:49 x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/update_list_item/update_list_item.schema.yaml:55 x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/update_list_item/update_list_item.schema.yaml:61 x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/update_list_item/update_list_item.schema.yaml:67 x-pack/solutions/security/packages/kbn-securitysolution-lists-common/api/update_list_item/update_list_item.schema.yaml:73 x-pack/solutions/security/packages/kbn-securitysolution-lists-common/scripts/openapi_bundle.js:10 x-pack/solutions/security/packages/kbn-securitysolution-lists-common/scripts/openapi_generate.js:10 x-pack/solutions/security/packages/kbn-securitysolution-lists-common/tsconfig.json:7 x-pack/solutions/security/packages/kbn-securitysolution-lists-common/tsconfig.type_check.json:14 x-pack/solutions/security/packages/kbn-securitysolution-t-grid/tsconfig.json:2 x-pack/solutions/security/packages/kbn-securitysolution-t-grid/tsconfig.type_check.json:2 x-pack/solutions/security/packages/kbn-securitysolution-utils/jest.config.js:12 x-pack/solutions/security/packages/kbn-securitysolution-utils/tsconfig.json:2 x-pack/solutions/security/packages/kbn-securitysolution-utils/tsconfig.type_check.json:2 x-pack/solutions/security/plugins/lists/jest.config.js:13 x-pack/solutions/security/plugins/lists/tsconfig.json:2 x-pack/solutions/security/plugins/lists/tsconfig.type_check.json:100 x-pack/solutions/security/plugins/lists/tsconfig.type_check.json:103 x-pack/solutions/security/plugins/lists/tsconfig.type_check.json:106 x-pack/solutions/security/plugins/lists/tsconfig.type_check.json:109 x-pack/solutions/security/plugins/lists/tsconfig.type_check.json:112 x-pack/solutions/security/plugins/lists/tsconfig.type_check.json:19 x-pack/solutions/security/plugins/lists/tsconfig.type_check.json:2 x-pack/solutions/security/plugins/lists/tsconfig.type_check.json:28 x-pack/solutions/security/plugins/lists/tsconfig.type_check.json:31 x-pack/solutions/security/plugins/lists/tsconfig.type_check.json:34 x-pack/solutions/security/plugins/lists/tsconfig.type_check.json:37 x-pack/solutions/security/plugins/lists/tsconfig.type_check.json:40 x-pack/solutions/security/plugins/lists/tsconfig.type_check.json:43 x-pack/solutions/security/plugins/lists/tsconfig.type_check.json:46 x-pack/solutions/security/plugins/lists/tsconfig.type_check.json:49 x-pack/solutions/security/plugins/lists/tsconfig.type_check.json:52 x-pack/solutions/security/plugins/lists/tsconfig.type_check.json:55 x-pack/solutions/security/plugins/lists/tsconfig.type_check.json:58 x-pack/solutions/security/plugins/lists/tsconfig.type_check.json:61 x-pack/solutions/security/plugins/lists/tsconfig.type_check.json:64 x-pack/solutions/security/plugins/lists/tsconfig.type_check.json:67 x-pack/solutions/security/plugins/lists/tsconfig.type_check.json:70 x-pack/solutions/security/plugins/lists/tsconfig.type_check.json:73 x-pack/solutions/security/plugins/lists/tsconfig.type_check.json:76 x-pack/solutions/security/plugins/lists/tsconfig.type_check.json:79 x-pack/solutions/security/plugins/lists/tsconfig.type_check.json:82 x-pack/solutions/security/plugins/lists/tsconfig.type_check.json:85 x-pack/solutions/security/plugins/lists/tsconfig.type_check.json:88 x-pack/solutions/security/plugins/lists/tsconfig.type_check.json:91 x-pack/solutions/security/plugins/lists/tsconfig.type_check.json:94 x-pack/solutions/security/plugins/lists/tsconfig.type_check.json:97 ``` </details> --------- Co-authored-by: Marshall Main <marshall.main@elastic.co>
This commit is contained in:
parent
42f94e2b21
commit
bb1b5afb03
1505 changed files with 3293 additions and 4494 deletions
|
@ -250,7 +250,7 @@ const getPipeline = (filename: string, removeSteps = true) => {
|
|||
/^packages\/kbn-securitysolution-.*/,
|
||||
/^x-pack\/plugins\/alerting/,
|
||||
/^x-pack\/plugins\/data_views\/common/,
|
||||
/^x-pack\/plugins\/lists/,
|
||||
/^x-pack\/solutions\/security\/plugins\/lists/,
|
||||
/^x-pack\/plugins\/rule_registry\/common/,
|
||||
/^x-pack\/solutions\/security\/plugins\/security_solution/,
|
||||
/^x-pack\/solutions\/security\/plugins\/security_solution_ess/,
|
||||
|
@ -306,10 +306,10 @@ const getPipeline = (filename: string, removeSteps = true) => {
|
|||
/^packages\/kbn-search-types/,
|
||||
/^packages\/kbn-securitysolution-.*/,
|
||||
/^src\/platform\/packages\/shared\/kbn-securitysolution-ecs/,
|
||||
/^packages\/kbn-securitysolution-io-ts-alerting-types/,
|
||||
/^packages\/kbn-securitysolution-io-ts-list-types/,
|
||||
/^packages\/kbn-securitysolution-list-hooks/,
|
||||
/^packages\/kbn-securitysolution-t-grid/,
|
||||
/^x-pack\/solutions\/security\/packages\/kbn-securitysolution-io-ts-alerting-types/,
|
||||
/^x-pack\/solutions\/security\/packages\/kbn-securitysolution-io-ts-list-types/,
|
||||
/^x-pack\/solutions\/security\/packages\/kbn-securitysolution-list-hooks/,
|
||||
/^x-pack\/solutions\/security\/packages\/kbn-securitysolution-t-grid/,
|
||||
/^packages\/kbn-ui-theme/,
|
||||
/^packages\/kbn-utility-types/,
|
||||
/^packages\/react/,
|
||||
|
@ -335,7 +335,7 @@ const getPipeline = (filename: string, removeSteps = true) => {
|
|||
/^x-pack\/plugins\/cases/,
|
||||
/^x-pack\/plugins\/data_views\/common/,
|
||||
/^x-pack\/solutions\/security\/plugins\/elastic_assistant/,
|
||||
/^x-pack\/plugins\/lists/,
|
||||
/^x-pack\/solutions\/security\/plugins\/lists/,
|
||||
/^x-pack\/plugins\/rule_registry\/common/,
|
||||
/^x-pack\/solutions\/security\/plugins\/security_solution/,
|
||||
/^x-pack\/solutions\/security\/plugins\/security_solution_ess/,
|
||||
|
|
|
@ -10,13 +10,13 @@ echo -e "\n[Security Solution OpenAPI Code Generation] OpenAPI Common Package\n"
|
|||
(cd packages/kbn-openapi-common && yarn openapi:generate)
|
||||
|
||||
echo -e "\n[Security Solution OpenAPI Code Generation] Lists Common Package\n"
|
||||
(cd packages/kbn-securitysolution-lists-common && yarn openapi:generate)
|
||||
(cd x-pack/solutions/security/packages/kbn-securitysolution-lists-common && yarn openapi:generate)
|
||||
|
||||
echo -e "\n[Security Solution OpenAPI Code Generation] Exceptions Common Package\n"
|
||||
(cd packages/kbn-securitysolution-exceptions-common && yarn openapi:generate)
|
||||
(cd x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common && yarn openapi:generate)
|
||||
|
||||
echo -e "\n[Security Solution OpenAPI Code Generation] Endpoint Exceptions Common Package\n"
|
||||
(cd packages/kbn-securitysolution-endpoint-exceptions-common && yarn openapi:generate)
|
||||
(cd x-pack/solutions/security/packages/kbn-securitysolution-endpoint-exceptions-common && yarn openapi:generate)
|
||||
|
||||
echo -e "\n[Security Solution OpenAPI Code Generation] Security Solution Plugin\n"
|
||||
(cd x-pack/solutions/security/plugins/security_solution && yarn openapi:generate)
|
||||
|
|
|
@ -16,13 +16,13 @@ echo -e "\n[Security Solution OpenAPI Bundling] Entity Analytics API\n"
|
|||
(cd x-pack/solutions/security/plugins/security_solution && yarn openapi:bundle:entity-analytics)
|
||||
|
||||
echo -e "\n[Security Solution OpenAPI Bundling] Lists API\n"
|
||||
(cd packages/kbn-securitysolution-lists-common && yarn openapi:bundle)
|
||||
(cd x-pack/solutions/security/packages/kbn-securitysolution-lists-common && yarn openapi:bundle)
|
||||
|
||||
echo -e "\n[Security Solution OpenAPI Bundling] Exceptions API\n"
|
||||
(cd packages/kbn-securitysolution-exceptions-common && yarn openapi:bundle)
|
||||
(cd x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common && yarn openapi:bundle)
|
||||
|
||||
echo -e "\n[Security Solution OpenAPI Bundling] Endpoint Exceptions API\n"
|
||||
(cd packages/kbn-securitysolution-endpoint-exceptions-common && yarn openapi:bundle)
|
||||
(cd x-pack/solutions/security/packages/kbn-securitysolution-endpoint-exceptions-common && yarn openapi:bundle)
|
||||
|
||||
echo -e "\n[Security Solution OpenAPI Bundling] Endpoint Management API\n"
|
||||
(cd x-pack/solutions/security/plugins/security_solution && yarn openapi:bundle:endpoint-management)
|
||||
|
|
18
.eslintrc.js
18
.eslintrc.js
|
@ -1343,8 +1343,8 @@ module.exports = {
|
|||
{
|
||||
// front end and common typescript and javascript files only
|
||||
files: [
|
||||
'x-pack/plugins/lists/public/**/*.{js,mjs,ts,tsx}',
|
||||
'x-pack/plugins/lists/common/**/*.{js,mjs,ts,tsx}',
|
||||
'x-pack/solutions/security/plugins/lists/public/**/*.{js,mjs,ts,tsx}',
|
||||
'x-pack/solutions/security/plugins/lists/common/**/*.{js,mjs,ts,tsx}',
|
||||
],
|
||||
rules: {
|
||||
'import/no-nodejs-modules': 'error',
|
||||
|
@ -1360,14 +1360,20 @@ module.exports = {
|
|||
},
|
||||
{
|
||||
// typescript for /public and /common
|
||||
files: ['x-pack/plugins/lists/public/*.{ts,tsx}', 'x-pack/plugins/lists/common/*.{ts,tsx}'],
|
||||
files: [
|
||||
'x-pack/solutions/security/plugins/lists/public/*.{ts,tsx}',
|
||||
'x-pack/solutions/security/plugins/lists/common/*.{ts,tsx}',
|
||||
],
|
||||
rules: {
|
||||
'@typescript-eslint/no-for-in-array': 'error',
|
||||
},
|
||||
},
|
||||
{
|
||||
// typescript for /public and /common
|
||||
files: ['x-pack/plugins/lists/public/*.{ts,tsx}', 'x-pack/plugins/lists/common/*.{ts,tsx}'],
|
||||
files: [
|
||||
'x-pack/solutions/security/plugins/lists/public/*.{ts,tsx}',
|
||||
'x-pack/solutions/security/plugins/lists/common/*.{ts,tsx}',
|
||||
],
|
||||
plugins: ['react'],
|
||||
env: {
|
||||
jest: true,
|
||||
|
@ -1425,7 +1431,7 @@ module.exports = {
|
|||
},
|
||||
},
|
||||
{
|
||||
files: ['x-pack/plugins/lists/public/**/!(*.test).{js,mjs,ts,tsx}'],
|
||||
files: ['x-pack/solutions/security/plugins/lists/public/**/!(*.test).{js,mjs,ts,tsx}'],
|
||||
plugins: ['react-perf'],
|
||||
rules: {
|
||||
'react-perf/jsx-no-new-object-as-prop': 'error',
|
||||
|
@ -1436,7 +1442,7 @@ module.exports = {
|
|||
},
|
||||
{
|
||||
// typescript and javascript for front and back
|
||||
files: ['x-pack/plugins/lists/**/*.{js,mjs,ts,tsx}'],
|
||||
files: ['x-pack/solutions/security/plugins/lists/**/*.{js,mjs,ts,tsx}'],
|
||||
plugins: ['eslint-plugin-node'],
|
||||
env: {
|
||||
jest: true,
|
||||
|
|
68
.github/CODEOWNERS
vendored
68
.github/CODEOWNERS
vendored
|
@ -454,24 +454,6 @@ packages/kbn-search-index-documents @elastic/search-kibana
|
|||
packages/kbn-search-response-warnings @elastic/kibana-data-discovery
|
||||
packages/kbn-search-types @elastic/kibana-data-discovery
|
||||
packages/kbn-security-hardening @elastic/kibana-security
|
||||
packages/kbn-securitysolution-autocomplete @elastic/security-detection-engine
|
||||
packages/kbn-securitysolution-endpoint-exceptions-common @elastic/security-detection-engine
|
||||
packages/kbn-securitysolution-es-utils @elastic/security-detection-engine
|
||||
packages/kbn-securitysolution-exception-list-components @elastic/security-detection-engine
|
||||
packages/kbn-securitysolution-exceptions-common @elastic/security-detection-engine
|
||||
packages/kbn-securitysolution-hook-utils @elastic/security-detection-engine
|
||||
packages/kbn-securitysolution-io-ts-alerting-types @elastic/security-detection-engine
|
||||
packages/kbn-securitysolution-io-ts-list-types @elastic/security-detection-engine
|
||||
packages/kbn-securitysolution-io-ts-types @elastic/security-detection-engine
|
||||
packages/kbn-securitysolution-io-ts-utils @elastic/security-detection-engine
|
||||
packages/kbn-securitysolution-list-api @elastic/security-detection-engine
|
||||
packages/kbn-securitysolution-list-constants @elastic/security-detection-engine
|
||||
packages/kbn-securitysolution-list-hooks @elastic/security-detection-engine
|
||||
packages/kbn-securitysolution-list-utils @elastic/security-detection-engine
|
||||
packages/kbn-securitysolution-lists-common @elastic/security-detection-engine
|
||||
packages/kbn-securitysolution-rules @elastic/security-detection-engine
|
||||
packages/kbn-securitysolution-t-grid @elastic/security-detection-engine
|
||||
packages/kbn-securitysolution-utils @elastic/security-detection-engine
|
||||
packages/kbn-server-http-tools @elastic/kibana-core
|
||||
packages/kbn-set-map @elastic/kibana-operations
|
||||
packages/kbn-shared-svg @elastic/obs-ux-infra_services-team
|
||||
|
@ -615,6 +597,10 @@ src/platform/packages/shared/kbn-management/settings/types @elastic/kibana-manag
|
|||
src/platform/packages/shared/kbn-management/settings/utilities @elastic/kibana-management
|
||||
src/platform/packages/shared/kbn-osquery-io-ts-types @elastic/security-asset-management
|
||||
src/platform/packages/shared/kbn-securitysolution-ecs @elastic/security-threat-hunting-explore
|
||||
src/platform/packages/shared/kbn-securitysolution-es-utils @elastic/security-detection-engine
|
||||
src/platform/packages/shared/kbn-securitysolution-io-ts-types @elastic/security-detection-engine
|
||||
src/platform/packages/shared/kbn-securitysolution-io-ts-utils @elastic/security-detection-engine
|
||||
src/platform/packages/shared/kbn-securitysolution-rules @elastic/security-detection-engine
|
||||
src/platform/packages/shared/kbn-server-route-repository @elastic/obs-knowledge-team
|
||||
src/platform/packages/shared/kbn-server-route-repository-client @elastic/obs-knowledge-team
|
||||
src/platform/packages/shared/kbn-server-route-repository-utils @elastic/obs-knowledge-team
|
||||
|
@ -909,7 +895,6 @@ x-pack/plugins/graph @elastic/kibana-visualizations
|
|||
x-pack/plugins/index_management @elastic/kibana-management
|
||||
x-pack/plugins/lens @elastic/kibana-visualizations
|
||||
x-pack/plugins/licensing @elastic/kibana-core
|
||||
x-pack/plugins/lists @elastic/security-detection-engine
|
||||
x-pack/plugins/logstash @elastic/logstash
|
||||
x-pack/plugins/maps @elastic/kibana-presentation
|
||||
x-pack/plugins/monitoring @elastic/stack-monitoring
|
||||
|
@ -986,6 +971,20 @@ x-pack/solutions/security/packages/features @elastic/security-threat-hunting-exp
|
|||
x-pack/solutions/security/packages/index-adapter @elastic/security-threat-hunting
|
||||
x-pack/solutions/security/packages/kbn-cloud-security-posture/graph @elastic/kibana-cloud-security-posture
|
||||
x-pack/solutions/security/packages/kbn-cloud-security-posture/public @elastic/kibana-cloud-security-posture
|
||||
x-pack/solutions/security/packages/kbn-securitysolution-autocomplete @elastic/security-detection-engine
|
||||
x-pack/solutions/security/packages/kbn-securitysolution-endpoint-exceptions-common @elastic/security-detection-engine
|
||||
x-pack/solutions/security/packages/kbn-securitysolution-exception-list-components @elastic/security-detection-engine
|
||||
x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common @elastic/security-detection-engine
|
||||
x-pack/solutions/security/packages/kbn-securitysolution-hook-utils @elastic/security-detection-engine
|
||||
x-pack/solutions/security/packages/kbn-securitysolution-io-ts-alerting-types @elastic/security-detection-engine
|
||||
x-pack/solutions/security/packages/kbn-securitysolution-io-ts-list-types @elastic/security-detection-engine
|
||||
x-pack/solutions/security/packages/kbn-securitysolution-list-api @elastic/security-detection-engine
|
||||
x-pack/solutions/security/packages/kbn-securitysolution-list-constants @elastic/security-detection-engine
|
||||
x-pack/solutions/security/packages/kbn-securitysolution-list-hooks @elastic/security-detection-engine
|
||||
x-pack/solutions/security/packages/kbn-securitysolution-list-utils @elastic/security-detection-engine
|
||||
x-pack/solutions/security/packages/kbn-securitysolution-lists-common @elastic/security-detection-engine
|
||||
x-pack/solutions/security/packages/kbn-securitysolution-t-grid @elastic/security-detection-engine
|
||||
x-pack/solutions/security/packages/kbn-securitysolution-utils @elastic/security-detection-engine
|
||||
x-pack/solutions/security/packages/navigation @elastic/security-threat-hunting-explore
|
||||
x-pack/solutions/security/packages/side_nav @elastic/security-threat-hunting-explore
|
||||
x-pack/solutions/security/packages/storybook/config @elastic/security-threat-hunting-explore
|
||||
|
@ -996,6 +995,7 @@ x-pack/solutions/security/plugins/cloud_security_posture @elastic/kibana-cloud-s
|
|||
x-pack/solutions/security/plugins/ecs_data_quality_dashboard @elastic/security-threat-hunting-explore
|
||||
x-pack/solutions/security/plugins/elastic_assistant @elastic/security-generative-ai
|
||||
x-pack/solutions/security/plugins/kubernetes_security @elastic/kibana-cloud-security-posture
|
||||
x-pack/solutions/security/plugins/lists @elastic/security-detection-engine
|
||||
x-pack/solutions/security/plugins/security_solution @elastic/security-solution
|
||||
x-pack/solutions/security/plugins/security_solution_ess @elastic/security-solution
|
||||
x-pack/solutions/security/plugins/security_solution_serverless @elastic/security-solution
|
||||
|
@ -3354,20 +3354,20 @@ x-pack/solutions/security/packages/kbn-cloud-security-posture/public @elastic/ki
|
|||
x-pack/solutions/security/packages/data-stream-adapter @elastic/security-threat-hunting
|
||||
x-pack/solutions/security/packages/expandable-flyout @elastic/security-threat-hunting-investigations
|
||||
x-pack/solutions/security/packages/index-adapter @elastic/security-threat-hunting
|
||||
x-pack/solutions/security/packages/kbn-securitysolution-autocomplete @elastic/security-detection-engine
|
||||
x-pack/solutions/security/packages/kbn-securitysolution-endpoint-exceptions-common @elastic/security-detection-engine
|
||||
x-pack/solutions/security/packages/kbn-securitysolution-exception-list-components @elastic/security-detection-engine
|
||||
x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common @elastic/security-detection-engine
|
||||
x-pack/solutions/security/packages/kbn-securitysolution-hook-utils @elastic/security-detection-engine
|
||||
x-pack/solutions/security/packages/kbn-securitysolution-io-ts-alerting-types @elastic/security-detection-engine
|
||||
x-pack/solutions/security/packages/kbn-securitysolution-io-ts-list-types @elastic/security-detection-engine
|
||||
x-pack/solutions/security/packages/kbn-securitysolution-list-api @elastic/security-detection-engine
|
||||
x-pack/solutions/security/packages/kbn-securitysolution-list-constants @elastic/security-detection-engine
|
||||
x-pack/solutions/security/packages/kbn-securitysolution-list-hooks @elastic/security-detection-engine
|
||||
x-pack/solutions/security/packages/kbn-securitysolution-list-utils @elastic/security-detection-engine
|
||||
x-pack/solutions/security/packages/kbn-securitysolution-lists-common @elastic/security-detection-engine
|
||||
x-pack/solutions/security/packages/kbn-securitysolution-t-grid @elastic/security-detection-engine
|
||||
x-pack/solutions/security/packages/kbn-securitysolution-utils @elastic/security-detection-engine
|
||||
x-pack/solutions/security/x-pack/solutions/security/packages/kbn-securitysolution-autocomplete @elastic/security-detection-engine
|
||||
x-pack/solutions/security/x-pack/solutions/security/packages/kbn-securitysolution-endpoint-exceptions-common @elastic/security-detection-engine
|
||||
x-pack/solutions/security/x-pack/solutions/security/packages/kbn-securitysolution-exception-list-components @elastic/security-detection-engine
|
||||
x-pack/solutions/security/x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common @elastic/security-detection-engine
|
||||
x-pack/solutions/security/x-pack/solutions/security/packages/kbn-securitysolution-hook-utils @elastic/security-detection-engine
|
||||
x-pack/solutions/security/x-pack/solutions/security/packages/kbn-securitysolution-io-ts-alerting-types @elastic/security-detection-engine
|
||||
x-pack/solutions/security/x-pack/solutions/security/packages/kbn-securitysolution-io-ts-list-types @elastic/security-detection-engine
|
||||
x-pack/solutions/security/x-pack/solutions/security/packages/kbn-securitysolution-list-api @elastic/security-detection-engine
|
||||
x-pack/solutions/security/x-pack/solutions/security/packages/kbn-securitysolution-list-constants @elastic/security-detection-engine
|
||||
x-pack/solutions/security/x-pack/solutions/security/packages/kbn-securitysolution-list-hooks @elastic/security-detection-engine
|
||||
x-pack/solutions/security/x-pack/solutions/security/packages/kbn-securitysolution-list-utils @elastic/security-detection-engine
|
||||
x-pack/solutions/security/x-pack/solutions/security/packages/kbn-securitysolution-lists-common @elastic/security-detection-engine
|
||||
x-pack/solutions/security/x-pack/solutions/security/packages/kbn-securitysolution-t-grid @elastic/security-detection-engine
|
||||
x-pack/solutions/security/x-pack/solutions/security/packages/kbn-securitysolution-utils @elastic/security-detection-engine
|
||||
x-pack/solutions/security/packages/navigation @elastic/security-threat-hunting-explore
|
||||
x-pack/solutions/security/packages/side_nav @elastic/security-threat-hunting-explore
|
||||
x-pack/solutions/security/packages/upselling @elastic/security-threat-hunting-explore
|
||||
|
@ -3377,7 +3377,7 @@ x-pack/solutions/security/plugins/cloud_security_posture @elastic/kibana-cloud-s
|
|||
x-pack/solutions/security/plugins/ecs_data_quality_dashboard @elastic/security-threat-hunting-explore
|
||||
x-pack/solutions/security/plugins/elastic_assistant @elastic/security-generative-ai
|
||||
x-pack/solutions/security/plugins/kubernetes_security @elastic/kibana-cloud-security-posture
|
||||
x-pack/solutions/security/plugins/lists @elastic/security-detection-engine
|
||||
x-pack/solutions/security/solutions/security/plugins/lists @elastic/security-detection-engine
|
||||
x-pack/solutions/security/solutions/security/plugins/security_solution @elastic/security-solution
|
||||
x-pack/solutions/security/solutions/security/plugins/security_solution_ess @elastic/security-solution
|
||||
x-pack/solutions/security/solutions/security/plugins/security_solution_serverless @elastic/security-solution
|
||||
|
|
4
.github/codeql/codeql-config.yml
vendored
4
.github/codeql/codeql-config.yml
vendored
|
@ -78,8 +78,8 @@ paths-ignore:
|
|||
- x-pack/solutions/security/plugins/elastic_assistant/scripts
|
||||
- x-pack/plugins/event_log/scripts
|
||||
- x-pack/plugins/fleet/scripts
|
||||
- x-pack/plugins/lists/scripts
|
||||
- x-pack/plugins/lists/server/scripts
|
||||
- x-pack/solutions/security/plugins/lists/scripts
|
||||
- x-pack/solutions/security/plugins/lists/server/scripts
|
||||
- x-pack/plugins/observability_solution/*/scripts
|
||||
- x-pack/platform/plugins/shared/osquery/scripts
|
||||
- x-pack/plugins/rule_registry/scripts
|
||||
|
|
31
.i18nrc.json
31
.i18nrc.json
|
@ -6,7 +6,7 @@
|
|||
"alertsUIShared": "packages/kbn-alerts-ui-shared/src",
|
||||
"alertingTypes": "packages/kbn-alerting-types",
|
||||
"apmOss": "src/plugins/apm_oss",
|
||||
"autocomplete": "packages/kbn-securitysolution-autocomplete/src",
|
||||
"autocomplete": "x-pack/solutions/security/packages/kbn-securitysolution-autocomplete/src",
|
||||
"avcBanner": "src/platform/packages/shared/kbn-avc-banner/src",
|
||||
"bfetch": "src/plugins/bfetch",
|
||||
"bfetchError": "packages/kbn-bfetch-error",
|
||||
|
@ -25,12 +25,13 @@
|
|||
"data": "src/plugins/data",
|
||||
"observabilityAlertDetails": "x-pack/solutions/observability/packages/alert_details",
|
||||
"dataViews": "src/plugins/data_views",
|
||||
"defaultNavigation": [
|
||||
"packages/default-nav",
|
||||
"src/platform/packages/private/default-nav"
|
||||
],
|
||||
"defaultNavigation": ["packages/default-nav", "src/platform/packages/private/default-nav"],
|
||||
"devTools": "src/platform/plugins/shared/dev_tools",
|
||||
"discover": ["src/plugins/discover", "packages/kbn-discover-utils", "packages/kbn-discover-contextual-components"],
|
||||
"discover": [
|
||||
"src/plugins/discover",
|
||||
"packages/kbn-discover-utils",
|
||||
"packages/kbn-discover-contextual-components"
|
||||
],
|
||||
"savedSearch": "src/plugins/saved_search",
|
||||
"embeddableApi": "src/plugins/embeddable",
|
||||
"presentationPanel": "src/plugins/presentation_panel",
|
||||
|
@ -87,8 +88,8 @@
|
|||
"kibana-react": "src/plugins/kibana_react",
|
||||
"kibanaOverview": "src/plugins/kibana_overview",
|
||||
"lensFormulaDocs": "packages/kbn-lens-formula-docs",
|
||||
"lists": "packages/kbn-securitysolution-list-utils/src",
|
||||
"exceptionList-components": "packages/kbn-securitysolution-exception-list-components/src",
|
||||
"lists": "x-pack/solutions/security/packages/kbn-securitysolution-list-utils/src",
|
||||
"exceptionList-components": "x-pack/solutions/security/packages/kbn-securitysolution-exception-list-components/src",
|
||||
"management": [
|
||||
"src/platform/plugins/shared/management",
|
||||
"src/platform/packages/private/kbn-management",
|
||||
|
@ -120,11 +121,15 @@
|
|||
"searchResponseWarnings": "packages/kbn-search-response-warnings",
|
||||
"searchTypes": "packages/kbn-search-types",
|
||||
"securitySolutionPackages": [
|
||||
"x-pack/solutions/security/packages"
|
||||
],
|
||||
"sharedPlatformPackages": [
|
||||
"x-pack/platform/packages/shared/kbn-cloud-security-posture"
|
||||
"x-pack/solutions/security/packages/data_table",
|
||||
"x-pack/solutions/security/packages/ecs_data_quality_dashboard",
|
||||
"x-pack/solutions/security/packages/features",
|
||||
"x-pack/solutions/security/packages/kbn-cloud-security-posture",
|
||||
"x-pack/solutions/security/packages/navigation",
|
||||
"x-pack/solutions/security/packages/side_nav",
|
||||
"x-pack/solutions/security/packages/upselling"
|
||||
],
|
||||
"sharedPlatformPackages": ["x-pack/platform/packages/shared/kbn-cloud-security-posture"],
|
||||
"serverlessPackages": "packages/serverless",
|
||||
"sse": ["src/platform/packages/shared/kbn-sse-utils"],
|
||||
"coloring": "packages/kbn-coloring/src",
|
||||
|
@ -140,7 +145,7 @@
|
|||
"uiActionsExamples": "examples/ui_action_examples",
|
||||
"usageCollection": "src/plugins/usage_collection",
|
||||
"userProfileComponents": "packages/kbn-user-profile-components",
|
||||
"utils": "packages/kbn-securitysolution-utils/src",
|
||||
"utils": "x-pack/solutions/security/packages/kbn-securitysolution-utils/src",
|
||||
"visDefaultEditor": "src/plugins/vis_default_editor",
|
||||
"visTypeGauge": "src/plugins/vis_types/gauge",
|
||||
"visTypeHeatmap": "src/plugins/vis_types/heatmap",
|
||||
|
|
|
@ -693,7 +693,7 @@ the infrastructure monitoring use-case within Kibana.
|
|||
|The licensing plugin retrieves license data from Elasticsearch at regular configurable intervals.
|
||||
|
||||
|
||||
|{kib-repo}blob/{branch}/x-pack/plugins/lists/README.md[lists]
|
||||
|{kib-repo}blob/{branch}/x-pack/solutions/security/plugins/lists/README.md[lists]
|
||||
|README.md for developers working on the backend lists on how to get started
|
||||
using the CURL scripts in the scripts folder.
|
||||
|
||||
|
|
|
@ -27,9 +27,9 @@ const { REPO_ROOT } = require('@kbn/repo-info');
|
|||
|
||||
// Security solution
|
||||
`${REPO_ROOT}/x-pack/solutions/security/plugins/security_solution/docs/openapi/ess/*.schema.yaml`,
|
||||
`${REPO_ROOT}/packages/kbn-securitysolution-lists-common/docs/openapi/ess/*.schema.yaml`,
|
||||
`${REPO_ROOT}/packages/kbn-securitysolution-exceptions-common/docs/openapi/ess/*.schema.yaml`,
|
||||
`${REPO_ROOT}/packages/kbn-securitysolution-endpoint-exceptions-common/docs/openapi/ess/*.schema.yaml`,
|
||||
`${REPO_ROOT}/x-pack/solutions/security/packages/kbn-securitysolution-lists-common/docs/openapi/ess/*.schema.yaml`,
|
||||
`${REPO_ROOT}/x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/docs/openapi/ess/*.schema.yaml`,
|
||||
`${REPO_ROOT}/x-pack/solutions/security/packages/kbn-securitysolution-endpoint-exceptions-common/docs/openapi/ess/*.schema.yaml`,
|
||||
`${REPO_ROOT}/x-pack/platform/packages/shared/kbn-elastic-assistant-common/docs/openapi/ess/*.schema.yaml`,
|
||||
`${REPO_ROOT}/x-pack/platform/plugins/shared/osquery/docs/openapi/ess/*.schema.yaml`,
|
||||
],
|
||||
|
|
|
@ -25,9 +25,9 @@ const { REPO_ROOT } = require('@kbn/repo-info');
|
|||
|
||||
// Security solution
|
||||
`${REPO_ROOT}/x-pack/solutions/security/plugins/security_solution/docs/openapi/serverless/*.schema.yaml`,
|
||||
`${REPO_ROOT}/packages/kbn-securitysolution-lists-common/docs/openapi/serverless/*.schema.yaml`,
|
||||
`${REPO_ROOT}/packages/kbn-securitysolution-exceptions-common/docs/openapi/serverless/*.schema.yaml`,
|
||||
`${REPO_ROOT}/packages/kbn-securitysolution-endpoint-exceptions-common/docs/openapi/serverless/*.schema.yaml`,
|
||||
`${REPO_ROOT}/x-pack/solutions/security/packages/kbn-securitysolution-lists-common/docs/openapi/serverless/*.schema.yaml`,
|
||||
`${REPO_ROOT}/x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common/docs/openapi/serverless/*.schema.yaml`,
|
||||
`${REPO_ROOT}/x-pack/solutions/security/packages/kbn-securitysolution-endpoint-exceptions-common/docs/openapi/serverless/*.schema.yaml`,
|
||||
`${REPO_ROOT}/x-pack/platform/packages/shared/kbn-elastic-assistant-common/docs/openapi/serverless/*.schema.yaml`,
|
||||
`${REPO_ROOT}/x-pack/platform/plugins/shared/osquery/docs/openapi/serverless/*.schema.yaml`,
|
||||
],
|
||||
|
|
38
package.json
38
package.json
|
@ -619,7 +619,7 @@
|
|||
"@kbn/license-management-plugin": "link:x-pack/platform/plugins/shared/license_management",
|
||||
"@kbn/licensing-plugin": "link:x-pack/plugins/licensing",
|
||||
"@kbn/links-plugin": "link:src/plugins/links",
|
||||
"@kbn/lists-plugin": "link:x-pack/plugins/lists",
|
||||
"@kbn/lists-plugin": "link:x-pack/solutions/security/plugins/lists",
|
||||
"@kbn/llm-tasks-plugin": "link:x-pack/platform/plugins/shared/ai_infra/llm_tasks",
|
||||
"@kbn/locator-examples-plugin": "link:examples/locator_examples",
|
||||
"@kbn/locator-explorer-plugin": "link:examples/locator_explorer",
|
||||
|
@ -839,26 +839,26 @@
|
|||
"@kbn/security-solution-upselling": "link:x-pack/solutions/security/packages/upselling",
|
||||
"@kbn/security-test-endpoints-plugin": "link:x-pack/test/security_functional/plugins/test_endpoints",
|
||||
"@kbn/security-ui-components": "link:x-pack/packages/security/ui_components",
|
||||
"@kbn/securitysolution-autocomplete": "link:packages/kbn-securitysolution-autocomplete",
|
||||
"@kbn/securitysolution-autocomplete": "link:x-pack/solutions/security/packages/kbn-securitysolution-autocomplete",
|
||||
"@kbn/securitysolution-data-table": "link:x-pack/solutions/security/packages/data_table",
|
||||
"@kbn/securitysolution-ecs": "link:src/platform/packages/shared/kbn-securitysolution-ecs",
|
||||
"@kbn/securitysolution-endpoint-exceptions-common": "link:packages/kbn-securitysolution-endpoint-exceptions-common",
|
||||
"@kbn/securitysolution-es-utils": "link:packages/kbn-securitysolution-es-utils",
|
||||
"@kbn/securitysolution-exception-list-components": "link:packages/kbn-securitysolution-exception-list-components",
|
||||
"@kbn/securitysolution-exceptions-common": "link:packages/kbn-securitysolution-exceptions-common",
|
||||
"@kbn/securitysolution-hook-utils": "link:packages/kbn-securitysolution-hook-utils",
|
||||
"@kbn/securitysolution-io-ts-alerting-types": "link:packages/kbn-securitysolution-io-ts-alerting-types",
|
||||
"@kbn/securitysolution-io-ts-list-types": "link:packages/kbn-securitysolution-io-ts-list-types",
|
||||
"@kbn/securitysolution-io-ts-types": "link:packages/kbn-securitysolution-io-ts-types",
|
||||
"@kbn/securitysolution-io-ts-utils": "link:packages/kbn-securitysolution-io-ts-utils",
|
||||
"@kbn/securitysolution-list-api": "link:packages/kbn-securitysolution-list-api",
|
||||
"@kbn/securitysolution-list-constants": "link:packages/kbn-securitysolution-list-constants",
|
||||
"@kbn/securitysolution-list-hooks": "link:packages/kbn-securitysolution-list-hooks",
|
||||
"@kbn/securitysolution-list-utils": "link:packages/kbn-securitysolution-list-utils",
|
||||
"@kbn/securitysolution-lists-common": "link:packages/kbn-securitysolution-lists-common",
|
||||
"@kbn/securitysolution-rules": "link:packages/kbn-securitysolution-rules",
|
||||
"@kbn/securitysolution-t-grid": "link:packages/kbn-securitysolution-t-grid",
|
||||
"@kbn/securitysolution-utils": "link:packages/kbn-securitysolution-utils",
|
||||
"@kbn/securitysolution-endpoint-exceptions-common": "link:x-pack/solutions/security/packages/kbn-securitysolution-endpoint-exceptions-common",
|
||||
"@kbn/securitysolution-es-utils": "link:src/platform/packages/shared/kbn-securitysolution-es-utils",
|
||||
"@kbn/securitysolution-exception-list-components": "link:x-pack/solutions/security/packages/kbn-securitysolution-exception-list-components",
|
||||
"@kbn/securitysolution-exceptions-common": "link:x-pack/solutions/security/packages/kbn-securitysolution-exceptions-common",
|
||||
"@kbn/securitysolution-hook-utils": "link:x-pack/solutions/security/packages/kbn-securitysolution-hook-utils",
|
||||
"@kbn/securitysolution-io-ts-alerting-types": "link:x-pack/solutions/security/packages/kbn-securitysolution-io-ts-alerting-types",
|
||||
"@kbn/securitysolution-io-ts-list-types": "link:x-pack/solutions/security/packages/kbn-securitysolution-io-ts-list-types",
|
||||
"@kbn/securitysolution-io-ts-types": "link:src/platform/packages/shared/kbn-securitysolution-io-ts-types",
|
||||
"@kbn/securitysolution-io-ts-utils": "link:src/platform/packages/shared/kbn-securitysolution-io-ts-utils",
|
||||
"@kbn/securitysolution-list-api": "link:x-pack/solutions/security/packages/kbn-securitysolution-list-api",
|
||||
"@kbn/securitysolution-list-constants": "link:x-pack/solutions/security/packages/kbn-securitysolution-list-constants",
|
||||
"@kbn/securitysolution-list-hooks": "link:x-pack/solutions/security/packages/kbn-securitysolution-list-hooks",
|
||||
"@kbn/securitysolution-list-utils": "link:x-pack/solutions/security/packages/kbn-securitysolution-list-utils",
|
||||
"@kbn/securitysolution-lists-common": "link:x-pack/solutions/security/packages/kbn-securitysolution-lists-common",
|
||||
"@kbn/securitysolution-rules": "link:src/platform/packages/shared/kbn-securitysolution-rules",
|
||||
"@kbn/securitysolution-t-grid": "link:x-pack/solutions/security/packages/kbn-securitysolution-t-grid",
|
||||
"@kbn/securitysolution-utils": "link:x-pack/solutions/security/packages/kbn-securitysolution-utils",
|
||||
"@kbn/server-http-tools": "link:packages/kbn-server-http-tools",
|
||||
"@kbn/server-route-repository": "link:src/platform/packages/shared/kbn-server-route-repository",
|
||||
"@kbn/server-route-repository-client": "link:src/platform/packages/shared/kbn-server-route-repository-client",
|
||||
|
|
|
@ -16,12 +16,13 @@ module.exports = {
|
|||
/packages[\/\\]kbn-ui-shared-deps-(npm|src)[\/\\]/,
|
||||
/src[\/\\]plugins[\/\\](kibana_react)[\/\\]/,
|
||||
/x-pack[\/\\]solutions[\/\\]observability[\/\\]plugins[\/\\](exploratory_view|investigate|investigate_app|observability|observability_ai_assistant_app|observability_ai_assistant_management|observability_solution|serverless_observability|streams|streams_app|synthetics|uptime|ux)[\/\\]/,
|
||||
/x-pack[\/\\]plugins[\/\\](observability_solution\/apm|beats_management|fleet|lists|observability_solution\/observability|observability_solution\/observability_shared|observability_solution\/exploratory_view|security_solution|timelines|observability_solution\/synthetics|observability_solution\/ux|observability_solution\/uptime)[\/\\]/,
|
||||
/x-pack[\/\\]plugins[\/\\](observability_solution\/apm|beats_management|fleet|observability_solution\/observability|observability_solution\/observability_shared|observability_solution\/exploratory_view|security_solution|timelines|observability_solution\/synthetics|observability_solution\/ux|observability_solution\/uptime)[\/\\]/,
|
||||
/x-pack[\/\\]solutions[\/\\]security[\/\\]plugins[\/\\](observability_solution\/apm|beats_management|fleet|observability_solution\/infra|lists|observability_solution\/observability|observability_solution\/observability_shared|observability_solution\/exploratory_view|security_solution|timelines|observability_solution\/synthetics|observability_solution\/ux|observability_solution\/uptime)[\/\\]/,
|
||||
/x-pack[\/\\]test[\/\\]plugin_functional[\/\\]plugins[\/\\]resolver_test[\/\\]/,
|
||||
/x-pack[\/\\]packages[\/\\]elastic_assistant[\/\\]/,
|
||||
/x-pack[\/\\]solutions[\/\\]security[\/\\]packages[\/\\]ecs_data_quality_dashboard[\/\\]/,
|
||||
/x-pack[\/\\]solutions[\/\\]security[\/\\]plugins[\/\\]security_solution[\/\\]/,
|
||||
/x-pack[\/\\]platform[\/\\]packages[\/\\]shared[\/\\]kbn-elastic-assistant[\/\\]/,
|
||||
/x-pack[\/\\]solutions[\/\\]security[\/\\]plugins[\/\\]lists/,
|
||||
],
|
||||
};
|
||||
|
|
|
@ -1,17 +0,0 @@
|
|||
/*
|
||||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
||||
* or more contributor license agreements. Licensed under the "Elastic License
|
||||
* 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
|
||||
* Public License v 1"; you may not use this file except in compliance with, at
|
||||
* your election, the "Elastic License 2.0", the "GNU Affero General Public
|
||||
* License v3.0 only", or the "Server Side Public License, v 1".
|
||||
*/
|
||||
|
||||
interface DisabledTypesTextType {
|
||||
[typeName: string]: string;
|
||||
}
|
||||
import * as i18n from '../translations';
|
||||
|
||||
export const disabledTypesWithTooltipText: DisabledTypesTextType = {
|
||||
binary: i18n.BINARY_TYPE_NOT_SUPPORTED,
|
||||
};
|
|
@ -1,10 +0,0 @@
|
|||
/*
|
||||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
||||
* or more contributor license agreements. Licensed under the "Elastic License
|
||||
* 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
|
||||
* Public License v 1"; you may not use this file except in compliance with, at
|
||||
* your election, the "Elastic License 2.0", the "GNU Affero General Public
|
||||
* License v3.0 only", or the "Server Side Public License, v 1".
|
||||
*/
|
||||
|
||||
export * from './use_field_value_autocomplete';
|
|
@ -1,10 +0,0 @@
|
|||
/*
|
||||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
||||
* or more contributor license agreements. Licensed under the "Elastic License
|
||||
* 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
|
||||
* Public License v 1"; you may not use this file except in compliance with, at
|
||||
* your election, the "Elastic License 2.0", the "GNU Affero General Public
|
||||
* License v3.0 only", or the "Server Side Public License, v 1".
|
||||
*/
|
||||
|
||||
export const paramContainsSpace = (param: string) => param && param.trim().length !== param.length;
|
|
@ -1,29 +0,0 @@
|
|||
/*
|
||||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
||||
* or more contributor license agreements. Licensed under the "Elastic License
|
||||
* 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
|
||||
* Public License v 1"; you may not use this file except in compliance with, at
|
||||
* your election, the "Elastic License 2.0", the "GNU Affero General Public
|
||||
* License v3.0 only", or the "Server Side Public License, v 1".
|
||||
*/
|
||||
|
||||
module.exports = {
|
||||
preset: '@kbn/test',
|
||||
rootDir: '../..',
|
||||
roots: ['<rootDir>/packages/kbn-securitysolution-exception-list-components'],
|
||||
coverageReporters: ['text', 'html'],
|
||||
collectCoverageFrom: [
|
||||
'<rootDir>/packages/kbn-securitysolution-exception-list-components/**/*.{ts,tsx}',
|
||||
'!<rootDir>/packages/kbn-securitysolution-exception-list-components/**/*.test',
|
||||
'!<rootDir>/packages/kbn-securitysolution-exception-list-components/**/types/*',
|
||||
'!<rootDir>/packages/kbn-securitysolution-exception-list-components/**/*.type',
|
||||
'!<rootDir>/packages/kbn-securitysolution-exception-list-components/**/*.styles',
|
||||
'!<rootDir>/packages/kbn-securitysolution-exception-list-components/**/mocks/*',
|
||||
'!<rootDir>/packages/kbn-securitysolution-exception-list-components/**/*.config',
|
||||
'!<rootDir>/packages/kbn-securitysolution-exception-list-components/**/translations',
|
||||
'!<rootDir>/packages/kbn-securitysolution-exception-list-components/**/types/*',
|
||||
],
|
||||
setupFilesAfterEnv: [
|
||||
'<rootDir>/packages/kbn-securitysolution-exception-list-components/setup_test.ts',
|
||||
],
|
||||
};
|
|
@ -1,11 +0,0 @@
|
|||
/*
|
||||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
||||
* or more contributor license agreements. Licensed under the "Elastic License
|
||||
* 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
|
||||
* Public License v 1"; you may not use this file except in compliance with, at
|
||||
* your election, the "Elastic License 2.0", the "GNU Affero General Public
|
||||
* License v3.0 only", or the "Server Side Public License, v 1".
|
||||
*/
|
||||
|
||||
// eslint-disable-next-line import/no-extraneous-dependencies
|
||||
import '@testing-library/jest-dom';
|
|
@ -1,14 +0,0 @@
|
|||
/*
|
||||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
||||
* or more contributor license agreements. Licensed under the "Elastic License
|
||||
* 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
|
||||
* Public License v 1"; you may not use this file except in compliance with, at
|
||||
* your election, the "Elastic License 2.0", the "GNU Affero General Public
|
||||
* License v3.0 only", or the "Server Side Public License, v 1".
|
||||
*/
|
||||
|
||||
declare module '*.svg' {
|
||||
const content: string;
|
||||
// eslint-disable-next-line import/no-default-export
|
||||
export default content;
|
||||
}
|
|
@ -1,14 +0,0 @@
|
|||
/*
|
||||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
||||
* or more contributor license agreements. Licensed under the "Elastic License
|
||||
* 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
|
||||
* Public License v 1"; you may not use this file except in compliance with, at
|
||||
* your election, the "Elastic License 2.0", the "GNU Affero General Public
|
||||
* License v3.0 only", or the "Server Side Public License, v 1".
|
||||
*/
|
||||
|
||||
export * from './conditions';
|
||||
export * from './header';
|
||||
export * from './meta';
|
||||
export * from './comments';
|
||||
export * from './exception_item_card';
|
|
@ -1,20 +0,0 @@
|
|||
/*
|
||||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
||||
* or more contributor license agreements. Licensed under the "Elastic License
|
||||
* 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
|
||||
* Public License v 1"; you may not use this file except in compliance with, at
|
||||
* your election, the "Elastic License 2.0", the "GNU Affero General Public
|
||||
* License v3.0 only", or the "Server Side Public License, v 1".
|
||||
*/
|
||||
|
||||
import { css } from '@emotion/react';
|
||||
import { euiThemeVars } from '@kbn/ui-theme';
|
||||
|
||||
export const containerCss = css`
|
||||
border-bottom: 1px solid ${euiThemeVars.euiColorLightShade};
|
||||
`;
|
||||
|
||||
export const itemContentCss = css`
|
||||
color: ${euiThemeVars.euiColorPrimary};
|
||||
flex-basis: content;
|
||||
`;
|
|
@ -1,16 +0,0 @@
|
|||
/*
|
||||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
||||
* or more contributor license agreements. Licensed under the "Elastic License
|
||||
* 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
|
||||
* Public License v 1"; you may not use this file except in compliance with, at
|
||||
* your election, the "Elastic License 2.0", the "GNU Affero General Public
|
||||
* License v3.0 only", or the "Server Side Public License, v 1".
|
||||
*/
|
||||
|
||||
import React from 'react';
|
||||
|
||||
export const mockShowValueListModal = jest.fn();
|
||||
export const MockedShowValueListModal = (props: { children: React.ReactNode }) => {
|
||||
mockShowValueListModal(props);
|
||||
return <>{props.children}</>;
|
||||
};
|
|
@ -1,10 +0,0 @@
|
|||
/*
|
||||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
||||
* or more contributor license agreements. Licensed under the "Elastic License
|
||||
* 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
|
||||
* Public License v 1"; you may not use this file except in compliance with, at
|
||||
* your election, the "Elastic License 2.0", the "GNU Affero General Public
|
||||
* License v3.0 only", or the "Server Side Public License, v 1".
|
||||
*/
|
||||
|
||||
export { ValueWithSpaceWarning } from './value_with_space_warning';
|
|
@ -1,14 +0,0 @@
|
|||
/*
|
||||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
||||
* or more contributor license agreements. Licensed under the "Elastic License
|
||||
* 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
|
||||
* Public License v 1"; you may not use this file except in compliance with, at
|
||||
* your election, the "Elastic License 2.0", the "GNU Affero General Public
|
||||
* License v3.0 only", or the "Server Side Public License, v 1".
|
||||
*/
|
||||
|
||||
export * from './src/types';
|
||||
export * from './src/use_async';
|
||||
export * from './src/use_is_mounted';
|
||||
export * from './src/use_observable';
|
||||
export * from './src/with_optional_signal';
|
|
@ -1,19 +0,0 @@
|
|||
/*
|
||||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
||||
* or more contributor license agreements. Licensed under the "Elastic License
|
||||
* 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
|
||||
* Public License v 1"; you may not use this file except in compliance with, at
|
||||
* your election, the "Elastic License 2.0", the "GNU Affero General Public
|
||||
* License v3.0 only", or the "Server Side Public License, v 1".
|
||||
*/
|
||||
|
||||
/**
|
||||
* Represents the state of an asynchronous task, along with an initiator
|
||||
* function to kick off the work.
|
||||
*/
|
||||
export interface Task<Args extends unknown[], Result> {
|
||||
loading: boolean;
|
||||
error: unknown | undefined;
|
||||
result: Result | undefined;
|
||||
start: (...args: Args) => void;
|
||||
}
|
|
@ -1,14 +0,0 @@
|
|||
/*
|
||||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
||||
* or more contributor license agreements. Licensed under the "Elastic License
|
||||
* 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
|
||||
* Public License v 1"; you may not use this file except in compliance with, at
|
||||
* your election, the "Elastic License 2.0", the "GNU Affero General Public
|
||||
* License v3.0 only", or the "Server Side Public License, v 1".
|
||||
*/
|
||||
|
||||
module.exports = {
|
||||
preset: '@kbn/test',
|
||||
rootDir: '../..',
|
||||
roots: ['<rootDir>/packages/kbn-securitysolution-io-ts-alerting-types'],
|
||||
};
|
|
@ -1,14 +0,0 @@
|
|||
/*
|
||||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
||||
* or more contributor license agreements. Licensed under the "Elastic License
|
||||
* 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
|
||||
* Public License v 1"; you may not use this file except in compliance with, at
|
||||
* your election, the "Elastic License 2.0", the "GNU Affero General Public
|
||||
* License v3.0 only", or the "Server Side Public License, v 1".
|
||||
*/
|
||||
|
||||
/**
|
||||
* TODO: Create a kbn-alerting-constants and add this to it.
|
||||
* @deprecated Use a DEFAULT_MAX_SIGNALS from a kbn-alerting-constants package.
|
||||
*/
|
||||
export const DEFAULT_MAX_SIGNALS = 100;
|
|
@ -1,13 +0,0 @@
|
|||
/*
|
||||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
||||
* or more contributor license agreements. Licensed under the "Elastic License
|
||||
* 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
|
||||
* Public License v 1"; you may not use this file except in compliance with, at
|
||||
* your election, the "Elastic License 2.0", the "GNU Affero General Public
|
||||
* License v3.0 only", or the "Server Side Public License, v 1".
|
||||
*/
|
||||
|
||||
import * as t from 'io-ts';
|
||||
|
||||
export type Severity = t.TypeOf<typeof Severity>;
|
||||
export const Severity = t.keyof({ low: null, medium: null, high: null, critical: null });
|
|
@ -1,13 +0,0 @@
|
|||
/*
|
||||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
||||
* or more contributor license agreements. Licensed under the "Elastic License
|
||||
* 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
|
||||
* Public License v 1"; you may not use this file except in compliance with, at
|
||||
* your election, the "Elastic License 2.0", the "GNU Affero General Public
|
||||
* License v3.0 only", or the "Server Side Public License, v 1".
|
||||
*/
|
||||
|
||||
export * from './src/common';
|
||||
export * from './src/request';
|
||||
export * from './src/response';
|
||||
export * from './src/typescript_types';
|
|
@ -1,14 +0,0 @@
|
|||
/*
|
||||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
||||
* or more contributor license agreements. Licensed under the "Elastic License
|
||||
* 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
|
||||
* Public License v 1"; you may not use this file except in compliance with, at
|
||||
* your election, the "Elastic License 2.0", the "GNU Affero General Public
|
||||
* License v3.0 only", or the "Server Side Public License, v 1".
|
||||
*/
|
||||
|
||||
module.exports = {
|
||||
preset: '@kbn/test',
|
||||
rootDir: '../..',
|
||||
roots: ['<rootDir>/packages/kbn-securitysolution-io-ts-list-types'],
|
||||
};
|
|
@ -1,16 +0,0 @@
|
|||
/*
|
||||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
||||
* or more contributor license agreements. Licensed under the "Elastic License
|
||||
* 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
|
||||
* Public License v 1"; you may not use this file except in compliance with, at
|
||||
* your election, the "Elastic License 2.0", the "GNU Affero General Public
|
||||
* License v3.0 only", or the "Server Side Public License, v 1".
|
||||
*/
|
||||
|
||||
import { CreateComment, CreateCommentsArray } from '.';
|
||||
|
||||
export const getCreateCommentsMock = (): CreateComment => ({
|
||||
comment: 'some comments',
|
||||
});
|
||||
|
||||
export const getCreateCommentsArrayMock = (): CreateCommentsArray => [getCreateCommentsMock()];
|
|
@ -1,14 +0,0 @@
|
|||
/*
|
||||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
||||
* or more contributor license agreements. Licensed under the "Elastic License
|
||||
* 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
|
||||
* Public License v 1"; you may not use this file except in compliance with, at
|
||||
* your election, the "Elastic License 2.0", the "GNU Affero General Public
|
||||
* License v3.0 only", or the "Server Side Public License, v 1".
|
||||
*/
|
||||
|
||||
/* eslint-disable @typescript-eslint/naming-convention */
|
||||
|
||||
import * as t from 'io-ts';
|
||||
|
||||
export const created_at = t.string; // TODO: Make this into an ISO Date string check
|
|
@ -1,14 +0,0 @@
|
|||
/*
|
||||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
||||
* or more contributor license agreements. Licensed under the "Elastic License
|
||||
* 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
|
||||
* Public License v 1"; you may not use this file except in compliance with, at
|
||||
* your election, the "Elastic License 2.0", the "GNU Affero General Public
|
||||
* License v3.0 only", or the "Server Side Public License, v 1".
|
||||
*/
|
||||
|
||||
/* eslint-disable @typescript-eslint/naming-convention */
|
||||
|
||||
import * as t from 'io-ts';
|
||||
|
||||
export const created_by = t.string;
|
|
@ -1,15 +0,0 @@
|
|||
/*
|
||||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
||||
* or more contributor license agreements. Licensed under the "Elastic License
|
||||
* 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
|
||||
* Public License v 1"; you may not use this file except in compliance with, at
|
||||
* your election, the "Elastic License 2.0", the "GNU Affero General Public
|
||||
* License v3.0 only", or the "Server Side Public License, v 1".
|
||||
*/
|
||||
|
||||
import * as t from 'io-ts';
|
||||
|
||||
export const cursor = t.string;
|
||||
export type Cursor = t.TypeOf<typeof cursor>;
|
||||
export const cursorOrUndefined = t.union([cursor, t.undefined]);
|
||||
export type CursorOrUndefined = t.TypeOf<typeof cursorOrUndefined>;
|
|
@ -1,15 +0,0 @@
|
|||
/*
|
||||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
||||
* or more contributor license agreements. Licensed under the "Elastic License
|
||||
* 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
|
||||
* Public License v 1"; you may not use this file except in compliance with, at
|
||||
* your election, the "Elastic License 2.0", the "GNU Affero General Public
|
||||
* License v3.0 only", or the "Server Side Public License, v 1".
|
||||
*/
|
||||
|
||||
import * as t from 'io-ts';
|
||||
|
||||
export const description = t.string;
|
||||
export type Description = t.TypeOf<typeof description>;
|
||||
export const descriptionOrUndefined = t.union([description, t.undefined]);
|
||||
export type DescriptionOrUndefined = t.TypeOf<typeof descriptionOrUndefined>;
|
|
@ -1,15 +0,0 @@
|
|||
/*
|
||||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
||||
* or more contributor license agreements. Licensed under the "Elastic License
|
||||
* 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
|
||||
* Public License v 1"; you may not use this file except in compliance with, at
|
||||
* your election, the "Elastic License 2.0", the "GNU Affero General Public
|
||||
* License v3.0 only", or the "Server Side Public License, v 1".
|
||||
*/
|
||||
|
||||
import * as t from 'io-ts';
|
||||
|
||||
export const deserializer = t.string;
|
||||
export type Deserializer = t.TypeOf<typeof deserializer>;
|
||||
export const deserializerOrUndefined = t.union([deserializer, t.undefined]);
|
||||
export type DeserializerOrUndefined = t.TypeOf<typeof deserializerOrUndefined>;
|
|
@ -1,18 +0,0 @@
|
|||
/*
|
||||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
||||
* or more contributor license agreements. Licensed under the "Elastic License
|
||||
* 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
|
||||
* Public License v 1"; you may not use this file except in compliance with, at
|
||||
* your election, the "Elastic License 2.0", the "GNU Affero General Public
|
||||
* License v3.0 only", or the "Server Side Public License, v 1".
|
||||
*/
|
||||
|
||||
import { EndpointEntryMatch } from '.';
|
||||
import { ENTRY_VALUE, FIELD, MATCH, OPERATOR } from '../../../constants/index.mock';
|
||||
|
||||
export const getEndpointEntryMatchMock = (): EndpointEntryMatch => ({
|
||||
field: FIELD,
|
||||
operator: OPERATOR,
|
||||
type: MATCH,
|
||||
value: ENTRY_VALUE,
|
||||
});
|
|
@ -1,11 +0,0 @@
|
|||
/*
|
||||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
||||
* or more contributor license agreements. Licensed under the "Elastic License
|
||||
* 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
|
||||
* Public License v 1"; you may not use this file except in compliance with, at
|
||||
* your election, the "Elastic License 2.0", the "GNU Affero General Public
|
||||
* License v3.0 only", or the "Server Side Public License, v 1".
|
||||
*/
|
||||
|
||||
export * from './entries';
|
||||
export * from './non_empty_nested_entries_array';
|
|
@ -1,18 +0,0 @@
|
|||
/*
|
||||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
||||
* or more contributor license agreements. Licensed under the "Elastic License
|
||||
* 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
|
||||
* Public License v 1"; you may not use this file except in compliance with, at
|
||||
* your election, the "Elastic License 2.0", the "GNU Affero General Public
|
||||
* License v3.0 only", or the "Server Side Public License, v 1".
|
||||
*/
|
||||
|
||||
import { EntryList } from '.';
|
||||
import { FIELD, LIST, LIST_ID, OPERATOR, TYPE } from '../../constants/index.mock';
|
||||
|
||||
export const getEntryListMock = (): EntryList => ({
|
||||
field: FIELD,
|
||||
list: { id: LIST_ID, type: TYPE },
|
||||
operator: OPERATOR,
|
||||
type: LIST,
|
||||
});
|
|
@ -1,15 +0,0 @@
|
|||
/*
|
||||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
||||
* or more contributor license agreements. Licensed under the "Elastic License
|
||||
* 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
|
||||
* Public License v 1"; you may not use this file except in compliance with, at
|
||||
* your election, the "Elastic License 2.0", the "GNU Affero General Public
|
||||
* License v3.0 only", or the "Server Side Public License, v 1".
|
||||
*/
|
||||
|
||||
import * as t from 'io-ts';
|
||||
import { IsoDateString } from '@kbn/securitysolution-io-ts-types';
|
||||
|
||||
export const expireTime = IsoDateString;
|
||||
export const expireTimeOrUndefined = t.union([expireTime, t.undefined]);
|
||||
export type ExpireTimeOrUndefined = t.TypeOf<typeof expireTimeOrUndefined>;
|
|
@ -1,12 +0,0 @@
|
|||
/*
|
||||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
||||
* or more contributor license agreements. Licensed under the "Elastic License
|
||||
* 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
|
||||
* Public License v 1"; you may not use this file except in compliance with, at
|
||||
* your election, the "Elastic License 2.0", the "GNU Affero General Public
|
||||
* License v3.0 only", or the "Server Side Public License, v 1".
|
||||
*/
|
||||
|
||||
import * as t from 'io-ts';
|
||||
|
||||
export const file = t.object;
|
|
@ -1,15 +0,0 @@
|
|||
/*
|
||||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
||||
* or more contributor license agreements. Licensed under the "Elastic License
|
||||
* 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
|
||||
* Public License v 1"; you may not use this file except in compliance with, at
|
||||
* your election, the "Elastic License 2.0", the "GNU Affero General Public
|
||||
* License v3.0 only", or the "Server Side Public License, v 1".
|
||||
*/
|
||||
|
||||
import * as t from 'io-ts';
|
||||
|
||||
export const filter = t.string;
|
||||
export type Filter = t.TypeOf<typeof filter>;
|
||||
export const filterOrUndefined = t.union([filter, t.undefined]);
|
||||
export type FilterOrUndefined = t.TypeOf<typeof filterOrUndefined>;
|
|
@ -1,16 +0,0 @@
|
|||
/*
|
||||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
||||
* or more contributor license agreements. Licensed under the "Elastic License
|
||||
* 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
|
||||
* Public License v 1"; you may not use this file except in compliance with, at
|
||||
* your election, the "Elastic License 2.0", the "GNU Affero General Public
|
||||
* License v3.0 only", or the "Server Side Public License, v 1".
|
||||
*/
|
||||
|
||||
import * as t from 'io-ts';
|
||||
import { NonEmptyString } from '@kbn/securitysolution-io-ts-types';
|
||||
|
||||
export const id = NonEmptyString;
|
||||
export type Id = t.TypeOf<typeof id>;
|
||||
export const idOrUndefined = t.union([id, t.undefined]);
|
||||
export type IdOrUndefined = t.TypeOf<typeof idOrUndefined>;
|
|
@ -1,15 +0,0 @@
|
|||
/*
|
||||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
||||
* or more contributor license agreements. Licensed under the "Elastic License
|
||||
* 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
|
||||
* Public License v 1"; you may not use this file except in compliance with, at
|
||||
* your election, the "Elastic License 2.0", the "GNU Affero General Public
|
||||
* License v3.0 only", or the "Server Side Public License, v 1".
|
||||
*/
|
||||
|
||||
import * as t from 'io-ts';
|
||||
|
||||
export const immutable = t.boolean;
|
||||
export type Immutable = t.TypeOf<typeof immutable>;
|
||||
export const immutableOrUndefined = t.union([immutable, t.undefined]);
|
||||
export type ImmutableOrUndefined = t.TypeOf<typeof immutableOrUndefined>;
|
|
@ -1,12 +0,0 @@
|
|||
/*
|
||||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
||||
* or more contributor license agreements. Licensed under the "Elastic License
|
||||
* 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
|
||||
* Public License v 1"; you may not use this file except in compliance with, at
|
||||
* your election, the "Elastic License 2.0", the "GNU Affero General Public
|
||||
* License v3.0 only", or the "Server Side Public License, v 1".
|
||||
*/
|
||||
|
||||
import * as t from 'io-ts';
|
||||
|
||||
export const item = t.string;
|
|
@ -1,15 +0,0 @@
|
|||
/*
|
||||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
||||
* or more contributor license agreements. Licensed under the "Elastic License
|
||||
* 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
|
||||
* Public License v 1"; you may not use this file except in compliance with, at
|
||||
* your election, the "Elastic License 2.0", the "GNU Affero General Public
|
||||
* License v3.0 only", or the "Server Side Public License, v 1".
|
||||
*/
|
||||
|
||||
/* eslint-disable @typescript-eslint/naming-convention */
|
||||
|
||||
import * as t from 'io-ts';
|
||||
|
||||
export const list_type = t.keyof({ item: null, list: null });
|
||||
export type ListType = t.TypeOf<typeof list_type>;
|
|
@ -1,15 +0,0 @@
|
|||
/*
|
||||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
||||
* or more contributor license agreements. Licensed under the "Elastic License
|
||||
* 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
|
||||
* Public License v 1"; you may not use this file except in compliance with, at
|
||||
* your election, the "Elastic License 2.0", the "GNU Affero General Public
|
||||
* License v3.0 only", or the "Server Side Public License, v 1".
|
||||
*/
|
||||
|
||||
import * as t from 'io-ts';
|
||||
|
||||
export const name = t.string;
|
||||
export type Name = t.TypeOf<typeof name>;
|
||||
export const nameOrUndefined = t.union([name, t.undefined]);
|
||||
export type NameOrUndefined = t.TypeOf<typeof nameOrUndefined>;
|
|
@ -1,14 +0,0 @@
|
|||
/*
|
||||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
||||
* or more contributor license agreements. Licensed under the "Elastic License
|
||||
* 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
|
||||
* Public License v 1"; you may not use this file except in compliance with, at
|
||||
* your election, the "Elastic License 2.0", the "GNU Affero General Public
|
||||
* License v3.0 only", or the "Server Side Public License, v 1".
|
||||
*/
|
||||
|
||||
/* eslint-disable @typescript-eslint/naming-convention */
|
||||
|
||||
import { DefaultNamespace } from '../default_namespace';
|
||||
|
||||
export const namespace_type = DefaultNamespace;
|
|
@ -1,16 +0,0 @@
|
|||
/*
|
||||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
||||
* or more contributor license agreements. Licensed under the "Elastic License
|
||||
* 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
|
||||
* Public License v 1"; you may not use this file except in compliance with, at
|
||||
* your election, the "Elastic License 2.0", the "GNU Affero General Public
|
||||
* License v3.0 only", or the "Server Side Public License, v 1".
|
||||
*/
|
||||
|
||||
import * as t from 'io-ts';
|
||||
|
||||
export const page = t.number; // TODO: Change this out for PositiveNumber from siem
|
||||
export type Page = t.TypeOf<typeof page>;
|
||||
|
||||
export const pageOrUndefined = t.union([page, t.undefined]);
|
||||
export type PageOrUndefined = t.TypeOf<typeof pageOrUndefined>;
|
|
@ -1,16 +0,0 @@
|
|||
/*
|
||||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
||||
* or more contributor license agreements. Licensed under the "Elastic License
|
||||
* 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
|
||||
* Public License v 1"; you may not use this file except in compliance with, at
|
||||
* your election, the "Elastic License 2.0", the "GNU Affero General Public
|
||||
* License v3.0 only", or the "Server Side Public License, v 1".
|
||||
*/
|
||||
|
||||
import * as t from 'io-ts';
|
||||
|
||||
export const search = t.string;
|
||||
export type Search = t.TypeOf<typeof search>;
|
||||
|
||||
export const searchOrUndefined = t.union([search, t.undefined]);
|
||||
export type SearchOrUndefined = t.TypeOf<typeof searchOrUndefined>;
|
|
@ -1,15 +0,0 @@
|
|||
/*
|
||||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
||||
* or more contributor license agreements. Licensed under the "Elastic License
|
||||
* 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
|
||||
* Public License v 1"; you may not use this file except in compliance with, at
|
||||
* your election, the "Elastic License 2.0", the "GNU Affero General Public
|
||||
* License v3.0 only", or the "Server Side Public License, v 1".
|
||||
*/
|
||||
|
||||
import * as t from 'io-ts';
|
||||
|
||||
export const serializer = t.string;
|
||||
export type Serializer = t.TypeOf<typeof serializer>;
|
||||
export const serializerOrUndefined = t.union([serializer, t.undefined]);
|
||||
export type SerializerOrUndefined = t.TypeOf<typeof serializerOrUndefined>;
|
|
@ -1,16 +0,0 @@
|
|||
/*
|
||||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
||||
* or more contributor license agreements. Licensed under the "Elastic License
|
||||
* 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
|
||||
* Public License v 1"; you may not use this file except in compliance with, at
|
||||
* your election, the "Elastic License 2.0", the "GNU Affero General Public
|
||||
* License v3.0 only", or the "Server Side Public License, v 1".
|
||||
*/
|
||||
|
||||
/* eslint-disable @typescript-eslint/naming-convention */
|
||||
|
||||
import * as t from 'io-ts';
|
||||
|
||||
export const sort_field = t.string;
|
||||
export const sortFieldOrUndefined = t.union([sort_field, t.undefined]);
|
||||
export type SortFieldOrUndefined = t.TypeOf<typeof sortFieldOrUndefined>;
|
|
@ -1,14 +0,0 @@
|
|||
/*
|
||||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
||||
* or more contributor license agreements. Licensed under the "Elastic License
|
||||
* 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
|
||||
* Public License v 1"; you may not use this file except in compliance with, at
|
||||
* your election, the "Elastic License 2.0", the "GNU Affero General Public
|
||||
* License v3.0 only", or the "Server Side Public License, v 1".
|
||||
*/
|
||||
|
||||
/* eslint-disable @typescript-eslint/naming-convention */
|
||||
|
||||
import * as t from 'io-ts';
|
||||
|
||||
export const tie_breaker_id = t.string; // TODO: Use UUID for this instead of a string for validation
|
|
@ -1,14 +0,0 @@
|
|||
/*
|
||||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
||||
* or more contributor license agreements. Licensed under the "Elastic License
|
||||
* 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
|
||||
* Public License v 1"; you may not use this file except in compliance with, at
|
||||
* your election, the "Elastic License 2.0", the "GNU Affero General Public
|
||||
* License v3.0 only", or the "Server Side Public License, v 1".
|
||||
*/
|
||||
|
||||
import * as t from 'io-ts';
|
||||
import { IsoDateString } from '@kbn/securitysolution-io-ts-types';
|
||||
|
||||
export const timestamp = IsoDateString;
|
||||
export const timestampOrUndefined = t.union([IsoDateString, t.undefined]);
|
|
@ -1,14 +0,0 @@
|
|||
/*
|
||||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
||||
* or more contributor license agreements. Licensed under the "Elastic License
|
||||
* 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
|
||||
* Public License v 1"; you may not use this file except in compliance with, at
|
||||
* your election, the "Elastic License 2.0", the "GNU Affero General Public
|
||||
* License v3.0 only", or the "Server Side Public License, v 1".
|
||||
*/
|
||||
|
||||
import * as t from 'io-ts';
|
||||
|
||||
export const total = t.number; // TODO: Change this out for PositiveNumber from siem
|
||||
export const totalUndefined = t.union([total, t.undefined]);
|
||||
export type TotalOrUndefined = t.TypeOf<typeof totalUndefined>;
|
|
@ -1,14 +0,0 @@
|
|||
/*
|
||||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
||||
* or more contributor license agreements. Licensed under the "Elastic License
|
||||
* 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
|
||||
* Public License v 1"; you may not use this file except in compliance with, at
|
||||
* your election, the "Elastic License 2.0", the "GNU Affero General Public
|
||||
* License v3.0 only", or the "Server Side Public License, v 1".
|
||||
*/
|
||||
|
||||
import * as t from 'io-ts';
|
||||
|
||||
export const _version = t.string;
|
||||
export const _versionOrUndefined = t.union([_version, t.undefined]);
|
||||
export type _VersionOrUndefined = t.TypeOf<typeof _versionOrUndefined>;
|
|
@ -1,14 +0,0 @@
|
|||
/*
|
||||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
||||
* or more contributor license agreements. Licensed under the "Elastic License
|
||||
* 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
|
||||
* Public License v 1"; you may not use this file except in compliance with, at
|
||||
* your election, the "Elastic License 2.0", the "GNU Affero General Public
|
||||
* License v3.0 only", or the "Server Side Public License, v 1".
|
||||
*/
|
||||
|
||||
/* eslint-disable @typescript-eslint/naming-convention */
|
||||
|
||||
import * as t from 'io-ts';
|
||||
|
||||
export const updated_at = t.string; // TODO: Make this into an ISO Date string check
|
|
@ -1,14 +0,0 @@
|
|||
/*
|
||||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
||||
* or more contributor license agreements. Licensed under the "Elastic License
|
||||
* 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
|
||||
* Public License v 1"; you may not use this file except in compliance with, at
|
||||
* your election, the "Elastic License 2.0", the "GNU Affero General Public
|
||||
* License v3.0 only", or the "Server Side Public License, v 1".
|
||||
*/
|
||||
|
||||
/* eslint-disable @typescript-eslint/naming-convention */
|
||||
|
||||
import * as t from 'io-ts';
|
||||
|
||||
export const updated_by = t.string;
|
|
@ -1,13 +0,0 @@
|
|||
/*
|
||||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
||||
* or more contributor license agreements. Licensed under the "Elastic License
|
||||
* 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
|
||||
* Public License v 1"; you may not use this file except in compliance with, at
|
||||
* your election, the "Elastic License 2.0", the "GNU Affero General Public
|
||||
* License v3.0 only", or the "Server Side Public License, v 1".
|
||||
*/
|
||||
|
||||
import * as t from 'io-ts';
|
||||
|
||||
export const value = t.string;
|
||||
export const valueOrUndefined = t.union([value, t.undefined]);
|
|
@ -1,16 +0,0 @@
|
|||
/*
|
||||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
||||
* or more contributor license agreements. Licensed under the "Elastic License
|
||||
* 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
|
||||
* Public License v 1"; you may not use this file except in compliance with, at
|
||||
* your election, the "Elastic License 2.0", the "GNU Affero General Public
|
||||
* License v3.0 only", or the "Server Side Public License, v 1".
|
||||
*/
|
||||
|
||||
import { ID } from '../../constants/index.mock';
|
||||
|
||||
import { DeleteEndpointListItemSchema } from '.';
|
||||
|
||||
export const getDeleteEndpointListItemSchemaMock = (): DeleteEndpointListItemSchema => ({
|
||||
id: ID,
|
||||
});
|
|
@ -1,17 +0,0 @@
|
|||
/*
|
||||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
||||
* or more contributor license agreements. Licensed under the "Elastic License
|
||||
* 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
|
||||
* Public License v 1"; you may not use this file except in compliance with, at
|
||||
* your election, the "Elastic License 2.0", the "GNU Affero General Public
|
||||
* License v3.0 only", or the "Server Side Public License, v 1".
|
||||
*/
|
||||
|
||||
import { ID, NAMESPACE_TYPE } from '../../constants/index.mock';
|
||||
|
||||
import { DeleteExceptionListItemSchema } from '.';
|
||||
|
||||
export const getDeleteExceptionListItemSchemaMock = (): DeleteExceptionListItemSchema => ({
|
||||
id: ID,
|
||||
namespace_type: NAMESPACE_TYPE,
|
||||
});
|
|
@ -1,17 +0,0 @@
|
|||
/*
|
||||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
||||
* or more contributor license agreements. Licensed under the "Elastic License
|
||||
* 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
|
||||
* Public License v 1"; you may not use this file except in compliance with, at
|
||||
* your election, the "Elastic License 2.0", the "GNU Affero General Public
|
||||
* License v3.0 only", or the "Server Side Public License, v 1".
|
||||
*/
|
||||
|
||||
import { ID, NAMESPACE_TYPE } from '../../constants/index.mock';
|
||||
|
||||
import { DeleteExceptionListSchema } from '.';
|
||||
|
||||
export const getDeleteExceptionListSchemaMock = (): DeleteExceptionListSchema => ({
|
||||
id: ID,
|
||||
namespace_type: NAMESPACE_TYPE,
|
||||
});
|
|
@ -1,18 +0,0 @@
|
|||
/*
|
||||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
||||
* or more contributor license agreements. Licensed under the "Elastic License
|
||||
* 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
|
||||
* Public License v 1"; you may not use this file except in compliance with, at
|
||||
* your election, the "Elastic License 2.0", the "GNU Affero General Public
|
||||
* License v3.0 only", or the "Server Side Public License, v 1".
|
||||
*/
|
||||
|
||||
import { ID, LIST_ID, VALUE } from '../../constants/index.mock';
|
||||
|
||||
import { DeleteListItemSchema } from '.';
|
||||
|
||||
export const getDeleteListItemSchemaMock = (): DeleteListItemSchema => ({
|
||||
id: ID,
|
||||
list_id: LIST_ID,
|
||||
value: VALUE,
|
||||
});
|
|
@ -1,18 +0,0 @@
|
|||
/*
|
||||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
||||
* or more contributor license agreements. Licensed under the "Elastic License
|
||||
* 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
|
||||
* Public License v 1"; you may not use this file except in compliance with, at
|
||||
* your election, the "Elastic License 2.0", the "GNU Affero General Public
|
||||
* License v3.0 only", or the "Server Side Public License, v 1".
|
||||
*/
|
||||
|
||||
import { LIST_ID } from '../../constants/index.mock';
|
||||
|
||||
import { DeleteListSchema } from '.';
|
||||
|
||||
export const getDeleteListSchemaMock = (): DeleteListSchema => ({
|
||||
deleteReferences: false,
|
||||
id: LIST_ID,
|
||||
ignoreReferences: true,
|
||||
});
|
|
@ -1,16 +0,0 @@
|
|||
/*
|
||||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
||||
* or more contributor license agreements. Licensed under the "Elastic License
|
||||
* 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
|
||||
* Public License v 1"; you may not use this file except in compliance with, at
|
||||
* your election, the "Elastic License 2.0", the "GNU Affero General Public
|
||||
* License v3.0 only", or the "Server Side Public License, v 1".
|
||||
*/
|
||||
|
||||
import { LIST_ID } from '../../constants/index.mock';
|
||||
|
||||
import { ExportListItemQuerySchema } from '.';
|
||||
|
||||
export const getExportListItemQuerySchemaMock = (): ExportListItemQuerySchema => ({
|
||||
list_id: LIST_ID,
|
||||
});
|
|
@ -1,18 +0,0 @@
|
|||
/*
|
||||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
||||
* or more contributor license agreements. Licensed under the "Elastic License
|
||||
* 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
|
||||
* Public License v 1"; you may not use this file except in compliance with, at
|
||||
* your election, the "Elastic License 2.0", the "GNU Affero General Public
|
||||
* License v3.0 only", or the "Server Side Public License, v 1".
|
||||
*/
|
||||
|
||||
import { LIST_ITEM_ID, META, VALUE } from '../../constants/index.mock';
|
||||
|
||||
import { PatchListItemSchema } from '.';
|
||||
|
||||
export const getPathListItemSchemaMock = (): PatchListItemSchema => ({
|
||||
id: LIST_ITEM_ID,
|
||||
meta: META,
|
||||
value: VALUE,
|
||||
});
|
|
@ -1,19 +0,0 @@
|
|||
/*
|
||||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
||||
* or more contributor license agreements. Licensed under the "Elastic License
|
||||
* 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
|
||||
* Public License v 1"; you may not use this file except in compliance with, at
|
||||
* your election, the "Elastic License 2.0", the "GNU Affero General Public
|
||||
* License v3.0 only", or the "Server Side Public License, v 1".
|
||||
*/
|
||||
|
||||
import { DESCRIPTION, LIST_ITEM_ID, META, NAME } from '../../constants/index.mock';
|
||||
|
||||
import { PatchListSchema } from '.';
|
||||
|
||||
export const getPathListSchemaMock = (): PatchListSchema => ({
|
||||
description: DESCRIPTION,
|
||||
id: LIST_ITEM_ID,
|
||||
meta: META,
|
||||
name: NAME,
|
||||
});
|
|
@ -1,17 +0,0 @@
|
|||
/*
|
||||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
||||
* or more contributor license agreements. Licensed under the "Elastic License
|
||||
* 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
|
||||
* Public License v 1"; you may not use this file except in compliance with, at
|
||||
* your election, the "Elastic License 2.0", the "GNU Affero General Public
|
||||
* License v3.0 only", or the "Server Side Public License, v 1".
|
||||
*/
|
||||
|
||||
import { ID, ITEM_ID } from '../../constants/index.mock';
|
||||
|
||||
import { ReadEndpointListItemSchema } from '.';
|
||||
|
||||
export const getReadEndpointListItemSchemaMock = (): ReadEndpointListItemSchema => ({
|
||||
id: ID,
|
||||
item_id: ITEM_ID,
|
||||
});
|
|
@ -1,18 +0,0 @@
|
|||
/*
|
||||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
||||
* or more contributor license agreements. Licensed under the "Elastic License
|
||||
* 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
|
||||
* Public License v 1"; you may not use this file except in compliance with, at
|
||||
* your election, the "Elastic License 2.0", the "GNU Affero General Public
|
||||
* License v3.0 only", or the "Server Side Public License, v 1".
|
||||
*/
|
||||
|
||||
import { ID, ITEM_ID, NAMESPACE_TYPE } from '../../constants/index.mock';
|
||||
|
||||
import { ReadExceptionListItemSchema } from '.';
|
||||
|
||||
export const getReadExceptionListItemSchemaMock = (): ReadExceptionListItemSchema => ({
|
||||
id: ID,
|
||||
item_id: ITEM_ID,
|
||||
namespace_type: NAMESPACE_TYPE,
|
||||
});
|
|
@ -1,18 +0,0 @@
|
|||
/*
|
||||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
||||
* or more contributor license agreements. Licensed under the "Elastic License
|
||||
* 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
|
||||
* Public License v 1"; you may not use this file except in compliance with, at
|
||||
* your election, the "Elastic License 2.0", the "GNU Affero General Public
|
||||
* License v3.0 only", or the "Server Side Public License, v 1".
|
||||
*/
|
||||
|
||||
import { ID, LIST_ID, NAMESPACE_TYPE } from '../../constants/index.mock';
|
||||
|
||||
import { ReadExceptionListSchema } from '.';
|
||||
|
||||
export const getReadExceptionListSchemaMock = (): ReadExceptionListSchema => ({
|
||||
id: ID,
|
||||
list_id: LIST_ID,
|
||||
namespace_type: NAMESPACE_TYPE,
|
||||
});
|
|
@ -1,18 +0,0 @@
|
|||
/*
|
||||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
||||
* or more contributor license agreements. Licensed under the "Elastic License
|
||||
* 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
|
||||
* Public License v 1"; you may not use this file except in compliance with, at
|
||||
* your election, the "Elastic License 2.0", the "GNU Affero General Public
|
||||
* License v3.0 only", or the "Server Side Public License, v 1".
|
||||
*/
|
||||
|
||||
import { LIST_ID, LIST_ITEM_ID, VALUE } from '../../constants/index.mock';
|
||||
|
||||
import { ReadListItemSchema } from '.';
|
||||
|
||||
export const getReadListItemSchemaMock = (): ReadListItemSchema => ({
|
||||
id: LIST_ITEM_ID,
|
||||
list_id: LIST_ID,
|
||||
value: VALUE,
|
||||
});
|
|
@ -1,16 +0,0 @@
|
|||
/*
|
||||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
||||
* or more contributor license agreements. Licensed under the "Elastic License
|
||||
* 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
|
||||
* Public License v 1"; you may not use this file except in compliance with, at
|
||||
* your election, the "Elastic License 2.0", the "GNU Affero General Public
|
||||
* License v3.0 only", or the "Server Side Public License, v 1".
|
||||
*/
|
||||
|
||||
import { LIST_ID } from '../../constants/index.mock';
|
||||
|
||||
import { ReadListSchema } from '.';
|
||||
|
||||
export const getReadListSchemaMock = (): ReadListSchema => ({
|
||||
id: LIST_ID,
|
||||
});
|
|
@ -1,20 +0,0 @@
|
|||
/*
|
||||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
||||
* or more contributor license agreements. Licensed under the "Elastic License
|
||||
* 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
|
||||
* Public License v 1"; you may not use this file except in compliance with, at
|
||||
* your election, the "Elastic License 2.0", the "GNU Affero General Public
|
||||
* License v3.0 only", or the "Server Side Public License, v 1".
|
||||
*/
|
||||
|
||||
import * as t from 'io-ts';
|
||||
|
||||
import { id } from '../../common/id';
|
||||
|
||||
export const readListSchema = t.exact(
|
||||
t.type({
|
||||
id,
|
||||
})
|
||||
);
|
||||
|
||||
export type ReadListSchema = t.OutputOf<typeof readListSchema>;
|
|
@ -1,14 +0,0 @@
|
|||
/*
|
||||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
||||
* or more contributor license agreements. Licensed under the "Elastic License
|
||||
* 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
|
||||
* Public License v 1"; you may not use this file except in compliance with, at
|
||||
* your election, the "Elastic License 2.0", the "GNU Affero General Public
|
||||
* License v3.0 only", or the "Server Side Public License, v 1".
|
||||
*/
|
||||
|
||||
import { AcknowledgeSchema } from '.';
|
||||
|
||||
export const getAcknowledgeSchemaResponseMock = (): AcknowledgeSchema => ({
|
||||
acknowledged: true,
|
||||
});
|
|
@ -1,14 +0,0 @@
|
|||
/*
|
||||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
||||
* or more contributor license agreements. Licensed under the "Elastic License
|
||||
* 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
|
||||
* Public License v 1"; you may not use this file except in compliance with, at
|
||||
* your election, the "Elastic License 2.0", the "GNU Affero General Public
|
||||
* License v3.0 only", or the "Server Side Public License, v 1".
|
||||
*/
|
||||
|
||||
import * as t from 'io-ts';
|
||||
|
||||
export const acknowledgeSchema = t.exact(t.type({ acknowledged: t.boolean }));
|
||||
|
||||
export type AcknowledgeSchema = t.TypeOf<typeof acknowledgeSchema>;
|
|
@ -1,15 +0,0 @@
|
|||
/*
|
||||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
||||
* or more contributor license agreements. Licensed under the "Elastic License
|
||||
* 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
|
||||
* Public License v 1"; you may not use this file except in compliance with, at
|
||||
* your election, the "Elastic License 2.0", the "GNU Affero General Public
|
||||
* License v3.0 only", or the "Server Side Public License, v 1".
|
||||
*/
|
||||
|
||||
import * as t from 'io-ts';
|
||||
import { exceptionListSchema } from '../exception_list_schema';
|
||||
|
||||
export const createEndpointListSchema = t.union([exceptionListSchema, t.exact(t.type({}))]);
|
||||
|
||||
export type CreateEndpointListSchema = t.TypeOf<typeof createEndpointListSchema>;
|
|
@ -1,17 +0,0 @@
|
|||
/*
|
||||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
||||
* or more contributor license agreements. Licensed under the "Elastic License
|
||||
* 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
|
||||
* Public License v 1"; you may not use this file except in compliance with, at
|
||||
* your election, the "Elastic License 2.0", the "GNU Affero General Public
|
||||
* License v3.0 only", or the "Server Side Public License, v 1".
|
||||
*/
|
||||
|
||||
import { ExceptionListSummarySchema } from '.';
|
||||
|
||||
export const getListSummaryResponseMock = (): ExceptionListSummarySchema => ({
|
||||
windows: 0,
|
||||
linux: 1,
|
||||
macos: 2,
|
||||
total: 3,
|
||||
});
|
|
@ -1,16 +0,0 @@
|
|||
/*
|
||||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
||||
* or more contributor license agreements. Licensed under the "Elastic License
|
||||
* 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
|
||||
* Public License v 1"; you may not use this file except in compliance with, at
|
||||
* your election, the "Elastic License 2.0", the "GNU Affero General Public
|
||||
* License v3.0 only", or the "Server Side Public License, v 1".
|
||||
*/
|
||||
|
||||
import { FoundAllListItemsSchema } from '.';
|
||||
import { getListItemResponseMock } from '../list_item_schema/index.mock';
|
||||
|
||||
export const getFoundAllListItemsSchemaMock = (): FoundAllListItemsSchema => ({
|
||||
data: [getListItemResponseMock()],
|
||||
total: 1,
|
||||
});
|
|
@ -1,19 +0,0 @@
|
|||
/*
|
||||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
||||
* or more contributor license agreements. Licensed under the "Elastic License
|
||||
* 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
|
||||
* Public License v 1"; you may not use this file except in compliance with, at
|
||||
* your election, the "Elastic License 2.0", the "GNU Affero General Public
|
||||
* License v3.0 only", or the "Server Side Public License, v 1".
|
||||
*/
|
||||
|
||||
import { FoundListSchema } from '.';
|
||||
import { getListResponseMock } from '../list_schema/index.mock';
|
||||
|
||||
export const getFoundListSchemaMock = (): FoundListSchema => ({
|
||||
cursor: '123',
|
||||
data: [getListResponseMock()],
|
||||
page: 1,
|
||||
per_page: 1,
|
||||
total: 1,
|
||||
});
|
|
@ -1,16 +0,0 @@
|
|||
/*
|
||||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
||||
* or more contributor license agreements. Licensed under the "Elastic License
|
||||
* 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
|
||||
* Public License v 1"; you may not use this file except in compliance with, at
|
||||
* your election, the "Elastic License 2.0", the "GNU Affero General Public
|
||||
* License v3.0 only", or the "Server Side Public License, v 1".
|
||||
*/
|
||||
|
||||
import { FoundListsBySizeSchema } from '.';
|
||||
import { getListResponseMock } from '../list_schema/index.mock';
|
||||
|
||||
export const getFoundListsBySizeSchemaMock = (): FoundListsBySizeSchema => ({
|
||||
smallLists: [getListResponseMock()],
|
||||
largeLists: [getListResponseMock()],
|
||||
});
|
|
@ -1,15 +0,0 @@
|
|||
/*
|
||||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
||||
* or more contributor license agreements. Licensed under the "Elastic License
|
||||
* 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
|
||||
* Public License v 1"; you may not use this file except in compliance with, at
|
||||
* your election, the "Elastic License 2.0", the "GNU Affero General Public
|
||||
* License v3.0 only", or the "Server Side Public License, v 1".
|
||||
*/
|
||||
|
||||
import { ListItemIndexExistSchema } from '.';
|
||||
|
||||
export const getListItemIndexExistSchemaResponseMock = (): ListItemIndexExistSchema => ({
|
||||
list_index: true,
|
||||
list_item_index: true,
|
||||
});
|
|
@ -1,19 +0,0 @@
|
|||
/*
|
||||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
||||
* or more contributor license agreements. Licensed under the "Elastic License
|
||||
* 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
|
||||
* Public License v 1"; you may not use this file except in compliance with, at
|
||||
* your election, the "Elastic License 2.0", the "GNU Affero General Public
|
||||
* License v3.0 only", or the "Server Side Public License, v 1".
|
||||
*/
|
||||
|
||||
import * as t from 'io-ts';
|
||||
|
||||
export const listItemIndexExistSchema = t.exact(
|
||||
t.type({
|
||||
list_index: t.boolean,
|
||||
list_item_index: t.boolean,
|
||||
})
|
||||
);
|
||||
|
||||
export type ListItemIndexExistSchema = t.TypeOf<typeof listItemIndexExistSchema>;
|
|
@ -1,14 +0,0 @@
|
|||
/*
|
||||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
||||
* or more contributor license agreements. Licensed under the "Elastic License
|
||||
* 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
|
||||
* Public License v 1"; you may not use this file except in compliance with, at
|
||||
* your election, the "Elastic License 2.0", the "GNU Affero General Public
|
||||
* License v3.0 only", or the "Server Side Public License, v 1".
|
||||
*/
|
||||
|
||||
module.exports = {
|
||||
preset: '@kbn/test',
|
||||
rootDir: '../..',
|
||||
roots: ['<rootDir>/packages/kbn-securitysolution-io-ts-types'],
|
||||
};
|
|
@ -1,14 +0,0 @@
|
|||
/*
|
||||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
||||
* or more contributor license agreements. Licensed under the "Elastic License
|
||||
* 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
|
||||
* Public License v 1"; you may not use this file except in compliance with, at
|
||||
* your election, the "Elastic License 2.0", the "GNU Affero General Public
|
||||
* License v3.0 only", or the "Server Side Public License, v 1".
|
||||
*/
|
||||
|
||||
module.exports = {
|
||||
preset: '@kbn/test',
|
||||
rootDir: '../..',
|
||||
roots: ['<rootDir>/packages/kbn-securitysolution-io-ts-utils'],
|
||||
};
|
|
@ -1,14 +0,0 @@
|
|||
/*
|
||||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
||||
* or more contributor license agreements. Licensed under the "Elastic License
|
||||
* 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
|
||||
* Public License v 1"; you may not use this file except in compliance with, at
|
||||
* your election, the "Elastic License 2.0", the "GNU Affero General Public
|
||||
* License v3.0 only", or the "Server Side Public License, v 1".
|
||||
*/
|
||||
|
||||
export * from './src/api';
|
||||
export * from './src/fp_utils';
|
||||
export * from './src/list_api';
|
||||
export * from './src/list_item_api';
|
||||
export * from './src/types';
|
|
@ -1,14 +0,0 @@
|
|||
/*
|
||||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
||||
* or more contributor license agreements. Licensed under the "Elastic License
|
||||
* 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
|
||||
* Public License v 1"; you may not use this file except in compliance with, at
|
||||
* your election, the "Elastic License 2.0", the "GNU Affero General Public
|
||||
* License v3.0 only", or the "Server Side Public License, v 1".
|
||||
*/
|
||||
|
||||
module.exports = {
|
||||
preset: '@kbn/test',
|
||||
rootDir: '../..',
|
||||
roots: ['<rootDir>/packages/kbn-securitysolution-list-api'],
|
||||
};
|
|
@ -1,14 +0,0 @@
|
|||
/*
|
||||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
||||
* or more contributor license agreements. Licensed under the "Elastic License
|
||||
* 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
|
||||
* Public License v 1"; you may not use this file except in compliance with, at
|
||||
* your election, the "Elastic License 2.0", the "GNU Affero General Public
|
||||
* License v3.0 only", or the "Server Side Public License, v 1".
|
||||
*/
|
||||
|
||||
import type { AcknowledgeSchema } from '@kbn/securitysolution-io-ts-list-types';
|
||||
|
||||
export const getAcknowledgeSchemaResponseMock = (): AcknowledgeSchema => ({
|
||||
acknowledged: true,
|
||||
});
|
|
@ -1,15 +0,0 @@
|
|||
/*
|
||||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
||||
* or more contributor license agreements. Licensed under the "Elastic License
|
||||
* 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
|
||||
* Public License v 1"; you may not use this file except in compliance with, at
|
||||
* your election, the "Elastic License 2.0", the "GNU Affero General Public
|
||||
* License v3.0 only", or the "Server Side Public License, v 1".
|
||||
*/
|
||||
|
||||
import type { ListItemIndexExistSchema } from '@kbn/securitysolution-io-ts-list-types';
|
||||
|
||||
export const getListItemIndexExistSchemaResponseMock = (): ListItemIndexExistSchema => ({
|
||||
list_index: true,
|
||||
list_item_index: true,
|
||||
});
|
|
@ -1,14 +0,0 @@
|
|||
/*
|
||||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
||||
* or more contributor license agreements. Licensed under the "Elastic License
|
||||
* 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
|
||||
* Public License v 1"; you may not use this file except in compliance with, at
|
||||
* your election, the "Elastic License 2.0", the "GNU Affero General Public
|
||||
* License v3.0 only", or the "Server Side Public License, v 1".
|
||||
*/
|
||||
|
||||
module.exports = {
|
||||
preset: '@kbn/test',
|
||||
rootDir: '../..',
|
||||
roots: ['<rootDir>/packages/kbn-securitysolution-list-hooks'],
|
||||
};
|
|
@ -1,10 +0,0 @@
|
|||
/*
|
||||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
||||
* or more contributor license agreements. Licensed under the "Elastic License
|
||||
* 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
|
||||
* Public License v 1"; you may not use this file except in compliance with, at
|
||||
* your election, the "Elastic License 2.0", the "GNU Affero General Public
|
||||
* License v3.0 only", or the "Server Side Public License, v 1".
|
||||
*/
|
||||
|
||||
export const READ_INDEX_QUERY_KEY = ['detectionEngine', 'listIndex'];
|
|
@ -1,15 +0,0 @@
|
|||
/*
|
||||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
||||
* or more contributor license agreements. Licensed under the "Elastic License
|
||||
* 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
|
||||
* Public License v 1"; you may not use this file except in compliance with, at
|
||||
* your election, the "Elastic License 2.0", the "GNU Affero General Public
|
||||
* License v3.0 only", or the "Server Side Public License, v 1".
|
||||
*/
|
||||
|
||||
import { deleteList } from '@kbn/securitysolution-list-api';
|
||||
import { useAsync, withOptionalSignal } from '@kbn/securitysolution-hook-utils';
|
||||
|
||||
const deleteListWithOptionalSignal = withOptionalSignal(deleteList);
|
||||
|
||||
export const useDeleteList = () => useAsync(deleteListWithOptionalSignal);
|
|
@ -1,15 +0,0 @@
|
|||
/*
|
||||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
||||
* or more contributor license agreements. Licensed under the "Elastic License
|
||||
* 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
|
||||
* Public License v 1"; you may not use this file except in compliance with, at
|
||||
* your election, the "Elastic License 2.0", the "GNU Affero General Public
|
||||
* License v3.0 only", or the "Server Side Public License, v 1".
|
||||
*/
|
||||
|
||||
import { exportList } from '@kbn/securitysolution-list-api';
|
||||
import { useAsync, withOptionalSignal } from '@kbn/securitysolution-hook-utils';
|
||||
|
||||
const exportListWithOptionalSignal = withOptionalSignal(exportList);
|
||||
|
||||
export const useExportList = () => useAsync(exportListWithOptionalSignal);
|
|
@ -1,15 +0,0 @@
|
|||
/*
|
||||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
||||
* or more contributor license agreements. Licensed under the "Elastic License
|
||||
* 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
|
||||
* Public License v 1"; you may not use this file except in compliance with, at
|
||||
* your election, the "Elastic License 2.0", the "GNU Affero General Public
|
||||
* License v3.0 only", or the "Server Side Public License, v 1".
|
||||
*/
|
||||
|
||||
import { findLists } from '@kbn/securitysolution-list-api';
|
||||
import { useAsync, withOptionalSignal } from '@kbn/securitysolution-hook-utils';
|
||||
|
||||
const findListsWithOptionalSignal = withOptionalSignal(findLists);
|
||||
|
||||
export const useFindLists = () => useAsync(findListsWithOptionalSignal);
|
|
@ -1,15 +0,0 @@
|
|||
/*
|
||||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
||||
* or more contributor license agreements. Licensed under the "Elastic License
|
||||
* 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
|
||||
* Public License v 1"; you may not use this file except in compliance with, at
|
||||
* your election, the "Elastic License 2.0", the "GNU Affero General Public
|
||||
* License v3.0 only", or the "Server Side Public License, v 1".
|
||||
*/
|
||||
|
||||
import { importList } from '@kbn/securitysolution-list-api';
|
||||
import { useAsync, withOptionalSignal } from '@kbn/securitysolution-hook-utils';
|
||||
|
||||
const importListWithOptionalSignal = withOptionalSignal(importList);
|
||||
|
||||
export const useImportList = () => useAsync(importListWithOptionalSignal);
|
|
@ -1,14 +0,0 @@
|
|||
/*
|
||||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
||||
* or more contributor license agreements. Licensed under the "Elastic License
|
||||
* 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
|
||||
* Public License v 1"; you may not use this file except in compliance with, at
|
||||
* your election, the "Elastic License 2.0", the "GNU Affero General Public
|
||||
* License v3.0 only", or the "Server Side Public License, v 1".
|
||||
*/
|
||||
|
||||
module.exports = {
|
||||
preset: '@kbn/test',
|
||||
rootDir: '../..',
|
||||
roots: ['<rootDir>/packages/kbn-securitysolution-list-utils'],
|
||||
};
|
|
@ -1,15 +0,0 @@
|
|||
/*
|
||||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
||||
* or more contributor license agreements. Licensed under the "Elastic License
|
||||
* 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
|
||||
* Public License v 1"; you may not use this file except in compliance with, at
|
||||
* your election, the "Elastic License 2.0", the "GNU Affero General Public
|
||||
* License v3.0 only", or the "Server Side Public License, v 1".
|
||||
*/
|
||||
|
||||
import type { EntriesArray } from '@kbn/securitysolution-io-ts-list-types';
|
||||
|
||||
export const hasLargeValueList = (entries: EntriesArray): boolean => {
|
||||
const found = entries.filter(({ type }) => type === 'list');
|
||||
return found.length > 0;
|
||||
};
|
|
@ -1,13 +0,0 @@
|
|||
/*
|
||||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
||||
* or more contributor license agreements. Licensed under the "Elastic License
|
||||
* 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
|
||||
* Public License v 1"; you may not use this file except in compliance with, at
|
||||
* your election, the "Elastic License 2.0", the "GNU Affero General Public
|
||||
* License v3.0 only", or the "Server Side Public License, v 1".
|
||||
*/
|
||||
|
||||
export * from './src/constants';
|
||||
export * from './src/utils';
|
||||
// eslint-disable-next-line @kbn/imports/no_boundary_crossing
|
||||
export * from './src/mock';
|
|
@ -1,10 +0,0 @@
|
|||
/*
|
||||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
||||
* or more contributor license agreements. Licensed under the "Elastic License
|
||||
* 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
|
||||
* Public License v 1"; you may not use this file except in compliance with, at
|
||||
* your election, the "Elastic License 2.0", the "GNU Affero General Public
|
||||
* License v3.0 only", or the "Server Side Public License, v 1".
|
||||
*/
|
||||
|
||||
export * from './mock_event_details';
|
|
@ -1,11 +0,0 @@
|
|||
/*
|
||||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
||||
* or more contributor license agreements. Licensed under the "Elastic License
|
||||
* 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
|
||||
* Public License v 1"; you may not use this file except in compliance with, at
|
||||
* your election, the "Elastic License 2.0", the "GNU Affero General Public
|
||||
* License v3.0 only", or the "Server Side Public License, v 1".
|
||||
*/
|
||||
|
||||
export * from './api';
|
||||
export * from './drag_and_drop';
|
|
@ -1,15 +0,0 @@
|
|||
/*
|
||||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
||||
* or more contributor license agreements. Licensed under the "Elastic License
|
||||
* 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
|
||||
* Public License v 1"; you may not use this file except in compliance with, at
|
||||
* your election, the "Elastic License 2.0", the "GNU Affero General Public
|
||||
* License v3.0 only", or the "Server Side Public License, v 1".
|
||||
*/
|
||||
|
||||
export * from './src/add_remove_id_to_item';
|
||||
export * from './src/axios';
|
||||
export * from './src/transform_data_to_ndjson';
|
||||
export * from './src/path_validations';
|
||||
export * from './src/esql';
|
||||
export * from './src/debounce_async/debounce_async';
|
|
@ -1,14 +0,0 @@
|
|||
/*
|
||||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
||||
* or more contributor license agreements. Licensed under the "Elastic License
|
||||
* 2.0", the "GNU Affero General Public License v3.0 only", and the "Server Side
|
||||
* Public License v 1"; you may not use this file except in compliance with, at
|
||||
* your election, the "Elastic License 2.0", the "GNU Affero General Public
|
||||
* License v3.0 only", or the "Server Side Public License, v 1".
|
||||
*/
|
||||
|
||||
module.exports = {
|
||||
preset: '@kbn/test',
|
||||
rootDir: '../..',
|
||||
roots: ['<rootDir>/packages/kbn-securitysolution-utils'],
|
||||
};
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue