diff --git a/.buildkite/scripts/common/env.sh b/.buildkite/scripts/common/env.sh index 15c7049956ae3..44fe65c8c11c3 100755 --- a/.buildkite/scripts/common/env.sh +++ b/.buildkite/scripts/common/env.sh @@ -136,15 +136,12 @@ if [[ "${KBN_ENABLE_FIPS:-}" == "true" ]] || is_pr_with_label "ci:enable-fips-ag FTR_ENABLE_FIPS_AGENT=true # used by FIPS agents to link FIPS OpenSSL modules export OPENSSL_MODULES=$HOME/openssl/lib/ossl-modules + export XPACK_SECURITY_EXPERIMENTAL_FIPSMODE_ENABLED=true if [[ -f "$KIBANA_DIR/config/node.options" ]]; then echo -e '\n--enable-fips' >>"$KIBANA_DIR/config/node.options" echo "--openssl-config=$HOME/nodejs.cnf" >>"$KIBANA_DIR/config/node.options" fi - - if [[ -f "$KIBANA_DIR/config/kibana.yml" ]]; then - echo -e '\nxpack.security.experimental.fipsMode.enabled: true' >>"$KIBANA_DIR/config/kibana.yml" - fi fi export FTR_ENABLE_FIPS_AGENT diff --git a/.buildkite/scripts/common/util.sh b/.buildkite/scripts/common/util.sh index cb294a5548800..5630fed40bf93 100755 --- a/.buildkite/scripts/common/util.sh +++ b/.buildkite/scripts/common/util.sh @@ -33,7 +33,7 @@ check_for_changed_files() { SHOULD_AUTO_COMMIT_CHANGES="${2:-}" CUSTOM_FIX_MESSAGE="${3:-}" - GIT_CHANGES="$(git status --porcelain -- . ':!:.bazelrc' ':!:config/node.options' ':!config/kibana.yml')" + GIT_CHANGES="$(git status --porcelain -- . ':!:.bazelrc' ':!:config/node.options')" if [ "$GIT_CHANGES" ]; then if ! is_auto_commit_disabled && [[ "$SHOULD_AUTO_COMMIT_CHANGES" == "true" && "${BUILDKITE_PULL_REQUEST:-}" ]]; then @@ -56,7 +56,7 @@ check_for_changed_files() { git config --global user.name kibanamachine git config --global user.email '42973632+kibanamachine@users.noreply.github.com' gh pr checkout "${BUILDKITE_PULL_REQUEST}" - git add -A -- . ':!.bazelrc' ':!config/node.options' ':!config/kibana.yml' + git add -A -- . ':!.bazelrc' ':!config/node.options' git commit -m "$NEW_COMMIT_MESSAGE" git push