Commit graph

13156 commits

Author SHA1 Message Date
Patryk Kopyciński
3d4b5c595d
[Osquery] Fix 7.15 BC3 issues (#110425) 2021-08-30 22:57:54 +02:00
Ashokaditya
22e5565e00
[Security Solution][Endpoint] Fix activity log load empty state flicker (#110233)
* account for API errors and uninitialized state before fetching data

fixes elastic/kibana/issues/107129

* better name

refs elastic/kibana/pull/102261

* don't show date picker when loading data initially

fixes elastic/kibana/issues/107129

* use a readable selector instead

review changes

* remove redundant data fetch using paging action on tab switch.

refs elastic/kibana/pull/102261

* remove redundant validation

review comments

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-30 15:29:43 -04:00
Dominique Clarke
6e8d86b3e7
[APM] [User Experience] remove uiFilters from setupRequest (#109908)
* remove uiFilters from setupRequest

* adjust get_buckets test

* update getAnomalySeries

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-30 15:02:47 -04:00
Dominique Clarke
bb9ea8413f
[Uptime] [Synthetics integration] parse inline script as json before sending it to fleet (#110118)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-30 15:01:51 -04:00
Nathan Reese
4cf722fb48
[Maps] replace IFieldType with IndexPatternField (#110245)
* [Maps] replace IFieldType with IndexPatternField

* clean up imports

* import from public

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-30 12:56:15 -06:00
Nathan Reese
9e1a4dda42
[Maps] remove map.regionmap.* (#109896)
* remove regionmap config

* clean-up

* clean up docs and i18n cleanup

* telemetry check fixes

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-30 12:55:03 -06:00
Cauê Marcondes
a165067477
[APM] Logs tab seems to show logs from incorrect service(s) (#110484) 2021-08-30 14:51:05 -04:00
Michael Dokolin
e610bb583f
[Reporting] Remove export types registry dependency from the content stream (#109740) 2021-08-30 17:40:10 +02:00
Michael Dokolin
57dc0c1ff5
[Data] Update esaggs function to use count aggregation by default (#110095)
* Update default value of the aggs argument to use count aggregation
* Fix datatable canvas element to use column id instead of name
2021-08-30 17:10:14 +02:00
Yulia Čech
949a4a6898
[ILM] Fixed loading layout that has degraded after adding RedirectAppLinks (#110461) 2021-08-30 16:09:36 +02:00
Milton Hultgren
ab2deb773a
[Observability] Make Alerts page callout more subtle (#110197) 2021-08-30 15:41:09 +02:00
Alexey Antonov
6d874caef5
[Lens] should register "suffix" field formatter in setup lifecycle (#110218)
Closes: #106838

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-30 15:17:09 +03:00
Gloria Hornero
1932540992
fixes failing tests (#110436) 2021-08-30 13:02:39 +02:00
Diana Derevyankina
b74c79ad32
[Lens] Remove deprecated IFieldType (#109825)
* [Lens] Remove deprecated `IFieldType`

* Fix types for terms.test

* Replace IndexPatternField with FieldSpec, revert terms.test and update other tests

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-30 13:39:17 +03:00
Candace Park
079fc9ad19
[Security Solution][Endpoint][Event Filters] Fixes missing spacers between event filters cards (#110282) 2021-08-29 22:17:46 -04:00
Walter Rafelsberger
8eea9005f1
[ML] Data Grid: Fix alignment of sorting arrow when histogram charts are enabled (#110053)
Adds a CSS override to align the sorting arrow at the bottom when histogram charts are enabled.
2021-08-27 23:50:44 +02:00
Clint Andrew Hall
2ed3fcdec1
[canvas] Fix image argument form issues (#109767)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-27 16:17:05 -04:00
Clint Andrew Hall
2520990e1e
Fix asset in Pitch template (#109742)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-27 16:10:52 -04:00
Kyle Pollich
74f3b76592
[Fleet] Fix upgrade link in Fleet policy table (#110228)
* Fix upgrade link in Fleet policy table

* Ensure upgrade page displays as upgrade even without from prop
2021-08-27 08:08:53 -04:00
Walter Rafelsberger
54a45bba65
[ML] APM Latency Correlations: Fix empty state (#109813)
- Correctly renders the empty chart state when no data is available.
- Hides the "Click drag to select" and trace samples message when the chart shows an empty state to avoid redundant info.
- Adds jest unit tests that would fail with the previously visible loading indicators.
- Fix a bug with cancelling search strategies.
2021-08-27 07:08:50 -04:00
Yaroslav Kuznietsov
d43e9f586b
[Canvas] Fixes Storybook for DatasourceComponent is crashing. (#110180)
* Added mock for `es_service`.

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-27 06:58:10 -04:00
Catherine Liu
2e4e0fca4c
Clears resolved arg on embeddable destroy (#109945)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-27 02:46:11 -04:00
Yaroslav Kuznietsov
dde701faaa
[Canvas] ItemGrid refactor. (#110044) 2021-08-27 09:26:55 +03:00
Cauê Marcondes
49e3edf032
[APM] Latency threshold alerts are not being triggered (#110315) 2021-08-26 23:56:14 -04:00
Marshall Main
6d7998e70c
[Security Solution] Fix another reference to ALERT_STATUS (#110376) 2021-08-26 20:29:21 -05:00
Ross Wolf
e64a03677f
[Detection Rules] Add 7.15 rules (#110345) 2021-08-26 19:43:22 -04:00
Dominique Clarke
cf24e6ca76
[User Experience] Search filter input - remove undesired blur (#110314)
* ux filter input - remove undesired blur on input field

* adjust types
2021-08-26 19:01:55 -04:00
Marshall Main
682bc7c771
[RAC] Replace usages of kibana.alert.status: open with active (#109033)
* Replace usages of alert.status: open with active

* Update unit tests

* Add back home.disableWelcomeScreen=true

* Only disable welcome screen within APM ftr config

* Add disableWelcomeScreen option to security solution cypress config

* Fix reference to workflow status

* oops

* Remove duplicate disableWelcomeScreen

* Update README.md

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-26 18:58:44 -04:00
Matthew Kime
8babdc2462
Remove index pattern placeholder advanced setting (#110334)
* remove index pattern placeholder setting

* remove unused translations
2021-08-26 17:55:37 -05:00
Kevin Logan
1986d2dc99
[Security Solution] Add additional advanced policy options for Memory protections (#110288)
* [Security Solution] Add additional advanced policy options for Memory protections
2021-08-26 18:19:23 -04:00
Frank Hassanabad
2859eeb7de
Removed one liner deprecation found with ElasticClient and made it harder to accidently import from the kbn package (#110318)
## Summary

Removes ElasticSearch deprecation and makes it harder to import it from the wrong package. I accidentally exposed a deprecated `ElasticSearch` from a package we do not want to expose and everyone's IDE is suggesting it rather than the correct one from Kibana core.

* Removes the type from the exports within the package
* Fixes the instance that is trying to import it in favor of the correct one.
2021-08-26 17:24:16 -04:00
Davis Plumlee
e093d3bcca
[Security Solution][Exceptions] Allows bulk close on exception to close acknowledged alerts (#110147) 2021-08-26 15:46:59 -04:00
Clint Andrew Hall
12ef3a4e9f
[canvas] Fix element stats (#109770) 2021-08-26 14:07:25 -05:00
Patryk Kopyciński
f310490bc1
[Cases] Fix add Lens markdown plugin UX (#109178) 2021-08-26 14:56:45 -04:00
ymao1
a3d03ecbdf
[Alerting] Remove predefined connectors from rule reference array (#109437)
* Exposing preconfigured connectors through actions setup contract

* Adding stub for migration using preconfigured connectors

* Adding isPreconfigured fn to actions client

* Updating rules client logic to not extract predefined connector ids

* Functional tests

* Adding migration

* Adding functional test for migration

* Adding functional test for migration

* Adding note to docs about referenced_by_count if is_preconfigured

* Fixing functional test

* Changing to isPreconfiguredConnector fn in actions plugin setup contract

* Update docs/api/actions-and-connectors/get_all.asciidoc

Co-authored-by: Mike Côté <mikecote@users.noreply.github.com>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Mike Côté <mikecote@users.noreply.github.com>
2021-08-26 14:50:32 -04:00
Pablo Machado
3854d3a586
[RAC] EuiDataGrid pagination (#109269)
* Update T-Grid to use DataGrid pagination

* It also improves the Gtid loading state
* DataGrid pagination makes sure that we display the grid with the proper height.

* Add DataGrid height hack to t-grid

HUGE HACK!!!

DataGrtid height isn't properly calculated when the grid has horizontal scroll.
https://github.com/elastic/eui/issues/5030

In order to get around this bug we are calculating `DataGrid` height here and setting it as a prop.

Please revert this commit  and allow DataGrid to calculate its height when the bug is fixed.

* Apply DataGrid laoding and pagination changes to observability

* Fix cypress tests

* Fix t-grid page render bug on Observability

* some pagination fixes

* hide table when analyzer active

* isolate exported function

Co-authored-by: semd <sergi.massaneda@elastic.co>
2021-08-26 14:41:47 -04:00
Frank Hassanabad
ad01057f90
[Security Solutions][Detection Engine] Removes side car actions object and side car notifications (Part 1) (#109722)
## Summary

Removes the "side car" actions object and side car notification (Part 1). Part 1 makes it so that newly created rules and editing existing rules will update them to using the new side car notifications. Part 2 in a follow up PR will be the migrations to move the existing data. 

The saved object side we are removing usages of is:
```
siem-detection-engine-rule-actions
```

The alerting side car notification system we are removing is:
```
siem.notifications
```

* Removes the notification files and types
* Adds transform to and from alerting concepts of `notityWhen` and our `throttle`
* Adds unit tests for utilities and pure functions created 
* Updates unit tests to have more needed jest mock
* Adds business rules and logic for the different states of `notifyWhen`, and `throttle` on each of the REST routes to determine when we should `muteAll` vs. not muting using secondary API call from client alerting
* Adds e2e tests for the throttle conditions and how they are to interact with the kibana-alerting `throttle` and `notifyWhen`

A behavioral change under the hood is that we now support the state changes of `muteAll` from the UI/UX of [stack management](https://www.elastic.co/guide/en/kibana/master/create-and-manage-rules.html#controlling-rules). Whenever the `security_solution` ["Perform no actions"](https://www.elastic.co/guide/en/security/current/rules-api-create.html
) is selected we do a `muteAll`. However, we do not change the state if all individual actions are muted within the rule. Instead we only maintain the state of `muteAll`:

<img width="2299" alt="ui_state_change" src="https://user-images.githubusercontent.com/1151048/130823045-48a9f34b-db23-44e3-b9ed-cbbb57edc3d6.png">

<img width="1163" alt="no_actions_state_change" src="https://user-images.githubusercontent.com/1151048/130823056-3f8953fa-9433-4973-a2d3-6e11263b9619.png">

Ref:
* Issue and PR where notifyWhen was added to kibna-alerting
  * https://github.com/elastic/kibana/pull/82969
  * https://github.com/elastic/kibana/issues/50077  

### Checklist

Delete any items that are not applicable to this PR.

- [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
2021-08-26 13:39:57 -04:00
Clint Andrew Hall
2348ced4c0
[canvas] Handle Timelion errors gracefully. (#109761) 2021-08-26 12:34:52 -05:00
Alejandro Fernández Gómez
754bf980f3
[RAC] Remove alerts from the table if user changes their workflow status (#110227) 2021-08-26 12:59:35 -04:00
Phillip Burch
85e1361ad5
[Stack Monitoring] Remove angular dep from legacy shims (#109132)
* Remove angular dep from legacy shims

* Fix ES lint
2021-08-26 11:16:14 -05:00
Michael Olorunnisola
416d42a22a
[Security Solution][RAC] Refix expand (#110236) 2021-08-26 12:01:28 -04:00
Mark Hopkin
2a05ec9ff5
[Fleet] Don't ignore "index: false" in integration index template (#110234)
* fix: don't ignore index prop when falsey

* test: add unit test for index false
2021-08-26 11:47:11 -04:00
Angela Chuang
602392e88d
[Security Solution] Host details fly out modal is not working in alerts table (#109942)
* fix expanded host and ip panel

* reuse existing links components

* rename

* add unit tests

* add unit tests

* update comment

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-26 11:40:30 -04:00
Joe Portner
695280b756
bulkGet saved objects across spaces (#109967) 2021-08-26 11:26:34 -04:00
Casper Hübertz
dc0c322847
[APM] Bugfix: Increase table columns for latency and throughput (#110187) 2021-08-26 17:21:28 +02:00
Esteban Beltran
0069faf8dd
[Security Solution] Show rule.description when displaying an alert view flyout (#110221) 2021-08-26 11:05:18 -04:00
Alejandro Fernández Haro
bb8ee0ce05
Enable Product check from @elastic/elasticsearch-js (#107663)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-26 15:36:46 +01:00
Gloria Hornero
f806fa2eda
fixes opening alerts test (#110198) 2021-08-26 16:30:58 +02:00
Alexey Antonov
3cc7da8435
[Lens] Inspect flyout should be available in editor mode. (#109656)
* [Lens] Inspect flyout should be available in editor mode.

* fix typo

* add test

* add functional tests for inspector

* toMatchInlineSnapshot -> toMatchSnapshot

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-26 10:18:09 -04:00
Casper Hübertz
85e030249f
[APM] Traces list: Decrease link size and impact indication (#110188)
* [APM] Decrease link size on Traces list

* [APM] Change impact column size to fixed
2021-08-26 15:59:46 +02:00