Skip to content

Commit

Permalink
manual backport
Browse files Browse the repository at this point in the history
  • Loading branch information
jakelandis committed Jun 4, 2024
1 parent fc5dcb5 commit eaf0fde
Show file tree
Hide file tree
Showing 4 changed files with 38 additions and 6 deletions.
11 changes: 8 additions & 3 deletions docs/changelog/105709.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
pr: 105709
summary: Disable validate when rewrite parameter is sent and the index access control
list is non-null
summary: Apply stricter Document Level Security (DLS) rules for the validate query API with the rewrite parameter.
area: Security
type: bug
type: breaking
issues: []
breaking:
title: "Apply stricter Document Level Security (DLS) rules for the validate query API with the rewrite parameter"
area: REST API
details: When Document Level Security (DLS) is applied to the validate query API with the rewrite parameter, stricter security rules apply.
impact: If needed, test workflows with DLS enabled to ensure that the stricter security rules do not impact your application.
notable: false
12 changes: 9 additions & 3 deletions docs/changelog/105714.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
pr: 105714
summary: Cross check livedocs for terms aggs when index access control list is non-null
area: "Aggregations"
type: bug
summary: Apply stricter Document Level Security (DLS) rules for terms aggregations when min_doc_count is set to 0.
area: Security
type: breaking
issues: []
breaking:
title: "Apply stricter Document Level Security (DLS) rules for terms aggregations when min_doc_count is set to 0"
area: REST API
details: When Document Level Security (DLS) is applied to terms aggregations and min_doc_count is set to 0, stricter security rules apply.
impact: If needed, test workflows with DLS enabled to ensure that the stricter security rules do not impact your application.
notable: false
19 changes: 19 additions & 0 deletions docs/reference/migration/migrate_8_14.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,25 @@ Remove any document-level security (DLS) or field-level security (FLS) definitio
====


[discrete]
[[breaking_814_dls_changes]]
==== Stricter Document Level Security (DLS)

[[stricter_dls_814]]
.Document Level Security (DLS) applies stricter checks for the validate query API and for terms aggregations when min_doc_count is set to 0.

[%collapsible]
====
*Details* +
When Document Level Security (DLS) is applied to terms aggregations and min_doc_count is set to 0, stricter security rules apply.
When Document Level Security (DLS) is applied to the validate query API with the rewrite parameter, stricter security rules apply.
*Impact* +
If needed, test workflows with DLS enabled to ensure that the stricter security rules do not impact your application.
====


[discrete]
[[deprecated-8.14]]
=== Deprecations
Expand Down
2 changes: 2 additions & 0 deletions docs/reference/release-notes/8.14.0.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ Also see <<breaking-changes-8.14,Breaking changes in 8.14>>.

Security::
* Prevent DLS/FLS if `replication` is assigned {es-pull}108600[#108600]
* Apply stricter Document Level Security (DLS) rules for the validate query API with the rewrite parameter {es-pull}105709[#105709]
* Apply stricter Document Level Security (DLS) rules for terms aggregations when min_doc_count is set to 0 {es-pull}105714[#105714]

[[bug-8.14.0]]
[float]
Expand Down

0 comments on commit eaf0fde

Please sign in to comment.