-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[CI / Build / FIPS] Use xpack.security.experimental.fipsMode.enabled in CI and Docker #187533
Conversation
/ci |
/ci |
/ci |
/ci |
This reverts commit 3e64aa1.
/ci |
@@ -156,6 +156,7 @@ RUN /usr/bin/echo -e '\n--enable-fips' >> config/node.options | |||
RUN /usr/bin/echo '--openssl-config=/usr/share/kibana/config/nodejs.cnf' >> config/node.options | |||
COPY --chown=1000:0 openssl/nodejs.cnf "/usr/share/kibana/config/nodejs.cnf" | |||
ENV OPENSSL_MODULES=/usr/share/kibana/openssl/lib/ossl-modules | |||
ENV XPACK_SECURITY_FIPSMODE_ENABLED=true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For some reason, this env variable works fine in the Docker image, but isn't picked up in CI, so had to write to to kibana.yml
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@kc13greiner Do you have any idea why this wouldn't work in CI?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it needs EXPERIMENTAL
from the xpack.security.experimental.fipsMode.enabled
in src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker
/ci |
/ci |
/ci |
/ci |
/ci |
⏳ Build in-progress
History
cc @Ikuni17 |
Summary
Closes #188272
A check was added to in #181187 which detects if the environment has FIPS enabled NodeJS, but Kibana is not setup properly. This adds the Kibana setting for FIPS in CI and the Docker image. Note there are still license issues on some tests due to #181187 as well, but this will be handled in another PR.