* 🚚 First move batch to common
* 🚚 Second batch of move
* 🏷️ Import types only
* 🚚 Third batch
* 🚚 Fourth batch move
* 🚚 Another module moved
* 🚚 More function moved
* 🚚 Last bit of move
* ⚡ Reduce page load bundle size
* 🐛 Fix import issue
* 🐛 More import fix
* ✨ Registered functions on the server
* 🐛 Expose datatable_column as well
* ✅ Add server side expression test
* 🚚 Moved back render functions to public
* ✨ Add a timezone arg to time_scale
* 🔥 Remove timezone arg
* 🔥 Remove server side code for now
* 👌 Integrated feedback
* 🚚 Move back datatable render function
* 🏷️ Fix imports
* 🏷️ Fix missing export
* 🚚 Move render functions back!
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* [Lens] Truncate field dropdown in the middle
* implementation
* aligning width of the elements, calculating width in canvas, serving edgecases like selected element, tests update
* revert selectedField as it doesn't solve all cases
* code review
* cr
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* Unify subtitle text in flyout and modal for event filters
* Change variable name and make it more consistent with trusted apps showing subtitle only when adding event filters
* Remove old unused keys
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* update monitor list component to hide downtown history and accordion toggle in medium and large screens
* force page headings with flex content to wrap
* adjust types
* adjust variable naming for uptime monitor list
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
## Summary
Fixes https://github.com/elastic/kibana/issues/102613, and targets `7.14.0` as a blocker/critical
Previously we never fully finished the plumbing for using the `os_types` (operating system type) in the exception lists to be able to filter out values based on this type. With the endpoint exceptions now having specific selections for os_type we have to filter it with exceptions and basically make it work.
Some caveats is that the endpoints utilize `host.os.name.casless` for filtering against os_type, while agents such as auditbeat, winlogbeat, etc... use `host.os.type`. Really `host.os.type` is the correct ECS field to use, but to retain compatibility with the current version of endpoint agents I support both in one query to where if either of these two matches, then that will trigger the exceptions.
* Adds e2e tests
* Enhances the e2e tooling to do endpoint exception testing with `os_types`.
* Adds the logic to handle os_type
* Updates the unit tests
### Checklist
Delete any items that are not applicable to this PR.
- [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios
## Summary
Creates an autocomplete package from `lists` and removes duplicate code between `lists` and `security_solutions`
* Consolidates different PR's where we were changing different parts of autocomplete in different ways.
* Existing Cypress tests should cover any mistakes hopefully
Manual Testing:
* Ensure this bug does not crop up again https://github.com/elastic/kibana/pull/87004
* Make sure that the exception list autocomplete looks alright
### Checklist
- [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios
* flyout-overview
* integrate with hover actions
* fix types
* fix types
* move TopN into a popover
* fix types
* fix up
* update field width
* fix unit tests
* fix agent status field
* Unify subtitle text in flyout and modal for event filters
* Change variable name and make it more consistent with trusted apps showing subtitle only when adding event filters
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
### Add specs for several missing routes
See additions in `openapi/entrypoint.yaml`
- `/agents/{agentId}/reassign`
- `/agents/bulk_reassign`
- `/agents/bulk_unenroll`
- `/package_policies/delete`
### Add enum of string values for delete package response
See 5c04dfc
### Fixed inaccurate operation spec
spec for `delete-agent-policy` operation currently shows it accepting an array of ids`agentPolicyIds: string[]` and returning an array of results, but it actually accepts a single `agentPolicyId: string` id an returns a single object
### Internal changes
#### Better / more consistent operation names
e.g.
```diff
- operationId: post-agent-policy
+ operationId: create-agent-policy
```
and
```diff
- operationId: put-agent-policy-agentPolicyId
+ operationId: update-agent-policy
```
#### Better schema titles
e.g.
```diff
- title: UpdatePackagePolicy
+ title: Update package policy
```
* wrapped deprecations endpoints in authz wrapper
* remove unused import
* added KibanaProvider interface
* removed second call of "handler" and moved api functional test to authd version of supertest
* fix api integration tests
* added api integration test for authzd users
* do not check for privileges if security is disbaled
* run organize imports
* updated jest test
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* add deprecation notice to the upgrade assistant
* fix types and update jest snapshot
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* WIP: register inventory metric threshold as lifecycle rule
* fix inventory executor error
* save alerts into ES
* temp
* basic format reason for inventory threshold
* clean up, fix i18n error and temporarily remove types
* delete serialized params
* include group name in the reason
* cleanup
* link to default metrics page
* grab the value and threshold for the inventory item
* fix typo
* fix check types
* remove threshold and currentValue, the reason field will contain this info for combined conditions
* remove thereshold and value from the reason, soon will be replaced by indexed reason field
* remove unnecessary export
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* [Alerting] Renamed Alerting framework AlertsClient to RulesClient according to the new terminology.
* fixed path
* fixed type checks
* fixed type checks