Commit graph

55 commits

Author SHA1 Message Date
István Zoltán Szabó
4935a159b6
[8.x][DOCS] Fixes typo on built-in role page. (#126211) (#126218) 2025-04-04 00:53:22 +11:00
Liam Thompson
a1769b7535
Update security-basic-setup.asciidoc (#117009) (#120456)
Fix Starting -> Stopping

Co-authored-by: Jongho Han <lgwl81@gmail.com>
2025-01-20 20:33:35 +11:00
Slobodan Adamović
210d6ad5fd
Upgrade Bouncy Castle FIPS dependencies (#112989) (#117320)
This PR updates `bc-fips` and `bctls-fips` dependencies to the latest
minor versions.
2024-11-23 00:03:07 +11:00
Jake Landis
84f4f3ac2b
Docs for monitor_stats privilege (#116533) (#116671)
This commit adds docs for monitor_stats and updates an example snippet to include both remote_indices and remote_cluster.

(cherry picked from commit b7167b73e3)
2024-11-13 02:45:38 +11:00
Jake Landis
6b98d77d57
Fix missing remote_cluster docs (#116366) (#116440)
Documentation for the remote_cluster in the role was added
in #111682 and #108840, but a few places were missed.
This commit fill the gaps in the documentation.
2024-11-08 07:10:47 +11:00
Johannes Fredén
b888c48976
[DOCS] Add DLS multi-match limitation (#115003) (#115388)
(cherry picked from commit deef8c7a9b)
2024-10-23 13:06:45 +02:00
Nicole Albee
264f84aa40
Update "Securing Clients and integrations" to include Fleet (#113731) (#114687) 2024-10-14 08:34:41 -06:00
Stef Nestor
c9764b86c4
(Doc+) Update example SAML blog for Okta (#112934) (#113098) 2024-09-18 20:30:59 +10:00
Mike Barretta
d41885347f
Missing link added to fips-140-compliance.asciidoc (#112477) (#112516)
completed a missing link to the support matrix
2024-09-04 23:34:01 +10:00
Liam Thompson
d71654195c
[DOCS] Wrap document/field restriction tip in IMPORTANT block (#112146) 2024-08-23 18:23:57 +02:00
Mary Gouseti
34a78f3cf3
Add documentation to deprecate the global retention privileges. (#112020) 2024-08-23 11:49:15 +03:00
Mary Gouseti
9185056efe
Clean up global retention from the cluster state and obsolete transport actions (#111636)
In this PR we remove unused code including relating to the global data retention with APIs implementation:

- The transport action for updating, deleting and retrieving the global retention.
- The `DataStreamGlobalRetention` from the cluster state (this should be bwc safe because we never exposed the APIs to add a data stream lifecycle to the cluster state).
- Make unused privileges monitor and managing global retention a noop.
- Remove cluster state update tasks.

The kept `DataStreamGlobalRetentionResolver` considering it could hold and provide the global retention from the settings when we implement it. We just renamed it to DataStreamGlobalRetentionProvider for now to better match what it does.

The factory retention settings should still work after this change.
2024-08-08 09:52:35 +03:00
Joe Gallo
27e7601698
Directly download commercial ip geolocation databases from providers (#110844)
Co-authored-by: Keith Massey <keith.massey@elastic.co>
2024-07-17 20:55:14 -04:00
Parker Timmins
eeedb356fd
Deprecate using slm privileges to access ilm (#110540)
Currently, read_slm privilege grants access to get the ILM status,
and manage_slm grants access to start/stop ILM. This access will
be removed in the future, but needs to be deprecated before
removal. Add deprecation warning to the read_slm and manage_slm docs.
2024-07-05 15:36:32 -05:00
Albert Zaharovits
747fa59a2c
DOCS Query Roles (#110473)
These are the docs changes in relation to
https://github.com/elastic/elasticsearch/pull/108733
2024-07-05 19:46:48 +10:00
Lisa Cawley
748dbd51e4
[DOCS] Add serverless details in Elasticsearch security privileges (#109718) 2024-07-03 09:52:21 -07:00
Nick Tindall
8edb3b07e7
Make repository analysis API available to non-operators (#110179)
Closes #100381
2024-06-28 09:07:20 +10:00
Jake Landis
7504fed0b3
remote_cluster role documentation and expose to built in privs API (#108840)
This commit introduces the documentation for remote_clusters which is used to help
 express the monitor_enrich privilege needed to use the ENRICH keyword across clusters 
when using the API key based CCS security model.

This commit also adds "remote_clusters" to the built in privs API to for easier consumption
 in Kibana.
2024-05-28 13:51:21 -05:00
Jake Landis
ff92296217
[docs] Prevent DLS/FLS if replication is assigned (#108839)
This commit adds documentation for the DLS/FLS restriction for RCS 2.0 API keys 
where both access and replication are defined and access has DSL/FLS.
This commit also fixes a few misleading variable names.
related: #108600
2024-05-22 12:05:34 -05:00
Slobodan Adamović
05d728e3ef
[DOCS] Document manage_inference and monitor_inference cluster privileges (#108553) 2024-05-13 16:34:46 +02:00
florent-leborgne
0c500e5264
Remove Beta label for RCS2.0 from 8.14 (#108030) 2024-05-02 15:43:21 +02:00
shainaraskas
164fcf091b
unhide setting (#107019) 2024-04-25 08:26:40 -04:00
Mary Gouseti
2122da31cd
[DSL] Introduce data stream global retention - Part 3 (#105682)
In this PR we introduce the API that will expose the global retention configuration and will allow users to take advantage of it.

These APIs are protected by the dedicated introduced privileges:

`manage_data_stream_global_retention` or higher, which allows all operations on the global retention configuration
`monitor_data_stream_retention` or higher, which allows the retrieval of the global retention configuration.

This PR is the final PR that makes the global retention available for our users.
2024-03-28 10:40:33 +02:00
David Kyle
2087b65523
[ML] Create inference_user and inference_admin roles (#106371)
Defines new inference_user and inference_admin roles with the 
related cluster privileges manage_inference and monitor_inference.
inference_user can list the models and preform inference, 
inference_admin can do the same plus create and delete models
2024-03-20 11:15:21 +00:00
Athena Brown
d5565b618a
Fix typo in OIDC docs (#106207) (#106517)
Add missing _to_ in sentence

(cherry picked from commit 40a9155b3b)

Co-authored-by: Aaron Hanusa <aaron.hanusa@gmail.com>
2024-03-19 19:08:41 -04:00
Jake Landis
b22d2af669
OIDC doc - mention client secret needs a restart (#106088) 2024-03-07 14:59:02 -06:00
Jake Landis
5b80065dfe
Update FIPS documentation for 8.x (#105041)
This commit updates the documentation for FIPS support. 
In addition to the changes for 8.x it also provides more details for how to setup/configure FIPS mode.
2024-02-15 09:23:48 -06:00
Jake Landis
78c6a7c4bb
security-minimal-setup.asciidoc: replace KIB_PATH_CONF by KBN_PATH_CONF (#104582) (#104631)
Co-authored-by: Fabien Baligand <fbaligand@gmail.com>
2024-01-22 16:43:03 -05:00
Johannes Fredén
cc9fba36e6
Add ApiKey expiration time to audit log (#103959)
Follow up to PR: https://github.com/elastic/elasticsearch/pull/103453
2024-01-11 04:40:52 -05:00
Jake Landis
15258c8688
Minor doc fixes for PKI realm (#103831)
Remove the reference to the transport client and clarify the usage of username_pattern
2024-01-09 09:49:59 -06:00
Johannes Fredén
39d9ce8f89
[DOCS] Update SAML guide to reference attribute_delimiters.group (#103102)
This is a follow up PR from
https://github.com/elastic/elasticsearch/pull/102769. The SAML realm can
now be configured to split the `groups` attribute by delimiter, this
updates the docs to mention that.
2023-12-08 05:11:11 -05:00
Albert Zaharovits
f64bb49055
Patterns support for allowed subjects by the JWT realm (#102426)
This adds support for allowing JWT token sub claims with Lucene patterns and wildcards,
by introducing a new JWT realm setting allowed_subject_patterns that can be used
alongside the exist allowed_subjects realm setting.
2023-12-05 12:23:34 +02:00
Albert Zaharovits
bd10775b02
Grant API Key API with JWTs (#101904)
Introduces support for JWTs to the grant API Key API.
Callers can now pass-in a JWT in the request, like:
POST /_security/api_key/grant
{
  "grant_type": "access_token",
  "access_token" : "some.signed.JWT",
  "client_authentication": { // optional
    "scheme": "SharedSecret",
    "value": "ES-Client-Authentication header value after scheme"
  }
}
The JWT will be authenticated by a backing JWT realm and
a new API Key will be returned for the authenticated user.
2023-11-21 14:11:08 +02:00
Jake Landis
1eaa907052
Fix manage/monitor_enrich documentation (#100781)
manage_enrich is a cluster privilege, not a built in role. 
manage_enrich is already documented as a cluster privilege.
This commit remove manage_enrich from the role documentation.
This commit also makes mention of the monitor_enrich introduced in #99646.

related: #85877
2023-10-13 11:29:48 -05:00
James Rodewig
255c9a7f95
[DOCS] Move x-pack docs to docs/reference dir (#99209)
**Problem:**
For historical reasons, source files for the Elasticsearch Guide's security, watcher, and Logstash API docs are housed in the `x-pack/docs` directory. This can confuse new contributors who expect Elasticsearch Guide docs to be located in `docs/reference`. 

**Solution:**
- Move the security, watcher, and Logstash API doc source files to the `docs/reference` directory
- Update doc snippet tests to use security

Rel: https://github.com/elastic/platform-docs-team/issues/208
2023-09-12 14:53:41 -04:00
Lisa Cawley
f7edcb0857
[DOCS] Fixes build errors (#47536) 2019-10-03 15:22:41 -07:00
Lisa Cawley
a827349714
[DOCS] Add security section to Elasticsearch book (#46883)
Co-Authored-By: Tim Vernum <tim@adjective.org>
2019-09-20 11:31:24 -07:00
James Rodewig
bd52e148c5
[DOCS] Remove :edit_url: overrides. (#44445)
These overrides do not work in Asciidoctor and are no longer needed.
2019-07-16 15:02:38 -04:00
Jay Modi
0a41b13cd8 Remove the client transport profile filter (#43236)
Now that the transport client has been removed, the client transport
profile filter can be removed from security. This filter prevented node
actions from being executed using a transport client.
2019-07-03 19:32:24 +10:00
Dimitrios Liappis
b42bcf5e9f
Update TLS configuration in Docker docs (#43748)
Following the removal of the `unzip` package from the Elasticsearch 
Docker image in #39040, update setup instructions for TLS in Docker.

Also avoid cross-platform ownership+permission issues by not relying
on local bind mounts for storing generated certs and don't require 
`curl` locally installed.
2019-07-01 14:38:29 +03:00
Lisa Cawley
6e307d9fee
[DOCS] Removes inclusion of java.asciidoc (#42459) 2019-05-23 14:05:38 -07:00
Lisa Cawley
9002be4e61
[DOCS] Updates TLS configuration info (#41983) 2019-05-20 09:06:42 -04:00
David Turner
cbed3fc75f
Fix discovery config in docker-compose docs (#41753)
Today's `docker-compose` docs are missing the `discovery.seed_nodes` config on
one of the nodes. With today's configuration the cluster can still form the
first time it is started, because `cluster.initial_master_nodes` requires both
nodes to bootstrap the cluster which ensures that each discover the other.
However if `es02` is elected master it will remove `es01` from the voting
configuration and then when restarted it will form a cluster on its own without
needing to do any discovery. Meanwhile `es01` doesn't know how to find `es02`
after a restart so will be unable to join this cluster.

This commit fixes this by adding the missing configuration.

Relates #41394, which fixes a different `docker-compose.yml` in the same way.
2019-05-03 10:45:51 +02:00
RomainGeffraye
00b9f5d1e4 Fix typo (#40273) 2019-03-21 07:54:11 -07:00
David Turner
2d114a02ff
Rename static Zen1 settings (#38333)
Renames the following settings to remove the mention of `zen` in their names:

- `discovery.zen.hosts_provider` -> `discovery.seed_providers`
- `discovery.zen.ping.unicast.concurrent_connects` -> `discovery.seed_resolver.max_concurrent_resolvers`
- `discovery.zen.ping.unicast.hosts.resolve_timeout` -> `discovery.seed_resolver.timeout`
- `discovery.zen.ping.unicast.hosts` -> `discovery.seed_addresses`
2019-02-05 08:46:52 +00:00
Jay Modi
f3edbe2911
Security: remove SSL settings fallback (#36846)
This commit removes the fallback for SSL settings. While this may be
seen as a non user friendly change, the intention behind this change
is to simplify the reasoning needed to understand what is actually
being used for a given SSL configuration. Each configuration now needs
to be explicitly specified as there is no global configuration or
fallback to some other configuration.

Closes #29797
2019-01-14 14:06:22 -07:00
David Turner
1a23417aeb
[Zen2] Update documentation for Zen2 (#34714)
This commit overhauls the documentation of discovery and cluster coordination,
removing mention of the Zen Discovery module and replacing it with docs for the
new cluster coordination mechanism introduced in 7.0.

Relates #32006
2018-12-20 13:02:44 +00:00
lcawl
8b8121279a [DOCS] Fix typos 2018-12-19 15:28:25 -08:00
Lisa Cawley
4140b9eede
[DOCS] Update X-Pack terminology in security docs (#36564) 2018-12-19 14:53:37 -08:00
lcawl
a8387592db [DOCS] Fixes broken links to tcp_tranport_profiles 2018-12-18 14:43:58 -08:00