Commit graph

4861 commits

Author SHA1 Message Date
florent-leborgne
cd7447db36
[Docs] Update Kibana ESQL docs (#199371)
This PR updates ESQL docs currently in the Kibana guide. I'll do another
PR to the Elasticsearch docs to update the docs there as well.

Rel: https://github.com/elastic/platform-docs-team/issues/552
2024-11-08 10:35:25 +01:00
Catherine Liu
c1e430b868
[Canvas] Remove expression lifecycle docs (#199006)
## Summary

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

This removes outdated Canvas expression docs that describes capabilities
of the expression that are no longer true.


### 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
- [ ] [Flaky Test
Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was
used on any tests changed
- [ ] 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—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—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#_add_your_labels)
- [ ] This will appear in the **Release Notes** and follow the
[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)
2024-11-07 13:30:42 -08:00
Christiane (Tina) Heiligers
0df2e98381
Changes deprecated SO HTTP APIs deprecation field to object (#197936)
fix https://github.com/elastic/kibana/issues/197721.

The route deprecation field changed from a boolean to an object, where
the object contains information that is used in deprecation issues that
the Upgrade Assistant shows.

This PR makes the necessary changes in the deprecated Saved Objects HTTP
APIs.

This PR also includes a release notes entry for the API deprecations
that was missing.
![Screenshot 2024-10-29 at 12 01
29](https://github.com/user-attachments/assets/5c47c697-fbae-4b2e-8c6c-cd4701a667df)

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


### How to test this:

- Pull PR, run es against a trial license and start kibana as usual.
- Make a curl request to Kibana to get the config saved object: 

```
curl --location 'localhost:5601/abc/api/saved_objects/config/9.0.0' \
--header 'Content-Type: application/json' \
--header 'Accept-Encoding: gzip, deflate, br' \
--header 'kbn-xsrf: kibana' \
--header 'Kbn-Version: 9.0.0' \
--header 'Authorization: Basic ZWxhc3RpYzpjaGFuZ2VtZQ=='
```

- Navigate to Upgrade Assistant and observe Kibana has at least 1
deprecation warning.
- View Kibana's warnings, you should see a warning entry for `The "GET
/api/saved_objects/{type}/{id}" route is deprecated`

![Screenshot 2024-11-06 at 16 26
26](https://github.com/user-attachments/assets/3b6a5644-3e5e-403e-a0f6-015686675b9f)

- click on the deprecation and you should see more detail about the
deprecated API that's been used in the flyout:

![Screenshot 2024-11-06 at 16 26
44](https://github.com/user-attachments/assets/696aaf8f-fb6b-4c61-bc3c-b3745f85059a)

- resolve the deprecation warning
- Kibana should continue to issue requests to the deprecated SO HTTP
APIs because these APIs have not been removed yet.


### Risk Matrix

| Risk | Probability | Severity | Mitigation/Notes |

|---------------------------|-------------|----------|-------------------------|
| End user concern from the deprecation warning that says the routes
have been deprecated | Low | Low | The APIs have been deprecated since
8.7 and recommends using public APIs instead. |

### For maintainers

- [x] This will appear in the **Release Notes** and follow the
[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)

---------

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2024-11-07 14:49:05 -06:00
Julian Gernun
953d877df0
[Response Ops][Connectors] Refactor Jira Connector to use latest API only (#197787)
## Summary

Jira Cloud and Datacenter work using the same API urls. In this PR we
remove the calls to the capabilities API which was being used to know
the API url we needed to hit

To test it:
- Create Jira Cloud and Datacenter connectors
- Test all use cases related to them

Related to https://github.com/elastic/kibana/issues/189017

## Research Work

**getCapabilities, createIncident and getIncident** are always the same,
therefore ignored for the rest of this document

- getCapabilities: `/rest/capabilities`
- createIncident: `/rest/api/2/issue`
- getIncident: `/rest/api/2/issue`

## API links

- Cloud:
https://developer.atlassian.com/cloud/jira/platform/rest/v2/intro/#version
- DC: https://docs.atlassian.com/software/jira/docs/api/REST/9.17.0/

### Expected API urls based on the API links

- Get issue types

- Cloud: `GET /rest/api/2/issue/createmeta/{projectIdOrKey}/issuetypes`
  - DC:`GET /rest/api/2/issue/createmeta/{projectIdOrKey}/issuetypes`

- Get fields by issue type
- Cloud: `GET
/rest/api/2/issue/createmeta/{projectIdOrKey}/issuetypes/{issueTypeId}`
- DC:
`GET /rest/api/2/issue/createmeta/{projectIdOrKey}/issuetypes/{issueTypeId}`

### API we hit

- Get issue types

- Cloud `GET
/rest/api/2/issue/createmeta?projectKeys=ROC&expand=projects.issuetypes.fields`
(variable name we are using is `getIssueTypesOldAPIURL`)
- DC `GET /rest/api/2/issue/createmeta/RES/issuetypes` (variable name is
`getIssueTypesUrl`)

- Get fields by issue type
- Cloud `GET
/rest/api/2/issue/createmeta?projectKeys=ROC&issuetypeIds={issueTypeId}&expand=projects.issuetypes.fields`
(variable name is `getIssueTypeFieldsOldAPIURL`)
- DC `GET /rest/api/2/issue/createmeta/RES/issuetypes/{issueTypeId}`
(variable name is `getIssueTypeFieldsUrl`)

#### Analysed use cases to retrieve API urls we hit

- created a case with JIRA Cloud as Connector
- did a connector test with JIRA Cloud as connector
- created a case with JIRA DC as connector
- did a connector test with JIRA DC as connector

### Conclusions

- We are not using the right endpoints for Cloud, we should update them
to use the same endpoints.

---------

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Co-authored-by: Christos Nasikas <christos.nasikas@elastic.co>
Co-authored-by: adcoelho <antonio.coelho@elastic.co>
Co-authored-by: Antonio <antoniodcoelho@gmail.com>
Co-authored-by: Lisa Cawley <lcawley@elastic.co>
2024-11-07 11:47:29 +01:00
Shahzad
d25a2b442a
[Synthetics] Refactor bulk delete monitor and params routes !! (#195420)
## Summary

Refactor bulk delete monitor and params routes !! 

We need to remove usage for body from DELETE route.

### Params

Params can be bulk delete now with POST request to
`/params/_bulk_delete` endpoint

### Monitors
Monitors can be bulk delete now with POST request to
`/monitors/_bulk_delete` endpoint
2024-11-07 10:51:56 +01:00
wajihaparvez
bab2c2a497
[Docs] 8.15.4 release notes (#198565)
## Summary

Adding a section for 8.15.4 release notes.

---------

Co-authored-by: Florent Le Borgne <florent.leborgne@elastic.co>
Co-authored-by: Liam Thompson <32779855+leemthompo@users.noreply.github.com>
2024-11-06 15:01:34 -05:00
Lisa Cawley
14a1a92a42
[DOCS] Add alerting performance enhancements to 8.16 release notes (#199043)
## Summary

This PR adds https://github.com/elastic/kibana/issues/188194 to the
8.16.0 Kibana release notes.
It also fixes a formatting issue.

### Preview


https://kibana_bk_199043.docs-preview.app.elstc.co/guide/en/kibana/master/release-notes-8.16.0.html
2024-11-06 06:23:23 -05:00
florent-leborgne
d5e9939f6b
[Docs] 8.16 release highlights - what's new page (#198343)
This PR adds the release highlights for Kibana 8.16.0

Closes: https://github.com/elastic/platform-docs-team/issues/501

![Whats New Guide
(2)](https://github.com/user-attachments/assets/ce61261b-ca23-4fe6-89cd-6c5c6fb843b6)
<img width="445" alt="image"
src="https://github.com/user-attachments/assets/22b68b77-4e52-4395-8079-1c8d2602e8db">
<img width="439" alt="image"
src="https://github.com/user-attachments/assets/59bebfcb-aa19-442c-9209-b945c48c5aa2">
2024-11-05 16:41:56 +01:00
florent-leborgne
33c8b1b300
[Docs] Adds 8.16.0 release notes (#198166)
This PR adds release notes for Kibana 8.16.0

It also adds new deprecations to the Upgrade notes file.

There are many entries so here's a list of the sections that have been
edited and are ready for review so far:

- [x] AGPL license
- [x] Alerting @lcawl 
- [x] Dashboards and visualizations
- [x] Data ingestion and Fleet @kilfoyle 
- [x] Discover
- [x] Elastic Observability solution @bmorelli25 
- [x] Elastic Search solution @leemthompo 
- [x] Elastic Security solution
- [x] Kibana platform
- [x] Kibana security
- [x] Machine Learning @szabosteve @leemthompo 
- [x] Management

Closes: https://github.com/elastic/platform-docs-team/issues/502

---------

Co-authored-by: István Zoltán Szabó <istvan.szabo@elastic.co>
Co-authored-by: David Kilfoyle <41695641+kilfoyle@users.noreply.github.com>
Co-authored-by: Liam Thompson <32779855+leemthompo@users.noreply.github.com>
Co-authored-by: Giorgos Bamparopoulos <gbamparop@gmail.com>
Co-authored-by: Brandon Morelli <bmorelli25@gmail.com>
Co-authored-by: lcawl <lcawley@elastic.co>
2024-11-05 16:41:28 +01:00
Lisa Cawley
8cbe61b1b9
[DOCS] Fix links to aggregation-based visualizations (#198854)
## Summary

This PR fixes the following broken links that occur when we change
"current" to 8.16 in https://github.com/elastic/docs/pull/3104:

```
INFO:build_docs:  /tmp/docsbuild/target_repo/html/en/kibana/8.10/release-notes-8.7.0.html contains broken links to:
INFO:build_docs:   - en/kibana/current/add-aggregation-based-visualization-panels.html
INFO:build_docs:  /tmp/docsbuild/target_repo/html/en/kibana/8.11/release-notes-8.7.0.html contains broken links to:
INFO:build_docs:   - en/kibana/current/add-aggregation-based-visualization-panels.html
INFO:build_docs:  /tmp/docsbuild/target_repo/html/en/kibana/8.12/release-notes-8.7.0.html contains broken links to:
INFO:build_docs:   - en/kibana/current/add-aggregation-based-visualization-panels.html
INFO:build_docs:  /tmp/docsbuild/target_repo/html/en/kibana/8.13/release-notes-8.7.0.html contains broken links to:
INFO:build_docs:   - en/kibana/current/add-aggregation-based-visualization-panels.html
INFO:build_docs:  /tmp/docsbuild/target_repo/html/en/kibana/8.14/release-notes-8.7.0.html contains broken links to:
INFO:build_docs:   - en/kibana/current/add-aggregation-based-visualization-panels.html
INFO:build_docs:  /tmp/docsbuild/target_repo/html/en/kibana/8.15/release-notes-8.7.0.html contains broken links to:
INFO:build_docs:   - en/kibana/current/add-aggregation-based-visualization-panels.html
INFO:build_docs:  /tmp/docsbuild/target_repo/html/en/kibana/8.16/breaking-changes-summary.html contains broken links to:
INFO:build_docs:   - en/kibana/current/add-aggregation-based-visualization-panels.html
INFO:build_docs:  /tmp/docsbuild/target_repo/html/en/kibana/8.16/release-notes-8.7.0.html contains broken links to:
INFO:build_docs:   - en/kibana/current/add-aggregation-based-visualization-panels.html
INFO:build_docs:  /tmp/docsbuild/target_repo/html/en/kibana/8.7/release-notes-8.7.0.html contains broken links to:
INFO:build_docs:   - en/kibana/current/add-aggregation-based-visualization-panels.html
INFO:build_docs:  /tmp/docsbuild/target_repo/html/en/kibana/8.8/release-notes-8.7.0.html contains broken links to:
INFO:build_docs:   - en/kibana/current/add-aggregation-based-visualization-panels.html
INFO:build_docs:  /tmp/docsbuild/target_repo/html/en/kibana/8.9/release-notes-8.7.0.html contains broken links to:
INFO:build_docs:   - en/kibana/current/add-aggregation-based-visualization-panels.html
INFO:build_docs:  /tmp/docsbuild/target_repo/html/en/kibana/8.x/breaking-changes-summary.html contains broken links to:
INFO:build_docs:   - en/kibana/current/add-aggregation-based-visualization-panels.html
INFO:build_docs:  /tmp/docsbuild/target_repo/html/en/kibana/8.x/release-notes-8.7.0.html contains broken links to:
INFO:build_docs:   - en/kibana/current/add-aggregation-based-visualization-panels.html
INFO:build_docs:  /tmp/docsbuild/target_repo/html/en/kibana/current/breaking-changes-summary.html contains broken links to:
INFO:build_docs:   - en/kibana/current/add-aggregation-based-visualization-panels.html
INFO:build_docs:  /tmp/docsbuild/target_repo/html/en/kibana/current/release-notes-8.7.0.html contains broken links to:
INFO:build_docs:   - en/kibana/current/add-aggregation-based-visualization-panels.html
INFO:build_docs:  /tmp/docsbuild/target_repo/html/en/kibana/master/breaking-changes-summary.html contains broken links to:
INFO:build_docs:   - en/kibana/current/add-aggregation-based-visualization-panels.html
INFO:build_docs:  /tmp/docsbuild/target_repo/html/en/kibana/master/release-notes-8.7.0.html contains broken links to:
INFO:build_docs:   - en/kibana/current/add-aggregation-based-visualization-panels.html
```

NOTE: The backport PRs for 8.8 and 8.7 will need to be edited to use
version-specific URLs since the content in those branches are re-used in
https://www.elastic.co/guide/en/elastic-stack/8.7/kibana-breaking-changes.html,
for example.
2024-11-05 12:22:27 +01:00
Alexi Doak
9efe20e1e1
[ResponseOps] Remove 7.x deprecated kibana.yml settings (#198435)
Resolves https://github.com/elastic/kibana/issues/194622

## Summary

Removes the following deprecated configuration settings:

- `xpack.actions.customHostSettings.ssl.rejectUnauthorized`
- `xpack.actions.whitelistedHosts`
- `xpack.actions.rejectUnauthorized`
- `xpack.actions.proxyRejectUnauthorizedCertificates`
- `xpack.alerts.healthCheck`
- `xpack.alerts.invalidateApiKeysTask.interval`
- `xpack.alerts.invalidateApiKeysTask.removalDelay`
- `xpack.alerting.defaultRuleTaskTimeout`

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2024-11-04 11:47:52 -08:00
kosabogi
e945fc93c5
[ML] Updates references to apps and pages in ML-related guides (#198308)
### Overview

This PR updates all app and page references to align with the new style
guide guidelines.

### Related issue

https://github.com/elastic/search-docs-team/issues/205

### Preview

Machine learning
AIOps Labs

---------

Co-authored-by: florent-leborgne <florent.leborgne@elastic.co>
2024-11-04 12:04:15 +01:00
wajihaparvez
be51fac02f
[Docs] Update dashboard docs for interactive managed dashboard popover (#198226)
## Summary

Added a Duplicate dashboards page for the general duplicating process
and then mentioned the new popover for duplicating managed dashboards.
Linked to this page from other relevant mentions.
2024-10-31 19:02:58 +00:00
István Zoltán Szabó
dc8322a46f
[DOCS] Fine-tunes inference connector and action docs (#198345) 2024-10-30 17:12:53 +01:00
Julia Rechkunova
75195b4155
[Discover] Update docs to remove discover:showLegacyFieldTopValues (#197981)
## Summary

This PR updates docs as a followup for
https://github.com/elastic/kibana/pull/155503


### Checklist

- [x]
[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)
was added for features that require explanation or tutorials

Co-authored-by: Davis McPhee <davis.mcphee@elastic.co>
2024-10-30 04:45:06 -05:00
Larry Gregory
7ab51231e3
Fix documentation for session lifespan default (#198065)
This pull request includes an update to the
`docs/settings/security-settings.asciidoc` file to clarify the default
session lifespan settings for different installation environments.

Documentation update:

*
[`docs/settings/security-settings.asciidoc`](diffhunk://#diff-97a4c4e3696b33b246f55ddd794608530b693f0a7a66ae1361a32b67c7461523L204-R204):
Clarified that the default session lifespan is 30 days for on-prem
installations and 24 hours for Elastic Cloud installations.
2024-10-28 18:01:56 +00:00
Lisa Cawley
02fab7248d
[OpenAPI][DOCS] Add descriptions, examples, responses for role APIs (#195527)
Co-authored-by: Elena Shostak <165678770+elena-shostak@users.noreply.github.com>
2024-10-25 10:13:57 -07:00
Shahzad
0ff9a8a9d9
[Synthetics] Fixes partial updates for params and params viewing (#195866)
## Summary

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

In docs we says that only key/value pairs are required, but in actual
edit, that means rest of the data was being lost on edits

Allow partial updates to params edit API !!

This PR makes sure prev objects is fetched and merged with new data
hence allowing partial updates !!

We are also allowing the ability to view value of the secret once it's
saved via API !!

### Value is hidden
Param value will not be visible unless user is `super_user` or
`kibana_admin`, though user can assign new value.

---------

Co-authored-by: Justin Kambic <jk@elastic.co>
2024-10-25 17:06:52 +02:00
wajihaparvez
7ceaf32fa4
[Docs] Update Dashboard docs for chart switch redesign in 8.16.0 (#197543)
## Summary

Updated visuals in Dashboard docs for chart switch redesign and related
changes.

Closes: [#538](https://github.com/elastic/platform-docs-team/issues/538)
Rel: #187475
2024-10-24 17:55:01 -04:00
florent-leborgne
762903e31c
[Docs] Update community plugins documentation (#197569)
This PR recreates [@aakash742's
PR](https://github.com/elastic/kibana/pull/196497) to add a note about
Elastic not providing support for community plugins

---------

Co-authored-by: akashsingh <55509676+aakash742@users.noreply.github.com>
2024-10-24 23:12:23 +02:00
Sander Philipse
26ec293f07
[AI Assistant] Set scope and rename to Observability and Search (#196322)
## Summary

This renames the Observability AI Assistant in some places to AI
Assistant for Observability and Search. It also makes the scope
multi-valued on both sides.

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2024-10-24 13:13:43 +02:00
florent-leborgne
68b3267ca2
[Docs] Update spaces docs with new solution view and permissions settings (#195648)
This PR updates the Spaces stateful docs with updates brought to spaces
configuration in 8.16.

Other more general docs changes related to the introduction of solution
views will be addressed in separate PRs (for example
https://github.com/elastic/platform-docs-team/issues/529 and
https://github.com/elastic/platform-docs-team/issues/530)

Closes: https://github.com/elastic/platform-docs-team/issues/463
2024-10-21 11:06:03 +02:00
Lisa Cawley
2656e5a4ff
[DOCS][OpenAPI] Add descriptions, examples, tags, responses for space APIs (#195333)
Co-authored-by: Elena Shostak <165678770+elena-shostak@users.noreply.github.com>
2024-10-18 14:03:06 -05:00
Lukas Olson
d23b409ff9
Add search session deprecation to release notes (#194052)
## Summary

As part of the Search Session deprecation, we need this listed in the
8.15.x release notes.

---------

Co-authored-by: Lisa Cawley <lcawley@elastic.co>
Co-authored-by: Florent Le Borgne <florent.leborgne@elastic.co>
2024-10-17 11:34:02 -07:00
florent-leborgne
d87a38f6cc
[Docs] Resize image for dashboard usage (#195914)
This PR is a small fix to resize an image in the Dashboards docs to make
it look better and not blurry
2024-10-15 19:25:49 +02:00
florent-leborgne
db2bd318a3
[Docs] Add release notes for 8.15.3 (#196083)
This PR adds release notes for Kibana 8.15.3.

Rel: https://github.com/elastic/dev/issues/2833
Closes: https://github.com/elastic/platform-docs-team/issues/535

---------

Co-authored-by: David Kilfoyle <41695641+kilfoyle@users.noreply.github.com>
2024-10-15 16:15:00 +00:00
natasha-moore-elastic
f0f1775632
[DOCS ]Direct users to new API reference site (#195909)
## Summary

Contributes to
https://github.com/elastic/security-docs-internal/issues/48.

Add callouts to the asciidoc Osquery API docs to direct users to the new
API reference site, in preparation for retiring the asciidoc API docs.

NOTE: The api-kibana variable is defined in version-specific files. In
[8.15.asciidoc](873ec2c47f/shared/versions/stack/8.15.asciidoc (L74))
and
[8.x.asciidoc](873ec2c47f/shared/versions/stack/8.x.asciidoc (L75)),
the variable points to the [v8
branch](https://www.elastic.co/docs/api/doc/kibana/v8) of the API
reference, which currently doesn't include Security API docs. The v8
branch is derived from the "current" Kibana branch, which is currently
8.15. This likely means that we can only backport the callouts to 8.16
once 8.16 becomes the "current" docs version.

Preview: [Osquery manager
API](https://kibana_bk_195909.docs-preview.app.elstc.co/guide/en/kibana/master/osquery-manager-api.html)
and all its child pages
2024-10-15 16:29:05 +01:00
Quentin Pradet
920d782392
[Console] Remove unused spec-to-console package (#193426)
Closes https://github.com/elastic/kibana/issues/163333

## Summary

It was superseded by generate-console-definitions.

### 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: Elena Stoeva <59341489+ElenaStoeva@users.noreply.github.com>
2024-10-15 10:04:54 -05:00
Liam Thompson
589f746ebd
[DOCS] Search landing page updates (#196131) 2024-10-14 15:53:21 +02:00
James Gowdy
923c450c1b
[ML] Adds ML tasks to the kibana audit log (#195120)
Adds a new `MlAuditLogger` service for logging calls to elasticsearch in
kibana's audit log.
Not all calls are logged, only ones which make changes to ML jobs or
trained models, e.g. creating, deleting, starting, stopping etc.

Calls to the es client are wrapped in a logging function so successes
and failures can be caught and logged.

the audit log can be enabed by adding this to the kibana yml or dev.yml
file
`xpack.security.audit.enabled: true`

An example log entry (NDJSON formatted to make it readable):
```
{
  "event": {
    "action": "ml_start_ad_datafeed",
    "type": [
      "change"
    ],
    "category": [
      "database"
    ],
    "outcome": "success"
  },
  "labels": {
    "application": "elastic/ml"
  },
  "user": {
    "id": "u_mGBROF_q5bmFCATbLXAcCwKa0k8JvONAwSruelyKA5E_0",
    "name": "elastic",
    "roles": [
      "superuser"
    ]
  },
  "kibana": {
    "space_id": "default",
    "session_id": "U6HQCDkk+fAEUCXs7i4qM2/MZITPxE02pp8o7h09P68="
  },
  "trace": {
    "id": "4f1b616b-8535-43e1-8516-32ea9fe76d19"
  },
  "client": {
    "ip": "127.0.0.1"
  },
  "http": {
    "request": {
      "headers": {
        "x-forwarded-for": "127.0.0.1"
      }
    }
  },
  "service": {
    "node": {
      "roles": [
        "background_tasks",
        "ui"
      ]
    }
  },
  "ecs": {
    "version": "8.11.0"
  },
  "@timestamp": "2024-10-11T09:07:47.933+01:00",
  "message": "Starting anomaly detection datafeed datafeed-11aaaa",
  "log": {
    "level": "INFO",
    "logger": "plugins.security.audit.ecs"
  },
  "process": {
    "pid": 58305,
    "uptime": 100.982390291
  },
  "transaction": {
    "id": "77c14aadc6901324"
  }
}
```

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2024-10-14 11:37:56 +01:00
kosabogi
94ee8d598f
Updates file upload formats in Kibana guide (#195880)
### Overview

This PR updates the **Upload a file** section in the **Add data** page
to reflect the changes to the supported file formats in the Data
Visualizer.

### Related issue: 


https://github.com/elastic/search-docs-team/issues/189#issuecomment-2399079270

### Preview
2024-10-14 10:48:36 +02:00
Yuliia Naumenko
288d41d61e
[Connectors][GenAI] Inference Service Kibana connector (#189027)
## Summary
Resolves https://github.com/elastic/kibana/issues/188043

This PR adds new connector which is define integration with Elastic
Inference Endpoint via [Inference
APIs](https://www.elastic.co/guide/en/elasticsearch/reference/current/inference-apis.html)
The lifecycle of the Inference Endpoint are managed by the connector
registered handlers:

- `preSaveHook` -
[create](https://www.elastic.co/guide/en/elasticsearch/reference/current/put-inference-api.html)
new Inference Endpoint in the connector create mode (`isEdit === false`)
and
[delete](https://www.elastic.co/guide/en/elasticsearch/reference/current/delete-inference-api.html)+[create](https://www.elastic.co/guide/en/elasticsearch/reference/current/put-inference-api.html)
in the connector edit mode (`isEdit === true`)
- `postSaveHook` - check if the connector SO was created/updated and if
not removes Inference Endpoint from preSaveHook
- `postDeleteHook` -
[delete](https://www.elastic.co/guide/en/elasticsearch/reference/current/delete-inference-api.html)
Inference Endpoint if connector was deleted.

In the Kibana Stack Management Connectors, its represented with the new
card (Technical preview badge):

<img width="1261" alt="Screenshot 2024-09-27 at 2 11 12 PM"
src="https://github.com/user-attachments/assets/dcbcce1f-06e7-4d08-8b77-0ba4105354f8">

To simplify the future integration with AI Assistants, the Connector
consists from the two main UI parts: provider selector and required
provider settings, which will be always displayed
<img width="862" alt="Screenshot 2024-10-07 at 7 59 09 AM"
src="https://github.com/user-attachments/assets/87bae493-c642-479e-b28f-6150354608dd">

and Additional options, which contains optional provider settings and
Task Type configuration:

<img width="861" alt="Screenshot 2024-10-07 at 8 00 15 AM"
src="https://github.com/user-attachments/assets/2341c034-6198-4731-8ce7-e22e6c6fb20f">


subActions corresponds to the different taskTypes Inference API
supports. Each of the task type has its own Inference Perform params.
Currently added:

- completion & completionStream
- rerank
- text_embedding
- sparse_embedding

Follow up work:

1. Collapse/expand Additional options, when the connector flyout/modal
has AI Assistant as a context (path through the extending context
implementation on the connector framework level)
2. Add support for additional params for Completion subAction to be able
to path functions
3. Add support for tokens usage Dashboard, when inference API will
include the used tokens count in the response
4. Add functionality and UX for migration from existing specific AI
connectors to the Inference connector with proper provider and
completion task
5. Integrate Connector with the AI Assistants

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: István Zoltán Szabó <istvan.szabo@elastic.co>
Co-authored-by: Liam Thompson <32779855+leemthompo@users.noreply.github.com>
Co-authored-by: Steph Milovic <stephanie.milovic@elastic.co>
2024-10-13 15:39:09 -05:00
Jorge Sanz
ad8cec13b6
[Docs][Maps] Update EMS Server instructions (#195419)
## Summary

Small improvements to the Elastic Maps Service documentation:

* fixes the reference to the Docker image to pull
* adds details about using `cosign` to verify the image pulled 
* updates the screenshot to a more recent UI.
2024-10-10 21:02:23 +02:00
Ignacio Rivas
d86ce77217
Remove kbn-ace, ace and brace dependencies (#195703) 2024-10-10 14:16:42 +02:00
kosabogi
7a30154fdf
[Search landing page] Update search landing page list with new links (#194656)
### Overview

This PR updates the search landing page by refreshing the existing list
with new links.

### Related issue

https://github.com/elastic/search-docs-team/issues/200

---------

Co-authored-by: Liam Thompson <32779855+leemthompo@users.noreply.github.com>
2024-10-10 11:27:03 +02:00
Christiane (Tina) Heiligers
7839db950e
[Docs] Update publicBaseUrl and rewriteBasePath settings (#195465)
fix https://github.com/elastic/kibana/issues/114562

![Screenshot 2024-10-08 at 09 04
20](https://github.com/user-attachments/assets/f43d592d-cc49-4f41-9bee-2a85f9c08292)

![Screenshot 2024-10-08 at 09 04
49](https://github.com/user-attachments/assets/39184960-d5ec-4485-944b-6ef4295d7101)

---------

Co-authored-by: Lisa Cawley <lcawley@elastic.co>
2024-10-08 23:14:28 +00:00
Steph Milovic
32a478ccc3
[ResposeOps] Gemini connector, remove bad variable reference (#195308) 2024-10-08 10:44:32 -06:00
Liam Thompson
8af920bc8b
[DOCS] Fix list format (#195349) 2024-10-08 17:38:48 +02:00
Steph Milovic
2873cbca20
[Gemini Connector] Bump Default model to gemini-1.5-pro-002 (#195320) 2024-10-08 08:52:51 -06:00
Liam Thompson
336f824122
[Search] Update connectors docs URLs and doc link (#195374)
Missed one in https://github.com/elastic/kibana/pull/194423
2024-10-08 14:01:34 +02:00
Lisa Cawley
3b70d99915
[DOCS] Additional fields in ServiceNow ITSM and SecOps connectors (#195122) 2024-10-07 09:17:10 -07:00
wajihaparvez
296a49cbc8
Update visuals on Manage & Share Dashboards and Tutorials + consistency edits (#195152)
## Summary

Updated visuals on the [Manage and Share
Dashboards](https://www.elastic.co/guide/en/kibana/master/_manage_dashboards.html)
pages and
[Tutorials](https://www.elastic.co/guide/en/kibana/master/_tutorials.html)
+ made some consistency edits to the text.

Rel:[#457](https://github.com/elastic/platform-docs-team/issues/457) and
[#466](https://github.com/elastic/platform-docs-team/issues/466)

---------

Co-authored-by: florent-leborgne <florent.leborgne@elastic.co>
2024-10-07 11:36:07 -04:00
Jean-Louis Leysens
b3d6038904
Release note: internal HTTP APIs blocked from 9.0.0 (#195257)
## Summary

Added a breaking change release note using the new template.

---------

Co-authored-by: florent-leborgne <florent.leborgne@elastic.co>
2024-10-07 14:20:19 +00:00
florent-leborgne
94caafd57d
(Docs) Add Kibana upgrade notes page (#193268)
## Summary

This PR:

- adds a page that is a compiled list of all breaking changes and
deprecations introduced since the last major version. I slightly edited
some bits to align the wording and add version information to each item,
and took a bit of freedom (not too much!) to ignore items that shouldn't
be identified as deprecations or breaking changes, or to move them to
the appropriate section in this page.
- adds a link to the new page from the Upgrade Kibana page.

<img width="1483" alt="image"
src="https://github.com/user-attachments/assets/16109072-d5c6-4eb4-8a52-ef209a07072a">

<img width="810" alt="image"
src="https://github.com/user-attachments/assets/939e9212-b750-4a6f-bd8f-f8df04e46d76">


I'm wondering if we should leave this uncategorized or at least identify
which items are specific to a solution. It also doesn't make much sense
that we have Obs here while we don't have Security. Let's think about a
consistent way to do it.

Note: In this PR, the page is initially added under the Release notes
section. I'll need to make sure that this does not interfere with the
release notes automation.

Note 2: If we move forward with this proposal, we'll need update the
release notes internal docs to add the relevant information to this page
with each minor release, or find a way to automate.

Closes: https://github.com/elastic/kibana-team/issues/1075

---------

Co-authored-by: Lisa Cawley <lcawley@elastic.co>
Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>
Co-authored-by: Luke Elmers <lukeelmers@gmail.com>
2024-10-07 11:51:42 +02:00
wajihaparvez
29db0bc3ec
[Docs] Add visuals to the Panels and Visualizations pages + consistency edits (#194765)
## Summary

Added visuals to the [Panels and
Visualizations](https://www.elastic.co/guide/en/kibana/master/_panels_and_visualizations.html)
pages + made some consistency edits to the text.

Rel:[#457](https://github.com/elastic/platform-docs-team/issues/457) and
[#466](https://github.com/elastic/platform-docs-team/issues/466)
2024-10-03 10:48:44 -04:00
Anton Dosov
568e40acca
Clean up cloud_chat (#194571)
## Summary

Close https://github.com/elastic/kibana-team/issues/1017

This PR removes the unused Cloud Chat functionality from Kibana. The
chat was not used for some time. Moreover, we've seen some issues with
it where users saw it when it wasn't expected. Given the absence of
automated tests and the fact that the feature is no longer needed, we
are removing it to improve the overall maintainability and reliability
of the codebase. This will also decrease the amount of code loaded for
trial users of Kibana in cloud making the app slightly faster.
2024-10-03 13:37:47 +02:00
Alejandro Fernández Haro
d570d60b0b
Upgrade http dependencies (#180986)
Co-authored-by: florent-leborgne <florent.leborgne@elastic.co>
Co-authored-by: Rudolf Meijering <skaapgif@gmail.com>
2024-10-01 11:50:47 -05:00
kosabogi
985984ec54
Adds Connection details for the Search landing page (#194525)
## Overview

This update adds content for finding connection details and creating an
API key for Elastic Cloud, Self-managed, and Serverless deployments.

## Related Issue

https://github.com/elastic/search-docs-team/issues/179

## Preview

Find your connection details

---------

Co-authored-by: Liam Thompson <32779855+leemthompo@users.noreply.github.com>
2024-10-01 15:10:12 +02:00
Lisa Cawley
5ed0426ef6
[DOCS] Add TheHive connector to case settings (#193802) 2024-10-01 00:33:31 +00:00
Lisa Cawley
907c82da92
[DOCS][ResponseOps] Remove tech preview from ES query ES|QL rule type (#194233) 2024-09-27 12:45:09 -07:00