OpenSearch/plugins
Ioannis Kakavas 239ada1669
Test adjustments for FIPS 140 (#56526)
This change aims to fix our setup in CI so that we can run 7.x in
FIPS 140 mode. The major issue that we have in 7.x and did not
have in master is that we can't use the diagnostic trust manager
in FIPS mode in Java 8 with SunJSSE in FIPS approved mode as it
explicitly disallows the wrapping of X509TrustManager.

Previous attempts like #56427 and #52211 focused on disabling the
setting in all of our tests when creating a Settings object or
on setting fips_mode.enabled accordingly (which implicitly disables
the diagnostic trust manager). The attempts weren't future proof
though as nothing would forbid someone to add new tests without
setting the necessary setting and forcing this would be very
inconvenient for any other case ( see
#56427 (comment) for the full argumentation).

This change introduces a runtime check in SSLService that overrides
the configuration value of xpack.security.ssl.diagnose.trust and
disables the diagnostic trust manager when we are running in Java 8
and the SunJSSE provider is set in FIPS mode.
2020-05-15 18:10:45 +03:00
..
analysis-icu Simplify generics on Mapper.Builder (#56747) 2020-05-15 12:14:49 +01:00
analysis-kuromoji upgrade to Lucene 8.6.0 snapshot (#56661) 2020-05-13 14:25:16 +02:00
analysis-nori upgrade to Lucene 8.6.0 snapshot (#56661) 2020-05-13 14:25:16 +02:00
analysis-phonetic upgrade to Lucene 8.6.0 snapshot (#56661) 2020-05-13 14:25:16 +02:00
analysis-smartcn upgrade to Lucene 8.6.0 snapshot (#56661) 2020-05-13 14:25:16 +02:00
analysis-stempel upgrade to Lucene 8.6.0 snapshot (#56661) 2020-05-13 14:25:16 +02:00
analysis-ukrainian upgrade to Lucene 8.6.0 snapshot (#56661) 2020-05-13 14:25:16 +02:00
discovery-azure-classic Enforce strict license distribution requirements (#56642) 2020-05-14 13:57:56 -07:00
discovery-ec2 Test adjustments for FIPS 140 (#56526) 2020-05-15 18:10:45 +03:00
discovery-gce [7.x] Lazy test cluster module and plugins (#54852) (#55087) 2020-04-13 10:53:35 -05:00
examples Merge significant_terms into the terms package (backport of #56699) (#56715) 2020-05-13 17:36:21 -04:00
ingest-attachment Test adjustments for FIPS 140 (#56526) 2020-05-15 18:10:45 +03:00
mapper-annotated-text Simplify generics on Mapper.Builder (#56747) 2020-05-15 12:14:49 +01:00
mapper-murmur3 Simplify generics on Mapper.Builder (#56747) 2020-05-15 12:14:49 +01:00
mapper-size Simplify generics on Mapper.Builder (#56747) 2020-05-15 12:14:49 +01:00
repository-azure Move azure client logic from AzureStorageService to AzureBlobStore (#56806) 2020-05-15 11:30:15 +02:00
repository-gcs Track GET/LIST GoogleCloudStorage API calls (#56758) 2020-05-14 14:03:21 +02:00
repository-hdfs [7.x] Lazy test cluster module and plugins (#54852) (#55087) 2020-04-13 10:53:35 -05:00
repository-s3 Enforce strict license distribution requirements (#56642) 2020-05-14 13:57:56 -07:00
store-smb [7.x] Optimize which Rest resources are used by the Rest tests… (#53766) 2020-03-19 12:28:59 -05:00
transport-nio Move publishing configuration to a separate plugin (#56727) 2020-05-14 20:23:07 -07:00
build.gradle Apply 2-space indent to all gradle scripts (#49071) 2019-11-14 11:01:23 +00:00