Joe Portner
07a3756a62
Create Spaces OSS plugin ( #87585 )
2021-01-12 12:26:40 -05:00
Patryk Kopyciński
5c4e23045c
[Security Solution] Refactor Cypress scenarios to use internal contex… ( #86609 )
2021-01-08 11:10:37 +01:00
Tiago Costa
b8d21b1c77
chore(NA): move kbn-es-archiver from mocha into jest ( #87699 )
...
* chore(NA): move kbn-es-archiver from mocha into jest
* chore(NA): remove mocha temporarily from CI
2021-01-07 21:45:51 +00:00
Matthew Kime
021bb4e3e9
Create runtime field plugin, runtime field editor plugin ( #87387 )
...
* create runtime field plugin, runtime field editor plugin
2021-01-07 13:10:30 -06:00
Tiago Costa
48694bbbad
chore(NA): move elastic-datemath from mocha into jest ( #87351 )
...
* chore(NA): move from mocha to jest
* chore(NA): init changes on sinon replacement
* chore(NA): continue to use sinon for timer mocks
* docs(NA): explaining why we keep to use sinon on elastic datemath
* chore(NA): remove sinon from elastic-datemath
2021-01-06 18:18:28 +00:00
Kukhyeon Heo
77947b64d2
Add i18n test helper documentation. ( #46298 )
2021-01-04 09:22:42 -07:00
Diana Derevyankina
aecee92257
Enable prototype pollution protection in TSVB ( #85952 )
...
* Enable prototype pollution protection in TSVB
Closes #78908
* Update Dock API Changes
* Replace logging failed in validateObject validation with 400 error
* Move validateObject to kbn-std package and add a description
* Update Doc API Changes
* Rename validateObject function to ensureNoUnsafeProperties
* Rename other validateObject occurrences
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-31 10:26:59 +03:00
Spencer
db2f7e6bbb
[ftr/flags] improve help text ( #86971 )
...
Co-authored-by: spalger <spalger@users.noreply.github.com>
2020-12-28 13:45:45 -07:00
Tyler Smalley
4f2fd01661
[CI] Updates branch env variables ( #86712 )
...
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2020-12-22 23:05:42 -08:00
Brian Seeders
646a34043a
Explicitly set Elasticsearch heap size during CI and local development ( #86513 )
2020-12-18 17:32:58 -05:00
Dmitry
899f4dd2f8
[coverage] Improve stability and report stats ( #86449 )
...
* improve reporting
* ignore failing tests
2020-12-18 16:46:34 +01:00
Nick Partridge
ddea10e718
Create vis_type_xy plugin to replace histogram, area and line charts ( #78154 )
2020-12-18 08:38:07 -06:00
Dario Gieselaar
003efb1cc4
expectSnapshot: throw on CI when snapshot is new ( #85376 )
2020-12-16 13:21:48 +01:00
Yara Tercero
be055b85b8
[Security Solution][Detections] - Add skeleton exceptions list tab to all rules page ( #85465 )
...
## Summary
This PR is the first of 2 to complete the addition of a table displaying all exception lists on the all rules page. This PR focuses on the following:
- all exception lists displayed
- 'number of rules assigned to' displayed
- names and links of rules assigned to displayed
- refresh action button working
- no trusted apps list show
- search by `name`, `created_by`, `list_id`
- just searching a word will search by list name
- to search by `created_by` type `created_by:ytercero`
- to search by `list_id` type `list_id:some-list-id`
#### TO DO (follow up PR)
- [ ] add tests
- [ ] wire up export of exception list
- [ ] wire up deletion of exception list
<img width="1121" alt="Screen Shot 2020-12-09 at 2 10 59 PM" src="https://user-images.githubusercontent.com/10927944/101676548-50498e00-3a29-11eb-90cb-5f56fc8c0a1b.png ">
### Checklist
- [ ] 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/master/packages/kbn-i18n/README.md )
- [ ] [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 ))
- [ ] 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 )
2020-12-15 22:45:18 -07:00
Ahmad Bamieh
28c8cfbff4
[Telemetry] Application Usage track sub application views ( #85765 )
...
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-15 17:25:51 -07:00
Alison Goryachev
579ead8eaf
Handle multiple monaco editor instances for Painless lang ( #85834 )
2020-12-15 09:37:21 -05:00
Tyler Smalley
504c8739de
test:jest improvements to better support our monorepo ( #84848 )
...
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2020-12-14 14:07:50 -08:00
Vadim Dalecky
b01a327076
Row trigger 2 ( #83167 )
...
* feat: 🎸 add ROW_CLICK_TRIGGER
* feat: 🎸 wire row click event to UI Actions trigger in Lens
* feat: 🎸 add row click trigger to url drilldown
* feat: 🎸 add datatable to row click context
* feat: 🎸 pass in row index in row click trigger context
* feat: 🎸 add columns to row click trigger context
* feat: 🎸 fill values and keys event scope array
* feat: 🎸 generate correct row scope variables
* fix: 🐛 report triggers from lens embeddable
* feat: 🎸 add sample preview for row click trigger
* feat: 🎸 remove url drilldown preview box
* chore: 🤖 remove mock variable generation functions
* feat: 🎸 generate context and global variable lists
* feat: 🎸 preview event variable list
* feat: 🎸 show empty url error on blur
* feat: 🎸 add ability to always show popup for executed actions
* refactor: 💡 rename multiple action execution method
* fix: 🐛 don't add separator befor group on no main items
* feat: 🎸 wire in uiActions service into datatable renderer
* feat: 🎸 check each row if it has compatible row click actions
* feat: 🎸 allow passing data to expression renderer
* feat: 🎸 add isEmbeddable helper
* feat: 🎸 pass embeddable to lens table renderer
* feat: 🎸 hide lens table row actions which are empty
* feat: 🎸 re-render lens embeddable when dynamic actions chagne
* feat: 🎸 hide actions column if there are no row actions
* feat: 🎸 re-render lens embeddable on view mode chagne
* fix: 🐛 fix TypeScript errors
* chore: 🤖 fix TypeScript errors
* docs: ✏️ update auto-generated docs
* feat: 🎸 add hasCompatibleActions to expression layer
* feat: 🎸 remove "data" from expression renderer handlers
* fix: 🐛 fix TypeScript errors
* test: 💍 fix Jest tests
* docs: ✏️ update autogenerated docs
* fix: 🐛 wrap event payload into data
* test: 💍 add "alwaysShowPopup" test
* chore: 🤖 add comment requested in review
https://github.com/elastic/kibana/pull/83167#discussion_r537340216
* test: 💍 add hasCompatibleActions test
* test: 💍 add datatable renderer test
* test: 💍 add Lens embeddable input change tests
* test: 💍 add embeddable row click test
* fix: 🐛 add url validation
* test: 💍 add url drilldown tests
* docs: ✏️ remove url drilldown preview from docs
* docs: ✏️ remove preview from url templating
* docs: ✏️ add row click description
* chore: 🤖 move 36.5 KB bundle balance to url_drilldown
* test: 💍 simplify test case
* style: 💄 change types places
* refactor: 💡 clean up panel variable generation
* test: 💍 add getPanelVariables() tests
* fix: 🐛 generate runtime variables correctly
* fix: 🐛 improve getVariableList() and add tests for it
* feat: 🎸 add translation, improve types
2020-12-14 13:28:23 +01:00
Tyler Smalley
c0f9de1f5a
Converts some Mocha unit tests to Jest ( #85514 )
...
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2020-12-10 15:51:25 -08:00
Spencer
7757fa06c6
[mocha] find tests in ts files too ( #85515 )
...
Co-authored-by: Spencer Alger <spalger@users.noreply.github.com>
Co-authored-by: Tyler Smalley <tyler.smalley@elastic.co>
2020-12-10 10:14:31 -07:00
Tyler Smalley
a34cd20498
[@kbn/ui-framework] Removes all but dist files ( #85347 )
...
This package has long since been deprecated and no longer maintained.
The only reason it still exists is that not all plugins have migrated
away from using the kui classes to EUI. This removes all src and build
files as a step forward.
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2020-12-10 08:23:33 -08:00
Alison Goryachev
404d846f09
Update painless autocomplete definitions ( #85464 )
2020-12-10 11:14:14 -05:00
Pierre Gayvallet
8cdcae200c
Add rolling-file appender to core logging ( #84735 )
...
* You need to start somewhere
* revert comment
* rename default strategy to numeric
* add some tests
* fix some tests
* update documentation
* update generated doc
* change applyBaseConfig to be async
* fix integ tests
* add integration tests
* some renames
* more tests
* more tests
* nits on README
* some self review
* doc nits
* self review
* use `escapeRegExp` from lodash
* address some review comments
* a few more nits
* extract `isDevCliParent` check outside of LoggingSystem.upgrade
* log errors from context
* add defaults for policy/strategy
2020-12-10 10:37:57 +01:00
Tiago Costa
90893f9487
chore(NA): add resolution for chokidar to prevent fsevents@1.x ( #85171 )
...
* chore(NA): add fsevents resolution to 2.x
* chore(NA): add fsevents as an optionalDepedency to allow resolutions to be set for it
* chore(NA): remove fsevents resolution from package.json
* chore(NA): remove optionalDependencies from being declared
* chore(NA): update kbn pm dist
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-09 19:26:43 +00:00
Spencer
075810bcd3
[ci/docker] stop removing containers to avoid disrupting chrome ( #85425 )
...
Co-authored-by: spalger <spalger@users.noreply.github.com>
2020-12-09 12:23:38 -07:00
Tyler Smalley
9b62100428
Removes Grunt abstraction from CI tasks ( #85210 )
...
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2020-12-09 08:51:32 -08:00
Josh Dover
e116fce08e
Add server.publicBaseUrl
config ( #85075 )
2020-12-08 17:02:39 -07:00
Poff Poffenberger
8467b89202
[Time to Visualize] Add visualizations to dashboard from save modal ( #83140 )
...
Co-authored-by: Ryan Keairns <contactryank@gmail.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
2020-12-08 15:39:24 -06:00
Stacey Gammon
de15f164d9
Convert a README to mdx to get it slurped up by the new docs system ( #84834 )
...
* Convert readme to mdx so it can get slurped into the new docs system
* Adjust plugin list doc generation so it accounts for mdx readmes
* fix eslint of discover_plugin file
* Fix link to readme in plugin list
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-08 15:12:07 -05:00
Alison Goryachev
7b362458e7
Enhancements to painless autocomplete in monaco ( #85055 )
2020-12-08 12:16:06 -05:00
Alison Goryachev
f8edc51ece
Implement error reporting in monaco for painless language ( #84695 )
2020-12-08 10:07:07 -05:00
Spencer
a7c5b49343
[esArchiver] support kibana and es ssl from cli ( #85073 )
...
Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-07 13:20:15 -07:00
Alison Goryachev
079a7e82ba
Integrate painless autocomplete in runtime fields editor ( #84943 )
2020-12-07 12:55:53 -05:00
Spencer
fd1328f6f8
[cli/dev] remove cluster module, modernize, test ( #84726 )
...
Co-authored-by: Alejandro Fernández Haro <afharo@gmail.com>
Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-04 14:28:06 -07:00
Tiago Costa
6be3cf4f9f
chore(NA): check git version on pre-commit hook install ( #84811 )
...
* chore(NA): checks installed git version when installing pre-commit hook
* chore(NA): throw an error instead of log a warning
* chore(NA): use createFailError instead
* fix(NA): apply feedback from pr review for isCorrectGitVersionInstalled
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-04 19:10:33 +00:00
Ahmad Bamieh
aa9a353205
[Telemetry] Introduce UI Counters ( #84224 )
...
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-12-04 17:47:04 +02:00
Tyler Smalley
74ef540e42
[CI] Enables APM collection ( #81731 )
...
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2020-12-03 09:25:40 -08:00
Thomas Watson
3ae73653ff
Improve logging pipeline in @kbn/legacy-logging ( #84629 )
2020-12-03 09:34:45 +01:00
Thomas Watson
770a00530d
Catch @hapi/podium errors ( #84575 )
2020-12-03 09:33:48 +01:00
Mikhail Shustov
78123a109d
Rename server.xsrf.whitelist to server.xsrf.allowlist ( #84791 )
...
* rename xsrd.whitelist to xsrf.allowlist
* update docs
* update telemetry schema
* update kbn-config tests
2020-12-03 07:19:36 +01:00
Thomas Watson
fb48e903d5
Upgrade Node.js to version 14 ( #83425 )
2020-12-02 23:40:06 +01:00
Tyler Smalley
b593781009
Jest multi-project configuration ( #77894 )
...
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2020-12-02 11:42:23 -08:00
Mikhail Shustov
68decb8352
declare kbn/monaco dependency on kbn/i18n explicitly ( #84660 )
2020-12-01 10:24:54 -07:00
Thomas Watson
920e4fa280
Update code-comments describing babel plugins ( #84622 )
2020-12-01 15:55:54 +01:00
Mikhail Shustov
1ec2f1d078
Cleanup tsconfig files ( #84396 )
...
* remove unused "paths" from tsconfig
* remove unused test utils, import get-url from kbn/test
* dont pollute globals with jest when importing getUrl
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-11-30 19:12:00 +01:00
Alison Goryachev
7691184184
Support for painless language autocomplete within monaco ( #80577 )
2020-11-30 10:14:33 -05:00
Pierre Gayvallet
b99abe301a
increase stdout max listeners for legacy logging ( #84497 )
...
* increase stdout max listeners for legacy logging
* add missing packages to CODEOWNERS
2020-11-30 15:32:59 +01:00
Spencer
ea8ea4e4e0
[dev/cli] detect worker type using env, not cluster module ( #83977 )
...
* [dev/cli] detect worker type using env, not cluster module
* remove unused property
* assume that if process.send is undefined we are not a child
* update comment
Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-11-25 08:03:47 -07:00
Thomas Watson
115916956d
Use correct version of Podium ( #84270 )
2020-11-24 22:15:35 +01:00
Tyler Smalley
e8a4b7e7dd
[@kbn/utils] Clean target before build ( #84253 )
...
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2020-11-24 11:33:34 -08:00