* Update generateNavlink to take an `items` subNav and use it to determine isSelected
+ change getNavLinkActive to early returns
+ tweak tests for readability
* Update WS nav Sources link
- to show active on creation routes but not on single source routes
* Update AS nav Engines link
- should eventually show active on creation routes but not on single engine routes
* Update AS engine creation routing
- so that it correctly shows as a child route of the Engines link
+ update breadcrumbs
This setting is causing an error to be throw as it's being used in an environment variable.
Created https://github.com/elastic/kibana/issues/103084
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
* [Visualize] Adds an info tooltip to the update button
* Add iconTip to the visEditor update button
* Move to the left and change the icon
* Update test
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* [Maps] show radius when drawing distance filter
* show more precision when radius is between 10km and 1km
* move radius display from line to left of cursor
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* Add event filters filter on exception list to hide it in UI
* Fixes unit test and added more tests for showEventFilters
* fixes test adding showEventFilters test cases
* Pass params as js object instead of individual variables
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* Allow restored session to run missing searches and show a warning
* tests and docs
* improve warning
* tests for new functionality
NoSearchIdInSessionError type
* managmeent tests
* Update texts
* fix search service pus
* link to docs
* imports
* format import
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
## Summary
Closes#90454
Closes https://github.com/elastic/kibana/issues/72959
* Rename the component templates which are [installed for some packages](https://github.com/elastic/kibana/blob/master/x-pack/plugins/fleet/server/services/epm/elasticsearch/template/install.ts#L197-L213) from `${templateName}-mappings` and `${templateName}-settings` to `${templateName}@mappings` and `${templateName}@settings`
* When any package is installed, add a component template named `${templateName}@custom`
* Any of above templates also include a `_meta` property with `{ package: { name: packageName } }`
* On package installation, add any installed component templates to the `installed_es` property of the `epm-packages` saved object
* On package removal, remove any installed component templates from the `installed_es` property of the `epm-packages` saved object
<details><summary>Kibana logs showing component templates added for package</summary>
```
│ info [o.e.c.m.MetadataIndexTemplateService] [JFSIII.local] adding component template [logs-endpoint.events.file@mappings]
│ info [o.e.c.m.MetadataIndexTemplateService] [JFSIII.local] adding component template [logs-endpoint.events.registry@mappings]
│ info [o.e.c.m.MetadataIndexTemplateService] [JFSIII.local] adding component template [.logs-endpoint.diagnostic.collection@mappings]
│ info [o.e.c.m.MetadataIndexTemplateService] [JFSIII.local] adding component template [logs-endpoint.events.library@mappings]
│ info [o.e.c.m.MetadataIndexTemplateService] [JFSIII.local] adding component template [logs-endpoint.events.security@mappings]
│ info [o.e.c.m.MetadataIndexTemplateService] [JFSIII.local] adding component template [logs-endpoint.events.network@mappings]
│ info [o.e.c.m.MetadataIndexTemplateService] [JFSIII.local] adding component template [logs-endpoint.alerts@mappings]
│ info [o.e.c.m.MetadataIndexTemplateService] [JFSIII.local] adding component template [metrics-endpoint.metrics@mappings]
│ info [o.e.c.m.MetadataIndexTemplateService] [JFSIII.local] adding component template [logs-endpoint.events.process@mappings]
│ info [o.e.c.m.MetadataIndexTemplateService] [JFSIII.local] adding component template [metrics-endpoint.policy@mappings]
│ info [o.e.c.m.MetadataIndexTemplateService] [JFSIII.local] adding component template [metrics-endpoint.metadata@mappings]
│ info [o.e.c.m.MetadataIndexTemplateService] [JFSIII.local] adding component template [logs-endpoint.events.registry@custom]
│ info [o.e.c.m.MetadataIndexTemplateService] [JFSIII.local] adding component template [.logs-endpoint.diagnostic.collection@custom]
│ info [o.e.c.m.MetadataIndexTemplateService] [JFSIII.local] adding component template [logs-endpoint.events.security@custom]
│ info [o.e.c.m.MetadataIndexTemplateService] [JFSIII.local] adding component template [logs-endpoint.events.file@custom]
│ info [o.e.c.m.MetadataIndexTemplateService] [JFSIII.local] adding component template [logs-endpoint.events.library@custom]
│ info [o.e.c.m.MetadataIndexTemplateService] [JFSIII.local] adding component template [logs-endpoint.events.network@custom]
│ info [o.e.c.m.MetadataIndexTemplateService] [JFSIII.local] adding component template [logs-endpoint.alerts@custom]
│ info [o.e.c.m.MetadataIndexTemplateService] [JFSIII.local] adding component template [metrics-endpoint.metrics@custom]
│ info [o.e.c.m.MetadataIndexTemplateService] [JFSIII.local] adding component template [metrics-endpoint.policy@custom]
│ info [o.e.c.m.MetadataIndexTemplateService] [JFSIII.local] adding component template [logs-endpoint.events.process@custom]
│ info [o.e.c.m.MetadataIndexTemplateService] [JFSIII.local] adding component template [metrics-endpoint.metadata@custom]
```
</details>
<details><summary>screenshot - component templates are editable in the Stack Management UI</summary>
<img width="1342" alt="Screen Shot 2021-06-17 at 4 06 24 PM" src="https://user-images.githubusercontent.com/57655/122465421-1502bb80-cf86-11eb-94f4-9880cb3ea844.png">
</details>
### Checklist
Delete any items that are not applicable to this PR.
- [ ] [Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html) was added for features that require explanation or tutorials
- [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
* Show loading below the list when loading
fixes elastic/security-team/issues/1245
* use intersection observer to load data when callout is visible
fixes elastic/security-team/issues/1245
* remove unused `total` from API response
refs 4f7d18bee7
* toggle ability to paging based on API response and target intersection
fixes elastic/security-team/issues/1245
* use a invisible target
* display a message when end of log
fixes elastic/security-team/issues/1245
* remove search bar
fixes elastic/security-team/issues/1245
* refresh data
fixes elastic/security-team/issues/1245
* rename
refs 85e5add14e
* add refresh button to empty state
* add translations for copy
* remove refresh button
* load activity log for endpoint on activity log tab selection
fixes elastic/security-team/issues/1312
* reset paging correctly on activity log tab selection
* fix variable mixup
refs elastic/kibana/pull/101032/commits/c4e933a9c5954ce249942ca66bab380c1dfa79e2#diff-41a74ad41665921620230a0729728f3bf6e27a6f9dc302fb37b0d2061637c212R81
* fix react warning
refs 697a3c3bac
* clean up
review changes
* use the complicated flyout version instead of styled version
refs https://elastic.github.io/eui/#/layout/flyout#more-complicated-flyout
refs https://github.com/elastic/kibana/pull/99795/files#r635810660
refs c26a7d47b4
* Page only when scrolled (so that info message is shown after paging once)
fixes https://github.com/elastic/security-team/issues/1245#issuecomment-863440335
* add tests
fixes elastic/security-team/issues/1312
fixes elastic/security-team/issues/1245
* increase the parent container's height to ensure that the scroll target is well hidden below the footer
refs 48e3291681
* Update x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/store/reducer.ts
Co-authored-by: Paul Tavares <56442535+paul-tavares@users.noreply.github.com>
* Update x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/view/index.test.tsx
Co-authored-by: Paul Tavares <56442535+paul-tavares@users.noreply.github.com>
* address review changes
* cleanup callback and effect
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Paul Tavares <56442535+paul-tavares@users.noreply.github.com>
* Convert Synonyms page to new page template
* Update empty state for new page template
- Remove EuiPanel wrapper - KibanaPageTemplate does that automatically for us
- Include SynonymModal, required for header create button to work as expected
* Update router
* [UI polish] Proposed page description copy from Davey
- see 9807bf249a
* [UI polish] Add plus icon to create button
- To match other create buttons across app
resolves#98634
This adds a new object property to the event log kibana object named
task, with two properties to track the time the task was scheduled to
run, and the delay between when it was supposed to run and when it
actually started. This task property is only added to the appropriate
events.
task: schema.maybe(
schema.object({
scheduled: ecsDate(),
schedule_delay: ecsNumber(),
})
),
* refactor cert alerts from batched to individual
* remove old translations
* create new certificate alert rule type and transition old cert rule type to legacy
* update translations
* maintain legacy tls rule UI to support legacy rule editing
* update translations
* update TLS alert content, rule type id, and alert instance id schema
* remove extraneous logic and format date content
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
* Update CurationRouter
- Remove breadcrumbs set in router (will get set by page template)
- Set up a curation breadcrumb helper for DRYness
- Remove NotFound route - curation ID 404 handling will be used instead
* Convert Curations page to new page template
+ move Empty State from table to top level
* Convert Curation creation page to new page template
* Convert single Curation page to new page template
+ remove breadcrumb prop
* Update router
* [Polish] Copy changes from Davey
- see https://github.com/elastic/kibana/pull/101958/files
- Per https://elastic.github.io/eui/#/guidelines/writing we shouldn't be using "new", so I removed that also
* [UI polish] Add plus icon to create button
- To match other create buttons across app
* Convert meta engines Source Engines view to new page template
* Convert CrawlerLanding to new page template
* Convert CrawlerOverview to new page template
* Update routers
* Misc Source Engines UI polish
- move away from color=secondary, EUI is eventually deprecating it
- add (+) icon to match other views
* Fix bad merge conflict
* Migrate index template and component template wizard pages to new nav.
* Convert index templates and component templates pages to new nav.
* Convert indices and data streams pages to new nav.
* Add PageLoading component to es_ui_shared.
* Refactor index table component tests.
* Add missing error reporting to get all templates API route handler.