Commit graph

461 commits

Author SHA1 Message Date
Stratoula Kalafateli
bb207aadc3
[Lens] Remove the deprecated field list sampling strategy (#149482)
## Summary

This PR removes the deprecated field list sampling setting which was
marked as deprecated on 8.1. This
https://github.com/elastic/kibana/pull/139828 was the PR that added the
deprecation callout.
2023-01-26 09:38:21 +02:00
Lisa Cawley
f5aeb6dd70
[DOCS] Add "Updated on" column to the cases table screenshot (#149430) 2023-01-25 09:30:16 -08:00
Francois-Clement Brossard
876c3f89fb
[Advanced Settings] Fix query:allowLeadingWildcards description (#148264)
Fix query:allowLeadingWildcards description as there are no "experimental query features" anymore.

Co-authored-by: Julia Rechkunova <julia.rechkunova@elastic.co>
Co-authored-by: Stratoula Kalafateli <efstratia.kalafateli@elastic.co>
2023-01-25 03:50:47 -07:00
Lisa Cawley
4c9a76cabd
[DOCS] Fix incorrect alt text for images (#149371) 2023-01-24 12:49:33 -08:00
Lisa Cawley
7e4f21c73f
[DOCS] Automate screenshot for case connectors (#149178) 2023-01-19 12:55:41 -08:00
Lisa Cawley
9ebb3994c8
[DOCS] Fix deduplication spelling (#149066) 2023-01-18 11:00:29 -08:00
Sergi Massaneda
1df7a647e0
[Tines] Add story library link to the documentation (#148782)
## Summary

This change comes from a suggestion by the Tines team. 
The link to the Elastic stories in the Tines story library has been
added

![tines
docs](https://user-images.githubusercontent.com/17747913/212025082-045f1754-4bb6-47c6-9a81-4857963660fe.png)
2023-01-12 12:12:53 +01:00
Lisa Cawley
2f5d6f7227
[DOCS] Bulk actions in Cases (#148358) 2023-01-09 11:37:09 -05:00
Lisa Cawley
9fe3d51096
[DOCS] Fix typo in Tines connector (#148357) 2023-01-04 09:53:32 -08:00
Lisa Cawley
1528c6a6f9
[DOCS] Notify assignees when assigned to a case (#147713) 2023-01-04 12:50:54 -05:00
Christiane (Tina) Heiligers
049d8021eb
Updates upgrade assistant doclinks to point to current rather than hard-coded 7.17 (#147585)
Co-authored-by: Lisa Cawley <lcawley@elastic.co>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Fix https://github.com/elastic/kibana/issues/145092
2022-12-19 09:19:26 -07:00
Lisa Cawley
a0671ed13e
[DOCS] Add server.publicBaseUrl to case setup (#147652) 2022-12-16 20:37:56 +02:00
Stratoula Kalafateli
405eb89f35
[Vislib] Removes the old implementation of the pie (#146990)
## Summary

Closes https://github.com/elastic/kibana/issues/111246

Removes the implementation of the vislib pie. Specifically:

- Removes the `visualization:visualize:legacyPieChartsLibrary` advanced
setting which was used as a fallback to vislib pie,
- Cleanups the vislib code from the pie
2022-12-07 14:14:47 +02:00
Jonathan Buttner
a35c8541a6
[ResponseOps][Actions] Removing extra sentence in opsgenie docs (#146072)
This PR removes an sentence that was accidentally included in the
Opsgenie docs.
2022-11-22 15:08:01 -08:00
Lisa Cawley
8086e99478
[DOCS] Fix Rules and Connectors app labels (#145660) 2022-11-22 09:14:31 -08:00
Lisa Cawley
31ca644733
[DOCS] Automate connector-listing.png (#143605)
Co-authored-by: Robert Oskamp <traeluki@gmail.com>
2022-11-17 18:08:41 -07:00
Lisa Cawley
caab55fbbf
[DOCS] Add Opsgenie to run connector API (#145311) 2022-11-17 15:52:22 -08:00
Lisa Cawley
dfbe40a33b
[DOCS] Update screenshots for Connectors app (#144870) 2022-11-17 09:10:54 -08:00
Lisa Cawley
80b479a1b4
[DOCS] Add the Logs tab to Rules and Connectors (#144866) 2022-11-15 07:35:42 -08:00
Lisa Cawley
413e813b15
[DOCS] Edit Tines connector (#145168) 2022-11-15 07:35:13 -08:00
Sergi Massaneda
6bba30f94c
[Security Solution] Tines connector (#143505)
## Summary

Issue: https://github.com/elastic/kibana/issues/140066
Doc:
https://docs.google.com/document/d/14BY-6CIin1CUH5bwJJgfrGl37hWO-CeNMdl_35agpvk/edit?usp=sharing

Create a new connector type that offers low friction/low effort approach
to augmenting Elastic capabilities with SOAR capabilities of Tines.

## Implementation

Tines connector implements subActionConnector. With 4 subActions
configured:

- **stories**: Retrieves the User available Story objects from Tines, to
render the Story selector options in the params form. It uses the
`email` and `token` authentication headers from the configuration.
It is requested only when the form opens and when the connector instance
changes.

- **webhooks**: Retrieves the Story available Webhooks objects from
Tines, to render the Webhook selector in the params form. It uses the
`email` and `token` authentication headers from the configuration and
the `story_id` parameter.
There is no filter for `type` in the actions (a.k.a. agents) endpoint,
so we have to request all actions and filter them by `type ===
'Agents::WebhookAgent'` on our side.
It is requested every time the selected story changes.

- **run**: The main action execution. It sends the alerts to the Tines
configured webhook, using webhook' `path` and `secret` values. There's
no template to render, the data coming from the execution is just pruned
(the `kibana` entry is removed from all `context.alerts`) and sent
directly using the same format to Tines.

- **test**: The test form execution. It ends up calling **run** but
using a parametrized body.

### Pagination
Both **stories** and **webhooks** subActions need pagination, since
Tines do not expose any search endpoint for them. The current hard limit
is 100 pages. The `paginatedRequest` function in the connector
implementation encapsulates this logic.

## Testing

1- Create a [Tines](https://www.tines.com/) free account.

2- Create a [new
Story](https://www.tines.com/docs/quickstart/simple-story) and attach a
[Webhook
Action](https://www.tines.com/docs/quickstart/creating-an-action) to
start receiving events.

3- Create an [API token](https://www.tines.com/api/authentication)

4- Configure the Tines Connector in Kibana using the Tines tenant URL
that has been generated in the Tines app, the email used to sign in, and
the API token generated.
[docs](https://github.com/semd/kibana/blob/140066_tines_connector/docs/management/connectors/action-types/tines.asciidoc#connector-configuration)

5- Attach the Tines Connector to a Detection Rule, selecting the Story
and Webhooks created.
[docs](https://github.com/semd/kibana/blob/140066_tines_connector/docs/management/connectors/action-types/tines.asciidoc#actions)

6- After each rule execution, events should appear in the Tines webhook
action.

## Screenshots

Configure a Tines connector


![tines_connector_selection](https://user-images.githubusercontent.com/17747913/196389019-820aff49-6ad6-442e-a69f-3c782cbd65e6.png)


![tines_connector_config](https://user-images.githubusercontent.com/17747913/198035138-e7f3bb25-ebd1-4cfd-9cc5-b0bfe434c25c.png)

Use the Tines connector 


![tines_rule_action](https://user-images.githubusercontent.com/17747913/196389010-c87045a4-2b74-4903-9a81-ccbcff09fbf1.png)


![tine_params_form](https://user-images.githubusercontent.com/17747913/198034501-7e9ad912-111e-48b6-8387-fcf6f0663511.png)

Tines events


![tines_events](https://user-images.githubusercontent.com/17747913/196734338-91e1a397-2d03-4ee6-8ad2-16cb39abe9bf.png)

### 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
- [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(https://chrome.google.com/webstore/detail/axe-web-accessibility-tes/lhdoppojpmngadmnindnejefpokejbdd?hl=en-US))

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Jonathan Buttner <56361221+jonathan-buttner@users.noreply.github.com>
2022-11-14 13:04:47 +01:00
Jonathan Buttner
ae9dd59137
[ResponseOps][Stack Connectors] Opsgenie UI phase 2 (#143480)
* Starting opsgenie backend

* Adding more integration tests

* Updating readme

* Starting ui

* Adding hash and alias

* Fixing tests

* Switch to platinum for now

* Adding server side translations

* Fixing merge issues

* Fixing file location error

* Working ui

* Default alias is working

* Almost working validation fails sometimes

* Adding end to end tests

* Adding more tests

* Adding note and description fields

* Removing todo

* Adding in advanced sections

* Adding tags and finish mode

* Working editor and toggle

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

* Refactoring code

* Adding tests

* Fixing tests and reordering input fields

* Using io-ts for schema validation in ui

* Adding more e2e tests and clean up

* Fixing type errors

* Adding spacing and label

* Adding more tests and fixing come failure message errors

* Making json editor errors more readable

* Fixing errors and adding docs

* Updating enabled action types

* Update docs/management/connectors/action-types/opsgenie.asciidoc

Co-authored-by: nastasha-solomon <79124755+nastasha-solomon@users.noreply.github.com>

* Update docs/management/connectors/action-types/opsgenie.asciidoc

Co-authored-by: nastasha-solomon <79124755+nastasha-solomon@users.noreply.github.com>

* Update docs/management/connectors/action-types/opsgenie.asciidoc

Co-authored-by: nastasha-solomon <79124755+nastasha-solomon@users.noreply.github.com>

* Update docs/management/connectors/action-types/opsgenie.asciidoc

Co-authored-by: nastasha-solomon <79124755+nastasha-solomon@users.noreply.github.com>

* Update docs/management/connectors/action-types/opsgenie.asciidoc

Co-authored-by: nastasha-solomon <79124755+nastasha-solomon@users.noreply.github.com>

* Update docs/management/connectors/action-types/opsgenie.asciidoc

Co-authored-by: nastasha-solomon <79124755+nastasha-solomon@users.noreply.github.com>

* Addressing feedback

* Adding new image with lowercase tags

* Addressing feedback

* Making executionMode optional

* [CI] Auto-commit changed files from 'node scripts/generate codeowners'

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Tyler Smalley <tyler.smalley@elastic.co>
Co-authored-by: nastasha-solomon <79124755+nastasha-solomon@users.noreply.github.com>
2022-11-07 11:22:43 -05:00
Lisa Cawley
d666c13228
[DOCS] Clarify deletion sub-feature privileges for cases (#143133) 2022-10-18 07:48:56 -07:00
Lisa Cawley
4d39919cf3
[DOCS] Assign users to Stack Management cases (#142925) 2022-10-11 07:55:28 -07:00
gchaps
411c261e53
[DOCS] Adds content on ad hoc data view (#142290)
* [DOCS] Adds content on ad hoc data view

* [DOCS] Breaks data into two steps

* Update docs/concepts/data-views.asciidoc

Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>

* [DOCS] Tweaks message re: unsaved data views

Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>
2022-10-10 09:58:48 -07:00
nastasha-solomon
2e5b9efa71
[Security Solution][DOCS] Cases and rules support for SN connectors 2022-10-03 08:50:15 -07:00
Matthew Kime
004cb0e0dc
[Data views] Add composite runtime field docs with screenshots (#141013)
* add composite screenshots and docs

* add composite screenshots and docs

* add screenshots

* cleanup

* Update docs/management/manage-data-views.asciidoc

Co-authored-by: Anton Dosov <dosantappdev@gmail.com>

* Update docs/management/manage-data-views.asciidoc

Co-authored-by: Anton Dosov <dosantappdev@gmail.com>

Co-authored-by: Anton Dosov <dosantappdev@gmail.com>
2022-09-23 13:19:50 +09:30
Lisa Cawley
7026a5664a
[DOCS] Fix links in release notes (#141520) 2022-09-22 14:00:20 -07:00
gchaps
e4c7bbf75e
[DOCS] Updates saved objects & other docs (#139328)
* [DOCS] Updates saved objects doc

* [DOCS] Edtis tags doc

* [DOCS] Removes video from discover docs

* Update docs/management/managing-saved-objects.asciidoc

Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>

* Update docs/management/managing-saved-objects.asciidoc

Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>

* Update docs/management/managing-saved-objects.asciidoc

Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>

* Update docs/management/managing-saved-objects.asciidoc

Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>

* Update docs/management/managing-saved-objects.asciidoc

Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>

* Update docs/management/managing-tags.asciidoc

Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>

* Update docs/management/managing-tags.asciidoc

Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>

* Update docs/management/managing-saved-objects.asciidoc

Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>

* Update docs/management/managing-tags.asciidoc

Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>

* Update docs/management/managing-tags.asciidoc

Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>

* Update docs/management/managing-tags.asciidoc

Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>

* Update docs/management/managing-saved-objects.asciidoc

Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>

* Update docs/management/managing-saved-objects.asciidoc

Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>

* Update docs/management/managing-saved-objects.asciidoc

Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>

* Update docs/management/managing-saved-objects.asciidoc

Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>

* Update docs/management/managing-saved-objects.asciidoc

Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>

* Update docs/management/managing-saved-objects.asciidoc

Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>

* Update docs/management/managing-saved-objects.asciidoc

Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>

* Update docs/management/managing-saved-objects.asciidoc

Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>

* [DOCS] Incorporates review comments

Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-09-21 16:11:41 -07:00
Julia Rechkunova
cae3a33de3
[Discover] New field stats in Discover sidebar popover (#139072)
* [UnifiedFieldList] Bootstrap a new unifiedFieldList plugin

* [UnifiedFieldList] Move backend API for field stats from Lens to UnifiedFieldList plugin

* [CI] Auto-commit changed files from 'node scripts/build_plugin_list_docs'

* [Discover] Address CI checks

* [UnifiedFieldList] Move field stats UI from Lens to UnifiedFieldList plugin

* [Discover] Integrate FieldStats into Discover field popover

* [Discover] Show both views side to side

* [Discover] Allow for some customization

* [Discover] Allow for more customization

* [UnifiedFieldList] Remove temporary code

* [UnifiedFieldList] Extract styles

* [UnifiedFieldList] Fix after merge

* [UnifiedFieldList] Extend i18n

* [UnifiedFieldList] Migrate stats API from server to public

* [UnifiedFieldList] Update types

* [UnifiedFieldList] Update Lens tests

* [UnifiedFieldList] Update Lens tests

* [UnifiedFieldList] Before merging

* [UnifiedFieldList] After merging

* [UnifiedFieldList] Refactor localization keys

* [UnifiedFieldList] Update types

* [UnifiedFieldList] Reintroduce server API for field stats and refactor integration tests

* [UnifiedFieldList] Update limits

* [UnifiedFieldList] Rename the component

* [UnifiedFieldList] Improve types

* [UnifiedFieldList] Add AbortController

* [UnifiedFieldList] Render counts in PopoverFooter in Lens

* [UnifiedFieldList] Hide new stats from Discover for now

* [UnifiedFieldList] Fix tests

* [UnifiedFieldList] Rename to loadFieldStats

* [UnifiedFieldList] Rearrange utils

* [UnifiedFieldList] Fix types

* [UnifiedFieldList] Fix references

* [UnifiedFieldList] Use emotion css

* [UnifiedFieldList] Increase limits

* [UnifiedFieldList] Add first tests

* [UnifiedFieldList] Add more tests

* [UnifiedFieldList] Refactor interface to accept services object

* [UnifiedFieldList] Update types

* [UnifiedFieldList] Add docs

* [CI] Auto-commit changed files from 'node scripts/build_plugin_list_docs'

* [UnifiedFieldList] Add missing references

* [UnifiedFieldList] Tmp

* [UnifiedFieldList] Revert changes from Discover for now

* Revert "[UnifiedFieldList] Revert changes from Discover for now"

This reverts commit 3f4ae6e395.

* [Discover] Extract top values UI into a separate component. Update colors.

* [Discover] Extract bucket UI into a separate component. Update colors.

* [Discover] Update styling

* [Discover] Fix empty values

* [Discover] Allow to customize colors

* [Discover] Add filter buttons

* [Discover] Rename props

* [Discover] Improve format

* [Discover] Add a switch in Settings. Move Visualize button into PopoverFooter.

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

* [Discover] Fix props

* [Discover] Hide filter buttons for Other section

* [Discover] Simplify default messages when analysis is not available

* [Discover] Small update

* [Discover] Remove translations

* [Discover] Update some tests

* [Discover] Fallback to old Discover logic and show examples for non-aggregatable fields

* [Discover] Exclude vector fields

* [Discover] Don't call details unless for legacy code

* [Discover] Fix types

* [Discover] Small update for stories

* [Discover] Adapt tests

* [Discover] Update tests

* [Discover] Update tests

* [Discover] Update tests

* [Discover] Update tests

* [Discover] Update tests

* [Discover] Add tooltips. Update examples sample values. Update tests.

* [Discover] Close the popover when filter is pressed

* [Discover] Add functional tests for non-aggregatable fields

* [Discover] Fix query

* [Discover] Add more tests

* [Discover] Add more tests

* [Discover] Add more tests

* [Discover] Add more tests

* [Discover] Fix time range for field stats

* [Discover] Remove sort param from examples query

* [Discover] Prevent reduntant requests

* [Discover] Increase examples size

* [Discover] Add exist filter to Discover popover

* [Discover] Update label

* [Discover] Update logic for picking a multifield

* [Discover] Fix how percentage is calculated for Examples view (non-aggregatable fields)

* [Discover] Update copy and uncomment console error

* [Discover] Add "no data" message and update field type check in examples

* [Discover] Update type checks and no-data copy

* [Discover] Update copy

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Joe Reuter <johannes.reuter@elastic.co>
2022-09-15 14:26:41 +02:00
Alexey Antonov
c771828242
[Lens] Deprecate and remove Lens field list sampling strategy (#139828)
* [Lens] Deprecate and remove Lens field list sampling strategy

Closes: #136798

* cleanup

* fix CI

* cleanup

* update messages

* update badge

* fix PR comments

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-09-07 22:54:43 +03:00
CJ Cenizal
a9ddf3fa84
Update Watcher docs with guidance regarding simulating watches that contain passwords. (#139413) 2022-09-06 16:11:18 -07:00
Lisa Cawley
c8b751fa53
[DOCS] Refresh screenshots for Connectors (#139771) 2022-09-06 12:50:59 -07:00
Lisa Cawley
6fc614a20c
[DOCS] Refresh screenshots for creating and managing rules (#138763) 2022-09-01 08:57:05 +09:30
Alexey Antonov
4e2c4b7269
[Doc] update deprecation message for visualization:colorMapping setting (#139794) 2022-08-31 16:03:31 +03:00
CJ Cenizal
f48cde902f
Update Watcher docs to reflect new states (#139435)
* Don't truncate name or ID columns of watches table.
2022-08-24 17:05:52 -07:00
Lukas Olson
908a01b5a6
Update docs for KQL autocomplete when DLS is enabled (#139248) 2022-08-23 13:12:19 -07:00
Kaarina Tungseth
7b3ade04db
[DOCS] Documents unit of measure for Frozen search:timeout default (#138438)
* [DOCS] Documents unit of measure for Frozen search:timeout default

* Review comments

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-08-18 13:04:22 -05:00
gchaps
062c06d46f
[DOCS] Updates Discover docs with data view changes (#138337)
* [DOCS] Updates Discover docs with data view changes

* [DOCS] Updates settings for Discover in Advanced Settings

* Update docs/discover/document-explorer.asciidoc

Co-authored-by: Matthias Wilhelm <ankertal@gmail.com>

* Update docs/management/advanced-options.asciidoc

* Update docs/management/advanced-options.asciidoc

Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>

* Update docs/management/advanced-options.asciidoc

Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>

* Update docs/user/discover.asciidoc

Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>

Co-authored-by: Matthias Wilhelm <ankertal@gmail.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>
2022-08-17 09:33:50 -07:00
Steph Milovic
9f1416fae9
[Security Solution] Webhook - Case Management Connector Documentation (#137726)
Co-authored-by: lcawl <lcawley@elastic.co>
2022-08-12 11:05:26 -07:00
Stratoula Kalafateli
a296e4cc97
[Discover] Supports SQL query language (#134429) (#136702)
* [Discover] Supports SQL query language (#134429)

* Move the add dataview action above the dataview selection panel

* Implements a new selectable on the dataview picker for the text based languages

* Implementation of the transition modal when on SQL mode and select a dataview

* Fix es lint

* Change switch modal button modal icon

* Lazy load components

* Small changes on the styling of the switch without saving button

* Initialization of mocaco editor

* Change to the type

* Fixes types checks

* New submit button for query mode

* Implememtation of the expanded mode of the editor

* Implement documentation

* Implementation of the oneliner mode with ellipsis

* Some  fixes on the resizer

* Implementation of the errors layout, WIP

* Fetch SQL data in Discover

* Fix expression test

* Fix editor zIndex

* Fix types error

* Fix type check in Discover

* Fix more types

* some CI fixes

* Fixes

* Cleanup after merge

* Remove from state

* Connect search errors with the unified search editor

* Add error mrkers in unified search editor

* Save and open saved searches

* Filter out saved searches from text based languages

* Some fixes

* Fix unit tests

* Fix checks

* On save and exit modal implementation

* Add shortcut on the editor for submit query

* Fix wrong condition

* Initial types change

* Use regex to find the index pattern string

* Fix some types and cleanup

* Fix types

* Fix some types

* Further fixes

* More fixes

* More fixes

* Fix visualize types

* more

* More fixes

* Fixes more types

* Fix dashboard types

* Fix dashboard types

* Controls plugin types

* Fix Lens types

* Fix data plugin types

* Fix types in Lens 2

* buildEsConfig type fixes

* Fix observability types

* Fix maps types

* data visualizer types

* Fix ml types

* xpack rest types

* Fix jest test

* Fix

* Move helper functions to es config

* fix bug on breadcrumb click

* Fix time field bug

* Add enableSql advanced setting to discover for enabling the sql mode

* Make the documentation component more dynamic

* Add some comments, improvements

* Enhance storybook with the textbased languages

* Update storybook with the error state of the editor

* Adds a readme for the editor and fixes the modal mobile version

* [Discover] improve test and storybook for new data type

* [Discover] add functional tests

* Add aggregate functions to the documentation

* [Discover] fix tests

* Add some unit tests

* [Discover] fix linting

* [Discover] update linting

* More unti tests

* Dataview picker unit tests

* Fix a bug on the dataview picker

* Add unit tests for the editor

* Fix jest test

* [Discover] apply suggestions

* [Discover] adjust styles

* Fix some bugs and select columns in the sql mode

* [Discover] fix eslint and tests

* [Discover] update unit tests

* Fix bug on transitioning from sql mode to dataview mode

* [Discover] fix tests

* Design fixes on the errors messages

* [Discover] fix ci

* Update the columns only if the query changes

* [Discover] change isPlainRecord retrieval method

* Fix bug on cleanup

* Fix bug on opening a saved search

* [Discover] fix comments

* [Discover] fix bug with browser refresh

* [Discover] fix functional

* [Discover] fix another functional

* Fix ordering lost when the user refreshes the browser

* [Discover] revert use_discover_state

* [Discover] revert functional impl

* Fix security solution types

* Casting dashboard plugin

* Revert change

* type param

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

* Revert types changes

* More reverts

* Types fixes

* Fix Discover jest test

* Fix context app jest test

* Final types changes

* Fixes unit test

Co-authored-by: Dzmitry Tamashevich <diaamnj@mail.ru>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Joe Reuter <johannes.reuter@elastic.co>

* Fix types

* Fix jest test

* More design fixes

* Update advanced setting description

* Further design changes

* [Discover] Remove document explorer header column edit data view field functionality (#136743)

* remove Edit data view field for SQL

* Fix the fix

* [Discover] Implement SQL data fetching for embeddable (#136793)

* remove Edit data view field for SQL

* Fix the fix

* Implement SQL for embeddable

* Fix non-saved-search embeddables

* Fix reporting bundle size

* Allow filters on dashboard level for sql searches

* Fix the radius on the editor

* Add vertical padding on the editor

* Change the theme

* Address PR comments

* Fix types

* Address some of the comments

* Fix bug on transitioning from SQL to dataview mode with the modal dismissed

* More types fixes

* Design review comments

* Discovery team review comments

* Fix jest tests

* Fix bug on navigating from the SQL mode to the dataview mode and back in sql mode by clicking the breadcrumb

* Update src/plugins/discover/public/application/main/hooks/use_discover_state.ts

Co-authored-by: Matthias Wilhelm <matthias.wilhelm@elastic.co>

* Add padding to the top of the editor without creating any bug

* Add some padding to the bottom without creating any bug

* Fixes undo bug

* Fix confusing naming of variable

* Fix nested selects

* Update texts for transition modal and warning

* Make it work with dashboard Query

* Address some of the comments

Co-authored-by: Dzmitry Tamashevich <diaamnj@mail.ru>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Joe Reuter <johannes.reuter@elastic.co>
Co-authored-by: Matthias Wilhelm <matthias.wilhelm@elastic.co>
2022-07-26 10:51:31 +03:00
Lisa Cawley
955cb3f354
[DOCS] Update prerequisites in delete case and comment APIs (#136998) 2022-07-25 07:52:23 -07:00
Lisa Cawley
34af4dc140
[DOCS] Add link to xMatters connector (#136870) 2022-07-22 08:53:35 -07:00
Julia Rechkunova
92a46f5344
[Discover] Allow for custom number of rows in the results and save the specified number with a Saved Search (#135726)
* [Discover] Persist rowsPerPage in app state and URL

* [Discover] Persist rowsPerPage in saved search objects

* [Discover] Make sure that rowsPerPage is persisted in saved search objects

* [Discover] Support rowsPerPage in embeddables

* [Discover] Allow to save a custom rowsPerPage option

* [Discover] Reflect custom size in the grid dropdown

* [Discover] Fix changing rowsPerPage on Dashboard page

* [Discover] Skip saving rowsPerPage for legacy view

* [Discover] Fix sample size for rendering an embeddable

* [Discover] Update tests

* [Discover] Update tests

* [Discover] Update mapping

* [Discover] Revert setting a default state

* [Discover] Remove rowsPerPage input from SaveSearch modal

* [Discover] Update tests

* [Discover] Ignore the setting for legacy view

* [Discover] Add `discover:sampleRowsPerPage` setting to Advaced Settings

* [Discover] Allow to save rowsPerPage on Dashboard for legacy view too

* [Discover] Add tests

* [Discover] Add tests

* [Discover] Extend "select" type to return values as numbers too

* [Discover] Fix values changes

* [Discover] Update types to support also lists with numbers

* [Discover] Fix disclaimer updates

* [Discover] Update setting copy

* [Discover] Simplify saving of rowsPerPage

* [Discover] Extend number of rowsPerPage options for the legacy view too

* [Discover] Move to utils

* [Discover] Fix deps

* [Discover] Add tests

* [Discover] Update settings copy

* [Discover] Limit max number of rows per page for an embedded legacy table

* [Discover] Prevent invalid values for a custom rows per page

* [Discover] Add tests

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-07-19 15:54:17 +02:00
Brandon Morelli
48db1ec0f0
docs: add advanced options (#134960) 2022-06-23 13:08:51 -07:00
Lisa Cawley
c6768782f3
[DOCS] Edits OAuth instructions in ServiceNow connector docs (#134970) 2022-06-23 10:25:49 -07:00
Kaarina Tungseth
faede27bf7
[DOCS] Adds the Vis Editor 8.3 docs (#134115)
* [DOCS] Adds the Vis Editor 8.3 docs

* Updates screenshots and UI labels

* Update docs/user/dashboard/lens.asciidoc

Co-authored-by: Stratoula Kalafateli <stratoula1@gmail.com>

* Review comments

* Removes duplicate image

* Review comment

Co-authored-by: Stratoula Kalafateli <stratoula1@gmail.com>
2022-06-21 15:07:46 -05:00
István Zoltán Szabó
182849fa7b
[DOCS] Adds important note about allowlisting email addresses to email connector docs (#134552) 2022-06-17 08:38:03 -07:00
Stratoula Kalafateli
45ff66a648
[Timelion] Removes the legacy charts library (#134336)
* [Timelion] Removes the legacy library

* Removes unused translations
2022-06-15 09:57:44 +03:00
Joe Portner
e6882edf96
Update Saved Object Management docs (#134031) 2022-06-09 16:57:02 -04:00