Commit graph

4001 commits

Author SHA1 Message Date
gchaps
f95414f76f
[DOCS] Adds content on nested queries (#146829)
## Summary

This PR adds content on nested queries.

Preview:

[https://kibana_146829.docs-preview.app.elstc.co/guide/en/kibana/master/kuery-query.html](https://kibana_146829.docs-preview.app.elstc.co/guide/en/kibana/master/kuery-query.html)
2022-12-01 14:11:28 -08:00
gchaps
7d6ae27897
[DOCS] Adds intro section to landing page (#146207)
## Summary

This PR:

- Adds an intro section to the landing page that links to what is
Kibana, how to use, concepts, and add data
- Updates the link to What's new

Preview:

[https://kibana_146207.docs-preview.app.elstc.co/guide/en/kibana/master/index.html](https://kibana_146207.docs-preview.app.elstc.co/guide/en/kibana/master/index.html)
2022-11-30 08:00:14 -08:00
Lisa Cawley
e1227a3fe9
[DOCS] Add assignees query parameter to find cases API (#146087) 2022-11-29 08:46:49 -08:00
Nathan Reese
04360839cd
[maps] Ability to offset point labels on maps (#145773)
Resolves https://github.com/elastic/kibana/issues/143677

PR adds "Label position" style setting allowing users to position labels
at top, center, or bottom.

<img width="800" alt="Screen Shot 2022-11-18 at 12 55 44 PM"
src="https://user-images.githubusercontent.com/373691/202792466-b899df1a-60b2-4967-91c3-03c59a8e448a.png">

<img width="800" alt="Screen Shot 2022-11-18 at 12 55 32 PM"
src="https://user-images.githubusercontent.com/373691/202792501-ec0c24da-699d-4394-a7b2-6e2fbd340073.png">

<img width="800" alt="Screen Shot 2022-11-18 at 12 55 14 PM"
src="https://user-images.githubusercontent.com/373691/202792533-28e1a18a-d7c8-48dc-90ca-e67f42a6f9d3.png">

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-11-29 09:08:54 -07:00
Jorge Sanz
3cf200254e
[DOCS] [Maps] Fix the list of EMS supported prococols (#146313)
## Summary

Removes `1.3` from the list of TLS supported protocols for Elastic Maps
Service server.
2022-11-28 11:36:20 -05:00
Kaarina Tungseth
9a26af6fac
[DOCS] Adds the 8.6 Presentation docs (#145474)
## Summary

Adds the docs for the following:

- #141824
Doc preview:
https://kibana_145474.docs-preview.app.elstc.co/guide/en/kibana/master/get-started.html

- #142780
Doc preview:
https://kibana_145474.docs-preview.app.elstc.co/guide/en/kibana/master/add-controls.html

- #143762
Doc preview:
https://kibana_145474.docs-preview.app.elstc.co/guide/en/kibana/master/add-controls.html

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
2022-11-28 11:20:38 -05:00
Lisa Cawley
94b67781e8
Add open API specification for list connector types (#145951) 2022-11-24 11:30:51 -07:00
Lisa Cawley
876f1b9ac8
[DOCS] Alert limit for cases (#145950) 2022-11-24 17:56:45 +01: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
03b78fc80a
[DOCS] Remove screenshot from maps tutorial (#146030) 2022-11-22 14:55:25 -08:00
Lisa Cawley
8086e99478
[DOCS] Fix Rules and Connectors app labels (#145660) 2022-11-22 09:14:31 -08:00
Maja Grubic
0c178e4b80
[Custom Branding] Plugin skeleton (#145225)
## Summary

This is a skeleton plugin for custom branding. It contains license
checking so far, but not much else.


### 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
~- [ ] [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~
~- [ ] Any UI touched in this PR is usable by keyboard only (learn more
about [keyboard
accessibility](https://webaim.org/techniques/keyboard/))~
~- [ ] Any UI touched in this PR does not create any new axe failures
(run axe in browser:
[FF](https://addons.mozilla.org/en-US/firefox/addon/axe-devtools/),
[Chrome](https://chrome.google.com/webstore/detail/axe-web-accessibility-tes/lhdoppojpmngadmnindnejefpokejbdd?hl=en-US))~
~- [ ] If a plugin configuration key changed, check if it needs to be
allowlisted in the cloud and added to the [docker
list](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)~
~- [ ] 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))~
~- [ ] This was checked for [cross-browser
compatibility](https://www.elastic.co/support/matrix#matrix_browsers)~

### For maintainers

- [ ] This was checked for breaking API changes and was [labeled
appropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2022-11-22 15:04:18 +01:00
Lisa Cawley
74198264e1
[DOCS] Clarify alertId and index in add comment API (#145189) 2022-11-18 17:56:37 +01: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
Jean-Louis Leysens
a166fba83d
[Files] Files management (#144425)
## Summary

Files management UI that rounds out the files MVP. This is UI is
intended to be progressively enhanced and provides a way for system
administrators get some insight and manage the files created and stored
in Kibana.

## To reviewers

* This is UI for retrieval and deletion of files (the R+D of CRUD)
* Creating and deleting tags to be supported in a future version
* This UI is intended to form part of the broader content management
experience
* We use the `TableListView` component as far as possible

## How to test

1. Start Kibana with `yarn start --run-examples`
2. Go to the "Developer Examples" from the left nav menu
3. Go to the "Files example" plugin
4. Click the "Upload file" button, upload a few different image types
(PNG, JPG and WEBP)
5. Go to "Stack management" > "Files"
6. Behold your files in the management UI
7. (Bonus) check that the UI and API `GET /api/files/find`, `GET
/api/files/metrics` and `DELETE /api/files/blobs` are not accessible to
non-admin or appropriately privileged users (i.e., those with "Files
management" access).

## List of functionality

 - [x] List all saved objects (scoped to admin)
 - [x] Is able to bulk-delete files
 - [x] Shows basic storage diagnostics
 - [x] Is able to search and filter files

## Screenshots

<details>
<summary>screenshots</summary>

<img width="1545" alt="Screenshot 2022-11-08 at 13 56 54"
src="https://user-images.githubusercontent.com/8155004/200570783-cfefdbf3-c5ff-4ece-ba24-48a455fcca75.png">

<img width="910" alt="Screenshot 2022-11-10 at 12 52 35"
src="https://user-images.githubusercontent.com/8155004/201083812-bc9f25f5-b423-43a6-9229-5e2a4cdd943a.png">

<img width="451" alt="Screenshot 2022-11-10 at 12 37 07"
src="https://user-images.githubusercontent.com/8155004/201081039-832a1980-684c-4abb-bb05-0c7c6a849d4d.png">

<img width="959" alt="Screenshot 2022-11-08 at 13 57 15"
src="https://user-images.githubusercontent.com/8155004/200570797-f122cff5-7043-4e01-9b51-d5663c1b26d6.png">

<img width="500" alt="Screenshot 2022-11-08 at 13 57 38"
src="https://user-images.githubusercontent.com/8155004/200570801-35cdbd99-0256-4dee-9f78-2f6ad853305f.png">

</details>

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2022-11-17 05:53:31 -07:00
Lisa Cawley
d68b016953
[DOCS] Fix link in Kibana Add Data (#145480) 2022-11-16 17:02:29 -08:00
James Garside
b589297bee
Updated tracks tutorial to support Agent (#143414)
* Updated for Human readable dataview names

* Updated tutorial to support Elastic Agent
2022-11-16 16:15:55 -05:00
Lisa Cawley
2b143dadc4
[DOCS] Refresh screenshots for alerting banners (#145307) 2022-11-16 08:14:51 -08:00
Jean-Louis Leysens
58e6d9441a
[Files] Update the files tutorial after new components (#145356)
## Summary

* Makes the API docs visible on dev site
* Updates the file README
* Updates the file service tutorial (more structured steps, leverage our
own UI components)

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2022-11-16 15:44:03 +01:00
Lisa Cawley
e957314ae4
[DOCS] Add Opsgenie to create and update connector APIs (#145197) 2022-11-15 11:23:46 -08:00
Thom Heymann
2e7b789a30
Document update objects spaces API (#145109)
Resolves #133149

## Summary

Document update objects spaces API

Co-authored-by: Jeramy Soucy <jeramy.soucy@elastic.co>
2022-11-15 16:55:58 +00: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
Lisa Cawley
5348e39a36
[DOCS] Automate final case APIs (#145007) 2022-11-14 19:19:40 -07:00
Andrew Tate
e2d3bb9dec
[Lens] Multi metric partition charts (#143966) 2022-11-14 16:49:39 -07: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
Lisa Cawley
6804cffc5f
[DOCS] Automate docs for get case APIs (#144950) 2022-11-10 08:27:33 -08:00
Ahmad Bamieh
62425648c7
[Upgade Assistant] Enable UA for minor upgrades (#143544)
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2022-11-08 18:57:42 -07:00
Lisa Cawley
9bf262dd1c
[DOCS] Automate docs for push case and case case config APIs (#144657) 2022-11-08 09:34:52 -08:00
Jonathan Budzenski
6672962d19
Bump node to 16.18.1 (#144751)
https://github.com/nodejs/node/blob/main/doc/changelogs/CHANGELOG_V16.md#16.18.1
2022-11-08 10:16:10 -06:00
Michael Dokolin
167797cae1
[Saved Objects] Add documentation covering hidden saved object types (#144647) 2022-11-08 16:42:02 +01:00
Lisa Cawley
096f4651b1
[DOCS] Fix links in Kibana troubleshooting (#144749) 2022-11-07 17:01:10 -08:00
Kyle Pollich
4eeeb0db8f
[Fleet] Add docs for package verification GPG key (#144707)
* Add docs for package verification GPG key

* Update fleet-settings.asciidoc

* Update docs/settings/fleet-settings.asciidoc

Co-authored-by: DeDe Morton <dede.morton@elastic.co>

Co-authored-by: DeDe Morton <dede.morton@elastic.co>
2022-11-07 14:25:05 -05:00
gchaps
5e7989844d
[DOCS] Improves examples in KQL doc (#144072)
* [DOCS] Improves examples in KQL doc

* Update docs/concepts/kuery.asciidoc

Co-authored-by: Lukas Olson <olson.lukas@gmail.com>

Co-authored-by: Lukas Olson <olson.lukas@gmail.com>
2022-11-07 09:12:05 -08: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
gchaps
bf9c87c7c9
[DOCS] Adds missing image to landing page (#144626) 2022-11-04 11:41:24 -05:00
Gerard Soldevila
88815398e8
Add notifications plugin, offering basic email service (#143303)
* Misc enhancements following PR comments

* Adding functional tests

* Fixing types

* Fixing tests

* Removing unnecessary Promise.all

* Cleanup

* Misc fixes and simplifications

* Add missing tsconfig.json

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

* Add dependency to Actions plugin in tsconfig.json

* Separate setup logic from start logic

* Fix bulkEnqueueExecution params structure

* Update README

* Add UTs

* Check license type >platinum for email notifications

* Fix incorrect UTs

* Import types when possible

* Misc enhancements and code cleanup

* Transform factory => provider, update start contract

* Code cleanup, update README

* Fix TS error

* Fix CI types error

* Address PR remarks

* Address PR remarks #2

Co-authored-by: Ying Mao <ying.mao@elastic.co>
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2022-11-03 15:33:52 +01:00
Kaarina Tungseth
e5271bd250
[DOCS] Fixes landing page links (#144487) 2022-11-03 09:15:20 -05:00
Lisa Cawley
df1a662e35
[DOCS] Add redirect for alerts and actions (#144251) 2022-10-31 09:48:22 -07:00
Jean-Louis Leysens
1ed2ec8e57
[Files] move to src (#144044) 2022-10-31 06:46:52 -07:00
nastasha-solomon
61505e5edd
[8.5][DOCS] Add support for differential logs (#143242)
Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
2022-10-27 13:32:11 -04:00
gchaps
5d2b2e5922
[DOCS] Redesigns Kibana docs landing page (#138051)
* [DOCS] Another landing page design

* [DOCS] Uses cards in landing page

* [DOCS] Updates list of docs

* [DOCS] Emphasizes solutions

* html, css updates

use one column on medium screens and smaller

clean up

clean up again

* [DOCS] Incorporates review comments

* [DOCS] Updates text and link for search

* format headings in cards, ensure cards are always the same height

* remove unused css, align images

* [DOCS] Fixes links to images

* [DOCS] Uses images with transparent background

* Fixes wording in cards

* Update docs/index-custom-title-page.html

Co-authored-by: Kelly Murphy <kelly.murphy@elastic.co>

* Update docs/index-custom-title-page.html

Co-authored-by: Kelly Murphy <kelly.murphy@elastic.co>

* Update docs/index-custom-title-page.html

Co-authored-by: Kelly Murphy <kelly.murphy@elastic.co>

* [DOCS] Add content to describe Kibana

* [DOCS] Minor edits

* Update docs/index-custom-title-page.html

Co-authored-by: Kelly Murphy <kelly.murphy@elastic.co>

* [DOCS] Copy edits to landing page

Co-authored-by: Colleen McGinnis <colleen.mcginnis@elastic.co>
Co-authored-by: Kelly Murphy <kelly.murphy@elastic.co>
2022-10-26 13:59:58 -07:00
Abdon Pijpelink
faa10dc727
Restore link to spatial relation operator (#144032) 2022-10-26 16:08:08 +02:00
Abdon Pijpelink
a0d237b62c
Temporarily remove broken link (#143965) 2022-10-25 18:34:34 +02:00
Kurt
7d10edcc8f
Removing docs about multi-tenancy (#143698)
* Removing docs about multi-tenancy

* Removing link to multi tenancy
2022-10-24 16:01:43 -04:00
Tim Rühsen
8b0145c3a1
Support brotli compression on the server side (#142334)
* Use brotli compression

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

* Add integration test for brotli support

* Use import instead of require()

* Suppress build error on importing brok

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

* add brok as explicit package dep

* add `server.compression.brotli` config settings

* update documentation

* fix test utils

* fix more test configs

* add tests for endpoints too

* remove against endpoint for now

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: pgayvallet <pierre.gayvallet@elastic.co>
2022-10-24 15:33:21 +02:00
Lisa Cawley
6eb02d096f
[DOCS] Add assignees to case APIs (#143610) 2022-10-20 11:32:10 -07:00
Tim Sullivan
53d07a2283
Puppeteer v18.1 (#143485)
* use build options for smaller build

* update to puppeteer@18.1.0

* increase timeouts

- reporting.queue.timeout: 4m
- screenshotting.timeouts.openUrl: 1m
- screenshotting.timeouts.waitForElements: 1m
- screenshotting.timeouts.renderComplete: 2m

* update docs and refs for timeouts

* add arm64 info

* fix binaryChecksum for linux_x64

* restore comment?

* Build script changes from #143022
2022-10-19 13:52:33 -07:00