* Initial commit
* Properly handle signal history
* Fix #95258 - cardinality sort bug
* Init threshold rule
* Create working threshold rule
* Fix threshold signal generation
* Fix tests
* Update mappings
* ALERT_TYPE_ID => RULE_TYPE_ID
* Add tests
* Fix types
* Adds RAC rule type migration
* Fix threshold tests (remove outputIndex)
* Add threshold rule type to ruleTypeMappings
* Add kbn-securitysolution-rules package for sharing with alerting framework
* Fix type errors
* Fix find_rules tests
* First round of test fixes
* Fix issues from merge conflicts
* Use ruleDataClient getReader() for reading
* Fixes to 'generating_signals' tests
* Remove more refs to legacy schema
* Linting
* Quick type fix
* Bug fixes
* Add saved query rule type
* Linting
* Fix types
* Signal generation tests
* Test updates
* Update some more refs
* build_alert tests
* Cleanup
* Ref updates
* Revert "Ref updates"
This reverts commit 4d1473d6b0
.
* Update status field
* Test fixes
* Another test
* Got a little too aggressive with search/replace
* let's see where we're at
* Fix
* Test fixes
* cleanup
* Fix cases API integration test config, flaky DE tests
* Move flattenWithPrefix to package / skip signal migration tests
* Fix unit tests
* Use new schema for bulk rule creation
* event: { kind } => event.kind
* Fix signal migration API tests
* Fix ml integration test
* Fix threat match integration tests
* Fix ML rule type tests and add correct producer to all rule types
* Update threat match API integration test
* Remove dupe properties
* Type fix
* Fix ML producer in functional test
* Fix generating_signals tests
* Remove usage of RuleDataClient-based execution log client
* Don't check output index version if rule registry enabled
* Fix bulk duplicate rule
* Fix duplicate rule test
* Fix readPrivileges and timestamp check logic
* Fixes for eql and exceptions tests... disable open_close_signals
* Type fixes / keyword test fixes
* Additional test fixes
* Unit test fixes + signal -> kibana.alert
* Test fixes for exceptions
* Fix read_resolve_rules test
* Various test fixes with marshallmain
* Sort search results
* Fix create_rules tests
* Disable writer cache for integration tests
* Disable writer cache for cases integration tests
* Fix types in rule_data_plugin_service
* Fix ordering in exceptions tests
* Remove rule_registry.enabled flag
* Fix signals migration tests
* Don't check signals index before creation
* Fix cypress config
* Fix type error
* create_migrations tests
* Skip flaky test
* Helpful comment
* Fixes from merge conflicts
* Pretend that signals index exists
* Fix type errors
* Skip flaky tests
* Fix threat matching test
* Clean up
* Reverting default ruleRegistry experimental flag (breaks unit tests)
* Reenable rule registry experimental feature by default
* Execute DE rule migration in 8.0
Co-authored-by: Marshall Main <marshall.main@elastic.co>
110 lines
2.6 KiB
Plaintext
110 lines
2.6 KiB
Plaintext
[[monorepo-packages]]
|
|
== {kib} Monorepo Packages
|
|
|
|
Currently {kib} works as a monorepo composed by a core, plugins and packages.
|
|
The latest are located in a folder called `packages` and are pieces of software that
|
|
composes a set of features that can be isolated and reused across the entire repository.
|
|
They are also supposed to be able to imported just like any other `node_module`.
|
|
|
|
Previously we relied solely on `@kbn/pm` to manage the development tools of those packages, but we are
|
|
now in the middle of migrating those responsibilities into Bazel. Every package already migrated
|
|
will contain in its root folder a `BUILD.bazel` file and other `build` and `watching` strategies should be used.
|
|
|
|
Remember that any time you need to make sure the monorepo is ready to be used just run:
|
|
|
|
[source,bash]
|
|
----
|
|
yarn kbn bootstrap
|
|
----
|
|
|
|
[discrete]
|
|
=== Building Non Bazel Packages
|
|
|
|
Non Bazel packages can be built independently with
|
|
|
|
[source,bash]
|
|
----
|
|
yarn kbn run build -i PACKAGE_NAME
|
|
----
|
|
|
|
[discrete]
|
|
=== Building Bazel Packages
|
|
|
|
Bazel packages are built as a whole for now. You can use:
|
|
|
|
[source,bash]
|
|
----
|
|
yarn kbn build
|
|
----
|
|
|
|
[discrete]
|
|
=== Watching Bazel Packages
|
|
|
|
Bazel packages are watched as a whole for now. You can use:
|
|
|
|
[source,bash]
|
|
----
|
|
yarn kbn watch
|
|
----
|
|
|
|
|
|
[discrete]
|
|
=== List of Already Migrated Packages to Bazel
|
|
|
|
- @elastic/datemath
|
|
- @elastic/eslint-config-kibana
|
|
- @elastic/safer-lodash-set
|
|
- @kbn/ace
|
|
- @kbn/analytics
|
|
- @kbn/apm-config-loader
|
|
- @kbn/apm-utils
|
|
- @kbn/babel-code-parser
|
|
- @kbn/babel-preset
|
|
- @kbn/cli-dev-mode
|
|
- @kbn/config
|
|
- @kbn/config-schema
|
|
- @kbn/crypto
|
|
- @kbn/dev-utils
|
|
- @kbn/docs-utils
|
|
- @kbn/es
|
|
- @kbn/es-archiver
|
|
- @kbn/eslint-import-resolver-kibana
|
|
- @kbn/eslint-plugin-eslint
|
|
- @kbn/expect
|
|
- @kbn/i18n
|
|
- @kbn/interpreter
|
|
- @kbn/io-ts-utils
|
|
- @kbn/logging
|
|
- @kbn/mapbox-gl
|
|
- @kbn/monaco
|
|
- @kbn/optimizer
|
|
- @kbn/plugin-helpers
|
|
- @kbn/rule-data-utils
|
|
- @kbn/securitysolution-autocomplete
|
|
- @kbn/securitysolution-es-utils
|
|
- @kbn/securitysolution-hook-utils
|
|
- @kbn/securitysolution-io-ts-alerting-types
|
|
- @kbn/securitysolution-io-ts-list-types
|
|
- @kbn/securitysolution-io-ts-types
|
|
- @kbn/securitysolution-io-ts-utils
|
|
- @kbn/securitysolution-list-api
|
|
- @kbn/securitysolution-list-constants
|
|
- @kbn/securitysolution-list-hooks
|
|
- @kbn/securitysolution-list-utils
|
|
- @kbn/securitysolution-rules
|
|
- @kbn/securitysolution-utils
|
|
- @kbn/server-http-tools
|
|
- @kbn/server-route-repository
|
|
- @kbn/spec-to-console
|
|
- @kbn/std
|
|
- @kbn/storybook
|
|
- @kbn/telemetry-utils
|
|
- @kbn/test
|
|
- @kbn/test-subj-selector
|
|
- @kbn/tinymath
|
|
- @kbn/ui-framework
|
|
- @kbn/ui-shared-deps-npm
|
|
- @kbn/ui-shared-deps-src
|
|
- @kbn/utility-types
|
|
- @kbn/utils
|