* Add new reusable MultiInputRows component
- basically the CurationQuery component, but with a generic values var & allows passing in custom text for every string
* Update CurationQueries with MultiInputRows
* Update MultiInputRows to support on change behavior
- for upcoming Relevance Tuning usage
* Update Relevance Tuning value boost form to use new component
- relevance_tuning_form.test.tsx fix: was getting test errors with mount(), so I switched to shallow()
* Change submitOnChange to onChange fn
- more flexible - allows for either an onSubmit or onChange, or even potentially both
* Convert MultiInputRowsLogic to keyed Kea logic
- so that we can have multiple instances on the same page - primarily the value boosts use case
* Update LogicMounter helper & tests to handle keyed logic w/ props
* [Misc] LogicMounter helper - fix typing, perf
- Use Kea's types instead of trying to rewrite my own LogicFile
- Add an early return for tests that pass `{}` to values as well for performance
* PR feedback: Change values prop to initialValues
+ bonus - add a fallback for initially empty components
+ add a test to check that the logic was mounted correctly
* PR feedback: Remove useRef/on mount onChange catch for now
- We don't currently need the extra catch for any live components, and it's confusing
* [Reporting] Screenshot Service RFC
* rewrite summary
* simplify design
* Update 0009_screenshot_mode_service.md
* mention the 3 screenshot report apps
* try not to say this is a high-level service
* clarify that print media css is just ok
* clarify the intent
* drop the `app`
* add the possibility to test screenshot mode through a URL parameter
* keep it more low-level
* keep the discussion high level
* move a sectioin of text
* Move redirect logic into logic file
* Add logic to prevent prompt from triggering when changing tabs
The idea here is to set a boolean flag that sends false for unsavedChanges when switching between tabs and then sets it back after a successful tab change
* Keep sidebar nav item active for both tabs
* Add tests
* Make the prepackaged rules functions async
* Fix type for getPrepackagedRules mock
* Install updates from saved objects & FS
* Mock getLatestPrepackagedRules instead of getPrepackagedRules
* Cleanup ruleAssetSavedObjectsClientFactory.all
* Fix comment for "most recent version"
* Switch to ruleMap.get() for less typescript errors
* Remove unneeded constants
* Fix SO.attributes sig and use custom validation
* Replace validation function in signal executor
* Remove more RuleTypeParams usage
* Add security solution rules migration to alerting plugin
* Handle and test null value in threshold.field
* Remove runtime normalization of threshold field
* Remove signalParamsSchema
Co-authored-by: Davis Plumlee <davis.plumlee@elastic.co>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* chore(NA): moving @kbn/config-schema into bazel
* chore(NA): correctly format packages for the new bazel standards
* chore(NA): correctly maps srcs into source_files
* chore(NA): remove config-schema dep from legacy built packages package.jsons
* chore(NA): include kbn/config-schema in the list of bazel packages to be built
* chore(NA): change import to fix typechecking
* chore(NA): remove dependency on new package built by bazel
* chore(NA): be more explicit about incremental setting
* chore(NA): include pretty in the args for ts_project rule
* docs(NA): include package migration completion in the developer getting started
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* Update Workplace Search nav to align with App Search
* Add constants to shared
* [App Search] Use shared constants
* [Workplace Search] Add breadcrumbs to Role mappings
* Enable shouldShowActiveForSubroutes
* [TSVB] Enable brush for visualizations created with no index patterns
* Fix comments typo
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* Pull out columns to be re-used for MetaEnginesTable
* Add route to get source engines for meta engines
* New MetaEnginesTableLogic
* New MetaEnginesTable component
* Remove isMeta prop from EnginesTable
* Swap EnginesTable with MetaEnginesTable in EnginesOverview for meta engines
* Missing test for MetaEnginesTableNameColumnContent
* Created new /app_search/components/engines/components/tables directory
* Moving columns to shared_columns.tsx file
* Updates to MetaEnginesTableExpandedRow and MetaEnginesTableNameColumnContent
* Fixes to EnginesTable, MetaEnginesTable, MetaEnginesTableLogic
* Remove flatten import
* Fix i18n
* PR Feedback
* DRY out shared engine link helpers
* DRY out shared ACTIONS_COLUMN
* Tests: DRY out shared columns/props tests
+ update to account for 2 previous DRY commits (e.g. deleteEngine mock)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Constance Chen <constance.chen.3@gmail.com>
* Using shard size avg instead of primary total
* Added ui text
* Changed to primary average instead of total
* Addressed cr feedback
* Added zero check
* Fixed threshold checking
* Changed description
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
## Summary
This PR updates the MITRE Tactics, Techniques, and Subtechniques used within Security Solution Detection Rules. See https://github.com/elastic/kibana/issues/89876 for details on automating this task. 🙂