Skip to content

Commit 248b229

Browse files
authored
[DOCS] Add info about FIPS and Java 17 (#78580)
* [DOCS] Updated breaking changes entry for Java 11.
1 parent 764e451 commit 248b229

File tree

4 files changed

+50
-16
lines changed

4 files changed

+50
-16
lines changed

docs/reference/migration/migrate_8_0/packaging.asciidoc

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,13 @@ line tools.
1616
*Impact* +
1717
Use Java 11 or higher. Attempts to run {es} 8.0 using earlier Java versions will
1818
fail.
19+
20+
Note that there is not yet a FIPS-certified security module for Java 17
21+
that you can use when running Elasticsearch 8.0 in FIPS 140-2 mode.
22+
If you run in FIPS 140-2 mode, you will either need to request an exception
23+
from your security organization to upgrade to Elasticsearch 8.0,
24+
or remain on Elasticsearch 7.x until Java 17 is certified.
25+
1926
====
2027

2128
.JAVA_HOME is no longer supported.

docs/reference/upgrade.asciidoc

Lines changed: 28 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,16 @@
33

44
[partintro]
55
--
6+
ifeval::["{release-state}"!="released"]
7+
[[upgrade-pre-release]]
8+
IMPORTANT: This documentation is for a pre-release of {es} {minor-version}.
9+
Upgrades from pre-release builds are not supported and
10+
could result in errors or data loss.
11+
If you upgrade from a released version to a pre-release verion for testing,
12+
discard the contents of the cluster when you are done.
13+
Do not attempt to upgrade to the final release.
14+
endif::[]
15+
616
{es} can usually be upgraded using a <<rolling-upgrades,Rolling upgrade>>
717
process so upgrading does not interrupt service. Rolling upgrades are supported:
818

@@ -16,7 +26,7 @@ endif::[]
1626

1727
[TIP]
1828
====
19-
For rolling upgrades between major versions (e.g., 5.6 to 6.8), we recommend
29+
For rolling upgrades between major versions, we recommend
2030
using the {kibana-ref}/upgrade-assistant.html[Kibana Upgrade Assistant].
2131
2232
The upgrade assistant identifies deprecated settings in your cluster and guides
@@ -26,7 +36,9 @@ We also recommend checking your <<deprecation-logging,deprecation logs>> for any
2636
other functionality that may have changed.
2737
====
2838

29-
The following table shows the recommended upgrade paths to {version}.
39+
[discrete]
40+
[[upgrade-paths]]
41+
=== Upgrade paths to {version}
3042

3143
[cols="<1,3",options="header",]
3244
|====
@@ -69,12 +81,18 @@ To upgrade directly to {version} from 6.7 or earlier, you must shut down the
6981
cluster, install {version}, and restart. For more information, see
7082
<<restart-upgrade, Full cluster restart upgrade>>.
7183

72-
[WARNING]
73-
====
84+
[discrete]
85+
[[upgrade-downgrade]]
86+
=== Downgrades
87+
7488
In-place downgrades to earlier versions are *not* supported. To downgrade to an
7589
earlier version, <<snapshots-restore-snapshot,restore a snapshot>> taken prior
7690
to the version upgrade.
77-
====
91+
92+
93+
[discrete]
94+
[[upgrade-index-compatibility]]
95+
=== Index compatibility
7896

7997
{es} can read indices created in the previous major version. If you
8098
have indices created in 5.x or before, you must reindex or delete them
@@ -87,17 +105,11 @@ When upgrading to a new version of {es}, you need to upgrade each
87105
of the products in your Elastic Stack. For more information, see the
88106
{stack-ref}/upgrading-elastic-stack.html[Elastic Stack Installation and Upgrade Guide].
89107

90-
ifeval::["{release-state}"!="released"]
91-
[[upgrade-pre-release]]
92-
NOTE: This documentation is for {es} version {version}, which is not yet
93-
released. You may run a pre-release build of {es} for testing, and you may
94-
upgrade from an earlier released version to a pre-release build of {es}
95-
{version} if permitted by the compatibility table above, but upgrading from a
96-
pre-release build to another build (whether released or not) is unsupported.
97-
Upgrading a pre-release build may result in errors or may appear to succeed
98-
having silently lost some data. You should discard the contents of a cluster
99-
running a pre-release build before using a different build.
100-
endif::[]
108+
[discrete]
109+
[[upgrade-fips-java17]]
110+
=== FIPS Compliance and Java 17
111+
112+
include::{xes-repo-dir}/security/fips-java17.asciidoc[]
101113

102114
--
103115

x-pack/docs/en/security/fips-140-compliance.asciidoc

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,12 @@ For {es}, adherence to FIPS 140-2 is ensured by
2727
[discrete]
2828
=== Upgrade considerations
2929

30+
[IMPORTANT]
31+
====
32+
include::fips-java17.asciidoc[]
33+
====
34+
35+
3036
If you plan to upgrade your existing cluster to a version that can be run in
3137
a FIPS 140-2 configured JVM, we recommend to first perform a rolling
3238
upgrade to the new version in your existing JVM and perform all necessary
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{es} 8.0 requires Java 17 or later.
2+
There is not yet a FIPS-certified security module for Java 17
3+
that you can use when running {es} 8.0 in FIPS 140-2 mode.
4+
If you run in FIPS 140-2 mode, you will either need to request
5+
an exception from your security organization to upgrade to {es} 8.0,
6+
or remain on {es} 7.x until Java 17 is certified.
7+
ifeval::["{release-state}"=="released"]
8+
Alternatively, consider using {ess} in the FedRAMP-certified GovCloud region.
9+
endif::[]

0 commit comments

Comments
 (0)