Commit graph

16256 commits

Author SHA1 Message Date
Alejandro Fernández Gómez 0d6ce5da27
[Uptime] Skip flaky test (#102163) 2021-06-15 06:38:52 -04:00
Matthew Kime f1b6fe04ed
[Index Patterns] Move rollup config to index pattern management (#102145)
* move rollup config to index pattern management
2021-06-15 05:12:43 -05:00
Joe Reuter 2ef66c139a
[Lens] Add reset and hide actions to columns on dashboard (#102025) 2021-06-15 11:48:08 +02:00
Thomas Neirynck 6456c49e2c
[Maps] Remove jitter from bounds-coordinates (#100717) 2021-06-15 11:13:27 +02:00
Casper Hübertz d9905893b9
[Observability] Change sortkey navigation in APM and Uptime (#102134)
* [APM] Change navigation registry sortkey

* [Uptime] Change navigation registry sortkey
2021-06-15 10:40:10 +02:00
Marco Liberati 37728f526d
[Lens] Table headers are aligned the same as cells (#101875)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-15 10:34:57 +02:00
Marco Liberati 65fec6bd8e
[Lens]Show dynamic coloring only for metrics (#101777)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-15 10:34:04 +02:00
Casper Hübertz 92b6535df2
[Observability] Fixes border shadow and other enhancements (#102072)
* [Observability] Fixes border shadow and other enhancements

* Update x-pack/plugins/observability/public/components/app/section/index.tsx

Co-authored-by: Cauê Marcondes <55978943+cauemarcondes@users.noreply.github.com>

* [Observability] Remove unused import and formatting

Co-authored-by: Cauê Marcondes <55978943+cauemarcondes@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-15 10:12:45 +02:00
Joe Reuter e418a895c3
reduce inner timeout (#102081) 2021-06-15 09:44:43 +02:00
Joe Reuter a8836af1c4
[Lens] do not allow custom bounds on percentage chart (#101743) 2021-06-15 09:33:29 +02:00
Joe Reuter 0bb3b2c666
rename beta badge (#101884) 2021-06-15 09:28:51 +02:00
Jean-Louis Leysens f70542abe2
[Fleet] Adjust add integration flow (#101714)
* Initial commit, very WIP

- added link to the integrations UI instead of add integration
  in fleet
- added a new piece of route state that gets passed to integration
  from fleet when browsing integrations for a policy
- when the integration is being added the page will send the user
  back to the policy overview instead of back to integrations UI

* remove unnecessary agent policy clear function

* added # to path so that navigation is correctly handled

* added logic to read the forward agent policy id

* remove inline select integration package from fleet add integration

* updated toast notification

* using query parameter to pass policy id back to create policy package page

* removed policyId from route path

* fix type issue

* updated the select agent field layout per the designs

* simpified item rendering in combobox and fixed combobox z-index issue

* added comment

* fix types and i18n

* updated icon and removed unused i18n

* refactor to using styled components for cusomt z-index styling

* attempt to fix integration test

* added scroll functionality for dealing with fixed footers that might be obstructing content

* fix scroll direction!

* attempting another scroll algorithm

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-15 09:26:37 +02:00
CJ Cenizal 55a0dbbc09
Discourage use of legacy index templates (#101533)
* Hide legacy index templates table if the user doesn't have any.
* Render deprecation warning above legacy index templates table and in legacy index template wizard.
* Update index template doc link to point to the new docs.
2021-06-14 15:24:24 -07:00
Aaron Caldwell 6e0aed79c3
[Maps] Fix geo alerts handling of multi-fields (#100348) 2021-06-14 17:51:33 -04:00
Apoorva Joshi 35f9625265
[ML] Adds Authentication module with six ML jobs for ECS data (Auditbeat, Winlogbeat, Filebeat and Logs) (#101840)
* Adding Security Authentication jobs in 7.14

* Renamed some jobs

* Changing memory limits and linting change

* Linting fix

* Changed the order

* Adding module to ml_modules.tsx

* Update recognize_module.ts

this test modules uses older Auditbeat data which predates the event.category field so the test has to be skipped per https://elastic.zoom.us/j/93000943632?pwd=TmpvNWhtYUNzMUc0c0N6Tlc2QlVPZz09

* Update recognize_module.ts

needs to be a single line

* Update recognize_module.ts

Some linters want spaces and some linters want no spaces. This linter wants spaces.

* descriptions

added description text

* Update auth_rare_hour_for_a_user.json

removed a wayward newline char

* Minor nitpicking

* memory limits

raised memory limits to 128mb which is larger than the highest observed peak model bytes for the most memory hungry jobs in this event class.

Co-authored-by: Craig <mailredirector36@gmail.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-14 12:36:08 -07:00
Domenico Andreoli 8bdc0d7b25
Fix esArchiver path in the Jenkins context (#102095) 2021-06-14 21:31:57 +02:00
Kerry Gallagher 8f5dad98a1
[Logs / Metrics UI] Convert logs and metrics pages to the new Observability page template (#101239)
* Convert Logs and Metrics pages to use the Observability page template
2021-06-14 19:28:08 +01:00
Ece Özalp 4fb0c943a6
[Security Solution] Refactor rules for modularization by updating bulkCreate and wrapHits methods (#101544)
creates bulkCreate and wrapHits factories for the modularization of the detection engine

Co-authored-by: Marshall Main <marshall.main@elastic.co>
2021-06-14 13:31:20 -04:00
Casper Hübertz 767b67d052
[APM] Change View full trace button fill (#102066) 2021-06-14 18:49:58 +02:00
Dario Gieselaar 666bce3923
[APM] Enforce span creation/naming for ES searches (#101856) 2021-06-14 12:44:29 -04:00
Casper Hübertz 571524005e
[APM] Change impact indicator size (#102060) 2021-06-14 18:34:52 +02:00
Nicolas Chaulet 91b804f505
[Fleet] Display NOTICE.txt from package if it exists (#101663) 2021-06-14 12:33:46 -04:00
Larry Gregory adda72edd2
Document platform security plugins in kibana.json (#101965)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-14 12:23:28 -04:00
Søren Louv-Jansen 970e9a037b
[APM] Add AWS and Azure icons for additional services (#101901) 2021-06-14 17:14:15 +02:00
Josh Dover 0e7d4fed93
Fix delayed status API updates in alerting and task_manager (#101778) 2021-06-14 11:14:02 -04:00
Alison Goryachev 8424a92533
[ILM] Migrate to new page layout (#101927) 2021-06-14 10:50:20 -04:00
renovate[bot] b430a985c2
Update dependency @elastic/charts to v30.1.0 (master) (#101683) 2021-06-14 07:43:24 -07:00
Shahzad e0a1a34fbc
[Uptime] Align synthetics report types (#101855) 2021-06-14 15:57:03 +02:00
Ashokaditya 71a81f7cd6
[Security Solution][Endpoint] Actions Log API (#101032)
* WIP

add tabs for endpoint details

* fetch activity log for endpoint

this is work in progress with dummy data

* refactor to hold host details and activity log within endpointDetails

* api for fetching actions log

* add a selector for getting selected agent id

* use the new api to show actions log

* review changes

* move util function to common/utils

in order to use it in endpoint_hosts as well as in trusted _apps

review suggestion

* use util function to get API path

review suggestion

* sync url params with details active tab

review suggestion

* fix types due to merge commit

refs 3722552f73

* use AsyncResourseState type

review suggestions

* sort entries chronologically with recent at the top

* adjust icon sizes within entries to match mocks

* remove endpoint list paging stuff (not for now)

* fix import after sync with master

* make the search bar work (sort of)

this needs to be fleshed out in a later PR

* add tests to middleware for now

* use snake case for naming routes

review changes

* rename and use own relative time function

review change

* use euiTheme tokens

review change

* add a comment

review changes

* log errors to kibana log and unwind stack

review changes

* search on two indices

* fix types

* use modified data

* distinguish between responses and actions and respective states in UI

* use indices explicitly and tune the query

* fix types after sync with master

* fix lint

* do better types

review suggestion

* add paging to API call

* add paging info to redux store for activityLog

* decouple paging action from other API requests

* use a button for now to fetch more data

* add index to fleet indices

else we get a type check error about the constant not being exported correctly
from `x-pack/plugins/fleet/common/constants/agent`

* add tests for audit log API

* do semantic paging from first request

* fix ts error

review changes

* add document id and total to API

review suggestions

* update test

* update frontend to consume the modified api correctly

* update mock

* rename action

review changes

* wrap mock into function to create anew on each test

review changes

* wrap with schema.maybe and increase page size

review changes

* ignore 404

review changes

* use i18n

review changes

* abstract logEntry component logic

review changes

* move handler logic to a service

review changes

* update response object

review changes

* fix paging to use 50 as initial fetch size

* fix translations and move custom hook to component file

review changes

* add return type

review changes

* update default value for page_size

review changes

* remove default values

review changes

https://github.com/elastic/kibana/tree/master/packages/kbn-config-schema#schemamaybe

https://github.com/elastic/kibana/tree/master/packages/kbn-config-schema#default-values

* fix mock data

refs 1f9ae70194

* add selectors for data

review changes

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-14 15:39:11 +02:00
Dario Gieselaar 0993a1c321
[APM] Display automatic deployment annotations correctly (#102020) 2021-06-14 15:26:13 +02:00
Robert Oskamp 150198404a
[ML] Functional tests - stabilize alerting flyout test (#102030)
This PR stabilizes and re-activates the ML alerting flyout test suite.
2021-06-14 14:55:26 +02:00
Gidi Meir Morris daa3f62cda
[Task Manager] adds capacity estimation to the TM health endpoint (#100475)
Adds Capacity Estimation to the Task Manager Health Endpoint.
Below is a diagram depicting what information we use to estimate the varying capacity variables.

Please use the user facing docs to understand how it fits together. If the docs aren't clear enough - make a review comment and I'll clarify in the docs.
2021-06-14 13:52:30 +01:00
Vadim Dalecky fa855b35b6
Management app locator (#101795)
* feat: 🎸 create management app locator

* refactor: 💡 simplify management locator

* feat: 🎸 export management app locator from plugin contract

* feat: 🎸 improve share plugin exports

* test: 💍 fix test mock

* test: 💍 adjust test mocks

* Update src/plugins/management/public/plugin.ts

Co-authored-by: Tim Roes <mail@timroes.de>

* Update src/plugins/management/public/types.ts

Co-authored-by: Tim Roes <mail@timroes.de>

* Update src/plugins/management/public/types.ts

Co-authored-by: Tim Roes <mail@timroes.de>

* Update src/plugins/management/server/plugin.ts

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Tim Roes <mail@timroes.de>
2021-06-14 14:23:14 +02:00
Tiago Costa b60a438dd3
skip flaky suite (#100438) 2021-06-14 12:51:58 +01:00
James Gowdy f6ce964d9c
[ML] Switching to new datafeed preview (#101780)
* [ML] Switching to new datafeed preview

* fixing wizard test button

* adding schema validator

* fixing tests

* adding check for empty detectors list

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-14 12:31:55 +01:00
Justin Kambic 85710b344f
[Uptime] Add owner and description properties to Uptime's kibana.json (#101963)
Co-authored-by: Shahzad <shahzad31comp@gmail.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-14 13:29:46 +02:00
David Sánchez ec2ec6ab40
[Security solution][Endpoint] Removes zip compression when creating artifacts (#101379)
* Removes zlib compression when creating artifacts. Also fixes related unit tests and removes old code

* Replaces artifact in new manifest using the ones from fleet client with zlip compression

* Fixes create_policy_artifact_manifest pushArtifacts missing new manifest. Also fixes unit tests

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-14 12:25:42 +02:00
Tyler Smalley 344b6310d7 skip flaky suite (#102012) 2021-06-12 06:49:27 -07:00
Shahzad 724ca2d896
[Exploratory View] Use human readable formats (#101520)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-11 12:09:24 +02:00
Michael Dokolin 9bcae4d9cb
[Expressions] Refactor expression functions to use observables underneath (#100409) 2021-06-11 09:53:04 +02:00
Scotty Bollinger f28777f3ba
[Enterprise Search] Add owner and description properties to kibana.json (#101957)
* [Enterprise Search] Add owner and description properties to kibana.json

Adds owner and description properties to kibana.json

* Reorder to match other plugins

Both others have the props at the end of the file:

https://github.com/elastic/kibana/blob/master/src/plugins/bfetch/kibana.json

Also removes redundant prefix from description

* Copy change

Co-authored-by: Constance <constancecchen@users.noreply.github.com>

Co-authored-by: Constance <constancecchen@users.noreply.github.com>
2021-06-10 20:04:37 -04:00
Steph Milovic de07e98663
[Observability] [Cases] Cases in the observability app (#101487) 2021-06-10 16:39:27 -06:00
ymao1 b242765654
[Alerting][Docs] Combine rule creation and management pages (#101498)
* Combining rule management stuff into single page

* Cleaning up image widths and header sizes

* Adding in placeholder pages

* Adding in placeholder pages

* Apply suggestions from code review

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

* PR and test fixes

* Apply suggestions from code review

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

* PR fixes

* PR fixes

Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-10 17:46:53 -04:00
Nicolas Chaulet 6df58dd7ca
[Fleet] Fix fleet server collector in case settings are not set (#101752) 2021-06-10 16:32:23 -04:00
Yuliia Naumenko e55a93ce58
[Event Log] Populated rule.* ECS fields for alert events. (#101132)
* [Event Log] Populated rule.* ECS fields for alert events.

* added mappings

* changed the params passing

* fixed tests

* fixed type checks

* used kibanaVersion for version event rule

* fixed typos

* fixed tests

* fixed tests

* fixed tests

* fixed tests

* fixed jest tests

* removed references

* removed not populated fields

* fixed tests

* fixed tests

* fixed tests
2021-06-10 12:33:32 -07:00
Oliver Gupte befd30ff6c
[APM] Fleet support for merging input.config values with other nested properties in the policy input (#101690)
* [APM] Improvments in the APM fleet integration (#95501)

* added unit test and line comment

* fixes eslint issues
2021-06-10 15:27:11 -04:00
Stacey Gammon e9a4028005
Add comments to some alerting plugin public API items (#101551)
* Add comments. Remove ruleType as the second param, not needed.

* Add comments. Remove ruleType as the second param, not needed.

* Fix bad type check and update docs

* update docs

* Remove unused import

* change exports to type to avoid increasing bundle size

* Update x-pack/plugins/alerting/public/plugin.ts

Co-authored-by: ymao1 <ying.mao@elastic.co>

* Update x-pack/plugins/alerting/public/plugin.ts

Co-authored-by: ymao1 <ying.mao@elastic.co>

* Update x-pack/plugins/alerting/public/plugin.ts

Co-authored-by: ymao1 <ying.mao@elastic.co>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: ymao1 <ying.mao@elastic.co>
2021-06-10 15:15:53 -04:00
ymao1 5a1f370580
[Alerting][Docs] Moving alerting setup to its own page (#101323)
* Restructuring main alerting page. Adding separate setup page

* Fixing links

* Moving suppressing duplicate notifications section

* Adding redirect

* Reverting redirect. Adding placeholder link

* Adding placeholder text

* Apply suggestions from code review

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

* Setup page PR fixes

* Alerting page PR fixes

* Update docs/user/alerting/alerting-setup.asciidoc

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

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
2021-06-10 15:14:07 -04:00
Stacey Gammon 9417b699b8
remove uptime public API, it's not used. (#101799) 2021-06-10 14:47:55 -04:00
Scotty Bollinger 797c0c90b0
[Enterprise Search] Refactor RoleMappingsTable to use EuiInMemoryTable (#101918)
* Add shared actions component

Both tables use the same actions

* Refactor RoleMappingsTable to use EuiInMemoryTable

This is way better than the bespoke one I wrote and it comes with pagination for free

- Also fixes a typo in the i18n id
2021-06-10 14:20:54 -04:00