Commit graph

65770 commits

Author SHA1 Message Date
jennypavlova
c0c827009b
[Infra UI] Add feedback button to Infra Metrics Explorer (#163188)
## Summary

This PR adds a feedback button to Metrics Explorer

## Testing
- Go to Infrastructure > Metrics Explorer
   - The feedback button (Tell us what you think!) should be visible
   
<img width="1702" alt="image"
src="0d94371c-6269-4595-9b10-c85d1bcc66d9">

- When you click on the link the Kibana version should be prefilled (no
need to submit just go to step 4)
 
<img width="1193" alt="image"
src="f03d641b-83f8-4a08-ad12-e279303e4a61">
2023-08-09 09:28:37 +02:00
Stratoula Kalafateli
e3e0558aa4
[Lens] Unification of filtering labels (#163389)
## Summary

Changes the texts as proposed
[here](https://github.com/elastic/kibana/issues/160872) (for both lens
and aggbased visualizations)

<img width="996" alt="image"
src="f7e29a36-a6d3-4ad2-832c-4d58505a8a51">

<img width="1073" alt="image"
src="74b74773-f1f4-4ba5-b727-e144eef955f2">
2023-08-09 09:40:36 +03:00
Walter Rafelsberger
da0fb1d987
[ML] AIOps: Auto-detect if spike or dip selected in log rate analysis. (#163100)
This updates log rate analysis to be able to auto-detect whether the
selected deviation is a spike or dip compared to the baseline time
range. To achieve this, we compare the median bucket size of the two
selections. If a dip gets detected, the analysis will then switch the
window parameters sent to the API endpoint to run the analysis.

An info callout points out the auto-selected analysis type and explains
to which time range the analysis results refer to. We need to do this to
make it clear that for dip analysis the significant terms and their doc
counts refer to the baseline time range and vice versa for spike
analysis.
2023-08-09 08:05:07 +02:00
Tiago Costa
0b95987782
skip failing es promotion suite (#163456) 2023-08-09 03:29:47 +01:00
Tiago Costa
990b50f936
skip failing es promotion suite (#163455) 2023-08-09 02:38:09 +01:00
Tiago Costa
31823608f0
skip failing es promotion suite (#163454) 2023-08-09 02:34:08 +01:00
Philippe Oberti
f9f2d378dc
[Security Solution] expandable flyout - prevalence data is calculated from 30d to now (#162791) 2023-08-08 23:38:08 +02:00
Ahmad Bamieh
b8841bcbfc
[Upgrade Assistant] Fix functional test for shards check (#163438)
## Summary
Create a new functional config file that sets up elasticsearch configs
to have a low disk threshold and a low number of shards per node to test
for health checks and deprecations.

Previously this test failed because it seems that ES takes some time to
calculate the health checks hence the indicator critical issues are not
showing during the testing period (now we don't have flakiness since we
started the server with the indicators already in place) it also means
less `before` and `after` work inside the test cases.

Closes https://github.com/elastic/kibana/issues/160833

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2023-08-08 23:05:27 +03:00
Patrick Mueller
7e234b1a78
[EventLog] change to use Data stream lifecycle instead of ILM (#163210)
resolves https://github.com/elastic/kibana/issues/162886

The default continues to be 90 days for data detetention of event log
documents, and the rollover is now controlled by DLM, as described in
[Data stream lifecycle][].

[Data stream lifecycle]:
https://www.elastic.co/guide/en/elasticsearch/reference/8.9/data-stream-lifecycle.html

## Release note

Fixes the event log data stream to use Data stream lifecycle instead of
Index Lifecycle Management. If you had previously customized the Kibana
event log ILM policy, you should now update the lifecycle of the event
log data stream itself.
2023-08-08 15:23:59 -04:00
Kibana Machine
596663c3ce skip failing test suite (#162672) 2023-08-08 14:30:18 -04:00
Kibana Machine
727d58f7ee skip failing test suite (#162995) 2023-08-08 14:29:25 -04:00
Melissa Alvarez
327448b726
[ML] Adds ability to deploy trained models for data frame analytics jobs (#162537)
## Summary

Related issue: https://github.com/elastic/kibana/issues/161026

This PR adds a 'Deploy model' action in Machine Learning > Model
Management > Trained models.

Action in list:
<img width="1392" alt="image"
src="65978519-a2c2-41ff-8709-9a868587c5af">

Details step:
<img width="1406" alt="image"
src="eba9ebf3-ab69-4e8e-9c02-120982d94373">

Configure processor:
<img width="1403" alt="image"
src="39ae977f-163f-4a86-9034-817abf123ac2">

Configure processor edit:
<img width="1394" alt="image"
src="8dcee306-baef-4871-8ca7-668c77fa95cb">

Configure processor additional:
<img width="1396" alt="image"
src="268c7cf8-19eb-4f29-afbb-8d5e8a0c8598">

Handle failures:
<img width="1310" alt="image"
src="a692c892-6730-4a93-8c27-2acc417505e1">

<img width="1310" alt="image"
src="37087120-b9e6-4399-a2ce-012a17d57a52">

<img width="1308" alt="image"
src="57d840a8-41bf-40ff-9702-39ca7facf610">

Test:
<img width="1397" alt="image"
src="2a07b358-1945-47c7-8ba3-82942f3cf359">

Create:
<img width="1404" alt="image"
src="8bd163b3-64df-4611-924e-06f0e8df1330">

Create success:
<img width="1404" alt="image"
src="be9c7732-9635-465f-9e03-28f11e157711">



### Checklist

Delete any items that are not applicable to this PR.

- [ ] 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/main/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))
- [ ] If a plugin configuration key changed, check if it needs to be
allowlisted in the cloud and added to the [docker
list](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)
- [ ] 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)

---------

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2023-08-08 14:01:28 -04:00
Yulia Čech
c7053d4d4b
[Rollup] Add a comment about api use by the data view plugin (#163432)
## Summary
Adds a comment that the API endpoint /rollup/indices is used by the data
view plugin.

With https://github.com/elastic/kibana/pull/162674 merged, the issue
https://github.com/elastic/kibana/issues/152708 has been closed. The
Data Discovery team is not planning any further work around rollup api
use due to the feature being deprecated. I think adding a comment to the
API code directly will help us remember this dependency for when we are
going to edit or remove the endpoint.
2023-08-08 10:42:10 -07:00
Vadim Kibana
346fc7ece6
remove deprecated components, improve spacing and title (#163378)
## Summary

Partially addresses https://github.com/elastic/kibana/issues/161425

New look:

<img width="1645" alt="image"
src="9da0ae4a-9f6e-4744-80c1-9a13b6d23d1c">
2023-08-08 09:46:40 -07:00
Matthew Kime
a69870b950
[data / data views] Disable rollup functionality when rollup plugin is disabled (#162674)
## Summary

Rollup functionality will be disabled on serverless instances. The
`rollup` plugin will be disabled. While it won't be possible to create
rollups on serverless, it will be possible to import data view saved
objects which may be configured for use with rollups. We will make a
'best effort' to improve functionality as to help users transition away
from rollups.

- In classic environments, the `rollup` plugin will enable `dataViews`
and `data` plugin rollup functionality.
- The data plugin will run an async search instead of a rollup search.
- The data views plugin will fetch normal fields, omitting a query for
rollup fields - which would fail anyway.

Closes https://github.com/elastic/kibana/issues/152708

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2023-08-08 11:25:13 -05:00
Saikat Sarkar
874801bf7e
[Search Relevance] Reorganize text expansion callout into smaller component files (#163196)
The changes in this PR are related to this issue:
https://github.com/elastic/enterprise-search-team/issues/4440.

In this PR, we moved a number of components of
`text_expansion_callout.tsx` and their tests to separate files.


db8657f4-a9f2-4502-87e8-20325c52748b

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2023-08-08 10:22:33 -06:00
Anton Dosov
6bec8e41f8
[Serverless] Fix Dashboard breadcrumbs missing title (#163393)
## Summary

fix https://github.com/elastic/kibana/issues/163337 for dashboard. 


### Context: 

In serverless navigation we changed how breadcrumbs work. Instead of
setting the full path manually, we automatically calculate the main
parts of the path from the side nav + current URL. This was done to keep
side nav and breadcrumbs in sync as much as possible and solve
consistency issues with breadcrumbs across apps.
https://docs.elastic.dev/kibana-dev-docs/serverless-project-navigation#breadcrumbs

Apps can append custom deeper context using the
`serverless.setBreadcrumbs` api. Regular `core.chrome.setBreadcrumbs`
has no effect when serverless nav is rendered.
2023-08-08 09:20:21 -07:00
Alison Goryachev
ba3284ea3b
[Watcher] Disable watcher using contextRef (#163407) 2023-08-08 12:06:47 -04:00
Cristina Amico
c249c30d3b
[Fleet] Use new Fleet Secrets ES APIs instead of reading/writing secrets index (#163075)
Closes https://github.com/elastic/kibana/issues/162915

## Summary
Replace direct calls to Fleet Secrets index with new API calls
introduced with https://github.com/elastic/elasticsearch/pull/97728

### New ES secrets APIs:
```
POST /_fleet/secret/
{
  "value": "<secret value>"
}

// Returns the id of the created secret
{
  "id": "<secret_id>"
}

DELETE /_fleet/secret/<secret_id>

// returns 
{
  "deleted": true
}
```

NOTE: I tried running the secrets integration tests in
https://github.com/elastic/kibana/issues/162732 but there is some ES
error that I'm not sure how to address. I think that the test can be
worked on separately

### Testing

Testing steps are the exact same as
https://github.com/elastic/kibana/pull/157176:
- Start EPR locally loading the `Secrets` test package from Kibana:

```
docker run -p 8080:8080 -v /Users/<YOUR_PATH>/kibana/x-pack/test/fleet_api_integration/apis/fixtures/test_packages:/packages/test-packages -v /Users/<YOUR_PATH>/kibana/x-pack/test/fleet_api_integration/apis/fixtures/package_registry_config.yml:/package-registry/config.yml docker.elastic.co/package-registry/package-registry:main
```
- Point `kibana.dev.yml` to local EPR:
```
  xpack.fleet.registryUrl: http://localhost:8080
```
- Enable the secrets feature flag `secretsStorage`
- Start kibana and navigate to `integrations`, install `Secrets`
package.
- It should create and edit the package policy successfully

<img width="1800" alt="Screenshot 2023-08-08 at 16 26 52"
src="5e2b77d9-71a9-4c5f-8b3b-5fc6546d562f">

- The yml policy should have the redacted secrets and secrets ids:

<img width="771" alt="Screenshot 2023-08-08 at 15 43 22"
src="7db22c6b-b0db-4eb6-bc68-7174374c9c74">

---------

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2023-08-08 18:05:31 +02:00
Paul Tavares
0ba941ac2a
[Security Solution][Endpoint] Display "Data Collection" only on Policy Create form when Serverless does include Endpoint PLIs (#163198)
## Summary

Changes in support of serverless:

- When the serverless project is not running with the Endpoint addon
(Endpoint Essentials or Endpoint Complete), the Create Policy preset
options should only display the "Data Collection" option
2023-08-08 11:59:24 -04:00
Shahzad
56ccc691c9
[Synthetics] Refactor usage of alerting apis (#163403) 2023-08-08 17:53:45 +02:00
Elastic Machine
1922d73558
[main] Sync bundled packages with Package Storage (#163413)
Automated by
https://internal-ci.elastic.co/job/package_storage/job/sync-bundled-packages-job/job/main/6212/

Co-authored-by: apmmachine <infra-root+apmmachine@elastic.co>
Co-authored-by: Julia Bardi <90178898+juliaElastic@users.noreply.github.com>
2023-08-08 08:04:23 -07:00
Ignacio Rivas
49eadc5bff
[Watcher] Retain query in watcher list (#163297) 2023-08-08 17:56:08 +03:00
GitStart
793c961a4a
[Ingest Pipelines] Migrate all usages of EuiPage*_Deprecated (#163134) 2023-08-08 10:55:53 -04:00
Vadim Kibana
c52327492f
Updates deprecated EUI components in locators example plugins (#163405)
## Summary

Partially addresses https://github.com/elastic/kibana/issues/161425

New look:

<img width="2017" alt="image"
src="313fe761-2060-4b7b-b5d3-3f655d2cec02">
2023-08-08 07:55:38 -07:00
Anton Dosov
7025a7bdab
[Files] Make download route public (#163408)
## Summary

fix https://github.com/elastic/kibana/issues/163364 in serverless
Similar to https://github.com/elastic/kibana/pull/162707/, the the
endpoint is used by `<img src=""/>` and should work without any special
headers
2023-08-08 15:47:48 +01:00
Vadim Kibana
c13dcf47c5
Update EUI deprecated components in sample screenshot plugin (#163409)
## Summary

Closes https://github.com/elastic/kibana/issues/161425
2023-08-08 07:45:45 -07:00
Dima Arnautov
b62747e085
[ML] AIOps: Adds change point detection charts embeddable (#162796)
## Summary

Part of #161248 

- Adds Change point charts as an embeddable component 
- Allows attachment of selected partitions to a new / existing dashboard
![Aug-01-2023
14-46-49](cba12d6e-7e2b-481e-a788-18435a0a9840)
- Allows attachment of top N change points (with an ascending sorting by
`p_value`)
![Aug-01-2023
14-55-10](d99e119d-c428-49d0-bc76-7a33a3ce4ffd)
- Allows applying a persistent time range 
- Attachment to a case of a single change point / selected partitions
and applied time range
![Aug-01-2023
15-07-33](1c4cc131-0897-4fc4-8f45-e8118ab1f941)
- Exposes `EmbeddableChangePointChart` embeddable component as part of
the plugin start contract


### Checklist

Delete any items that are not applicable to this PR.

- [x] 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/main/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
- [x] Any UI touched in this PR is usable by keyboard only (learn more
about [keyboard accessibility](https://webaim.org/techniques/keyboard/))
- [x] 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))
- [ ] If a plugin configuration key changed, check if it needs to be
allowlisted in the cloud and added to the [docker
list](https://github.com/elastic/kibana/blob/main/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker)
- [x] 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))
- [x] This was checked for [cross-browser
compatibility](https://www.elastic.co/support/matrix#matrix_browsers)
2023-08-08 17:33:51 +03:00
Lisa Cawley
bc9d601feb
[OAS] Clarify rule action descriptions (#162199) 2023-08-08 07:31:46 -07:00
Faisal Kanout
03303940f2
[AO][BUG] Disable view rule details when the rule is deleted (#163183)
## Summary

Fixes #163084

<img width="1397" alt="Screenshot 2023-08-04 at 17 33 34"
src="8075da4d-633d-4916-b6db-491f7c87c363">

### Release note
Disable the "View rule details" option from the Alert Details' Actions
list when the rule is deleted.
2023-08-08 16:04:54 +02:00
Nathan Reese
69579014a3
[share] hide 'Embed code' share option when buildFlavor is 'serverless' (#163104)
Closes https://github.com/elastic/kibana/issues/161266

### Overview
PR hides 'Embed code' share option in serverless

### Test
* Start kibana with `yarn start --serverless=es`
* verify 'Embed code' is not displayed in Dashboard share option

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2023-08-08 08:00:22 -06:00
Pablo Machado
739b98bf6a
[Security Solutions] Upselling hook improvement (#162956)
## Summary

Update useUpselling hooks to avoid unnecessary re-renders by providing
an initial value.


### 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
2023-08-08 15:56:24 +02:00
Antonio
108b387ede
[Cases] Flaky test UserActions pagination (#163344)
Fixes #156748

## Summary

[There is already a functional test that covers the same
functionality.](https://github.com/elastic/kibana/blob/main/x-pack/test/functional_with_es_ssl/apps/cases/group1/view_case.ts#L727)

| Old Test  | Scenario | Where it is covered now |
| -------------   |  -------------   | ------------- |
| hasNext page is true | there are 2 `user-actions-list` | functional
test creates 24 UAs, displays too columns initially |
| hasNext page is true | `cases-show-more-user-actions` in document |
functional test creates 24 UAs clicks `cases-show-more-user-actions` |
2023-08-08 15:51:15 +02:00
Angela Chuang
b68e476918
[SecuritySolution] Get started page update (#162470)
## Summary



1. Update get started page according to 

https://www.figma.com/file/1eOeaxZobHpw2pq5Rmubc1/Get-started-Prototype?node-id=76%3A183730&mode=dev

https://docs.google.com/document/d/1Am4sJ9pE6JmElUdUx00I-o7DRt7qcqpVuGgW0wDJORw/edit

2. Add `Mark as done` and `Undo 'Mark as done button'`

![localhost_5601_app_security_get_started_
(1)](08f0b580-4a9d-4b40-9269-fe5220349d20)




- When no product active or when you land on this page the first time,
it enables the product according to your `serverless.security.yml`
settings
- If you have landed on this page before and have some products active,
it renders the cards and steps according to your previous status from
local storage. It should keep track of which cards and steps are
expanded and which steps are finished.



### Checklist

Delete any items that are not applicable to this PR.

- [x] 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/main/packages/kbn-i18n/README.md)
- [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

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2023-08-08 05:57:38 -07:00
Ievgen Sorokopud
a5979a0aa6
[Security Solution] Unskip "use_fetch_or_create_rule_exception_list.test.tsx" tests (#163169)
## Summary

Original ticket: https://github.com/elastic/kibana/issues/145749

This PR un-skips tests which were disabled due to [upgrade to Jest 29
here](https://github.com/elastic/kibana/pull/143319).

Fixes:
1. Restructured test which checks the `isLoading` state returned by the
`useFetchOrCreateRuleExceptionList` hook
2. Make sure we call `await waitForNextUpdate();` right amount of times

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2023-08-08 14:49:56 +02:00
Stratoula Kalafateli
d673fa4b78
[Lens] Improvement of the discard changes modal (#163384)
## Summary

Closes https://github.com/elastic/kibana/issues/161493

Leaving the editor with unsaved changes
<img width="690" alt="image"
src="1587b8dc-83a1-4d89-993d-3150dea17836">

Go back to TSVB modal
<img width="742" alt="image"
src="a49667a1-927b-4aa8-aa1a-765a14ebd925">
2023-08-08 15:36:12 +03:00
Stratoula Kalafateli
5c619d74a0
[Textbased] Fetch correctly the types of the query fields (#162982)
## Summary

This PR is solving the following wrong behavior in text based languages.

When we are trying to depict a SQL/ESQL suggestion in Discover it is
necessary to know the type of the field. What we did so far was sending
from Discover to Lens only the column names and we were trying in Lens
to fetch the type from the dataview fields. But this doesnt cover all
the cases as both SQL (and ESQL) can create fields which cant be found
in a dataview. For example:

- Use of as `SELECT bytes, geo.dest as random_name FROM
"kibana_sample_data_logs"` in SQL
- Use rename (in ESQL)
- Create an aggregation, this will create a new variable in both
languages
- Using eval in ESQL
- ....

This PR solves the problem by passing the entire datatableColumn in the
Lens api and not only the name of the column. The types of the fields
are returned by sql, esql apis so we already have the information. We
just need to pass it in Lens.

**Fetching the correct types is very important as better suggestions
will be suggested from Lens.**

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

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2023-08-08 05:15:45 -07:00
Pablo Machado
0b4ce7c168
[Security Solutions] Revert the revert of cases connector PLI + import fix (#163277)
## Summary

Unfortunately, cases connector PR broke the main branch and was
reverted.
The problem happened because another PR updated an import while the
cases PR was getting merged.

I deleted the old import and now it should work fine.
2023-08-08 13:00:02 +01:00
Dario Gieselaar
e47152d8fd
[Observability AI Assistant]: Chat & function calling (#162906)
Implements chat & function calling for the Observability AI Assistant.
The APM related changes are due to a correction in the `toBooleanRt`
type.

Code in `x-pack/observability_ai_assistant` has been reviewed via
feature branches.

---------

Co-authored-by: Coen Warmer <coen.warmer@gmail.com>
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Clint Andrew Hall <clint@clintandrewhall.com>
2023-08-08 13:48:05 +02:00
Anton Dosov
304cb256cf
Make SavedObjectFinder backward compatible (#162904)
## Summary

close https://github.com/elastic/kibana/issues/161545
close https://github.com/elastic/kibana/issues/153257

This PR makes `SavedObjectFinder` component backward compatible. It is
achieved by going through content- management layer, more technical
details
[here](https://docs.google.com/document/d/1ssYmqSEUPrsuCR4iz8DohkEWekoYrm2yL4QR_fVxXLg/edit)

### Testing

`SavedObjectFinder` is this component that allows to pick a saved object
(supports: `search` `index-pattern` `map` `visualization` `lens`
`event-annotation-group`:

![Screenshot 2023-08-07 at 16 53
32](5c283ea5-3682-4dc8-a8ff-422e6f4f3195)


It is used in the following places: 

- Dashboard 
  - Add panel
  - Replace panel 
- Discover - Open Search 
- Visualization - Select search as a source for new viz
- Graph - select source
- Cases - markdown editor add lens 
- ML (3 places) 
- Canvas - select embeddable panel 
- Transform 
- Lens > select event annotation 




### Risks / Follow up 

The `SavedObjectFinder` should stay mostly the same, the only notable
functional change is that now `SavedObjectFinder` doesn't support
`includeFields` which allowed partial saved object returns, this was
done to make the call backward-compatible without making the system even
more complicated as otherwise we'll need a way to abstract
`includeFields` from so attributes and allow to run migrations on it
before making a search. follow up issue to bring it back
https://github.com/elastic/kibana/issues/163043

The risk with that is that some client that have a lot of large objects
might run into performance issues when using `SavedObjectFinder`. This
can be mitigated by changing listing limit in advanced setting from
default 1000 to something lower
2023-08-08 13:10:29 +02:00
Miriam
863ea15bde
[APM] Add storage summary stats to report (#163309)
Closes https://github.com/elastic/kibana/issues/160013
2023-08-08 11:46:46 +01:00
Pete Harverson
f4e62c1c74
[ML] Unskips data frame analytics functional tests (#163377)
## Summary

Unskips the data frame analytics tests that were fixed in
https://github.com/elastic/kibana/pull/163343 and skipped in
https://github.com/elastic/kibana/issues/163220 and
https://github.com/elastic/kibana/issues/163338

### 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
2023-08-08 10:46:56 +01:00
Philippe Oberti
c8a82b22ad
[Security Solution] expandable flyout - move share alert and chat buttons up to improve header UI (#162895) 2023-08-08 11:44:44 +02:00
Walter Rafelsberger
b8bb4ee34b
[ML] AIOps: Improve table hovering for log rate analysis. (#162941)
Improves the table hovering behavior for log rate analysis:
- When no row is hovered, it falls back to set the first row of the
current page to a hovered state. The result is that users will always
see a comparison view in the main document count chart.
- When a row gets pinned, the hovering of the other rows will be
disabled, so the comparison view in the main document count chart gets
locked on the pinned row.
2023-08-08 10:31:32 +02:00
Maxim Kholod
9b087e080b
[Cloud Security] refetch status and dashboard data until data is indexed (#163005)
## Summary

This PR enables the Compliance Dashboard page (CSP dashboards) to
self-recover from different "no findings" states so that the user
doesn't need to reload the page to see the changes after they perform
onboarding steps (install integration, deploy agent, index data, etc.)

fixes 
- https://github.com/elastic/kibana/issues/156616 

### Recording

d0201ebb-b8f8-4bce-b72e-3fdd85ab79fb

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

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2023-08-08 09:48:44 +02:00
Tomasz Ciecierski
1696b864a3
[EDR Workflows] Enable PLI for Osquery Response Actions (#163057) 2023-08-08 09:41:55 +02:00
Miriam
adb9573cb2
Revert "[APM] Add index.fast_refresh to .apm-custom-link" (#163142)
Reverts elastic/kibana#159674

The Elasticsearch team has changed their guidance about `fast_refresh`
and want this setting to be applied from within an Elasticsearch plugin
2023-08-08 08:34:48 +01:00
Tiago Costa
0d49c8a214
chore(NA): skip failing suite on osquery/cypress/e2e/all/alerts.cy.ts (#163366)
Recreation of https://github.com/elastic/kibana/pull/163360

This PR intends to skip a failing suite to unblock the unsupported FTRs
pipeline along the same lines of what was done at
https://github.com/elastic/kibana/pull/163322
2023-08-08 09:33:31 +02:00
Nicolas Chaulet
5a6c5fb4d3
[Fleet] Make API routes public by default (#163345)
## Summary

Kibana API will not be public by default in serverless, this mean Fleet
API will not be accessible.

That PR fix that by changing the Fleet router to make Fleet API routes
public unless they specify `options.access` in their config, the only
route that I found that should be internal is the
/internal/fleet/reset_preconfiguration`

## Test

- [x] Added unit test to our router

manual test run Kibana in serverless and check Fleet API are still
publicly available

Before that change 

<img width="1003" alt="Screenshot 2023-08-07 at 1 36 29 PM"
src="8e2fb113-f5e8-45e8-9892-f25bd9e722ad">


After that change 

<img width="679" alt="Screenshot 2023-08-07 at 1 36 55 PM"
src="3cade239-5b13-4caf-bd1a-1bc8e2495c31">

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2023-08-08 08:29:45 +02:00
Kibana Machine
67927d98c0
[api-docs] 2023-08-08 Daily api_docs build (#163374)
Generated by
https://buildkite.com/elastic/kibana-api-docs-daily/builds/423
2023-08-08 00:55:12 -04:00