Commit graph

2795 commits

Author SHA1 Message Date
Tiago Costa
0993e83632
docs(NA): adds @kbn/bazel-runner into ops devdocs (#132763) 2022-05-25 20:35:20 -07:00
Tiago Costa
124256701e
docs(NA): adds @kbn/ui-shared-deps-npm into ops devdocs (#132761)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-05-25 19:28:40 -07:00
Alejandro Fernández Haro
d6c222ceb5
[EBT][chore] Reduce APIs missing comments (#132866) 2022-05-25 18:59:52 +02:00
Martijn Laarman
b5ab073189
Synthtrace: make streamprocessors optional (#132889) 2022-05-25 14:25:12 +02:00
Miriam
2143c6bba5
added fields to apm syntrace package (#132884) 2022-05-25 15:07:20 +03:00
Alejandro Fernández Haro
003474c5b4
[EBT] Call optIn(false) if the telemetry plugin is disabled (#132748) 2022-05-25 13:13:19 +02:00
Yaroslav Kuznietsov
2e5fd40f62
[XY] Lines visibility at the lines chart. (#130452)
Added the line visibility to the lines chart.

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-05-25 13:10:56 +03:00
Clint Andrew Hall
537d812a56
[Shared UX] Reduce React.lazy usage; fix Discover Empty State load (#132758)
* [Shared UX] Reduce React.lazy usage; fix Discover Empty State load

* Addressing feedback

* We can optimize the calls by replacing methods with impls that return already-retrieved values.
2022-05-25 08:35:27 +02:00
Tiago Costa
7cc5982565
docs(NA): adds @kbn/ui-shared-deps-src into ops devdocs (#132760)
* docs(NA): adds @kbn/ui-shared-deps-src into ops devdocs

* chore(NA): document formatting
2022-05-25 03:48:44 +01:00
Walter Rafelsberger
c968e508f6
[ML] Explain log rate spikes: Move API stream demos to Kibana examples. (#132590)
This creates a response_stream plugin in the Kibana /examples section. The plugin demonstrates API endpoints that can stream data chunks with a single request with gzip/compression support. gzip-streams get decompressed natively by browsers. The plugin demonstrates two use cases to get started: Streaming a raw string as well as a more complex example that streams Redux-like actions to the client which update React state via useReducer().
2022-05-24 16:59:31 +02:00
Nodir Latipov
4557beb25b
[Unified Search] Fix "Edit as Query DSL" breaks when pasting in entire query DSL (#131906)
* fix: added handle the case where .query already exists and filter has other top level keys on there

* refact: handle the case where .query exists

* fix: rollback refact handle the case where .query already exists

* refact: replaced solution with pick lodash and added test

* refact: remove the extra check in jest test
2022-05-24 15:22:32 +05:00
Pablo Machado
510b8b2cac
Refactor use_observable to update state with useReducer (#132703)
Issue: https://github.com/elastic/seceng/issues/3807
Similar issue: https://github.com/elastic/kibana/pull/132069

Why? When calling setState inside an async function, react doesn't automatically batch updates, leading to an inconsistent application state.

Read more: https://github.com/reactwg/react-18/discussions/21
2022-05-24 09:57:45 +02:00
Brian Seeders
c0e2bc7594
Revert "[CI] Add check for possible new FTR configs (#132731)"
This reverts commit 0f696c8083.
2022-05-23 19:42:19 -04:00
Tiago Costa
3491db17ae
fix(NA): dependencies for @kbn/shared-ux-prompt-no-data-views on Windows (#132743) 2022-05-23 21:42:18 +01:00
Garrett Spong
76e77c265b
[SecuritySolution][Detections] Adds UI for new Rule Fields: Related Integrations, Required Fields, and Setup (#131475)
## Summary

Adds UI for new Rule Fields `Related Integrations`, `Required Fields`, and `Setup` to both the Rules Table and Rule Details pages. On the Rules Table a new column is added that shows the number of related integrations, and upon clicking will show you details about those integrations and links off to the integration page in fleet. On the Rule Details page `Setup` is added as a tab pill within the About section (if provided), and `Related Integrations` and `Required Fields` are displayed in the Definition section.


Once package/integration install data is added in https://github.com/elastic/kibana/pull/132667, the UI will show the installed status of an integration, and whether or not the installed version satisfies the related integration dependency.

NOTE: Until then, please follow the test instructions below for how to add a custom rule and return mock data to test the `installed/uninstalled` UI.



##### Related Issues
* https://github.com/elastic/security-team/issues/2083 (internal)
* https://github.com/elastic/security-team/issues/558 (internal)
* https://github.com/elastic/security-team/issues/2856 (internal)
* https://github.com/elastic/security-team/issues/1801 (internal)
* https://github.com/elastic/security-team/issues/3624 (internal)

##### Related Links
* https://github.com/elastic/security-docs/issues/2015
* [Figma mocks](https://www.figma.com/file/zZs8TOrYsp13T6Z2HoMMFN/%5B8.2%5D-Associate-prebuilt-rules-with-Related-Integrations?node-id=0%3A1)

##### Steps to test
In this initial implementation these new fields are only visible with Prebuilt Rules, and so there is limited API support and currently no UI for editing them. If a Prebuilt Rule is duplicated, these fields are emptied (set to `''` or `[]`). When a Rule is exported these fields are included (as empty values), and it is possible to edit the `ndjson` and re-import and then see these fields for the Custom Rule (but still not editable in the UI). This is expected behavior, and is actually a nice and easy way to test. 

Here is a sample export you can paste into an `test.ndjson` file and import to test this feature. You can modify the `package`/`version` fields to test corner cases like if a package is installed but it's the wrong version.

```
{"id":"6cc39c80-da3a-11ec-9fce-65c1a0bee904","updated_at":"2022-05-23T01:48:23.422Z","updated_by":"elastic","created_at":"2022-05-23T01:48:20.940Z","created_by":"elastic","name":"Testing #131475, don't mind me...","tags":["Elastic","Endpoint Security"],"interval":"5m","enabled":false,"description":"Generates a detection alert each time an Elastic Endpoint Security alert is received. Enabling this rule allows you to immediately begin investigating your Endpoint alerts.","risk_score":47,"severity":"medium","license":"Elastic License v2","output_index":".siem-signals-default","meta":{"from":"5m"},"rule_name_override":"message","timestamp_override":"event.ingested","author":["Elastic"],"false_positives":[],"from":"now-600s","rule_id":"2c66bf23-6ae9-4eb2-859e-446bea181ae9","max_signals":10000,"risk_score_mapping":[{"field":"event.risk_score","operator":"equals","value":""}],"severity_mapping":[{"field":"event.severity","operator":"equals","severity":"low","value":"21"},{"field":"event.severity","operator":"equals","severity":"medium","value":"47"},{"field":"event.severity","operator":"equals","severity":"high","value":"73"},{"field":"event.severity","operator":"equals","severity":"critical","value":"99"}],"threat":[],"to":"now","references":[],"version":7,"exceptions_list":[{"id":"endpoint_list","list_id":"endpoint_list","namespace_type":"agnostic","type":"endpoint"}],"immutable":false,"related_integrations":[{"package":"system","version":"1.6.4"},{"package":"aws","integration":"cloudtrail","version":"1.11.0"}],"required_fields":[{"ecs":true,"name":"event.code","type":"keyword"},{"ecs":true,"name":"message","type":"match_only_text"},{"ecs":false,"name":"winlog.event_data.AttributeLDAPDisplayName","type":"keyword"},{"ecs":false,"name":"winlog.event_data.AttributeValue","type":"keyword"},{"ecs":false,"name":"winlog.event_data.ShareName","type":"keyword"},{"ecs":false,"name":"winlog.event_data.RelativeTargetName","type":"keyword"},{"ecs":false,"name":"winlog.event_data.AccessList","type":"keyword"}],"setup":"## Config\\n\\nThe 'Audit Detailed File Share' audit policy must be configured (Success Failure).\\nSteps to implement the logging policy with with Advanced Audit Configuration:\\n\\n```\\nComputer Configuration > \\nPolicies > \\nWindows Settings > \\nSecurity Settings > \\nAdvanced Audit Policies Configuration > \\nAudit Policies > \\nObject Access > \\nAudit Detailed File Share (Success,Failure)\\n```\\n\\nThe 'Audit Directory Service Changes' audit policy must be configured (Success Failure).\\nSteps to implement the logging policy with with Advanced Audit Configuration:\\n\\n```\\nComputer Configuration > \\nPolicies > \\nWindows Settings > \\nSecurity Settings > \\nAdvanced Audit Policies Configuration > \\nAudit Policies > \\nDS Access > \\nAudit Directory Service Changes (Success,Failure)\\n```\\n","type":"query","language":"kuery","index":["logs-endpoint.alerts-*"],"query":"event.kind:alert and event.module:(endpoint and not endgame)\\n","filters":[],"throttle":"no_actions","actions":[]}
{"exported_count":1,"exported_rules_count":1,"missing_rules":[],"missing_rules_count":0,"exported_exception_list_count":0,"exported_exception_list_item_count":0,"missing_exception_list_item_count":0,"missing_exception_list_items":[],"missing_exception_lists":[],"missing_exception_lists_count":0}
```

##### Existing plumbing for showing integration install state

This PR includes a `useInstalledIntegrations` hook wired up to the `DETECTION_ENGINE_INSTALLED_INTEGRATIONS_URL` route to be added in https://github.com/elastic/kibana/pull/132667. I plumbed the initial logic as if that API returned an array of integrations in the same format stored by the rule (i.e. the `RelatedIntegrationArray` type), so this will need to be adapted when integrating this feature. There's also a `packages[]` that can be provided to `useInstalledIntegrations` to constrain the search against all installed integrations, but this may not be used in the initial API.

To test the Installed Integrations UI, just uncomment the mock data return in `use_installed_integrations.tsx`.


##### Additional Notes/Todo:
* Probably want to revisit the copy on the Rules Table integrations popover -- it reads a little off if we don't have have integration install data. Will work with docs folks on this.
* No additional overflow logic was added for `Related Integrations`/`Required Fields`. We don't really have an overflow pattern for these description list items, so instead of just adding support for these two fields (as like another description list item that's a popover), would like to solve this for generically for all items.
* TODO: Increase test coverage
* 

##### Rule Details
<p align="center">
  <img width="650" src="https://user-images.githubusercontent.com/2946766/169636465-fa9ac477-2175-40ea-8064-bc194e7c3cbc.png" />
</p>

<p align="center">
  <img width="650" src="https://user-images.githubusercontent.com/2946766/169745657-a35cf8b8-fe9b-4580-b637-1c98e4e6f90a.png" />
</p>

<p align="center">
  <img width="650" src="https://user-images.githubusercontent.com/2946766/169745451-a02612b3-dd5b-46dc-a168-8823f9b1753d.png" />
</p>

##### Rule Details without `Installed Integrations` API changes

<p align="center">
  <img width="650" src="https://user-images.githubusercontent.com/2946766/169745986-6bef1d55-c305-4931-9845-96a0da76d030.png" />
</p>


##### Rules Table
<p align="center">
  <img width="650" src="https://user-images.githubusercontent.com/2946766/169636693-0d10bf67-9981-4815-a069-1439a7c5e1ce.png" />
</p>
<p align="center">
  <img width="650" src="https://user-images.githubusercontent.com/2946766/169636541-ac279369-c753-4184-b25b-c4352586f347.png" />
</p>

##### Rules Table without `Installed Integrations` API changes


<p align="center">
  <img width="650" src="https://user-images.githubusercontent.com/2946766/169636630-983277aa-6211-487c-a50f-8cf000446436.png" />
</p>


<p align="center">
  <img width="650" src="https://user-images.githubusercontent.com/2946766/169636649-fb03f44f-e28e-4a3f-8944-d3e300ed94c8.png" />
</p>


##### Version mismatch 
In cases where the related package/integration is installed, but the version is not satisfied, a warning icon/tooltip will display next to the integration link letting the user know the installed vs targeted version.  I just wanted to make sure this case was handled so copy/UI isn't final -- any feedback welcome here! 🙂 


<p align="center">
  <img width="650" src="https://user-images.githubusercontent.com/2946766/169730187-6269ce6c-6833-4455-83b8-e98c8dcfa387.png" />
</p>

<p align="center">
  <img width="650" src="https://user-images.githubusercontent.com/2946766/169745221-c0ac5e90-a89b-420a-8ade-deedfc1d1194.png" />
</p>








### Checklist

Delete any items that are not applicable to this PR.

- [X] Any text added follows [EUI's writing guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses sentence case text and includes [i18n support](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)
- [X] [Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html) was added for features that require explanation or tutorials
  - Collaborating with docs folks on this dedicated docs issue: https://github.com/elastic/security-docs/issues/2015
- [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
   - Some added, but need to follow-up with additional tests around versioning logic once we finalize installed integrations API
- [X] Any UI touched in this PR is usable by keyboard only (learn more about [keyboard accessibility](https://webaim.org/techniques/keyboard/))
(https://chrome.google.com/webstore/detail/axe-web-accessibility-tes/lhdoppojpmngadmnindnejefpokejbdd?hl=en-US))
- [X] This renders correctly on smaller devices using a responsive layout. (You can test this [in your browser](https://www.browserstack.com/guide/responsive-testing-on-local-server))
2022-05-23 22:10:36 +02:00
Brian Seeders
0f696c8083
[CI] Add check for possible new FTR configs (#132731) 2022-05-23 14:41:51 -04:00
Thomas Watson
dc9f2732a1
Add csp.disableUnsafeEval config option to remove the unsafe-eval CSP (#124484)
Adds a new experimental Kibana setting called `csp.disableUnsafeEval` which will default to `false`. When set to `true`, it will remove `unsafe-eval` from our CSP.

Also introduces a new module called `@kbn/handlebars` which is a replacement for the official `handlebars` module used in the frontend. This new module is necessary in order to avoid calling `eval`/`new Function` from within `handlebars` which is not allowed once `unsafe-eval` is removed from our CSP.

The `@kbn/handlebars` module is simply an extension of the main `handlebars` module which adds a new compile function called `compileAST` (as an alternative to the regular `compile` function). This new function will not use code-generation from strings to compile the template but will instead generate an AST and return a render function with the same API as the function returned by the regular `compile` function.

This is a little bit slower method, but since this is only meant to be used client-side, the slowdown should not be an issue.

The following limitations exists when using `@kbn/handlebars`:

The Inline partials handlebars template feature is not supported.

Only the following compile options will be supported:
- `knownHelpers`
- `knownHelpersOnly`
- `strict`
- `assumeObjects`
- `noEscape`
- `data`

Only the following runtime options will be supported:
- `helpers`
- `blockParams`
- `data`

Closes #36311
2022-05-23 11:01:56 -07:00
Clint Andrew Hall
2d1ac53300
[easy][shared-ux] Fix typos in RedirectAppLinks (#132563) 2022-05-23 10:43:56 -07:00
Shahzad
9a8993268d
Use kibana feature privileges with api key (#130918)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Joe Portner <joseph.portner@elastic.co>
2022-05-23 16:37:52 +02:00
Giorgos Bamparopoulos
7591fb6155
Fix agent config indicator when applied through fleet integration (#131820)
* Fix agent config indicator when applied through fleet integration

* Add synthrace scenario

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-05-23 10:37:03 +01:00
Byron Hulcher
583d2b78e0
[Workplace Search] Add documentation links for v8.3.0 connectors (#132547) 2022-05-20 13:12:32 -04:00
Pierre Gayvallet
569e10a6b8
expose docLinks from ConfigDeprecationContext (#132424)
* expose docLinks from ConfigDeprecationContext

* fix mock

* [CI] Auto-commit changed files from 'node scripts/eslint --no-cache --fix'

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2022-05-20 11:51:04 +02:00
Yaroslav Kuznietsov
3982bfd3fd
[XY] Usable reference lines for xyVis. (#132192)
* ReferenceLineLayer -> referenceLine.

* Added the referenceLine and splitted the logic at ReferenceLineAnnotations.

* Fixed formatters of referenceLines

* Added referenceLines keys.

* Added test for the referenceLine fn.

* Added some tests for reference_lines.

* Unified the two different approaches of referenceLines.

* Fixed types at tests and limits.
2022-05-20 11:18:17 +03:00
Tiago Costa
963b91d86b
docs(NA): adds @kbn/babel-plugin-synthentic-packages into ops devdocs (#132512)
* docs(NA): adds @kbn/babel-plugin-synthentic-packages into ops devdocs

* chore(NA): update packages/kbn-babel-plugin-synthetic-packages/README.mdx

Co-authored-by: Jonathan Budzenski <jon@budzenski.me>

Co-authored-by: Jonathan Budzenski <jon@budzenski.me>
2022-05-19 19:28:05 -07:00
Tiago Costa
419d4e2e59
docs(NA): adds @kbn/test-subj-selector into ops devdocs (#132505) 2022-05-20 02:30:01 +01:00
Clint Andrew Hall
b2008488ba
[Shared UX] Move No Data Views to package (#131996)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-05-19 23:17:14 +02:00
Jen Huang
f96ff560ed
[Fleet] Reduce bundle size limit (#132488) 2022-05-19 12:28:00 -07:00
mgiota
956fbc76d9
[Actionable Observability] render human readable rule type name and notify when fields in o11y rule details page (#132404)
* render rule type name

* [CI] Auto-commit changed files from 'node scripts/precommit_hook.js --ref HEAD~1..HEAD --fix'

* human readable text for notify field

* [CI] Auto-commit changed files from 'node scripts/precommit_hook.js --ref HEAD~1..HEAD --fix'

* create getNotifyText function

* increase bundle size for triggers_actions_ui plugin (temp)

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2022-05-19 20:11:04 +02:00
Larry Gregory
0dfa6374ba
Remove broadcast-channel dependency from security plugin (#132427)
* Remove broadcast-channel dependency from security plugin

* cleanup

* Update x-pack/plugins/security/public/session/session_timeout.ts

Co-authored-by: Joe Portner <5295965+jportner@users.noreply.github.com>

Co-authored-by: Joe Portner <5295965+jportner@users.noreply.github.com>
2022-05-19 13:48:42 -04:00
Spencer
dd6dacf003
[jest/ci-stats] when jest fails to execute a test file, report it as a failure (#132527) 2022-05-19 08:21:20 -07:00
Patryk Kopyciński
ae0c68346a
Bump @storybook@6.4.22 (#129787) 2022-05-19 12:03:10 +02:00
Tiago Costa
d8a62589b3
docs(NA): adding @kbn/ambient-storybook-types into ops docs (#132483) 2022-05-19 00:51:07 +01:00
Martijn Laarman
9ebb269f13
Allow default arguments to yarn es to be overwritten. (#130864)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Spencer <spencer@elastic.co>
2022-05-18 15:57:21 -07:00
Tiago Costa
27d96702ff
docs(NA): adding @kbn/ambient-ui-types into ops docs (#132482)
* docs(NA): adding @kbn/ambient-ui-types into ops docs

* docs(NA): wording update
2022-05-18 15:24:19 -07:00
Maja Grubic
1343ef3f7c
[SharedUX] Add loading indicator to NoDataPage (#132272)
* [SharedUX] Add loading indicator to NoDataPage

* Rename hasFinishedLoading > isLoading

* Change EuiLoadingSpinner > EuiLoadingElastic

* Update packages/kbn-shared-ux-components/src/empty_state/kibana_no_data_page.tsx

Co-authored-by: Caroline Horn <549577+cchaos@users.noreply.github.com>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Caroline Horn <549577+cchaos@users.noreply.github.com>
2022-05-18 23:12:35 +02:00
Caroline Horn
d828e9b799
[Shared UX] No data image placeholders (#132376)
* [NoDataViews] Changed image loading placeholder to a shaded panel

* [NoDataCard] Wrapped image in EuiImage and gave it dimensions
2022-05-18 05:53:56 -07:00
Maja Grubic
767983a622
[SharedUX] NoDataPage: open docs link in a new tab (#132324)
* [SharedUX] NoDataPage: open docs link in a new tab

* Fix failing snapshot

* Fix docs link
2022-05-18 08:23:05 +02:00
Spencer
63fd2dd552
[kbn/es] capture es debug files (#132355)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-05-17 17:23:13 -05:00
Spencer
a10a4f9f03
Initialize ops documentation section (#132262)
Co-authored-by: Jonathan Budzenski <jon@elastic.co>
Co-authored-by: Tiago Costa <tiago.costa@elastic.co>
2022-05-17 15:22:38 -05:00
spalger
ddd613b22b raise triggersActionsUi bundle limit 2022-05-17 11:48:15 -05:00
Spencer
f3d69b8197
[@kbn/dev-utils] break out more pieces (#132292)
* [@kbn/dev-utils] break out more pieces

* [CI] Auto-commit changed files from 'node scripts/eslint --no-cache --fix'

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2022-05-17 11:19:20 -05:00
Maja Grubic
9dd38c49d3
[Discover] Add Analytics No Data Page (#131965)
* [Discover] Add Analytics No Data Page

* Make showEmptyPrompt parameter optional

* Remove unused import

* Remove unnecessary test

* Fix test

* Update failing test?

* Update failing test

* Changing the order of functional tests

* Fix error handling

* Addressing PR comments

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-05-17 15:50:57 +02:00
Rudolf Meijering
e79ab079fa
Descriptive logs with docLinks for cluster shard limit exceeded (#132072)
* Descriptive logs with docLinks for cluster shard limit exceeded

* Integration test for isClusterShardLimitExceeded

* Fix jest test snapshots

* Apply suggestions from code review

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>

* PR feedback

* PR feedback

* Unit tests for isClusterShardLimitExceeded

* Use constast for repeated strings

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
2022-05-16 13:26:58 -07:00
Tiago Costa
dea9159c5d
chore(NA): rename @elastic/eslint-config-kibana as @kbn/eslint-config (#132278) 2022-05-16 13:02:02 -07:00
Cauê Marcondes
d3b9f3285e
[APM] Span link (#126630)
* adding span links data generation

* fixing span links synthtrace

* adding span links

* span links route

* fixing span links new scenario

* adding span links

* improved tab structure

* span links table

* adding span links data generation

* fixing span links synthtrace

* adding span links

* span links route

* fixing span links new scenario

* adding span links

* span links table

* improved tab structure

* adjusting table

* fixing ts issue

* filtering data within timerange

* fixing ts

* fixing ci

* disabling select option when no link available

* adding api tests

* fixing tests

* e2e tests

* fixing too_many_nested_clauses issue

* refactoring apis

* api tests

* fixing e2e tests

* fixing links

* renaming link

* fixing tests

* addressing PR comments

* fixing test

* fixing ci

* fixing ci

* addressing pr comments

* passing processor event to incoming links API

* updating api tests

* renaming incoming and outgoing

* wrapping type into details property

* renaming incoming/outgoing

* pr comments

* adding processor event to query

* renaming

* new API tests

* import fix

* renaming

* adding e2e tests

* addressing pr changes

* changing link

* Adding filter on children fetch

* renaming services on test

* renaming

Co-authored-by: Boris Kirov <borisasenovkirov@gmail.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-05-16 14:40:51 -04:00
Sergi Massaneda
cf67d7c769
Solution nav add flex column styles (#132252)
* add flex column styles

* remove whitespace

* reorder
2022-05-16 20:11:55 +02:00
Joe Reuter
b1473f8301
[Lens] Add log and sqrt scale (#131940)
* add log and sqrt scale

* Update axis_settings_popover.tsx

* fix types

* carry over scale types

* fix test

* bump limit ever so slightly

Co-authored-by: Stratoula Kalafateli <efstratia.kalafateli@elastic.co>
2022-05-16 10:35:23 -07:00
Faisal Kanout
0248e9357f
[Actionable Observability] Add rule details page (#130330)
* Add rule details page

* Fix route

* Fix route

* Add useBreadcrumbs

* Add rule summary

* Complete rule data summary

* Update styling

* Add update rule

* Add edit role

* Update desgin

* Add conditions

* Add connectors icons

* Fix more button

* Remove unused FelxBox

* Add fetch alerts

* Move to items to components folder

* Format dates

* Add tabs

* [CI] Auto-commit changed files from 'node scripts/eslint --no-cache --fix'

* Use the shared getRuleStatusDropdown

* Add permissions

* Better handling errors

* Fix styling

* Fix tag style

* Add tags component

* Use tags component from triggers aciton ui

* Add last24hAlerts hook

* Fix last 24h alerts count hook

* Fix large font

* Fix font size

* Fix size Actions

* Fix fontsize page header

* Fix conditions size

* Fix text move vertically on small screen

* Update style

* Update alerts counts style

* Cleanup

* Add formatter for the interval

* Add edit button on the definition section

* Add delete modal

* Add loader

* Fix conditions panctuation

* Fix size

* Use the healthColor function from rule component

* Add loading while deleting a rule

* Use connectors name to show actions

* Fix type

* Fix rule page

* Fix types

* Use common RULES_PAGE_LINK var

* Fix checks

* Better error handling

* Better i18n

* Code review

* Fix checks i18n

* Use abort signal

* Revert signal for loadRule as there is no tests

* Fix style

* Fixing tests

* Reduce bundle size

* Fix i18n

* Bump limits
2022-05-16 09:01:59 -07:00
Nathan Reese
ffc515bf63
[Maps] term join in produce help (#120238)
* [Maps] term join in produce help

* snapshot updates

* i18n clean up

* API doc updates

* update API docs, update copy

* [CI] Auto-commit changed files from 'node scripts/eslint --no-cache --fix'

* i18n cleanup

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2022-05-16 09:58:43 -06:00
Maja Grubic
b0388df191
[SharedUX] Minor changes to NoDataViews components (#132032)
* [SharedUX] Minor changes to no_data_views component

* [SharedUX] Minor changes to no_data_views component

* Fix translations

* Applying Kaarinas comments

* Text update

* Update button text

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-05-16 17:56:11 +02:00