## Summary
* Fixes the Type Script types so we don't have to use non-null-assertions
* Adds null checks where needed
* Changes the time range query to have a format of epoch to avoid mapping issues
### Checklist
- [x] [Unit or functional tests](https://github.com/elastic/kibana/blob/master/CONTRIBUTING.md#cross-browser-compatibility) were updated or added to match the most common scenarios
* Refactor of mocks into own dir ++ added `createAppContextTestRender`
* new AppRootProvider component
* Refactor application `index.tsx` to use `AppRootProvider`
* Add `generatePolicyDatasource()` to EndpointDocGenerator
* Test for policy details
* enable w3c for chrome
* update maps tests
* update maps tests
* update common_page
* Revert "update maps tests"
This reverts commit 31f43fd678.
* revert changes to maps tests
* undo after removal
* update expect range to pass on Windows, unskip tests for Firefox
* print out value for discover brushing test
* log first timestamp
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
* add new ecs description
* new auditbeat/filebeat description
* update description winlogbeat
* bring back description in pictures
* review I + use ECS doc as last ressource when you do not know the index
* update test
* safety default just in case
* fix functional test
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
* Add service map icon for rum-js agent type
We previously were only checking for "js-base" as the RUM `agent.name` but it can report either "js-base" or "rum-js", so make that work.
I saw an "opbeans-react" service on a map generated by apm-integration-testing that Gil had running last week. Not sure if that's a newer or older version because I don't see it on apm.elstc.co.
Also clean up the icons storybook a little.
Fixes#62336.
* use isRumAgentName
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
* Using saved objects id instead of creating one
* Adding map to list of types
* Fixing typing errors
* Reverting id change
* Reverting asset id
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
resolves https://github.com/elastic/kibana/issues/62372
See the referenced issue for background. Eventually we will probably have to
have a separate setting for `tls.rejectUnauthorized`, not base it on the
value of the `secure` config property. But this will likely be useful for
a number of smtp servers used by customers.
* [ML] Show better file structure finder explanations
* more typescript changes
* changing function format
* fixing some types
* fixing translation id
* fix boom error reporting
* changes based on review
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
* removed unnecessary filter
* update condition
* added a unit test for mix state
* fix types
* fix type
* updated test
* update
* updates test
* updates tests
* updates tests
* updated type
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
* bc5 rule merge
version changes
field changes to endpoint rules
removed max_signals from 7 rules
* Fixing monitoring i18n (#62715)
* Updates esarchiver test data with the latest rules (#62723)
* Remove CR, only CRLF for rules
* delete two files
for Garrett
* deletes
delete 2 files (for Garrett)
* Revert "deletes"
This reverts commit cc2ac1e05f.
* Revert "Fixing monitoring i18n (#62715)"
This reverts commit 028574037a.
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Co-authored-by: Garrett Spong <spong@users.noreply.github.com>
Co-authored-by: Ross Wolf <31489089+rw-access@users.noreply.github.com>
* update crypto packages
* as type for return value
* get default export
* add if checks
* wrap errors in i18n
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
* Move layers to new location
* Update layer path refs
* Update np kibana services to cover all required services
* Init np kibana services in legacy plugin. Port init functions to np
* Path updates, supporting file moves, general clean up
* More moves of related files and clean-up of legacy refs
* Path updates. Typescript warning fixes
* Update test paths
* Clean up unused kibana services usage in legacy
* Remove unused http ref
* Test fixes and clean up
* Remove unused snapshots
* Add np service init to embeddables too
* Move validate color picker to NP
Fixes the rendering of boolean values in table results views and transforms wizards:
- Fixed: Boolean cells in the transform wizard ended up being empty.
- Fixed: Boolean cells in regression/classification result table would render as Yes/No instead of true/false.
* WIP
* Add new alert with tests
* Fix type issues, and disable new alerting for tests
* Fix up the view all alerts view
* Turn off for merging
* Fix jest test
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>