Commit graph

4751 commits

Author SHA1 Message Date
Maxim Kholod
7b24ddd57e
[Cloud Security] add is_internal config option for outputs (#175546)
## Summary

- part of https://github.com/elastic/kibana/issues/165251

introducing a new `is_internal` config option for `xpack.fleet.outputs`.
The usage is currently to protect the internal outputs in the UI:
- filter out internal outputs in the Settings UI 
- disable internal outputs in output select for an agent policy

### Screencast

[screencast-github.com-2024.01.26-15_57_56.webm](917b4a76-a48f-4bdc-b3d8-5598f86febf8)


### Checklist

Delete any items that are not applicable to this PR.

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

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Kyle Pollich <kyle.pollich@elastic.co>
2024-01-31 13:15:57 +01:00
Elena Stoeva
123e62517a
[Advanced Settings] Integrate new Settings application into stateful Kibana (#175255)
Closes https://github.com/elastic/kibana/issues/172922 

## Summary

This PR:
- Integrates the new Settings application
(`packages/kbn-management/settings/application`) into stateful Kibana
and removes the old `management_app` from the
`src/plugins/advanced_settings` plugin.
- Adds support for section registry in the new Settings application, so
that other plugins can add their own sections to the Advanced settings
app.
- Adds functionality for disabling saving of settings based on the
provided capabilities of the current user.

<img width="1352" alt="Screenshot 2024-01-23 at 16 46 03"
src="1f3b7088-58e2-46e8-a7dd-ae0fc346b4ba">

<br><br>

"Usage collection" section in Global settings:

<img width="1099" alt="Screenshot 2024-01-23 at 16 48 24"
src="ebc54ad5-348b-46dd-a047-b418ddc7ba4f">

### How to test

**Testing Advanced settings in stateful Kibana:**
1. Start Es with `yarn es snapshot` and Kibana with `yarn start`
2. Go to Stack Management -> Advanced Settings
3. Verify that the app functions correctly. Both tabs (for space and
global settings) should be displayed, setting fields should be editable
and saveable, etc.

**Testing the section registry**
Currently, `telemetry_management_section` is the only plugin that
registers a section - the "Usage collection" section under the "Global
settings" tab. This should work correctly in stateful Kibana.
1. Start Es with `yarn es snapshot --license=trial` and Kibana with
`yarn start`
2. Go to Stack Management -> Advanced Settings and select the "Global
settings" tab
3. Scroll down and verify that the "Usage collection" section is
displayed and works as expected.

**Testing with different capabilities:**
1. Start Es with `yarn es snapshot` and Kibana with `yarn start`
2. Go to Stack Management -> Roles
3. Create a role that has "Read" access to Advanced settings and one
that doesn't have any access.
4. Create users with each of these two roles.
5. Log in with these users and verify that the user with "Read" access
can see the app but cannot edit it, and the user with no privileges
cannot access the app.

**Testing Advanced settings in serverless Kibana:**
The Advanced settings app in serverless shouldn't be affected by these
changes.
1. Start Es with `yarn es serverless` and Kibana with `yarn
serverless-{es/oblt/security}`
2. Go to Management -> Advanced Settings
3. Verify that the app functions correctly. There shouldn't be any tabs
as there are no spaces.


<!--
### 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&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>
2024-01-30 20:47:35 +00:00
Jorge Sanz
e69e971fb4
[Docs][EMS] Adding more details about connectivity and link to the stack docs (#175551)
Related to #174716

* Adds an intro paragraph mentioning the three options regarding EMS and
limited connectivity: set up a firewall, disable it fully, or install
Elastic Maps Server.
* Adds a reference to the Elastic Stack air-gapped guide.

Co-authored-by: Brandon Morelli <brandon.morelli@elastic.co>
2024-01-30 18:34:26 +01:00
Giorgos Bamparopoulos
2696d7fcd3
[Logs Explorer] Rename test subjects and page objects (#175711)
- Renames test subjects and page objects
- Renames test folders from `observability_log_explorer` to
`observability_logs_explorer`
- Changes app url from `observability-log-explorer` to
`observability-logs-explorer` and adds another app for redirects

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

---------

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2024-01-30 15:21:38 +00:00
Larry Gregory
0ac38ec851
Update copy for API Key management (#175809)
## Summary

Resolves https://github.com/elastic/kibana/issues/166095.

This updates the API Key management screen to reflect the copy
adjustments described in #166095:

1. Change `Cross-Cluster` to `Cross-cluster`, unless it is mid-sentence
in which case `cross-cluster` should be used.
2. Updated ownership & expiry warnings to use the active voice.
3. Renamed `Personal` API Keys to `User` API Keys.


![Larry Gregory 2024-01-29 at 10 12
45@2x](8df4e279-5d68-4353-87aa-e40e6949f528)

![Larry Gregory 2024-01-29 at 10 14
02@2x](290166ea-51a3-43ae-bed4-7278865b1bdc)

![Larry Gregory 2024-01-29 at 10 15
03@2x](97bb6426-e8ce-4bc1-b5ae-44944683978f)


![Larry Gregory 2024-01-29 at 10 15
27@2x](61adfece-05eb-4fbc-bf68-265d5cfaa987)


View docs changes here:
https://kibana_bk_175809.docs-preview.app.elstc.co/diff
2024-01-30 09:36:39 +01:00
Matthew Kime
b371171d86
[data views] Swap references API docs (#175183)
## Summary

Docs for the swap references api -
https://github.com/elastic/kibana/pull/163225

The docs are on the terse side - I think this makes sense since this is
a tool that should be used infrequently and only by people who use saved
object references.

---------

Co-authored-by: amyjtechwriter <61687663+amyjtechwriter@users.noreply.github.com>
Co-authored-by: Davis McPhee <davismcphee@hotmail.com>
2024-01-29 15:04:20 -06:00
DeDe Morton
9c180ebae5
[DOCS] Update Observability docs to fix problems found during testing (#175636)
## Summary

Adds fixes that have already been made in the serverless docs.

Closes
https://github.com/elastic/staging-serverless-observability-docs/issues/181

### Checklist

n/a

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2024-01-29 11:05:21 -08:00
István Zoltán Szabó
cec25fbfeb
[DOCS] Renames data comparison to data drift in docs (#175512) 2024-01-29 17:42:28 +01:00
Kevin Lacabane
9c6ff06e5f
[docs] kibana monitoring - remove elastic-agent monitoring tech preview section (#167867)
## Summary

Part of https://github.com/elastic/integrations/issues/8040

We're removing any beta/preview mention in the kibana package
2024-01-29 14:38:51 +01:00
Lisa Cawley
bf40a0d008
[Connectors][Case Management] Edit labels, automate screenshots (#172610) 2024-01-26 15:24:26 -07:00
Tim Sullivan
1c292409e1
[Reporting/CSV Export] Add setting to use PIT or Scroll API (#174980)
## Summary

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

This adds the `scroll` search API method as an option for CSV. To
achieve this, administrators can update `kibana.yml` with:
```
xpack.reporting.csv.scroll.strategy: scroll
```

The valid options for this setting are `scroll` and `pit`. The default
is `pit`.

### Design
The strategy option is only customizable in `kibana.yml` settings. It
can not be set on a per-report basis without changing the YML file and
restarting Kibana.

1. User sends a request to the Server to generate a CSV report.
2. Server creates a payload and adds a “strategy” setting from the
system configuration to the payload.
3. The Server stores the payload in the Queue.
4. The Queuing System triggers an action with the payload.
5. The system reads the “strategy” setting from the payload.
6. The system begins to export data using a method based on the
strategy.

```
User⎯Request → Server
                  ↓
                Task payload (with strategy added)
                  ↓
                Kibana Task Manager⎯Action → CSV Generator
```

### Other changes

1. Reorganize source files in the kbn-generate-csv package.

### Checklist

Delete any items that are not applicable to this PR.

- [x] Update "Inspect search in Dev Tools" for scroll option
- [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
- [ ] [Flaky Test
Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was
used on any tests changed
- [x] 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)

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2024-01-26 13:35:08 -07:00
Giorgos Bamparopoulos
35e7325753
Rename log_explorer and observability_log_explorer plugins (#175510)
- Rename `log_explorer` to `logs_explorer` and move it to an
`observability_solution` subfolder
- Rename `observability_log_explorer` to `observability_logs_explorer`
and move it to an `observability_solution` subfolder
- Use `renameFromRoot` to rename old configs 

Related to https://github.com/elastic/kibana/issues/171991 and
https://github.com/elastic/kibana/pull/170759

This PR is mostly focused on renaming the plugins, follow ups will be
created to change mentions of `log explorer`, `logExplorer` etc.

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Marco Antonio Ghiani <marcoantonio.ghiani01@gmail.com>
2024-01-26 16:10:27 +00:00
Lisa Cawley
20d8e1928b
[DOCS] Clarify ServiceNow ITSM connector recovery actions (#175353) 2024-01-25 11:34:30 -05:00
Anton Dosov
2ea91b14e7
[Docs] Clarifying CSV limitations (#175208)
## Summary 

Adding CSV limitations section
2024-01-25 11:04:15 -05:00
Lisa Cawley
d3c51c45eb
[OAS] Adds alerts data to get rule types API (#170702) 2024-01-23 11:03:30 -07:00
Lisa Cawley
3c190cbaa4
[DOCS] Fix release notes case heading (#175253) 2024-01-24 02:27:04 +10:30
Ying Mao
f067761ebc
[Response Ops][DOCS] Removing ESS icon from xpack.alerting.rules.maxScheduledPerMinute (#175211)
## Summary

User reported that this setting has an ESS icon indicating it's
available in cloud but it's actually not available in cloud. In the
future, if we want to create a cloud PR to add this setting, the icon
can be added back at that time.
2024-01-22 15:44:01 +00:00
Devon Thomson
64ebaffd89
[Embeddable Refactor] Create Decoupled Presentation Panel (#172017)
Closes https://github.com/elastic/kibana/issues/167426
Closes https://github.com/elastic/kibana/issues/167890

Contains much of the prep work required to decouple the Embeddables system from Kibana in anticipation of its deprecation and removal.

Co-authored-by: Nathan Reese <reese.nathan@gmail.com>
2024-01-17 17:13:02 -05:00
Liam Thompson
4f8d0710b5
[DOCS][SEARCH] Reword 8.12.0 Search enhancement release note (#175052) 2024-01-17 18:24:35 +01:00
amyjtechwriter
4b700f6394
[DOCS] Backport whats new 8.12 (#175030)
Incorrectly labelled the original What's New page PR for 8.12. Didn't
target 8.12 and incorrectly used backport:skip when the page needs to be
backported to 8.12. Backport tool was getting stuck in cherry-picking so
copied original branch and set this PR to target 8.12.0 to try resolve
the issue.

Relates to: #174447
2024-01-18 02:04:23 +10:30
natasha-moore-elastic
86a31db057
[DOCS] Documents Osquery Timeout setting (#174595)
Contributes to https://github.com/elastic/security-docs/issues/4536 by
documenting the new **Timeout** setting and `timeout` API parameter in
Osquery docs.

---------

Co-authored-by: nastasha.solomon <nastasha.solomon@elastic.co>
Co-authored-by: Benjamin Ironside Goldstein <91905639+benironside@users.noreply.github.com>
2024-01-17 15:29:23 +00:00
amyjtechwriter
c0642905d1
[DOCS] Whats new page 8.12 (#174447)
Adds the Whats New page for 8.12.0.

---------

Co-authored-by: lcawl <lcawley@elastic.co>
2024-01-17 11:37:55 +00:00
Drew Tate
b19b99532f
[Docs] Remove broken weak links fix plan (#174932)
## Summary

The broken weak links problem wasn't fixed in 8.1, so this statement is
now confusing.

An aliasing workaround [was
added](https://github.com/elastic/kibana/pull/149021) in 8.8 for those
customers who need it.

Better solutions
- use the [new links
panel](https://www.elastic.co/guide/en/kibana/current/dashboard-links.html)
for navigation between dashboards
- use [shareable
dashboards](https://github.com/elastic/kibana/issues/167901) to make
analytics stuff available in multiple spaces instead of copying (not yet
available)
2024-01-16 11:56:21 -06:00
Alberto Delgado Roda
128506c652
[Docs] remove .map from bundle_filepath value (#174834)
Part of
https://github.com/elastic/observability-docs/issues/3354#issuecomment-1849730927

## Summary

`bundle_filepath` should not contain `.map`.
2024-01-16 17:59:23 +01:00
amyjtechwriter
fcf59b6480
[DOCS] Adds more information how to handle a breaking change in 8.10.0 - SLOs (#174901)
A breaking change was introduced in 8.10.0, which makes SLOs created
before migration not work. They need to be removed and reset-up. The
release note in 8.10.0 did not make this clear. More information has
been added to the release note in this PR including steps to remove the
SLOs that no longer work.

Closes: #173938
2024-01-16 16:19:33 +00:00
Drew Tate
babd0ee341
[Lens][Docs] add metric coloring doc (#174405)
## Summary

Fix https://github.com/elastic/kibana/issues/174379

Adds an FAQ section for the coloring behavior of the metric
visualization

<img width="847" alt="Screenshot 2024-01-08 at 12 51 27 PM"
src="79a74a79-af07-474d-aceb-124d62dbee76">

---------

Co-authored-by: amyjtechwriter <61687663+amyjtechwriter@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2024-01-16 09:41:20 -06:00
Lisa Cawley
5d55ab930c
[DOCS] Refresh cases table screenshot (#174871) 2024-01-16 07:18:33 -08:00
amyjtechwriter
565cd99d60
[DOCS] Manually adding 8.11.4 release notes (#174849)
Adds the 8.11.4 release notes to 8.11.0. In the original release notes
PR I used the wrong label so the changes were not backported. The
backport tool kept getting stuck in the cherry-picking state.

Original PR: #174636
2024-01-16 13:59:40 +00:00
Matthew Kime
acdaf0127e
[data views] cache field caps requests (#168910)
## Summary

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

Field caps request caching - implement `stale-while-revalidate` cache
headers and etags with 304 responses as appropriate.

This PR accomplishes
- Adds 304 Not Modified to http server
- Adds refresh button to data view management that force refreshes field
list
- Adds `/internal/data_views/fields` endpoint which supports caching. 
- This is necessary since `fields_for_wildcard` doesn't support caching
due to POST requests
- Adds `stale-while-revalidate` header directive UNLESS field list is
empty.
- Uses Vary header with hash of user id to force requests when user has
changed.
- Unchanged field list responses won't recreate data view field list

### How to test
1. Pop open the dev tools to the network tab and make sure 'Disable
cache' is unchecked. filter for 'fields' requests
2. Load more than one data set (sample data is fine)
3. Go to discover
4. Switch selected data views. Notice status code on first load vs
subsequent loads
5. Open a new window, notice loading from cache
6. Push document that changes field list. You'll need to wait for cache
to expire for it to load. The default is 5s.
7. Notice that field list loads after cache is old properly result in
304 response.
8. Set `data_views:cache_max_age`, shift reload. No field requests will
be cached.

#### Note on Safari

Safari doesn't support the `stale-while-revalidate` directive.
Additionally, the Safari dev console shows 304 responses as 200's. I
figured this out by adding console statements to the fields endpoint. As
best I can tell, Safari won't be performant on slow clusters but its
also no slower than it was before this PR. Safari does respect the
disabling of cache headers.

## Release note

Data View field list requests are now cached with a
`stale-while-revalidate` strategy. This means that after the initial
field list request, all subsequent requests return the cached response
which is very fast. If the cache is determined to be stale then the
cache will update in the background and new data will be available on
the next request.

This behavior can be modified via the `data_views:cache_max_age` Kibana
advanced setting. Setting it to zero will disable the cache. All other
values (in seconds) will be used to determine whether the cache is
stale. The default value is 5 seconds.

The field list can be manually updated via the refresh button in data
view management or a hard refresh with your browser.

Note for Safari: The `stale-while-revalidate` cache directive is
unsupported, therefore it makes additional requests. If this is
impacting Kibana performance then try Chrome or Firefox.

Data View Management

<img width="1064" alt="Screenshot 2024-01-09 at 1 36 20 PM"
src="f272c19f-81b4-4697-9303-b1f8f150e2b9">

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Matthias Wilhelm <matthias.wilhelm@elastic.co>
Co-authored-by: amyjtechwriter <61687663+amyjtechwriter@users.noreply.github.com>
Co-authored-by: Julia Rechkunova <julia.rechkunova@elastic.co>
Co-authored-by: Julia Rechkunova <julia.rechkunova@gmail.com>
2024-01-16 06:54:38 -06:00
Lisa Cawley
02ea9192f7
[RAM][[Maintenance Window][DOCS] Maintenance window scoped query automated screenshots (#174315) 2024-01-15 13:22:33 -08:00
Jake Smith
8f078224aa
Add IP Prefix Aggregation-based Visualization (#173474)
## Summary

Closes #156121

This PR is for Issue #156121 and adds the ability to perform [IP
Prefix](https://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-bucket-ipprefix-aggregation.html)
aggregation-based visualizations within the Kibana UI. Previously this
aggregation could only be done in DevTools as a manual query to
Elasticsearch and not visualized.


![image](7e049da9-fd42-41f6-bbaf-99d3d6cb0790)


![image](dcfae012-9d06-4346-9118-3965434ff8b8)


### Various Notes

* The following two folders & their subfolders had files modified for
this
  * src/plugins/vis_default_editor/public/components
  * src/plugins/data/common/search/aggs
* I spent a fair amount of time debating & attempting to build the
PrefixLength Input boxes and their interplay with the is_ipv6 toggle
button. Originally I tried having only 1 PrefixLength button that the
toggle switch would modify the max value / validate the contents of.
* In the end, it seemed much cleaner & straightforward to have two
separate input boxes (both prefix_length.tsx components) and just create
them with different options. This means that when a user toggles the
switch back and forth, they would be seeing/editing two different Prefix
Length boxes depending on which way the switch is.
* To make it a little more clear they are different boxes, I put "IPv4"
and "IPv6" in the label name for these boxes. Additionally, I think it
is helpful this way if you are potentially swapping back and forth
between v4 and v6 visualizations.
* There is 4 new unit tests, all related to input options, added in the
ip_prefix_fn.test.ts file
* Note - here is a test CSV file of IPv4 addresses one could import to
test locally and see this addition.

[alphadataset.csv](13691358/alphadataset.csv)
* Configure the Override settings in this way if uploading it to
Kibana/Elastic
  * 

![image](34ce701a-f4d5-4107-8a08-c6195e21c169)


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


### Risk Matrix

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 |

|---------------------------|-------------|----------|-------------------------|



### 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: Stratoula Kalafateli <efstratia.kalafateli@elastic.co>
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2024-01-15 13:07:55 +01:00
Søren Louv-Jansen
0dd4e37141
[APM] Add feature flag for APM table search (#174750)
This adds a feature flag for table search
(https://github.com/elastic/kibana/issues/127036). The feature itself is
being worked on in https://github.com/elastic/kibana/pull/174490
2024-01-12 19:52:09 +01:00
amyjtechwriter
947f25ffa1
[DOCS] Adds 8.12.0 release notes (#174429)
Adds the 8.12.0 release notes

---------

Co-authored-by: István Zoltán Szabó <istvan.szabo@elastic.co>
Co-authored-by: Jeramy Soucy <jeramy.soucy@elastic.co>
Co-authored-by: Matthias Wilhelm <ankertal@gmail.com>
Co-authored-by: Stratoula Kalafateli <stratoula1@gmail.com>
2024-01-10 18:10:37 +00:00
amyjtechwriter
ed7c6477ce
[DOCS] Adds the 8.11.4 release notes (#174636)
Adds the 8.11.4 release notes (there aren't any for Kibana in this
release).
2024-01-10 17:23:55 +00:00
Lisa Cawley
2614e92c4c
[Connectors][ServiceNow SecOps] Automate screenshots, add cross-scope privileges (#173941) 2024-01-09 13:53:38 -07:00
Lisa Cawley
f567016b76
[DOCS] Copy file hash in cases (#174414) 2024-01-09 11:48:53 -08:00
Cecilia Bollini
de961a54a7
Remove Gainsight from cloud plugin (#172318)
## Summary
- Remove gainsight plugin from cloud plugin
- add config deprecation in fullstory



Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2024-01-09 10:21:56 +00:00
Lisa Cawley
ee0cb0b541
[DOCS] Add new sub feature privilege to prevent access to the cases settings (#174223) 2024-01-08 08:58:38 -07:00
Kyle Pollich
7a613fb6cb
[Fleet] Add xpack.fleet.isAirGapped flag (#174214)
## Summary

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

Adds a new `xpack.fleet.isAirGapped` flag to `kibana.yml` that allow
users in air-gapped environments to inform Fleet that it should "fail
fast" and skip unnecessary requests that won't be possible as Kibana
doesn't have internet access.

This PR also uses the new flag to skip the API request to the
`product_versions` API if the airgapped flag is set to true. There are
probably other places we could use this flag in a similar way, but they
can be handled separately from this PR.

### Checklist

Delete any items that are not applicable to this PR.

- [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
2024-01-04 09:22:20 -05:00
Sander Philipse
07948b9239
[Serverless Search] Add consistent toast messages for all APIs (#173989)
## Summary

This adds default error toast messages to all API calls in the
Serverless Elasticsearch plugin, and provides some ways to skip or
modify the toasts.

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2024-01-04 00:45:10 -07:00
Lisa Cawley
4ff1f5941f
[DOCS] Warn against using ES|QL query rules on production environments (#174130) 2024-01-04 02:46:43 +10:30
amyjtechwriter
e352943ee8
[DOCS] Update tech preview to warn against using ES|QL in production (#174109)
## Summary
Adds the sentence "Do not use ES|QL on production environments." to the
ES|QL tech preview banner on pages:

https://www.elastic.co/guide/en/kibana/current/esql.html
https://www.elastic.co/guide/en/kibana/current/try-esql.html

Relates to:
[#103797](https://github.com/elastic/elasticsearch/pull/103797)
2024-01-03 14:19:18 +00:00
Alex S
96ada94723
Change POST to PUT and _security to security for API example (#173453)
## Summary

Just a small Doc Update. In the first example a POST was used and
towards a non existing handle (`_security` instead of `security`)

In the basic license example posted below this one, this is already
correct.

### Checklist

All checked - none applied. 
(Though first PR in this repository, I am sorry if any mistakes were
made. If so - please point them out, will do better next time 😅 )

---------

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2024-01-03 15:07:21 +01:00
Jorge Sanz
f91df9c761
[Docs][Maps] Update the asset tracking tutorial (#173999)
Fixes #167484

Updates the [asset tracking
tutorial](https://www.elastic.co/guide/en/kibana/current/asset-tracking-tutorial.html)
with the following improvements:

* From #167484, @Danouchka contributed improvements to the way the
Elasticsearch assets are defined to work with Elastic Agent
* Moved some content to use the Kibana Console to generate assets,
instead of going through all the UI elements
* Updated references to the data that tracks not only Portland buses but
also trains and light trains
* Replaces the alert to use the Index connector
* Adds a new section on visualizing the alerts
* Images updated to Kibana 8.11 UI
2024-01-03 14:29:39 +01:00
Larry Gregory
d76e059173
Clarify spaces documentation (#173866)
Clarifies language for securing access to spaces.
2023-12-21 14:33:53 -05:00
Jon
229e7eff0c
[ci] Remove jenkins config (#173745)
We've migrated off and shut down our instance. These files are no longer
needed.
2023-12-21 12:09:43 -06:00
Lisa Cawley
0ac7dbd4f6
[Connectors][IBM Resilient] Edit required labels and automate screenshots (#166022) 2023-12-20 08:11:24 -08:00
Lisa Cawley
3df2c4f966
[DOCS] Automate Tines connector screenshots (#166313) 2023-12-19 21:31:11 -07:00
Mykola Harmash
c627907733
[ObsUX] Add UI Setting for controling Profiling visibility in Infra (#173294)
Closes https://github.com/elastic/kibana/issues/173154

Adds a UI setting to control Infra+Profiling integration from Kibana's
Advanced Settings as well as from the Infra Settings screen.

Note that the plugin config feature flag is still there because I
realized we need it to disable Profiling integration in serverless.



2a5ace9d-9e18-49a4-be95-c722f24072a7

### How to test

* Make sure profiling is enabled in `kibana.dev.yml`
```
xpack.profiling.enabled: true
```
* Start kibana in traditional mode, go to Infra Settings
* Make sure there is the new toggle for Profiling integration and it's
on
* Go to one of your host's details and make sure you see the profiling
tab
* Toggle the Profiling integration setting off and check that the tap in
host details is not visible

* Start kibana in serverless mode
* Make sure there is no new setting neither in Infra Settings nor in
Advanced Settings
* Make sure Profiling tab is not visible in host details

---------

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2023-12-19 08:48:35 -07:00
David Kilfoyle
c7fabda4c5
[DOCS] Add 'secrets' to Fleet settings page (#172637)
This updates the list of available Fleet settings in the Kibana docs, as
follows:

- Moves the `config` and `proxy_id` settings from the Required to the
Optional section of `xpack.fleet.outputs`. CC @nchaulet since the
settings were added to the docs via
https://github.com/elastic/kibana/pull/158771). [See orange highlight]
- Adds the `ssl` setting with the `certificate` property (this setting
is already available but doesn't appear to have been documented). [See
red highlight]
- Adds the new `secrets` setting, with SSL `key` as a property. [See
blue highlight]
 - Adds an example output configuration. [See green highlight]

Rel: https://github.com/elastic/ingest-docs/issues/692
See [docs
preview](https://kibana_172637.docs-preview.app.elstc.co/guide/en/kibana/master/fleet-settings-kb.html)

---

![Screenshot 2023-12-05 at 4 22 42
PM](a547bad7-57aa-4470-8328-30b80f257973)
2023-12-14 11:01:26 -05:00