Commit graph

4313 commits

Author SHA1 Message Date
amyjtechwriter
5e8414779a
[DOCS] Inline editing in Lens (#170649)
## Summary

With the arrival of inline editing to Lens panels the [Create
visualizations](https://www.elastic.co/guide/en/kibana/current/lens.html#create-the-visualization-panel)
'Edit and delete' section has been updated. Users can now use the option
**Edit visualization** to make edits to Lens visualizations using a
flyout panel, without having to leave the dashboard and go into the Lens
application.

The [Edit
panels](https://www.elastic.co/guide/en/kibana/current/dashboard.html#edit-panels)
section on the 'Dashboards and visualizations' page has been edited as
the **Edit Lens** option has been removed from the UI.

Relates to: #166169 &
[#243](https://github.com/elastic/platform-docs-team/issues/243)
2023-11-06 15:25:03 +00:00
Sid
7dc163a0a3
Update docs for session idletimeout default value (#170615)
## Summary

Updates the docs for `xpack.security.session.idleTimeout` value. The
value itself was updated in
https://github.com/elastic/kibana/pull/162313/
2023-11-06 14:42:50 +01:00
amyjtechwriter
d4ad7708b3
[DOCS] Whats new page 8.11 (#169782)
## Summary

This PR adds details about whats new to the 8.11 release on the [whats
new page](https://www.elastic.co/guide/en/kibana/8.10/whats-new.html).

---------

Co-authored-by: James Rodewig <james.rodewig@elastic.co>
Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
Co-authored-by: Brandon Morelli <bmorelli25@gmail.com>
2023-11-06 10:11:22 +00:00
Lisa Cawley
45d0e32244
[DOCS] ES|QL in Elasticsearch query rules (#170291) 2023-11-03 13:26:49 -07:00
Lisa Cawley
8716f65922
[DOCS] Slack api allowed channels (#169706) 2023-11-03 11:37:56 -07:00
Lisa Cawley
89dd69656c
[DOCS] Add solution selection to maintenance windows (#169441) 2023-11-03 11:36:55 -07:00
Fabio Busatto
ef67add16c
[DOCS] Clarify required privileges to create CSV reports when using index aliases (#170524)
## Summary

If a CSV export is performed on an index alias, it also requires read
access to underlying indices.
This PR adds a note in Kibana docs to make users aware of this
requirement.
2023-11-03 09:47:21 -07:00
Yulia Čech
fdec4bf474
[Index Management] Add content to index details page via extensions service (#170054)
## Summary

Fixes https://github.com/elastic/kibana/issues/168704

This PR adds a function to the extensions service that allows to render
custom content on overview tab of the index details page. When custom
content is set, it will be rendered instead of the code block describing
adding documents to the index. This PR also moves the ILM content from
the overview tab to a separate tab. We will work on the design of this
tab in a follow up PR.

### How to test
To test the custom content apply changes in this
[commit](16769d6c39).

### Screenshots 

#### Custom content (example)
<img width="1357" alt="Screenshot 2023-11-01 at 19 03 32"
src="71372458-4cc2-413d-bf5f-bb29bff73095">


#### ILM tab
<img width="1129" alt="Screenshot 2023-11-01 at 18 54 07"
src="52c09a73-7d75-4f5f-8d52-b704cd9e6859">



### 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/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
- [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
- [ ] 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)


### Risk Matrix

Delete this section if it is not applicable to this PR.

Before closing this PR, invite QA, stakeholders, and other developers to
identify risks that should be tested prior to the change/feature
release.

When forming the risk matrix, consider some of the following examples
and how they may potentially impact the change:

| Risk | Probability | Severity | Mitigation/Notes |

|---------------------------|-------------|----------|-------------------------|
| Multiple Spaces&mdash;unexpected behavior in non-default Kibana Space.
| Low | High | Integration tests will verify that all features are still
supported in non-default Kibana Space and when user switches between
spaces. |
| Multiple nodes&mdash;Elasticsearch polling might have race conditions
when multiple Kibana nodes are polling for the same tasks. | High | Low
| Tasks are idempotent, so executing them multiple times will not result
in logical error, but will degrade performance. To test for this case we
add plenty of unit tests around this logic and document manual testing
procedure. |
| Code should gracefully handle cases when feature X or plugin Y are
disabled. | Medium | High | Unit tests will verify that any feature flag
or plugin combination still results in our service operational. |
| [See more potential risk
examples](https://github.com/elastic/kibana/blob/main/RISK_MATRIX.mdx) |


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

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Alison Goryachev <alisonmllr20@gmail.com>
2023-11-03 08:26:34 -07:00
Jon
8133f01ffc
Revert "[build/docker] Upgrade Ubuntu base image to 22.04 (#162282)" (#170430)
This reverts commit 9d139f6192.
2023-11-02 12:56:17 -05:00
Colleen McGinnis
e5bb85b4b3
[DOCS] Add information on KQL filtering in APM rules (#170257)
Closes https://github.com/elastic/observability-docs/issues/3160

## Summary

Adds information on KQL filtering in APM rules.

### Checklist

- [x] @colleenmcginnis initial draft
- [x] @benakansara review
    * In what version was this initially added? 8.10.0?
- [ ] @colleenmcginnis address feedback, merge
2023-11-02 09:29:54 -05:00
amyjtechwriter
2a4a6e890e
[DOCS] ES|QL pages in Kibana guide (#170226)
## Summary

Two pages about ES|QL added to the Kibana guide. One page (titled ES|QL)
under the 'Kibana concepts' heading, which is an overview page. One page
added to the 'Discover' section (titled Try ES|QL) which is a short
tutorial.

Relates to:
[#244](https://github.com/elastic/platform-docs-team/issues/244)

---------

Co-authored-by: Abdon Pijpelink <abdon.pijpelink@elastic.co>
2023-11-02 13:45:17 +00:00
Liam Thompson
d978dc659b
[DOCS] Add Search 8.11 release notes (#170108)
- ~Enterprise~ Search
- Adds release notes instead of pointing to Enterprise Search notes
2023-11-02 11:27:48 +01:00
Nick Peihl
878df86151
[Dashboard links] Links documentation (#170153)
Fixes #166750 

## Summary

Adds documentation for the links panel.

---------

Co-authored-by: Amy Jonsson <amy.jonsson@elastic.co>
2023-11-01 14:11:36 -04:00
James Rodewig
fea32812c8
[DOCS] Update copy for tech preview features (#170139) 2023-10-31 16:48:15 -04:00
Lisa Cawley
bbd4800ac4
[DOCS] Add maxScheduledPerMinute to alerting circuit breakers (#169991) 2023-10-30 08:41:54 -07:00
Lisa Cawley
27db507202
[DOCS] Rule visibility details for Elasticsearch query rules (#170072) 2023-10-30 08:40:58 -07:00
Shahzad
8bbb58f19a
[Synthetics] Global params Public APIs (#169669) 2023-10-27 16:16:40 +02:00
James Rodewig
9caea77ee4
[DOCS] Deprecate rollups (#169670) 2023-10-25 16:51:49 -04:00
amyjtechwriter
0993ce4db9
[DOCS] 8.11.0 release notes targeting elastic:main (#169819)
## Summary

Adds the release notes for 8.11.0, and incorporates the feedback from
the original draft [PR](https://github.com/elastic/kibana/pull/168593).
The merged in [PR](https://github.com/elastic/kibana/pull/168710)
targeted the wrong branch, so no release notes are visible for 8.11.0.
2023-10-25 14:50:27 +01:00
Lisa Cawley
aaa6c369b3
[DOCS] Custom fields in cases (#169057) 2023-10-23 16:26:16 -07:00
Lisa Cawley
f5d7c86cc4
[DOCS] Automate screenshot for Amazon bedrock connector (#169463) 2023-10-23 13:31:03 -07:00
Jon
9d139f6192
[build/docker] Upgrade Ubuntu base image to 22.04 (#162282)
Release note:
The default container's base image has been upgraded from Ubuntu 20.04
to 22.04
2023-10-23 14:49:06 -05:00
Shahzad
882e0bf81a
[Uptime] Settings public API (#163400) 2023-10-23 06:14:37 -07:00
Colleen McGinnis
7b0d842096
[DOCS] Clean up APM UI docs (#169269)
Closes https://github.com/elastic/observability-docs/issues/3292

## Summary

Updates documentation related to the APM UI based on issues found during
the Observability docs bug bash last week.

### Checklist

Delete any items that are not applicable to this PR.

- [x] @colleenmcginnis
[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)
was added for features that require explanation or tutorials:
- [x] Clarify that distributed traces aren't the only colorful traces in
[Trace sample
timeline](https://www.elastic.co/guide/en/kibana/current/spans.html#distributed-tracing)
(b707c3936b)
- [x] Clarify the implications of the traces table only showing root
transactions in
[Traces](https://www.elastic.co/guide/en/kibana/current/traces.html)
(c1de678f91)
- [x] Add beta admonition to APM
[Infrastucture](https://www.elastic.co/guide/en/kibana/current/infrastructure.html)
page
(d3bc4a972d)
- [x] @bmorelli25 review
2023-10-19 09:42:45 -05:00
Steph Milovic
9b73b87d5c
[Security solution] Rename connector from AWS Bedrock to Amazon Bedrock (#169025) 2023-10-17 12:24:03 -06:00
Luke Elmers
6df50ea666
Remove mention of config SO types from SO.create API docs. (#168538) 2023-10-17 09:40:49 -06:00
Thomas Watson
916ecf6d75
[docs] add info on how to generate custom Node.js builds (#168919)
Co-authored-by: amyjtechwriter <61687663+amyjtechwriter@users.noreply.github.com>
2023-10-17 11:30:47 -04:00
Lisa Cawley
382e3f6ec2
[DOCS] Remove OAS API previews (#168761) 2023-10-17 07:49:23 -07:00
Lisa Cawley
d871474d19
[DOCS] Alerts-as-data for index threshold rules (#169049) 2023-10-17 07:33:37 -07:00
Julia Bardi
841eb0a633
Update fleet-settings.asciidoc with supported output types (#167042)
Updated output types in doc.
2023-10-17 13:28:55 +01:00
Lisa Cawley
4c2fcef7af
[OAS] Amazon Bedrock connector (#168662) 2023-10-16 15:14:38 -07:00
Kyle Pollich
eef222f134
[Fleet] Add new keep_monitoring_alive flag to agent policies (#168865)
## Summary

Ref https://github.com/elastic/kibana/issues/168629

Adds a new `keep_monitoring_alive` flag to agent policies that allows
agent environments to keep the monitoring server if they choose.

> [!note]
> `monitoring_enabled: []` needs to be explicitly set for this flag to
be honored. If `monitoring_enabled` is omitted entirely, Fleet defaults
to enabling monitoring for logs and metrics.

## To test

Create a preconfigured policy where logs/metrics monitoring is
explicitly disabled and include this new flag e.g.

```yml
xpack.fleet.agentPolicies:
  - name: Test preconfigured policy
    id: test-preconfigured-policy
    package_policies: []
    monitoring_enabled: []
    keep_monitoring_alive: true
```

Then, run Kibana and verify the `monitoring` block in the full agent
policy has monitoring enabled, but logs/metrics as disabled, e.g.


![image](f5b205ad-96f0-4e88-967a-43546bf2bf84)

You can also verify the need for `monitoring_enabled: []` by creating
another preconfigured policy e.g.

```yml
- name: Test preconfigured policy 2
    id: test-preconfigured-policy-2
    package_policies: []
    keep_monitoring_alive: true
```

This will generate a policy e.g. 


![image](013b0381-b605-49a4-8819-3dec713f1e1f)

All other combinations of enabling monitoring for logs/metrics should
also generate the policies as expected. If you want to verify every
combination manually:

```yml
xpack.fleet.agentPolicies: 
  - name: Test preconfigured policy
    id: test-preconfigured-policy
    package_policies: []
    monitoring_enabled: []
    keep_monitoring_alive: true
  - name: Test preconfigured policy 2
    id: test-preconfigured-policy-2
    package_policies: []
    keep_monitoring_alive: true
  - name: Test preconfigured policy 3
    id: test-preconfigured-policy-3
    package_policies: []
    monitoring_enabled: ['logs']
  - name: Test preconfigured policy 4
    id: test-preconfigured-policy-4
    package_policies: []
    monitoring_enabled: ['metrics']
  - name: Test preconfigured policy 5
    id: test-preconfigured-policy-5
    package_policies: []
    monitoring_enabled: ['logs', 'metrics']
```

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2023-10-16 10:04:59 -07:00
Lisa Cawley
15ac351351
[DOCS] Add preconfigured AWS Bedrock connector (#168663) 2023-10-16 08:23:12 -07:00
Lisa Cawley
aece2f8ec4
[DOCS] Make Cases in the Stack Management GA (#168764) 2023-10-16 07:19:57 -07:00
Thomas Watson
217929a636
Bump Node.js from 18.17.1 to 18.18.2 (#168914) 2023-10-16 09:50:15 -04:00
Lisa Cawley
bc8f45f529
[DOCS] Fix cases link for notifications domain allowlist (#168656) 2023-10-12 11:16:43 -07:00
amyjtechwriter
f11b6f9088
[DOCS] Adds 8.10.4 release notes (#168599)
## Summary

Adds release notes for 8.10.4
2023-10-11 17:48:33 +01:00
Brandon Morelli
348563b52f
Add security update to 8.10.3 (#168468) 2023-10-10 09:31:40 -04:00
amyjtechwriter
34157b3905
[DOCS] Adds 8.10.3 release notes (#168261)
## Summary

Adds the 8.10.3 release notes.
2023-10-06 17:32:57 +01:00
Lisa Cawley
aab7f6e368
[DOCS] Remove a-data-source shared attribute (#167943) 2023-10-05 12:46:16 -07:00
Brad White
2ff938e0ac
Remove KUI Framework (#167833)
## Summary

Closes #46410

Removes the deprecated `@kbn/ui-framework`

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2023-10-04 07:55:03 -07:00
Lisa Cawley
0fc24f4181
[DOCS] Move preconfigured ServiceNow connector details (#166202) 2023-10-03 12:14:26 -04:00
Anton Dosov
07f1c36df7
[Drift] Enable chat globally + A/B test for pages where the chat was available before (#167069)
## Summary

Close https://github.com/elastic/kibana/issues/159691

[Requirements](https://docs.google.com/document/d/1uXgyDIGuIqkYXmavdMTpBgQEiOP07ObJYb7GNq5GiSE/edit#heading=h.okl11rz12ytg)
[A/B test
description](https://docs.google.com/document/d/1yzfZF8mtlRNH4X6HjosD6Exh24zAhN__LR_zh3DOzKw/edit?usp=sharing)

[Figma](https://www.figma.com/file/WGhmfgyy9FBOltLtycfGPE/Getting-started?type=design&node-id=92-44804&mode=design&t=mwbIexn5Fs754HQz-0)
Testing - see _testing_ section below for more details
(https://dosant-pr-167374-d-2023-06-14-global-drift-with-experiment.kbndev.co/.
elastic/changeme)

This PR enables cloud chat (Drift) globally. This is done by adding a
custom chat button in the Kibana header which manually toggles Drift
widget. We attempt to manually position the widget to the top of the
screen so it pops up close to the chat button that triggered it.

Previously Drift chat was available only on specific pages like
Solutions onboarding pages, integrations, setup guides as a regular chat
widget with the floating chat bubble in the bottom right corner. We
couldn't enable it on all pages, because on a lot of them the floating
chat bottom would have overlapped the application UI.

We also were asked to add [an a/b
test](https://docs.google.com/document/d/1yzfZF8mtlRNH4X6HjosD6Exh24zAhN__LR_zh3DOzKw/edit?usp=sharing):
 - A: The chat button appears in the header for all pages (new)
- B: The chat button appears as floating action button in the
bottom-right corner on pages where Drift was previously available
(solutions onboarding pages, integrations, setup guides)

### Screenshots / Videos

#### Global Chat in the header

![Screenshot 2023-09-25 at 10 30
41](dba3b3da-4e90-4d6c-a5d2-99123aa8c753)
![Screenshot 2023-09-25 at 10 30
45](752d05e4-cc85-458e-8216-f75529c2bac7)

#### The tour on the first appearance 

![Screenshot 2023-09-25 at 10 55
42](c0958095-f724-4b69-a149-04a0aec8e083)

#### (Part of A/B test) Drift in the header on new pages and as floating
action button on old pages


0386ccbd-ab6c-4eb2-a57b-f9324fcf73eb

### Implementation notes

- **We still enable Drift only for trial users + gap window**
- We exposed additional APIs from drift iframe to manually control its
visibility and react to more events
https://github.com/elastic/cloud/pull/118761. This changes are required
for the code in this PR to work. ~The updated frame code wasn't deployed
yet.~ the changes were deployed
- We use [`playbookFired` event
](https://devdocs.drift.com/docs/drift-events#playbook-fired) to know if
Drift chat should be visible for the current user. We show the button in
the header only when it fires.
- To react to the event and to display the button, we have to kick of
Drift iframe initialization first
- This means Drift codes loads before we show the button and before user
interacts with it (Only when Drift is enabled, meaning, only for trial
users + gap window)
- Subsequent launches or opens of the same playbook will not re-trigger
the `playbookFired` event, I used local storage flag to workaround this
and show the live chat button, but it also has it's own edge case. As an
alternative we can always show the chat button and don't rely on the
playbook event, more details here:
https://docs.google.com/document/d/1j313mVOIz19Rkoj8TDFWaLc7Pgk_ByBBKJFNIC-jbyc/edit?usp=sharing.
For now was decided to rely on the `playbookFired` event.
- A/B: **to support for both new and old implementation, I had to
refactor the old one from drop-in chat to global chat that is controlled
by list of hardcoded URLs.** This is not ideal, but this allows two
implementations to co-exist with much tech-debt and we plan to get rid
of this after the a/b test.
- When we navigate between pages with different implementations, Drift
re-initializes itself (just like in old implementation), this
performance debt should go away when we get rid of the a/b test.
- When end-to-end testing the a/b experiment, I found a bug in the a/b
test setup in Kibana https://github.com/elastic/kibana/issues/167240
this needs to be addressed separately for a/b test to work properly.
- When the user receives a message from Drift - the custom "Live Chat"
button doesn't indicate that there is a new message. This needs a follow
up, @Dosant to create an issue


### Testing

Version with the experiment where on old pages Drift appears as a
floating chat bubble -
https://dosant-pr-167374-d-2023-06-14-global-drift-with-experiment.kbndev.co/
elastic/changeme

> [!NOTE]  
> If the live chat button doesn't appear, it is likely because the
playbook was recently activated by someone else. you can workaround this
for testing by creating a different user or by setting
`cloudChatPlaybookFiredOnce : true` to localstorage. This issue and
mitigation is described in details in the "implementation details"
section


#### To test locally: 

```
xpack.cloud.id: 'some-id'
xpack.cloud.trial_end_date: '2023-09-21T00:00:00.000Z'
xpack.cloud_integrations.chat.trialBuffer: 45
xpack.cloud.chat.enabled: true

xpack.cloud.chatIdentitySecret: <pls react out> 
xpack.cloud.chat.chatURL: https://elasticcloud-production-chat-us-east-1.s3.amazonaws.com/drift-iframe.html

xpack.cloud_integrations.experiments.flag_overrides:
  "cloud-chat.chat-variant": "bubble" or "header"

```
2023-10-01 16:07:11 +02:00
Steph Milovic
b888ecb45c
[Security solution] Rename Generative AI connector to OpenAI (#167677)
[Redo this PR](https://github.com/elastic/kibana/pull/167220) because
[this PR](https://github.com/elastic/kibana/pull/167220) merged shortly
before broke it and I had to fix an import

---------

Co-authored-by: lcawl <lcawley@elastic.co>
2023-09-29 11:54:55 -05:00
Jonathan Budzenski
7dd352a65e Revert "[Security solution] Rename Generative AI connector to OpenAI (#167519)"
This reverts commit a81b620a41.
2023-09-29 11:09:02 -05:00
Steph Milovic
a81b620a41
[Security solution] Rename Generative AI connector to OpenAI (#167519) 2023-09-29 09:45:53 -06:00
Hannah Mudge
9e8312f2e4
[Dashboard Navigation] Make links panel available under technical preview (#166896)
## Summary
This PR wraps up the work the @elastic/kibana-presentation team has done
to finish the MVP of [Phase
1](https://github.com/elastic/kibana/issues/154354) of the `Link`
embeddable, which enables users to add panels to their dashboard that
contain links to other dashboards + external links - with respect to
dashboard links, we give the author control over which pieces of context
should be kept across dashboards so that things like filter pills,
queries, and time ranges are not lost. This marks a huge improvement in
dashboard navigation overall, which was previously only available via a
variety of different workarounds including (but not limited to):
- Creating (essentially) a `noop` dashboard-to-dashboard drilldown 
- Using markdown panels with hard Dashboard links, which are prone to
break across updates
- Avoiding navigation all together, which resulted in large,
slow-to-load dashboards.

As an added benefit, because these panels contain **references** to each
dashboard rather than hard links, (1) unlike markdown links, they should
not break after updates and (2) if a links panel is exported and
imported into another space or instance, all of the dashboards it links
to will also be imported.



1a86b713-47e7-4db9-8a04-29d41b13681a

> **Note**
> 🔉 The above video has audio! Turn on your sound for the best
experience.

### Note about this PR
- A majority of this work was done on a feature branch, with thorough
reviews from @andreadelrio on behalf of @elastic/kibana-design along the
way. Therefore, while feedback on the design is encouraged, any large
concerns brought up in this PR should be filed as separate issues and
addressed in follow-up PRs.
- This PR contains work for giving embeddables control over their own
panel size / default positioning on the dashboard. This was especially
important for the links panel, since we assume that (a) most links
panels would be located somewhere near the top of the dashboard and (b)
the horizontal links panel should have a different default "shape"
(longer than it is tall) than the vertical panel (taller than it is
long).
- This PR also contains work for caching dashboard saved objects, which
makes navigation much more seamless.

### Flaky Test Runner
-
https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/3251


![image](7616443e-0cb0-43ce-a1d0-41f8bee6cbfc)


### Checklist

- [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~ This will
be addressed in a follow up:
https://github.com/elastic/kibana/issues/166750
- [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 - ~Units tests
are added, functional tests are forthcoming~ Edit: All tests are in.
- [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))
- [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)

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

---------

Co-authored-by: Nick Peihl <nick.peihl@elastic.co>
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Andrea Del Rio <delrio.andre@gmail.com>
Co-authored-by: Devon Thomson <devon.thomson@elastic.co>
Co-authored-by: Nick Peihl <nickpeihl@gmail.com>
Co-authored-by: Gerard Soldevila <gerard.soldevila@elastic.co>
2023-09-29 08:25:51 -06:00
Jason Rhodes
859ae9e50d
[Asset Manager] Creates baseline public asset client for use in public plugins (#167191)
Closes #167075 

## Summary

Adds a public asset client available in the `setup` lifecycle hook for
plugins that depend on this one. `getHosts` is the only method available
on this client for now.

TODO, before merge:
- [x] Add docs for the server client
- [x] Add docs for the public client
- [x] Remove REST docs from plugin docs, not needed
- [x] Add unit tests for public client


### Testing this PR

One way of testing this new client is to apply the attached
test-assets.patch file locally, adjust the date range in the getHosts
query that is added in the infra plugin, and then start Kibana and
navigate to the infra app. You should see print out in the browser
console.


[test-assets.patch](12718693/test-assets.patch)

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2023-09-28 13:26:24 -07:00
Sébastien Loix
92a92fff67
[Cloud] ES endpoint discovery (#167122) 2023-09-28 04:20:53 -07:00
Steph Milovic
bacebd27e0
[Security solution] AWS Bedrock connector (#166662) 2023-09-27 16:44:52 -06:00