Commit graph

342 commits

Author SHA1 Message Date
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
Steph Milovic
bacebd27e0
[Security solution] AWS Bedrock connector (#166662) 2023-09-27 16:44:52 -06:00
Lisa Cawley
78e887884c
[DOCS] Move preconfigured Tines connector details (#166217)
Co-authored-by: Ying Mao <ying.mao@elastic.co>
2023-09-25 17:58:53 -07:00
Lisa Cawley
e74ec69a0f
[DOCS] Move preconfigured Torq connector details (#166218) 2023-09-25 08:55:25 -07:00
Lisa Cawley
3f3a27b20a
[DOCS] Move preconfigured generative AI connector details (#165418) 2023-09-20 09:22:28 -07:00
Lisa Cawley
a3a2f402fe
[DOCS] Move preconfigured Swimlane connector details (#163547) 2023-09-19 11:31:22 -07:00
Lisa Cawley
ef020b293f
[DOCS] Add preconfigured webhook connector settings (#166289) 2023-09-14 11:26:21 -07:00
Lisa Cawley
91d0d7096a
[DOCS] Move preconfigured email connector details (#165181) 2023-09-14 07:59:53 -07:00
Lisa Cawley
0f1b5a23e1
[DOCS] Move preconfigured D3 Security connector details (#166112)
Co-authored-by: Ying Mao <ying.mao@elastic.co>
2023-09-12 10:17:53 -07:00
Lisa Cawley
982b2c86bd
[DOCS] Move preconfigured IBM Resilient connector details (#166020) 2023-09-12 08:22:35 -07:00
Lisa Cawley
5e5e4cfc0a
[DOCS] Move preconfigured Slack connector details (#166212) 2023-09-12 08:20:43 -07:00
Lisa Cawley
127d4dfce7
[DOCS] Move preconfigured Microsoft Teams connector details (#166119) 2023-09-11 16:14:09 -07:00
Lisa Cawley
7267efec49
[DOCS] Move preconfigured xMatters connector details (#165923) 2023-09-11 14:25:16 -07:00
Lisa Cawley
aa6ad19335
[DOCS] Move preconfigured webhook case management connector details (#166106) 2023-09-08 16:53:54 -07:00
Lisa Cawley
d589cf246a
[DOCS] Move preconfigured Jira connector details (#165920)
Co-authored-by: Ying Mao <ying.mao@elastic.co>
2023-09-08 15:03:25 -04:00
Alexi Doak
03f0cdc327
[ResponseOps][Alerting] Create xpack.actions.queued.max circuit breaker (#164632)
Resolves https://github.com/elastic/kibana/issues/162264


## Summary

Adds a limit on the maximum number of actions that can be queued with a
circuit breaker. The limit in serverless is set to 10,000, and 1,000,000
in the other environments.

- If a rule execution exceeds the limit, the circuit breaker kicks in
and stops triggering actions.
- Alerting rule's status updated to warning when circuit breaker is hit

Did not update the `enqueueExecution` bc it's going to be removed in
https://github.com/elastic/kibana/pull/165120.


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


### To Verify

- Create a 2 rules that have actions
- Set `xpack.actions.queued.max` in kibana.yml to a low number like 2 or
3
- Use the run soon button to queue up actions and hit the circuit
breaker.
- The actions will not be scheduled and the rule status will be set to
warning

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2023-09-07 06:59:01 -07:00
Lisa Cawley
977d7f8628
[DOCS] Move preconfigured PagerDuty connector details (#165361) 2023-09-06 14:39:40 -07:00
Jiawei Wu
456f47f3ab
[RAM] Introduce maxScheduledPerMinute rule circuit breaker and route (#164791)
## Summary
Resolves: https://github.com/elastic/kibana/issues/162262

This PR is the backend changes to add a circuit breaker
`xpack.alerting.rules.maxScheduledPerMinute` to both serverless and
other environments that limits the number of rules to 400 runs / minute
and 10000 runs / minute, respectively. There will be another PR to
follow this one that gives the user UI hints when creating/editing rules
that go over this limit.

This circuit breaker check is applied to the following routes:
- Create Rule
- Update Rule
- Enable Rule
- Bulk Enable Rule
- Bulk Edit Rule

Also adds a new route: `/internal/alerting/rules/_schedule_frequency` to
get the current total schedules per minute (of enabled rules) and the
remaining interval allotment.

### Checklist
- [x] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: lcawl <lcawley@elastic.co>
Co-authored-by: Xavier Mouligneau <xavier.mouligneau@elastic.co>
2023-09-06 09:13:36 -07:00
Lisa Cawley
9b963bfe33
[DOCS] Move preconfigured index connector details (#165277) 2023-09-05 18:32:50 -07:00
Lisa Cawley
6b6dcdb7c3
[DOCS] Move preconfigured Opsgenie connector details (#165258) 2023-09-05 08:15:22 -07:00
Lisa Cawley
a5343ee7c8
[DOCS] Move preconfigured server log connector details (#164898) 2023-08-30 08:05:16 -07:00
James Rodewig
00853534c8
[DOCS] Add examples for proxyBypassHosts and proxyOnlyHosts settings (#164981)
Adds example values for the `xpack.actions.proxyBypassHosts` and `xpack.actions.proxyOnlyHosts` settings.

Closes https://github.com/elastic/kibana/issues/139560
2023-08-29 16:13:27 -04:00
Mike Côté
327af6ca2e
Add warning for max alerts circuit breaker (#164217)
In this PR, I'm adding a warning message to the docs for the
`xpack.alerting.rules.run.alerts.max` setting that indicates the
consequences when setting a value higher than the default, while also
indicating it's not supported.

<img width="862" alt="Screenshot 2023-08-21 at 5 03 52 PM"
src="46a7f5d6-f6d5-475a-ab93-edf256eb9141">

cc @lcawl

---------

Co-authored-by: Lisa Cawley <lcawley@elastic.co>
2023-08-22 07:01:29 -04:00
Tim Sullivan
9da44e3571
[Reporting/Docs] Tighten the language around CSV settings (#163505)
## Summary

Docs request to tighten the language around csv.maxSizeBytes on this
[page](https://www.elastic.co/guide/en/kibana/8.8/reporting-settings-kb.html#reporting-csv-settings).

- [x] test the links

Closes: https://github.com/elastic/kibana/issues/159112
Replaces: https://github.com/elastic/kibana/pull/161189

---------

Co-authored-by: Amy Jonsson <amy.jonsson@elastic.co>
Co-authored-by: amyjtechwriter <61687663+amyjtechwriter@users.noreply.github.com>
2023-08-15 09:18:49 -07:00
amyjtechwriter
7ef303eb36
[DOCS]Adding ESS icon to xpack.security.session.сoncurrentSessions.maxSessi… (#162493)
`xpack.security.session.сoncurrentSessions.maxSessons` in Kibana docs.

## Summary

Adding the Elastic Cloud icon to
`xpack.security.session.сoncurrentSessions.maxSessons` security setting
on [docs
page](https://www.elastic.co/guide/en/kibana/current/security-settings-kb.html).
Need to raise another PR from cloud repo to add security setting to
[cloud docs
page](https://www.elastic.co/guide/en/cloud/current/ec-manage-kibana-settings.html#ec-kibana-config).

Relates to: #160958
2023-07-31 12:26:23 +01:00
Brandon Morelli
d728789f55
[APM] Add missing settings to documentation (#161603)
### Summary

This PR adds missing APM/Observability settings to the documentation:

- `observability:apmAgentExplorerView`
- `observability:apmAWSLambdaPriceFactor`
- `observability:apmAWSLambdaRequestCostPerMillion`
- `observability:apmEnableContinuousRollups`
- `observability:apmEnableServiceMetrics`
- `observability:apmLabsButton`
- `observability:apmServiceGroupMaxNumberOfServices`
- `observability:apmDefaultServiceEnvironment`

This PR also adds @elastic/obs-docs as a codeowner to
`/x-pack/plugins/observability/server/ui_settings.ts` so that we don't
miss documenting settings moving forward.

Closes https://github.com/elastic/kibana/issues/118795.
2023-07-13 15:33:01 -07:00
Lisa Cawley
64ab4fda32
[DOCS] Fix formatting in alerting settings (#159753) 2023-06-15 07:24:38 -07:00
Steph Milovic
f5e79f7626
D3 Security Sub Actions Connector (#158569) 2023-06-05 07:53:04 -06:00
Alejandro Fernández Haro
312ba3a758
[Telemetry] Update notice message (#158669)
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Jean-Louis Leysens <jloleysens@gmail.com>
2023-06-01 17:53:02 +02:00
David Kilfoyle
3ac1666c1d
[Docs] Add new Fleet preconfiguration settings (#158771)
This adds new Fleet preconfiguration settings to the Kibana [Fleet
settings](https://www.elastic.co/guide/en/kibana/master/fleet-settings-kb.html)
page. I also moved the "example configuration" to right below the
`xpack.fleet.agentPolicies` setting, since that's what's shown in the
example.

[Preview
page](https://kibana_158771.docs-preview.app.elstc.co/guide/en/kibana/master/fleet-settings-kb.html)

Closes: https://github.com/elastic/ingest-docs/issues/191
2023-06-01 10:51:55 -04:00
Stef Nestor
f5d37e75fa
[DOC+] Move logging location reference (#158521)
Per https://github.com/elastic/kibana/pull/158379 , this moves the "this is
where you find Kibana logs on the server" from under [Kibana Not Ready error](https://www.elastic.co/guide/en/kibana/master/access.html#not-ready)
onto the [Log Settings](https://www.elastic.co/guide/en/kibana/master/logs-ui-settings-kb.html) page.
2023-06-01 07:50:02 -06:00
Alejandro Fernández Haro
995b0a46e9
[DOCS] Telemetry settings: improve phrasing (#158396) 2023-05-25 16:46:08 +02:00
Steph Milovic
029eb3104a
[Security solution] Generative AI Connector (#157228) 2023-05-24 15:47:35 -07:00
Lisa Cawley
668968b758
[DOCS] Replace description attributes with frontmatter for migration (#158126) 2023-05-24 08:16:43 -07:00
Alejandro Fernández Haro
069af32d4b
[Telemetry] Change Privacy Statement Link (#156845) 2023-05-05 08:54:08 -07:00
Lisa Cawley
7efe3d53c6
[DOCS] Edits Kibana alerting settings (#155318) 2023-04-27 07:26:19 -07:00
Mike Côté
d2c905bef5
Deprecate usage of ephemeral tasks (#154275)
Resolves https://github.com/elastic/kibana/issues/151457.

In this PR, I'm deprecating ephemeral tasks and their related settings.
The following settings have been deprecated with proper warning
messages:
- `xpack.task_manager.ephemeral_tasks.enabled`
- `xpack.task_manager.ephemeral_tasks.request_capacity`
- `xpack.alerting.maxEphemeralActionsPerAlert`

## To verify

1. Set the following in your `kibana.yml`
```
xpack.task_manager.ephemeral_tasks.enabled: true
xpack.task_manager.ephemeral_tasks.request_capacity: 10
xpack.alerting.maxEphemeralActionsPerAlert: 10
```
2. Start up Kibana
3. Notice the deprecation warnings about these settings appear in the
logs
4. Remove settings from step 1

## Sample warning logs

```
[2023-04-18T09:45:36.731-04:00][WARN ][config.deprecation] Configuring "xpack.alerting.maxEphemeralActionsPerAlert" is deprecated and will be removed in a future version. Remove this setting to increase action execution resiliency.
[2023-04-18T09:45:36.732-04:00][WARN ][config.deprecation] Configuring "xpack.task_manager.ephemeral_tasks.enabled" is deprecated and will be removed in a future version. Remove this setting to increase task execution resiliency.
[2023-04-18T09:45:36.732-04:00][WARN ][config.deprecation] Configuring "xpack.task_manager.ephemeral_tasks.request_capacity" is deprecated and will be removed in a future version. Remove this setting to increase task execution resiliency.
```

### Release notes

The following settings have been deprecated. Remove them to increase
task execution resiliency.
- `xpack.task_manager.ephemeral_tasks.enabled`
- `xpack.task_manager.ephemeral_tasks.request_capacity`
- `xpack.alerting.maxEphemeralActionsPerAlert`

---------

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: lcawl <lcawley@elastic.co>
2023-04-20 07:14:04 -04:00
Patrick Mueller
bcfe4b0005
[ResponseOps] provide config to turn off email action footer (#154919)
resolves https://github.com/elastic/kibana/issues/135402

Allows deployments to not have the default footer added to alerting
emails via the new `xpack.actions.enableFooterInEmail` config setting.
The default value is `true`, which renders the footer.  Setting the
value to `false` will cause no footer to be rendered.

Also changes the footer separator from `--` to `---`, which renders
nicer in HTML, as a `<hr>` element.
2023-04-17 11:19:16 -04:00
Jonathan Buttner
f111d93d08
[Cases] Adding cases settings docs (#154672)
This PR adds the new configuration settings to the docs. The
configurations were added in this PR:
https://github.com/elastic/kibana/pull/154013

---------

Co-authored-by: lcawl <lcawley@elastic.co>
2023-04-11 22:15:26 -04:00
Yngrid Coello
628db34d8a
[APM] Display latest agent version in agent explorer (#153643)
Closes https://github.com/elastic/kibana/issues/152326.

### Changes
- `fetchWithTimeout` function was added, so we can fetch the external
bucket where the versions are with a timeout. This is mostly useful for
air-gapped environments.
- `fetchAgentsLatestVersion` was introduced an it's in charge of
fetching the bucket and handling the errors accordingly.
- `getAgentsItems` now returns `latestVersion` property for each agent.
- New column was created in the UI to list the latestVersion per agent.

When no timing out


https://user-images.githubusercontent.com/1313018/227519796-e5569475-451d-4c04-8243-d18c8e7126c3.mov

When timing out


https://user-images.githubusercontent.com/1313018/227520011-ae616a07-e87b-4d0f-bd29-4b3338aa5df2.mov

### Pending

- [ ] Replace bucket URL with production bucket url

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2023-04-11 14:31:13 +02:00
Lisa Cawley
f446b3cda5
[DOCS] Remove obsolete X-Pack settings page (#154683) 2023-04-10 19:34:34 -07:00
David Kilfoyle
da4e7826c4
[DOCS] Add details to xpack.fleet.outputs settings (#154247)
This updates the [Fleet settings in
Kibana](https://www.elastic.co/guide/en/kibana/current/fleet-settings-kb.html)
page with details for the `xpack.fleet.outputs` settings.

@nchaulet and @jeanfabrice In addition to what we discussed I updated
the `is_default` setting as well, but it probably could use some fixing
up (i.e., is the setting for "all non-monitoring data" or something
else)?

Preview:

![Screenshot 2023-04-03 at 9 25 55
AM](https://user-images.githubusercontent.com/41695641/229524885-f468deff-947f-4ae8-8f87-5044ca3eae7f.png)
2023-04-03 10:04:18 -04:00
Achyut Jhunjhunwala
c0a1f072ef
[APM]update kibana docs for maxTraceItems (#151734)
## Summary

Since we have this PR merged -
https://github.com/elastic/kibana/pull/149062 the documentation too
needs to be updated
2023-02-22 10:09:43 +01:00
Thomas Watson
e7ebb0cf40
[docs] Document new maxSessions config option (#151268) 2023-02-16 13:00:13 -05:00
Nate
92cb000a2f
Add Torq Connector (#149405)
## Summary

Add a new action type for Torq which triggers Torq workflows.

This is a re-do of https://github.com/elastic/kibana/pull/139635 ...

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


### 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: orihoogi <ohoogi@gmail.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2023-01-31 16:25:46 +01:00
Brandon Morelli
b90ddba882
docs: remove xpack.apm.searchAggregatedTransactions (#149896)
### Summary

This PR reverts https://github.com/elastic/kibana/pull/82379 and removes
`xpack.apm.searchAggregatedTransactions` from the documentation. This is
for https://github.com/elastic/apm-server/pull/10140:

> Removing transaction metrics config as they are not officially
supported.
2023-01-30 14:33:03 -08:00
Yngrid Coello
3d3a885ad7
[APM] Show warning if transaction groups are dropped (#148625)
Closes https://github.com/elastic/kibana/issues/146648.

### Changes
- `transaction_detail_link.tsx` prevent navigation to tx details when
bucket name is other and display the warning tooltip
- `xpack.apm.ui.transactionGroupBucketSize` ui setting was removed and
now we have a hardcoded limit of `1000` buckets when querying
transactions.

**After this change**


https://user-images.githubusercontent.com/1313018/214321647-e0ae59d6-0761-4d9e-a0fe-ef21397aeff7.mov


- When kibana limit has been reached
<img width="1391" alt="image"
src="https://user-images.githubusercontent.com/1313018/214321902-05fbfa6c-7c99-4b21-a67b-7e134c14ab73.png">

- When having only `_other`
<img width="1390" alt="image"
src="https://user-images.githubusercontent.com/1313018/214332887-d6fd59a2-d1ef-4b61-b6ed-79a6d458f0a0.png">

### Test instructions
1. Checkout PR branch
2. Execute Synthtrace scenario
    a. For reaching kibana limit callout
        ```
node scripts/synthtrace --clean other_transaction_group_bucket.ts
--scenarioOpts.txGroups=1001
        ```
    b. For `_other` callout
        ```
node scripts/synthtrace --clean other_transaction_group_bucket.ts
        ```

---------

Co-authored-by: Achyut Jhunjhunwala <achyut.jhunjhunwala@elastic.co>
2023-01-30 15:40:25 +01:00
gchaps
803c8df070
[DOCS] Updates telemetry settings (#149651)
## Summary

This docs updates the content for the telemetry settings.
2023-01-27 07:06:16 -08:00