Commit graph

4001 commits

Author SHA1 Message Date
Kurt
7b07faf7d1
Fixing es template string and programmatic typo (#139014) 2022-08-17 12:17:57 -04:00
Ying Mao
db72db9e7c
[Response Ops] [Alerting] Adds circuit breaker that limits the max number of alerts that can be reported each rule run. (#138446)
* Adding config for max alerts. Throw error in alert factory when max alerts are reported. Process alerts differently when alert limit is reached

* Fixing types. Adding new config to docker and docs

* Setting flag to indicate limit reached. Update rule status to warning if limit reached

* Fixing task runner test

* Cleanup

* Fixing task runner test

* Actually using result of hasReachedAlertLimit

* Fixing types

* Copying over scheduled actions for active alerts. Only execute actions if they exist

* Setting lower limit in functional test config

* Adding functional test

* Update x-pack/plugins/alerting/server/constants/translations.ts

Co-authored-by: Lisa Cawley <lcawley@elastic.co>

* PR feedback

Co-authored-by: Lisa Cawley <lcawley@elastic.co>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-08-16 07:36:38 -07:00
Patrick Mueller
9631649e72
Adds new proxy tests and manual proxy tester (#138071)
The new proxy tests added can test a variety of different proxy
and target server configurations, however many of those tests
are broken with our current proxy agents.  Hopefully to be fixed
by replacing with hpagent instead.  In the meantime, we wanted to
get the basic test framework in as well.

In addition to tests, the stand-alone forward proxy has been
enhanced to use a better proxy server, `proxy`.  The existing
proxy server `http-proxy` does not support HTTPS out of the box,
and so any HTTPS testing with it is going to be a little sketchy.

Using the stand-alone forward proxy, I was able to post to Slack
through http/https proxies with and without auth, with
proxyRequestUnauthorized set to false.  Which shows the existing
proxy agents do work in _some_ environments.
2022-08-16 10:00:46 -04: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
doakalexi
0b8d2edc17
[ResponseOps][Alerting] clarify doc on mute/unmute alert instance id's (#138657)
* Updating docs

* Adding missing word

* Update docs/api/alerting/mute_alert.asciidoc

Co-authored-by: Lisa Cawley <lcawley@elastic.co>

* Update docs/api/alerting/unmute_alert.asciidoc

Co-authored-by: Lisa Cawley <lcawley@elastic.co>

Co-authored-by: Lisa Cawley <lcawley@elastic.co>
2022-08-13 00:46:02 +09:30
Joe Reuter
fcf3b8bb21
[Discover] Split saved searches out of discover plugin (#138388) 2022-08-12 11:19:40 +02:00
Lisa Cawley
01f8c7c4f2
[DOCS] Add missing collapsible sections in case APIs (#138588) 2022-08-11 09:11:42 -07:00
István Zoltán Szabó
6ae8808969
[DOCS] Updates screenshot for data viz in ML section. (#138524) 2022-08-11 17:16:12 +02:00
Jean-Louis Leysens
a182b8e9be
Files plugin (#137421)
* added files plugin

* [Files] Create files saved object and blob storage (#131886)

* initial version of file saved objects

* initial version of file saved objects part ii

* added .blob index and setup logic for the file service and the blob service

* wip: need to add .blob access to kibana_system role

* use multiple-isolated after speaking of oleg

* added metadata field

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

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

* updated file statuses per feedback

* removed created_by and added "alt" text field and converted "name" to type "text" too

* split content_type into mime and extension

* use BlobStorage interface in adapters prop

* minor fixes

* handle multiple Kibanas at startup time

* fix jest test

* do not set up index at setup time

* set importable exportable to false explicitly

* remove use of non-existent function

* added plugin ID, use type instead of interface to avoid specific interface issue and use typescript to check that properties map corresponds to type

* remove storage_id for now

* make the name snake case!

* added fixmes

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>

* [Files] Implement ES-based blob store (#132123)

* minor clean up

* remove unused import

* added modified version of the content stream from reporting

* remove plugin_id, replace with file_kind

* remove unused commented out code and clean up imports

* added jest.config.js

* added FileChunkDocument interface and added the head_chunk_id for easier deletion of related file chunks

* added an additional test case for writing with content stream

* first implementation of ES blob storage

* fix imports

* get closer to a final version of the blobstore interface, use esClient.get rather than esClient.search since we are using IDs

* added jest integration tests

* add some comments

* fix: eslint types issues

* remove unused values

* minor refactor for clarity

* fix when saved objects are registered

* remove unused variable

* fix jest tests and make getMaxSize function sync

* fix logger prefixes

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

* [Files] File service CRUD functionality and audit logging (#132416)

* big ol wipperooni, but got a lot of initial functionality written out

* added some todos and fixed import

* finish adding integration tests for file service! also added the partial update capability to file

* added file service integration tests and finalized Files and InternalFileService APIs

* added security plugin

* big refactor for security audit logging: FileServiceFactory

* type lint

* update delete file integration test and remove done TODOs

* move comment

* docs, accessibility modifiers and updated some import ordering

* fix comments

* pass in index name to ES blob store

* tidy up debug and error messages

* [Files] Added more chunking Jest integration tests (#132530)

* added more thorough integration tests of chunking

* refactor chunksize to a value that is passed to the ES constructor, update a comment and update tests

* [Files] Public API v1 (#132602)

* created public API, everything except the file registry

* ensure the custom meta types are working as expected

* added index: false to content

* Revert "added index: false to content"

This reverts commit 74259f86638aefc24755874cbd6ac89e0170c192.

* updated comment

* update how ids are generated

* also filter out deleted files

* fix id generation

* test file deletion after upload failure

* [Files] File kinds registry v0.1 (#132700)

* initial commit of file kind registry

* add actual registry

* updated attributes reduceer slightly

* separate blob storage interface, make the blob storage type a unique const

* added integration test for file kinds

* update test after adding registry logic

* partial attributes

* [Files] Blob storage with attributes (#134057)

* updated blob storage interface with attributes

* added dynamic: false to the file chunk doc for ES blob store

* update mocks

* support attributes at the blob store level part i

* actually test setting of attributes, also refactor app_extra_data to app_meta_data

* remove unused import

* some corrections to tests, also refresh after creating a blob that has attributes to enable search

* remove unnecessary default

* getBaseId -> getContentReferenceId and added a bunch of doc comments

* refactored getting of attribute chunk id, encapsulate everything inside content stream

* remove app_search_data

* app_meta_data -> app_metadata

* [Files] Added `Transform` to blob stores (#134846)

* added max byte size stream transform

* added stream transforms to files

* rename MaxByteSize to MaxByteSizeTransform

* try a cool cool ternary, yeah

* minor refactor

* address PR feedback

* [Files] File kind HTTP APIs and tests (#134655)

* first version of dynamically creating file kinds routes

* added update, delete, download, list and find endpoints and some minor refactoring

* added return statement and additional requirement for file kind ids to be URI safe

* update comment

* added API integration tests for the file kinds routes, a lot of refactoring; removed the upload endpoint service since this does not make since with proxies, fixed a bunch of issues in registering routes and the enhanced file kind router

* move the method to the specific route file too

* remove unused function

* add download content type response header

* remove unused import

* download http method should be "get" not "delete"

* actually pass through the mime type

* slight refactor after changing the create file response

* findFile => getById

* remove trailing verbs

* update copy

* addressing pr feedback

* added missing property

* fix copy

* added comment

* regrouping imoprts

* rename "find" route to "getById"

* [File storage] Public-side Client (#135403)

* refactor store name

* wip: first version of restful-ish endpoint types captured in one place except for path

* use the endpoint definition directly

* added first iteration of files client based on shared types

* slight refactor

* added content type headers and removed unused type

* slight refactor and expose server and public side types

* finish refactor

* updated files plugin ui limits

* [Files] Public file sharing service (#135598)

* add new public file saved object type

* generate random token

* file share service, first iteration

* initial version of files share service work, we can create a file share

* delete shares when a file is deleted

* refactor to InternalFileSharingService because certain events need to be audited

* further clean up and added a comment

* finish refactor

* update tests

* refactor tractor

* move integration tests folder

* does not need to be async, also added some samples to doc comment

* added comment

* use SO object references instead of hacking it yourself, also added comments and moved some stuff around

* refactor to internal file share service

* fix type lint

* valid_until as unix ts

* commit simplify random string generator

* fix type issues and update SO integration tests

* woops, 51 not 55

* change label

* minor refactor to file service (#135836)

* remove attributes from blobstore layer and update IDs to be xxxxx.1 instead of 1.xxxxx (#136294)

* [Files] Refactor File metadata (#136370)

* refactor tractor keeps on rolling

* fix type issues

* [Files] Conform with new blob store specification (#136396)

* refactor es mappings

* move puid file

* updated the content stream implementation to support identifying "last" chunk

* updated the es blob store

* updated es mappings

* minor updates to the file object, but importantly, passing the file ID to the blob store so that files and blobs are connected

* updated test assertion

* rather use cuid because it uses cryptography to reduce the chance of collisions (#136658)

* do not index bid field (#136707)

* [Files] Find endpoint (#136529)

* refactor http endpoint interface names

* wip on find files route, need to create shared test harness and test utils

* added toJSON helper

* pass through the filter

* fix refactor to "getById" on file service instead of find and move order of attributes

* actually add the toJSON utility

* added shared integration test setup code

* added find route path to common

* return if 400 is returned when trying to create blob storage index. This is an edge case that can be hit if creation happens at the same time

* update the find algo to build a kuery expression string that we pass to SO service, note: we want to prevent query injection shenanigans so we JSON.stringify

* updated the create endpoint to enforce mime type from file type, thank you

* updated the create endpoint to enforce mime type from file type, thank you

* updated some tests and actually register the find enpoint, also updated to use mimeType

* added a few integration level tests for the new find endpoint

* updated the new setup integration test harness for use in new find and old file kinds integration tests

* use flattened type for "Meta" and "hash" fields on saved object so that we can store multiple values in an object and search

* updated import with "type" annotation

* added readme explaining patterns used for routes

* fix file kind integration tests

* remove unused endpoint

* do not expose chunk size and compression for now

* use nodeBuilder rather than manually building a kuery string

* make query strings limited in length and refactor "Extension" to "extension" plus some other minor changes

* reorg some lines

* [Files] Use `application/cbor` to optimise file uploads and downloads (#136528)

* move puid file

* added cbor-x dependency

* remove all references to "raw" from the test code

* remove "encoding" parameter and refactor to use cbor encoding for blob chunks, in this way we do not encoding our payloads to UTF-8 or Base64 Kibana side, only decode

* fixed content stream tests

* require instead of import cbor-x for now

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

* try disable eslint comment scoped

* download also as cbor to buffer directly, also updated upload endpoint to report when content has already been uploaded

* updated tests and handle some edge case when reading buffers

* remove unused require and added a comment

* moved lengthy comment to separate file

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>

* [Files] Added metrics endpoint and functionality (#136725)

* added service-level functionality for getting usage metrics

* built the metrics endpoint

* do not count size of deleted files

* updated comment

* added agg by status and extension

* update test assertions

* [Files] File errors (#136946)

* added domain-specific errors

* map file errors to http responses and clean up list endpoint

* [Files] Public File share HTTP endpoints (#137172)

* refactor where server and client routes are declared

* added new endpoint types and refactor api/files/files/metrics|share to api/files/metrics|share

* added some more comments, a new error type for the file share service and created the endpoint handler for creating file shares

* added doc comments to the file kind interface

* rename test utils folder to "test_utils" and added a basic test for creating a share

* added test_util folder and updated share test

* added new endpoint types, updated import to test utils, updated share name

* added unshare endpoint

* added share list endpoint and refactored share JSON with version that contains token and version without

* actually register the list shares route

* a bunch of refactoring for saved object type "id" rather than "token" for the object id, also added the public download endpoint

* updated error behavior on download endpoint

* fixed test

* use unix timestamp in seconds

* added file name param to public download endpoint and added shared fileName schema

* remove unused file and added public download tests

* share to shares

* added get endopint and updated tests and test titles per feedback

* added get endpoint

* updated test and back to milliseconds on validUntil

* updated name of params in route and update error message in response

* return only known messages in the expected format

* update test

* use Readable.from

* reintroduce crazy typecasting

* added security audit log tests (#137253)

* [Files] Generate download headers utility tests (#137203)

* move common schema to common schema file and move THAT file to a shared location

* update mime type behaviour

* update integration tests

* added a little something to the README

* update cbor-x to latest

* delete "require" of cbor-x

* upgrade cbor-x

* rename "public" to "public_facing"

* remove old lint rule

* added a bunch of docs

* fix interface surface area

* more doc comments

* more more doc comments

* more more more doc comments

* more more more more doc comments

* more more more more more more doc comments

* Actually 50GiB

Co-authored-by: Vadim Kibana <82822460+vadimkibana@users.noreply.github.com>

* Remove unnecessary comment

Co-authored-by: Vadim Kibana <82822460+vadimkibana@users.noreply.github.com>

* hasContent -> isReady

* only call the createIndexIfNotExists function once per instance

* [Files] Create files client (#137879)

* biig refactor to use FileClient in File and remove all metadata functionality from file service

* update file service factory to work with metadata client after refactor

* also rename file share updateable attrs interface

* updated use of types in saved objects client

* export function arg types

* added the creation helper file and added an example file for using it

* implement find for the es index client

* moved the query builder logic to a shared place

* rename file, add prefixes and embed es doc in "file" key in ES document

* type exports

* fix bad rebase

* Minor changes and updates to types

* fix another minor type issue

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

* fix minor type issues and update "update" behavior to only apply updatable fields bru

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

* actually be able to update status... also some other types cleanups

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

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>

* remove TODO

* update link to team

* throw errors more consistently

* createAuditLog -> writeAuditLog

* more more more more more more more doc comments

* more more more more more more more more doc comments

* more more more more more more more more more doc comments

* more more more more more more more more more more doc comments

* more more more more more more more more more more more more  doc comments

* [Files] ES client tests (#138174)

* move test utils and update expected metric size

* remove cuid from "file"

* update file client to set id using cuid and update types

* moved test utils and wip of integration tests for file client

* added es-index backed file client tests

* adjust the upload endpoint to also return the file size

* added size to response expect

* fix some type issues

* fix type issues

* [Files] Register routes at setup time (#138392)

* updated the fileKindRegistory to live behind a getter setter so that instantation can be taken care of in one place

* refactor conditional endpoint registration and update tests to register file kind after setup

* register routes at setup time

* remove outdated README

* fix import of non-existent function

* register routes...

* [Files] PR feedback 1 (#138417)

* update comments and plugin description

* filter lists and finds on non-deleted files

* updated comment

* added tests for larger files and files exactly divisible by chunk size

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

* do not use regexp

* fix test assertion

* update content stream tests

* make fewer fields searchable

* ok

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>

* remove legacy comment

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Vadim Kibana <82822460+vadimkibana@users.noreply.github.com>
2022-08-11 12:31:49 +02:00
István Zoltán Szabó
00c64ab94c
[DOCS] Adds AIOps section and explain log rate spikes docs (#138485)
Co-authored-by: Lisa Cawley <lcawley@elastic.co>
2022-08-11 12:25:57 +02:00
Patryk Kopyciński
33689abc77
[Osquery] Add docs for Osquery API (#137162) 2022-08-09 18:43:31 +02:00
Alejandro Fernández Haro
73f8e52b89
Fix broken link to CiStatsReporter (#138407) 2022-08-10 00:33:38 +09:30
Tim Sullivan
f5133d449c
[Data Views] Documentation for create data view REST API (#138068)
* data view rest api request body field documentation

* document sub-fields of the api request body

* add examples of different ways to create the data view

* switch order of 2 examples

* Update docs/api/data-views/create.asciidoc

* data_view properties documentation

* update documentation

* fix broken link

* Apply suggestions from code review

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

* Update docs/api/data-views/create.asciidoc

* Update docs/api/data-views/create.asciidoc

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

Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>
2022-08-09 06:44:47 -07:00
Aleksandr Maus
a6c1b0f26d
Osquery: Update exported fields reference for osquery 5.4.0 (#137757)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-08-08 13:50:38 -04:00
bassem chagra
4b91d13451
[External-plugins-list] Add Sankey Visualization (#137835) 2022-08-03 19:24:17 -04:00
Anton Dosov
3d5632310b
Allow to configure roundUp in date helper of url drilldown (#137874) 2022-08-03 15:33:05 +02:00
rahuldimri
f048036170
release_note:skip Issue #97976 (#137839)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-08-03 11:07:55 +02:00
Michael Dokolin
cb341b4a1c
[Embeddables] Update documentation (#137302)
* Add a developer documentation page to cover embeddables concept
* Update generic embeddable documentation
2022-07-29 14:33:24 +02:00
CJ Cenizal
dfb110cad2
Add Console docs for Comments and Variables (#137225)
* Update console-settings.png and console.png. Remove settings.png.
* Fix image names and alt tags.
* Remove unnecessary whitespace, backticks, and typo bracket.
2022-07-28 10:52:20 -07:00
Lisa Cawley
e19714a17e
Adds openAPI spec for get alerts endpoint (#137332) 2022-07-28 08:44:30 -07:00
Lisa Cawley
0d12e2dd3c
[DOCS] More edits to the automated ml sync API docs (#137242) 2022-07-28 08:41:22 -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
Philippe Oberti
19aa51e5a8
[TIP] Add new Threat intelligence plugin (#136479)
* [TIP] Add Threat Intelligence plugin

- create Threat Intelligence plugin and integrate with Security Solution plugin
- setup jest unit tests, i18n, Cypress tests and  Storybook
- fetch Indicator of Compromise, and display in data-grid
- add flyout components to show IOCs details (table and JSON)
- add new threatIntelInt entry to kbn-doc-links package

https://github.com/elastic/security-team/issues/4329
https://github.com/elastic/security-team/issues/4138
https://github.com/elastic/security-team/issues/4241
https://github.com/elastic/security-team/issues/4242
https://github.com/elastic/security-team/issues/4244
https://github.com/elastic/security-team/issues/4245

Co-authored-by: lgmys <lgmys@pm.me>
Co-authored-by: Maxim Kholod <maxim.kholod@elastic.co>
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2022-07-25 19:27:05 +02:00
Nathan Reese
8bedc3c980
[Maps] label zoom range style property (#136690)
* [Maps] label visibility style property

* add slider

* set label zoom range

* rename

* fix jest test

* tslint

* fix jest tests

* update jest expects

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

* doc updates and change 'Label zoom range' to 'Label visibility'

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-07-25 10:04:11 -06:00
Lisa Cawley
955cb3f354
[DOCS] Update prerequisites in delete case and comment APIs (#136998) 2022-07-25 07:52:23 -07:00
Ying Mao
3c24511c16
[Response Ops][Connectors] Allow connectors to explicitly register which features they will be available in (#136331)
* Adding feature config to connector type and checking for validity on registration

* Updating actions APIs to filter by feature id if provided

* Fixing types

* Renaming allowedFeatureIds to featureConfig

* Adding siem feature config. Returning feature config to client. Showing availability in connector list

* Fixing types

* Showing availability in create connector flyout header

* Passing feature id into action form used by rule creators.

* Renaming some stuff

* Finishing triggers_actions_uis. Starting cases

* Fixing cases

* fixing types

* Fixing types and adding uptime feature

* Cleanup

* fixing tests

* Updating README

* Filtering action type filter on rule list

* Update x-pack/plugins/actions/common/connector_feature_config.ts

Co-authored-by: Steph Milovic <stephanie.milovic@elastic.co>

* Fixing tests

* Renaming featureConfig to supportedFeatureIds

* PR feedback

* fixing i18n

* Updating docs

Co-authored-by: Steph Milovic <stephanie.milovic@elastic.co>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-07-25 06:24:25 -07:00
Spencer
03f1a218c5
[core] remove root index.ts file (#137001)
* [core] remove root index.ts file

* remove support for `kibana/*` imports, replace instances in docs
2022-07-22 15:04:23 -07:00
Abdon Pijpelink
4bc0cb7cae
[DOCS] Update link to common cluster issues page (#136965) 2022-07-22 13:03:39 -04:00
Lisa Cawley
7c8dff7af1
[DOCS] Replace ML API page with automated output (#136583) 2022-07-22 08:55:37 -07:00
Lisa Cawley
34af4dc140
[DOCS] Add link to xMatters connector (#136870) 2022-07-22 08:53:35 -07:00
Lisa Cawley
bd6339ea02
Add open API specification for get case activity (#136465) 2022-07-21 07:14:44 -07:00
Tiago Costa
7cc4eaee28
docs(NA): drop windows native development support (#135964)
* docs(NA): drop support for windows native development

* docs(NA): improve previous written instructions around windows de

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-07-21 14:37:18 +01:00
Lisa Cawley
a64d9fc6ac
[DOCS] Adds prerequisites to list rule types API (#136326) 2022-07-20 10:23:04 -07:00
Kurt
e22e3a52b5
Adding deprecation warning for Interactive Users using ApiKeys (#136422)
* Adding deprecation warning for Interactive Users using ApiKeys

* Fixing unit test verbiage

* Update docs/user/security/authentication/index.asciidoc

Co-authored-by: Larry Gregory <lgregorydev@gmail.com>

* Update docs/user/security/api-keys/index.asciidoc

Co-authored-by: Larry Gregory <lgregorydev@gmail.com>

* Changing capitalization on 'keys' to avoid confusion with the UI API Keys

* Update docs/user/security/api-keys/index.asciidoc

Co-authored-by: Larry Gregory <lgregorydev@gmail.com>

* Update docs/user/security/authentication/index.asciidoc

Co-authored-by: Larry Gregory <lgregorydev@gmail.com>

* Changing the logging message and unit test descriptions based on PR review feedback

* Update x-pack/plugins/security/server/routes/analytics/authentication_type.test.ts

Co-authored-by: Aleh Zasypkin <aleh.zasypkin@gmail.com>

* Update x-pack/plugins/security/server/routes/analytics/authentication_type.ts

Co-authored-by: Aleh Zasypkin <aleh.zasypkin@gmail.com>

* Update x-pack/plugins/security/server/routes/analytics/authentication_type.ts

Co-authored-by: Aleh Zasypkin <aleh.zasypkin@gmail.com>

* Removing unnecessary whitespace

* Fixing spelling in unit test assertion

Co-authored-by: Larry Gregory <lgregorydev@gmail.com>
Co-authored-by: Aleh Zasypkin <aleh.zasypkin@gmail.com>
2022-07-20 10:52:46 -04: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
Najmieh Sadat
8f87df1204
Edited the external plugin demo documentation (#134748)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-07-19 06:02:24 -07:00
Spencer
4f817ad8a0
[kbn/pm] rewrite to avoid needing a build process (#136207)
* [kbn/pm] rewrite to avoid needing a build process

* uncomment timing reporting

* throw in a few missing comments

* Update README.md

* remove extra SomeDevLog interface from ci-stats-core

* remove non-stdio logging from bazel_runner, improve output formatting

* use private fields instead of just ts private props

* promote args to a positional arg

* optionally require the ci-stats-reporter after each command

* allow opt-ing out of vscode config management

* reduce to a single import

* add bit of docs regarding weird imports and package deps of kbn/pm

* clean extraDirs from Kibana's package.json file too

* tweak logging of run-in-packages to use --quiet and not just CI=true

* remove unlazy-loader

* add readme for @kbn/yarn-lock-validator

* convert @kbn/some-dev-logs docs to mdx

* remove missing navigation id and fix id in dev-cli-runner docs

* fix title of some-dev-logs docs page

* typo
2022-07-18 08:46:13 -07:00
Abdon Pijpelink
da4c898b67
Removed anchor from link to common cluster issues page (#136378)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-07-18 17:08:21 +02:00
Brandon Morelli
3044cb7ba5
[APM] Document serverless-specific UI (#135178)
Co-authored-by: Alexander Wert <AlexanderWert@users.noreply.github.com>
2022-07-15 06:34:57 +09:30
Lisa Cawley
93f6f89795
Add open API specification for get case API (#136315) 2022-07-14 11:45:39 -07:00
Nathan Reese
63335d8e37
[maps] clean-up filter by map bounds action (#136045)
* [maps] clean-up filter by map bounds action

* modal

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

* update docs

* fix warning in generated filter pill

* fix functional test

* fix jest test

* review feedback

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2022-07-13 07:51:23 -06:00
Katerina Patticha
60372df6bc
[DOCS] Update APM settings (#135149)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-07-11 17:42:09 +09:30
Andrew Tate
3891aeb95f
[Chart expressions] new metric vis expression (#135461) 2022-07-08 12:07:43 -05:00
Lisa Cawley
9dbf147d66
Add openAPI specifications for get comments API (#135921) 2022-07-08 09:01:49 -07:00
Jonathan Budzenski
369272efe1
Bump Node.js to 16.16.0 (#135926) 2022-07-07 17:05:09 -05:00
Brandon Kobel
8655730a69
Marking the node.roles kibana.yml setting as technical preview (#135932) 2022-07-07 13:55:09 -07:00
Kuniyasu Sen
1791d71037
Remove cloud icon for xpack.reporting.queue.pollEnabled (#135771)
Remove cloud icon for xpack.reporting.queue.pollEnabled per https://github.com/elastic/kibana/issues/126024#issuecomment-1155697765
2022-07-06 16:26:52 -07:00
Melissa Burpo
6f3c03abab
Osquery doc fixes (#135848)
* add fim link

* resolve doc issues
2022-07-06 16:42:21 -05:00
Lisa Cawley
9162f7f2f0
Add openAPI specifications for get tags API (#135671) 2022-07-06 09:07:44 -07:00
Joe Reuter
fd50544641
[Lens] Extend readme (#135695)
* extend readme

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

* Update x-pack/plugins/lens/readme.md

Co-authored-by: Marco Liberati <dej611@users.noreply.github.com>

* Update x-pack/plugins/lens/readme.md

Co-authored-by: Marco Liberati <dej611@users.noreply.github.com>

* Update x-pack/plugins/lens/readme.md

Co-authored-by: Marco Liberati <dej611@users.noreply.github.com>

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Marco Liberati <dej611@users.noreply.github.com>
2022-07-06 03:06:33 -07:00