Commit graph

653 commits

Author SHA1 Message Date
Niels Bauman
1175fc6cc8
Fix default search timeout in watcher docs (#106404) (#106504) 2024-03-19 15:07:03 -04:00
Jake Landis
334d7f5026
OIDC doc - mention client secret needs a restart (#106088) (#106090) 2024-03-07 16:21:14 -05:00
James Rodewig
56bb702d5a
[7.17] [DOCS] Fix double-slash in link (#99205) (#99244)
Closes https://github.com/elastic/platform-docs-team/issues/195
2023-09-06 09:55:27 -04:00
Nikolaj Volgushev
83e916a9ec
Resolve conflict (#98311)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2023-08-09 09:45:25 -04:00
Jake Landis
2e2f3ad01a
[7.17] Update certs for PKI tests and re-enable tests (#97766) (#97988)
* Update certs for PKI tests and re-enable tests (#97766)

The certs for the PKI tests expired and the test was muted.
This commit follows the instructions in the read to update the certs and unmutes the test.
The certs will now expire 20 years from now.

fixes: #97756

* precommit
2023-07-26 20:52:17 -04:00
Slobodan Adamović
22ca339c4d
[7.17][DOC] Consistently reference indices parameter in API key examples (#97268)
Backports the following commits to 7.17:  - [DOC] Consistently reference
indices parameter in API key examples (#97174)
2023-06-30 04:03:59 -04:00
Tim Vernum
19d6efa282
[DOCS] Recommend API service tokens (over file) (#96091) (#96121)
File based service tokens were added to support orchestration
requirements in environments such as ECE and ECK. Outside of these
environments we recommend that API based tokens are used instead.

Resolves: #83491
2023-05-16 00:58:33 -04:00
Pablo Alcantar Morales
50880a5d1b
fix typo in cron.asciidoc (#95181) (#95184) 2023-04-12 08:08:16 -04:00
Abdon Pijpelink
21b4ea2a6d
[DOCS] clarify v7 file realm configuration (#94778)
* [DOCS] clarify v7 file realm configuration

* Update x-pack/docs/en/security/authentication/configuring-file-realm.asciidoc

Co-authored-by: Yang Wang <ywangd@gmail.com>

---------

Co-authored-by: Yang Wang <ywangd@gmail.com>
2023-03-29 11:53:45 +02:00
David Roberts
a59a039df7
[DOCS] Clarify capabilities of built-in editor role (#93260) (#93268)
The built-in `editor` role allows "all" access to all Kibana
features, but only read access to data indices. This doesn't
work well for functionality that spans Kibana and Elasticsearch
and allows the user to choose their own results index, like
ML data frame analytics.

This change adjusts the notes on the `editor` role to make clear
that in this case an additional role must be granted to give the
necessary access on the data index that the results will be
written to.
2023-01-26 09:09:54 -05:00
Ry Biesemeyer
17dc33d776
docs: use valid settings in examples (#92651) (#92694)
Logstash Central Management allows key/value map for pipeline
settings, but the Elasticsearch API does not perform validation
of the provided settings. Here, we remove from our examples
settings that have no semantic meaning to Logstash, and replace
them with a meaningful key/value pair
2023-01-05 20:38:15 -08:00
Yang Wang
a6857c708d
[Doc] Clarify that SAML nameid value is whitespace trimmed (#91374) (#91601)
Unlike other SAML attributes, the value of SAML nameid is trimmed for
any leading or trailing whitespace.
2022-11-15 20:27:22 -05:00
Adam Locke
d90237ae16
Removed note saying DLS/FLS disable shard request cache (#90885) (#90924)
(cherry picked from commit a39a18b2c1)

# Conflicts:
#	x-pack/docs/en/security/authorization/field-and-document-access-control.asciidoc

Co-authored-by: Arpit Bhardwaj <arpitbhardwaj09@gmail.com>
2022-10-14 14:03:09 -04:00
Iraklis Psaroudakis
0feefdec5b
Clarify watcher action uses PagerDuty API v2 (#90800) (#90909)
Add a note to help avoid the confusion stemming from the fact that the watcher attributes
still have names which seem to match the PagerDuty Events API v1 despite the fact that we are
actually now using v2 of that API.

Delete outdated screenshots

Co-authored-by: Iraklis Psaroudakis <kingherc@gmail.com>

Co-authored-by: Tom Sparrow <793763+sparrowt@users.noreply.github.com>
2022-10-14 08:31:49 -04:00
Lisa Cawley
4a33266e52
[7.17] [DOCS] Fix links to .NET and PHP clients (#90276) (#90438) 2022-09-29 10:16:10 -07:00
Yang Wang
af1d803853
[Doc] Fix typo for the default role mapping file (#90049) (#90078)
The file name should be role_mapping.yml instead of role_mappings.yml,
i.e. NOT plural.
2022-09-15 10:57:10 +09:30
Nikolaj Volgushev
1d98eeb714
Recommend ssha256 cache hasher in FIPS docs (#87255) (#88717)
Our docs currently recommend PBKDF2 as a cache hasher in FIPS mode.
However, the performance overhead of PBKDF2 is prohibitive; ssha256
is a more appropriate choice for in-memory credential hashing. This PR
updates the docs to reflect this. See #86740 for more context.
2022-08-04 11:55:19 +02:00
Justin Cranford
cccaf796d2
Mention _async_search internal user which was added in 7.7 (#89050) (#89098)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2022-08-04 06:30:34 +09:30
Justin Cranford
246378b0c0
Backport OIDC test fix from 8.x #86035 to 7.17 (#88868)
Closes #85918
2022-08-03 13:51:06 -04:00
Slobodan Adamovic
b7a6b02354
Fix audit logging to consistently include port number in origin.address (#86732) (#86969)
This commit changes audit logging of `connection_denied`
and `connection_granted` events in order to include a port number.

Closes elastic/elasticsearch#86694

(cherry picked from commit 954d288f45)

# Conflicts:
#	x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/audit/AuditTrail.java
#	x-pack/plugin/security/src/main/java/org/elasticsearch/xpack/security/audit/AuditTrailService.java
2022-05-20 08:50:35 -04:00
Rene Groeschke
c37d2626b1
[7.17] Port gradle docs test plugin to use internal yaml rest test plugin (#86598) (#86678)
Backports the following commits to 7.17:
 - Port gradle docs test plugin to use internal yaml rest test plugin (#86598)
2022-05-11 15:42:03 +02:00
EdwynPe
5b227c5e78
Role descriptor link (#83753)
Add a reference to the role descriptor
2022-03-15 14:30:34 -04:00
Navanit-git
9dd5717355
[DOCS] Fix intro for "Encrypt HTTP client communications for Kibana" (#84237)
Updates the intro to the  "Encrypt HTTP client communications for Kibana" so it aligns with the order of the following subsections.

Co-authored-by: James Rodewig <40268737+jrodewig@users.noreply.github.com>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2022-02-25 10:37:19 -05:00
Johannes Mahne
b98036c653
DOCS Security audit ignore for the action event field (#83583)
Security audit ignore filter policies work on the audit event's action field.
2022-02-22 18:17:47 +02:00
James Rodewig
89de0f1c12
[DOCS] Update multi-target syntax refs (#83703) (#83747)
(cherry picked from commit 6522e6eea2)

# Conflicts:
#	docs/reference/snapshot-restore/apis/create-snapshot-api.asciidoc
2022-02-09 13:44:37 -05:00
Dan Roscigno
039480c392
Minor typo, attribute -> attributes (#83150) (#83163)
In the SAML configuration for Elasticsearch the settings for `attributes.principal` and `.groups` are listed in the detail as `attribute.`, missing `s`
2022-01-26 12:06:53 -05:00
Przemyslaw Gomulka
b4f17d4ae8
[7.17[ Emit trace.id into audit logs (#82849) (#83031)
since #74210 ES is emitting trace.id into its logs, but it did not emit it into audit logs.
This commit adds trace.id into audit logging.
backport #82849
2022-01-25 13:43:05 +01:00
James Rodewig
1704a5f3ca
[DOCS] Add links from SAML docs to AAD and Okta blog posts (#82770) (#82804)
(cherry picked from commit 612c539c5b)

Co-authored-by: Stef Nestor <steffanie.nestor@gmail.com>
2022-01-19 10:31:44 -05:00
Aleksandr Maus
21262b07e6
[7.17] Add maintenance permission to the fleet-server service account (#82125) (#82440) 2022-01-11 12:10:02 -05:00
James Rodewig
882fc6f963
[DOCS] Fix typo in CCS security setup docs (#82371) (#82428)
(cherry picked from commit fe763bc2ca)

Co-authored-by: law155 <92785021+law155@users.noreply.github.com>
2022-01-11 11:19:40 -05:00
Tim Vernum
9961784b7c
Fix docs and error message for role field_security (#82179)
In the index permission block of a role descriptor, the "field_security"
field is an object with this format:     "field_security": {
"grant" : [ "field-1", "field-2", "more-fields-*" ],        "except" : [
"more-field-secret-*" ]     } The docs incorrectly stated that
"field_security" was a list, and if you provided a list the parser would
fail with a message that incorrectly stated that START_ARRAY was an
acceptable token. These have both been fixed. While reviewing the test
cases for RoleDescriptor, I also introduced more randomisation to
increase the overall coverage of features and scenarios.

Backport of: #81283
2022-01-03 22:28:57 -05:00
James Rodewig
c0c5720758
[DOCS] Clarify when index parameter is required for Watcher index action (#81566) (#81610)
If you dynamically add an `_index` value, the `index` parameter is not required for the Watcher index action.

Co-authored-by: James Rodewig <40268737+jrodewig@users.noreply.github.com>
# Conflicts:
#	x-pack/docs/en/watcher/actions/index.asciidoc

Co-authored-by: Daisuke Harada <1519063+dharada@users.noreply.github.com>
2021-12-09 18:20:20 -05:00
István Zoltán Szabó
72509415e1
[7.16][DOCS] Changes HLRC Client links. (#81513) 2021-12-08 12:56:47 +01:00
debadair
43ba887433
[DOCS] Clarify that pipeline metadata IS required (#81184) 2021-11-30 14:50:12 -08:00
Tim Vernum
4fda6e9f11
[DOCS] Minor clarifications in LDAP SSL docs (#80897) (#80921)
This commit makes a few small changes to the documentation the
describes how to configure LDAP with SSL.
2021-11-22 19:04:38 -05:00
Adam Locke
b5edb935df
[DOCS] Clarify manage indices privileges (#80284) (#80535)
Removes "template" from the `manage` index privilege description, plus fixes a typo.

Closes #80236
2021-11-09 09:27:00 -05:00
James Rodewig
07ac8818b6
[DOCS] Remove testenv annotations from doc snippet tests (#80023) (#80458)
Removes `testenv` annotations and related code. These annotations originally let you skip x-pack snippet tests in the docs. However, that's no longer possible.

Relates to #79309, #31619
# Conflicts:
#	docs/reference/ml/df-analytics/apis/get-trained-model-deployment-stats.asciidoc
#	docs/reference/ml/df-analytics/apis/infer-trained-model-deployment.asciidoc
#	docs/reference/ml/df-analytics/apis/put-trained-model-definition-part.asciidoc
#	docs/reference/ml/df-analytics/apis/put-trained-model-vocabulary.asciidoc
#	docs/reference/ml/df-analytics/apis/start-trained-model-deployment.asciidoc
#	docs/reference/ml/df-analytics/apis/stop-trained-model-deployment.asciidoc
#	docs/reference/slm/apis/slm-delete.asciidoc
#	docs/reference/slm/apis/slm-execute-retention.asciidoc
#	docs/reference/slm/apis/slm-execute.asciidoc
#	docs/reference/slm/apis/slm-get-status.asciidoc
#	docs/reference/slm/apis/slm-get.asciidoc
#	docs/reference/slm/apis/slm-start.asciidoc
#	docs/reference/slm/apis/slm-stats.asciidoc
#	docs/reference/slm/apis/slm-stop.asciidoc
#	docs/reference/sql/endpoints/client-apps/tableau-desktop.asciidoc
#	docs/reference/sql/endpoints/client-apps/tableau-server.asciidoc
2021-11-05 19:41:54 -04:00
Yang Wang
29f7e40e7b
[Security Solution] Add proper permissions to fleet server for Endpoint response index (#80238) (#80242)
This PR adds the proper permissions for fleet server to create and write
documents to the .logs-endpoint.action.responses-* index. The Security
Endpoint, run by the Agent, streams action responses to this index which is
used by the Security app to determine if actions are complete, etc.

This was initially missed during testing because of using locally running fleet
servers that were given superuser permissions, hence bypassing the fleet server
user.

This PR adds the index to fleet server so that the Endpoint gets the key that
it needs to write to the index properly.

For more information, see this ticket: elastic/kibana#116715

Co-authored-by: Kevin Logan <56395104+kevinlog@users.noreply.github.com>
2021-11-02 23:06:15 -04:00
Adam Locke
c26e4ce13c
[DOCS] Update audit events (#79391) (#80137)
* [DOCS] Update audit events

* Update snippet language

* Add notconsole

* Incorporate reviewer feedback for wording

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2021-11-01 10:40:59 -04:00
Mark Vieira
bcfbf00074 Reformat Elasticsearch source 2021-10-27 15:23:15 -07:00
James Rodewig
fb9192c42c
[DOCS] Remove [testenv="gold+"] attributes (#79309) (#79958)
Changes:

* Removes several `[testenv="gold+"]` attributes from the docs. `gold+` is not a valid [subscription level](https://www.elastic.co/subscriptions) or testenv value.
* Moves two `[testenv="basic"]` attributes to the file header. This makes the `testenv` placement consistent and fixes the yml file generated from `docs/reference/snapshot-restore/register-repository.asciidoc`.

Co-authored-by: James Rodewig <40268737+jrodewig@users.noreply.github.com>

Co-authored-by: edh-oss <42759970+edh-oss@users.noreply.github.com>
2021-10-27 17:38:04 -04:00
Ioannis Kakavas
3e6393bc4e
Add RelayState in the saml-prepare-auth docs (#76979) (#79570)
Support for RelayState  was introduced in #46534 but the docs
were not updated at the time.
2021-10-20 11:40:14 -04:00
James Baiera
6d7aacc2d2
[7.x] Deprecate Monitoring Settings #79499 (#79533)
This PR deprecates all monitoring settings as well as adds deprecation info entries for each setting.

Collecting and shipping monitoring data using the Monitoring plugin will be deprecated in 7.16 and will be removed at some point in the 8.x line after sufficient wait time. The recommended approach for collecting and shipping monitoring data going forward is to use Metricbeat. The recommended approach for alerting is Kibana alerting.

Backport of #79499
2021-10-20 02:32:55 -04:00
Brandon Morelli
077769cdf1
[DOCS] Temporarily remove APM links (#79411) (#79511)
Co-authored-by: James Rodewig <40268737+jrodewig@users.noreply.github.com>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2021-10-19 17:53:04 -04:00
Adam Locke
98c7f994ba
Add Optional to Configure bind user (#78303) (#79466)
To avoid confusion I have added `(Optional)` to the item `Configure bind user` which is optional with Active Directory.

Co-authored-by: Edu González de la Herrán <25320357+eedugon@users.noreply.github.com>
2021-10-19 10:09:10 -04:00
Nikola Grcevski
8512037aaa
[7.x] Deprecation of transient cluster settings (#78794) (#79288)
This PR changes uses of transient cluster settings to
persistent cluster settings.

The PR also deprecates the transient settings usage.

Relates to #49540
2021-10-15 19:06:33 -04:00
Henning Andersen
3eadef4774
Make disk.threshold_enabled operator only (#78822) (#79217)
Orchestrated environments should not allow users to override
`cluster.routing.allocation.disk.threshold_enabled`, so making this
operator only.

Closes #77846

Co-authored-by: David Turner <david.turner@elastic.co>
2021-10-15 11:01:00 +02:00
Stef Nestor
182ef79382
Update SSL Certs (#78884) (#79181)
* Update SSL Certs

The [example below](https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-ssl.html#security-api-ssl-example) shows `has_private_key` can also be `false` (as expected for a bool field data type).

* Update wording

Co-authored-by: Adam Locke <adam.locke@elastic.co>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>

Co-authored-by: Adam Locke <adam.locke@elastic.co>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2021-10-14 15:09:06 -04:00
James Rodewig
36f500acbe
[DOCS] Update ingest node pipeline refs (#78770) (#78983)
In https://github.com/elastic/kibana/pull/113783, we renamed Kibana's **Ingest Pipelines** feature to **Ingest Pipelines**. This updates screenshots and references for the feature. It also replaces a few remaining `ingest node pipeline` references.
# Conflicts:
#	docs/reference/index-modules.asciidoc
2021-10-12 09:28:05 -04:00
Yang Wang
8118a1655b
Allow fleet-server service account to setup Fleet (#78192) (#78733)
This PR adds necessary application privilege for Kibana to allow
fleet-server service account to initiate the Fleet setup process.

Resolves: #78078
2021-10-05 23:57:25 -04:00