Commit graph

52371 commits

Author SHA1 Message Date
Spencer
7fd166176d
[ci-stats-reporter] use v2 test group APIs (#131001)
* [ci-stats-reporter] use v2 test group APIs

* fix bazel deps

* [CI] Auto-commit changed files from 'yarn kbn run build -i @kbn/pm'

* avoid importing kbn/std in kbn-pm

* removed kbn/std dependency

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2022-04-27 13:16:55 -05:00
Angela Chuang
56d0112a22
[SecuritySolution] Cases by status (#130670)
* init cases by status

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

* cases by status

* tickLabel

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

* unit tests

* unit tests

* rm unused dependency

* disable dashboard

* dependency

* enable dashboard

* styling

* styling

* unit tests

* styling

* unit tests

* disable dashboard

* fix types

* fix types

* unit tests

* unit test

* unit tests

* unit tests

* unit tests

* unit tests

* unit tests

* update i18n

* remove cases api hack

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2022-04-28 01:18:07 +08:00
Yara Tercero
f5f035645e
[Security Solution][Cypress] - Update cypress tests to undo a util change that was redundant (#130722)
Update cypress tests to undo a util change that was redundant.
2022-04-27 13:07:25 -04:00
spalger
f149a17871 Revert "[jest] automatically determine run order (#130857)"
This reverts commit 1a05ce5cab.
2022-04-27 11:38:19 -05:00
Jordan
57c3f1fe2a
added json tab (#131065) 2022-04-27 09:12:24 -07:00
Spencer
1a05ce5cab
[jest] automatically determine run order (#130857) 2022-04-27 11:10:47 -05:00
Efe Gürkan YALAMAN
ac560f33ef
[App Search] Fix outcome field on Audit log modal. (#131024)
* Change outcome field type to event.outcome

* Change message column to a field
2022-04-27 17:51:12 +02:00
Lisa Cawley
9e197819c2
Drafts an open API specification for Kibana ML APIs (#129548) 2022-04-27 08:32:10 -07:00
Spencer
161e9a2742
[x-pack/functional] restore and fix home tests (#131064) 2022-04-27 08:24:22 -07:00
Robert Oskamp
2df9e4f58d
[ML] Functional tests - re-enable data frame analytics results view tests (#131053)
This PR stabilizes and re-enables the data frame analytics results view tests.
2022-04-27 17:15:31 +02:00
renovate[bot]
73706d1867
Update dependency @types/selenium-webdriver to ^4.0.19 (#131018)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Jonathan Budzenski <jon@elastic.co>
2022-04-27 10:14:36 -05:00
Robert Oskamp
ba7580b786
[ML] Functional tests - re-enable outlier detection saved search tests (#131052)
This PR re-enables the outlier detection saved search tests.
2022-04-27 17:08:04 +02:00
Robert Oskamp
a145dffe87
[ML] Functional tests - re-enable trained models tests (#131051)
This PR re-enables the trained models functional tests.
2022-04-27 17:07:41 +02:00
Robert Oskamp
308a4aa492
[ML] Functional tests - re-enable permission tests in functional_basic (#131049)
This PR re-enables the full_ml_access permission tests in functional_basic.
2022-04-27 17:07:19 +02:00
Colleen McGinnis
88bad4ed00
remove source config settings (#130931) 2022-04-27 09:41:51 -05:00
Spencer
d4427f2e34
[ci-stats/timings] limit metadata strings to 2k length (#131027)
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2022-04-27 09:38:32 -05:00
Christos Nasikas
fc46fd6a8d
[Cases] Escape KQL in range queries (#131058) 2022-04-27 07:24:23 -07:00
Christos Nasikas
2079f747ad
[Cases] Add duration (#130448)
* Migrate duration

* Add mapping

* Change duration when change status

* Add integration tests

* Fix tests

* Improve tests

* PR feedback

* Fix test

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-04-27 17:00:52 +03:00
Mark Hopkin
30c8f586d2
[Fleet] Add experimental features (feature flags) config to fleet plugin (#130253)
* Add experimental features support

* fix imports

* PR feedback
2022-04-27 14:57:20 +01:00
Kristof C
37686c3f03
[Security Solution][Detection & Response] Hosts and Users by severity (#128335)
* First draft at possible implementation. tests need to be added, and imports,comments, logs cleaned up

* Further tweaks to alerts counters

* Add tests for alerts_counters hook

* Working on vulnerable hosts

* Add useVulnerableHostsCounters hook along with tests

* add Vulnerable users and tests

* Move files to components folder and wire up to detections overview page

* Add translations

* add querytoggle and navigation to both tables

* fix bug for toggleQuery

* update button navigation

* remove alerts by status, as Angela built instead

* Working on changing test files

* test files for host and user hooks complete

* Components complete

* bug fixes from PR

* failing tests

* Undo bad edit to useRuleAlerts test

* Fix show inspect on hover, and use HostDetailsLink component

* missed in last commit

* more fixes from PR review

Co-authored-by: Kristof-Pierre Cummings <kristofpierre.cummings@elastic.co>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-04-27 08:32:50 -05:00
Jordan
29d6e3e975
[Cloud Posture] New resource tab display (#130955) 2022-04-27 15:49:47 +03:00
Dominique Clarke
c6be790d89
[Trigger Actions UI] allow rule owners to specify default alert recovery messages (#130925)
* trigger actions ui - allow rule owners to specify default alert recovery messages

* adjust documentation

* Update x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/action_form.tsx

* Revert "Update x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/action_form.tsx"

This reverts commit 8648d80f7d.

* Update x-pack/plugins/triggers_actions_ui/public/application/sections/action_connector_form/action_form.tsx

* Update x-pack/plugins/triggers_actions_ui/README.md

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-04-27 08:22:49 -04:00
Muhammad Ibragimov
eaf47aeb1a
[Console] Handle multiple request exceptions (#129443)
* Add handling multiple request exceptions

- Fix code styling for send_request.test.ts
- Extract a way of getting content-type to a separate function

Co-authored-by: Muhammad Ibragimov <muhammad.ibragimov@elastic.co>
2022-04-27 15:46:57 +05:00
Tomasz Ciecierski
f04d75f26e
[Osquery] Fix osquery action permission and dropdown visibility (#130944) 2022-04-27 12:36:29 +02:00
Joe Reuter
6fccbacd7d
[Lens] Stabilize a11y test (#131035)
* stabilize a11y test

* fix bug
2022-04-27 11:44:01 +02:00
Christos Nasikas
12fdfd63ad
[Cases] Revert preconfigured connectors support for Cases (#130372)
* Fix bug with deprecated connectors

* Add integration test

* Improve integration tests

* Fix grammar

* Fix CI

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-04-27 02:13:25 -07:00
Mark Hopkin
f62530bae9
[Fleet] Refactor of install package button code (#131015)
* move install integration button to separate component

* move install path generation to util function

* small refactor

* add unit tests

* rorder deps to make diff less noisy
2022-04-27 09:34:29 +01:00
Alexey Antonov
349cca2b77
[Timelion] fix requesting not permitted or used data views (#130899) 2022-04-27 11:14:21 +03:00
Milton Hultgren
137fcd0852
[Stack Monitoring] Add note about dedicated monitoring to No Data screen (#130872)
* [Stack Monitoring] Add note about dedicated monitoring to No Data screen
(#130775)

* Update snapshots
2022-04-27 08:43:12 +02:00
Rickyanto Ang
2d31ac1a88
[8.2.1] [Session View] mouse over highlighting gap fix (#129679)
* mouse over highlighting gap fix

* addressing PR comments + more CSS fixes

* added show more button if we have more than 5 execs

* added padding for first alert in groups alert

* fix check CI issue

* addressing PR comments
2022-04-26 15:54:17 -07:00
Kevin Qualters
330dbbe304
Make only a single api request for exceptions when opening an alert in timeline (#130941) 2022-04-26 18:27:09 -04:00
Brian Seeders
e9328920e7
[CI] Split up Default CI Group 11 and 25 a bit (#130998) 2022-04-26 17:46:17 -04:00
Melissa Alvarez
d371f3aaee
[ML] Data Frame Analytics creation wizard: add support for filters in saved searches (#130744)
* support savedSearch filters in DFA results

* fix linting error

* fix error when no search has filter but no query
2022-04-26 15:15:32 -06:00
Melissa Alvarez
eedfec19cc
[ML] Data Frame Analytics: ensure page header updates with selection (#130836)
* ensure header updates with current selected id

* fix multiple graphs in map view

* use nullish coalescing operator instead of or
2022-04-26 14:59:03 -06:00
Kyle Pollich
b655b48c16
[Fleet] Add redesigned Fleet Server flyout (#127786)
* WIP new fleet server flyout

* WIP finish up quick start tab

* Refactor quick start steps into separate files:

* Initial refactor of existing fleet server instructions

* Move quick start form return value to explicit type

* Flesh out fleet server commands

* Fix translation error

* Migrate on prem instructions component over to new file structure

* Makes quick start tab actually create policy

* Fix type errors

* Fix missing hooks + update snapshots

* Fix paths in mocks

* Fix translations

* WIP test fixes

* Implement enabled/disabled state for new steps

* Fix cypress tests

* Force re-render to get last test passing

* Fix failing tests

* Fix import errors after conflicts

* Fix snapshot tests

* Use id instead of full policy for policy selector

* Replace Fleet Server instructions w/ Advanced Tab contents

* First pass at integrating add agent/fleet server flyouts

* Test commit

* Fix imports

* Fix imports

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

* Enforce https-only fleet server URL's + improve errors

* Fix failing tests

* Fix fleet server command in quick start

* Show success state in Quick start when policy exists + use first fleet server host if it exists

* Set initial service token value when Fleet Server policy ID is initiall set

* Generate service token instead of enrollment token

* Fix fleet server flyout opening from unhealthy callout

* Revert service token change + use EuiComboBox for fleet server host

* Fix checks + use custom option text

* Move fleet server host combobox to component

* Use new combobox in advanced tab

* Fix translations

* Fix unused import

* Don't recreate quick start policy if it already exists

* Actually use quick start policy fields 🙃

* Fix policy check

* Update x-pack/plugins/fleet/public/applications/fleet/components/fleet_server_instructions/components/fleet_server_host_combobox.tsx

Co-authored-by: Mark Hopkin <mark.hopkin@elastic.co>

* Update x-pack/plugins/fleet/public/applications/fleet/components/fleet_server_instructions/steps/install_fleet_server.tsx

Co-authored-by: Mark Hopkin <mark.hopkin@elastic.co>

* Update x-pack/plugins/fleet/public/applications/fleet/components/fleet_server_instructions/steps/set_deployment_mode.tsx

Co-authored-by: Mark Hopkin <mark.hopkin@elastic.co>

* Fix formatting issue

* Clean up fleet server settings variable declaration per PR review

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Mark Hopkin <mark.hopkin@elastic.co>
2022-04-26 15:54:21 -04:00
Alejandro Fernández Haro
ac8df39f07
Move node-libs-browser to ui-shared-deps-npm (#130877)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-04-26 20:27:30 +02:00
liza-mae
26217f3a7a
Upgrade patch reporting issue, add more tests, reorganize files (#130839)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-04-26 11:52:36 -06:00
Brian Seeders
181626b9c6
[CI] Split default ciGroup24 up a bit (#130997) 2022-04-26 10:32:08 -07:00
Brian Seeders
7ff1ffca5e
[CI] Split OSS CI Group 11 (#130927) 2022-04-26 13:07:32 -04:00
Kyle Pollich
caedd861b0
Fix open API docs for excludeInstallStatus query param (#130986) 2022-04-26 09:49:07 -07:00
Vitalii Dmyterko
ffe1cdddc7
[Security Solution] Removes internal tags (#130664)
Addresses:
- https://github.com/elastic/kibana/issues/124899

## Summary

- removes usage of internal tags (tags start with `__internal`) in codebase
- migrates rules (removes existing internal tags from rules)


### Checklist

- [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


### 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)
2022-04-26 09:27:09 -07:00
Jack
3f20878699
[8.2.1] [Session View] Fix jump to alert can add extra space to the right of detail panel (#130935)
* Fix jump to alert can add extra space to the right of detail panel

* Fix resizable panels initial size

* Fix alerts tab toggle view bottom gap
2022-04-26 12:23:34 -04:00
Gloria Hornero
801301954e
groups add exceptions tests in one spec file (#130908) 2022-04-26 09:00:03 -07:00
Ying Mao
fc04b3088a
[Alerting] Tracking number of alerts in event log execute document and adding telemetry for it. (#130479)
* Adding telemetry for number of scheduled actions

* Adding percentile by type types

* Parsing percentiles by rule type and adding tests

* Adding functional tests

* Adding alert count fields to event log

* wip

* Cleanup

* Fixing checks

* Tests and checks

* Adding functional tests

* Adding total number of alerts

* Adding telemetry for number of alerts

* Cleanup

* PR feedback

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-04-26 08:47:28 -07:00
Cristina Amico
7a93538c5a
[Fleet] Remove licence check in UI for upcoming agents rolling upgrade work (#130981) 2022-04-26 17:40:06 +02:00
Julia Rechkunova
60049fd085
[Discover] Fix adding/removing a filter for a scripted field in Document Explorer view (#130895) 2022-04-26 17:25:00 +02:00
Spencer
8168e7e888
[bootstrap] fix windows support (#130938) 2022-04-26 10:20:46 -05:00
Brian Seeders
799ec1b2d4
[CI] Various lens test/combobox speedups (#130934) 2022-04-26 11:11:15 -04:00
Brian Seeders
c052e50b54
[CI] Balance various Default CI Groups (#130932) 2022-04-26 11:10:46 -04:00
Kyle Pollich
5d85976da4
[Fleet] Add cache-control headers to key /epm endpoints in Fleet API (#130921)
* Add cache-control header to /categories endpoint

* Add cache-control header + includeInstallStatus parameter to /packages endpoint

* Add cache-control header parameter to filepath endpoint

* Fix installation status type

* Fix getLimitedPackages call

* Fix cypress tests

* Fix checks + integration test

* Swap includeInstallStatus -> excludeInstallStatus query parameter

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2022-04-26 10:50:11 -04:00