Skip to content

FIPS 140-3 Helm values

DataRobot doesn't run in FIPS 140-3 mode by default. Nothing in the chart turns it on until you set global.fips.enabled. This page lists the values that control FIPS 140-3 mode, what each one does, and the order to set them in.

The values on this page are available in Release 11.15 and later.

値

In Release 11.15 and later, global.fips.enabled is the only value that a new installation must set, unless the Secret that holds the auth server keys comes from External Secrets or you create it yourself (see the preconditions). The other two values follow it, so leave them unset unless the table says otherwise.

キー デフォルト値 機能 When to set it
global.fips.enabled false Turns on FIPS 140-3 mode for the whole installation. When true, DataRobot services load the FIPS OpenSSL configuration and run a FIPS self-test at startup. The bundled persistent critical services (Redis, MongoDB, PostgreSQL and its pgpool connection pooling, the CloudNativePG operator and its PgBouncer Pooler pods, and the metrics exporters) also check that the OpenSSL FIPS provider is active and stop if it isn't. The CloudNativePG PostgreSQL instance pods aren't covered, because the operator builds their pod spec. This value also sets the other two values in this table, turns on auth server FIPS mode when the chart creates the Secret that holds the auth server keys, and adds the FIPS admission policy and the PNG export network policy. It doesn't make an image FIPS-capable. Every image must already be a FIPS image. Set it to true on every FIPS 140-3 installation, after the preconditions are met.
core.config_env_vars.ENABLE_FIPS_140_3_MODE 設定の解除 Runs the DataRobot app in FIPS 140-3 mode. When unset, it follows global.fips.enabled. Internal identifiers (safe_hash) use SHA-256 instead of MD5 or SHA-1. DataRobot passes the setting to the inference servers it deploys and to custom model and custom task containers, and checks .mlpkg model packages against it. Don't set it. The chart sets it from global.fips.enabled. A value that turns it off on a FIPS installation fails the Helm render. It can't be combined with ENABLE_FIPS_140_2_MODE.
build-service.imageBuilder.fips.enforceSelfTest 設定の解除 Adds a FIPS self-test to every image that Image Builder builds, such as custom model, job, and app images. An image that isn't built on a FIPS base exits with code 78 at startup. When unset, it follows global.fips.enabled. Leave it unset. To build images without the self-test on a FIPS installation, set it to false and also set build-service.imageBuilder.fips.allowNonFipsBuilds to true. See FIPS 140-3 self-test for built images.

global.fips.enabled doesn't change the FIPS settings of the bundled RabbitMQ and Elasticsearch, and the chart sets each of them the same way with FIPS mode on or off:

  • RabbitMQ always starts its Erlang VM in FIPS mode and checks it in its readiness probe (rabbitmq.fipsMode.enabled is true by default).
  • Elasticsearch runs a FIPS Java runtime in the FIPS image, but its own FIPS mode (elasticsearch.security.fipsMode) is false by default. Elasticsearch FIPS mode needs a Platinum or Enterprise license, and on a Basic license the Elasticsearch nodes fail their license bootstrap check and don't start. A FIPS installation needs Elasticsearch in FIPS mode: set both elasticsearch.security.fipsMode and es-upgrade.fipsMode to true if you have one of those licenses (the chart fails to render if they differ), or use an external Elasticsearch in FIPS mode. See FIPS 140-3 prerequisites.

An existing installation that turns on FIPS 140-3 mode also needs one more value:

キー デフォルト値 機能 When to set it
core.config_env_vars.SAFE_HASH_LEGACY_ALGORITHM 設定の解除 Keeps the hash algorithm the installation used before the upgrade for internal identifiers, such as blueprint IDs, vertex file names, and cache keys, so that DataRobot still finds the data stored under them. Accepts md5 or sha1; any other value stops DataRobot at startup. An empty value counts as unset. When unset, DataRobot uses the algorithm of the installation's FIPS mode: SHA-256 in FIPS 140-3 mode, SHA-1 in FIPS 140-2 mode, and MD5 without FIPS mode. Only on an existing installation that turns on FIPS 140-3 mode: md5 if it ran without FIPS mode, sha1 if it ran in FIPS 140-2 mode. Set it in the same helm upgrade that sets global.fips.enabled, and never change or remove it afterward. Leave it unset on a new installation.

These values adjust FIPS 140-3 mode. A standard FIPS installation doesn't need them.

キー デフォルト値 機能
global.fips.awsUseFipsEndpoint false Sends the AWS API calls of DataRobot services to AWS FIPS endpoints. Use it only on AWS GovCloud. See AWS FIPS endpoints.
global.fips.selfTest.fallback 設定の解除 What the service startup self-test does when an image ships no self-test tool: fail stops the container, warn logs a warning and starts it. A self-test that runs and fails always stops the container. warn has no effect on the metrics exporters and the CloudNativePG operator: their images have no shell, so the chart runs the self-test tool directly and a missing tool still stops them. Any other value fails the Helm render. When unset, it behaves as fail. Set warn only while you replace older images on an existing installation, and remove it afterward.
global.fips.selfTest.enforce 設定の解除 Overrides the startup self-test of the DataRobot services. false also turns off the FIPS OpenSSL configuration in the DataRobot runtime images, so those services no longer run in FIPS mode, and removes the FIPS admission policy. It doesn't change the self-test of the bundled persistent critical services; use fipsMode.selfTest for those. Use it only to recover DataRobot services from a failed rollout. true fails the Helm render unless global.fips.enabled is true. When unset, it's true when global.fips.enabled is true.
<section>.fipsMode.selfTest 設定の解除 Set in the redis, mongodb, postgresql-ha, cloudnative-pg, and pcs-cnpg sections. Turns the startup self-test of one bundled persistent critical service on or off without changing the rest of the installation. For example, redis.fipsMode.selfTest: false removes the Redis self-test. Use false only to recover a bundled service whose self-test fails. When unset, it follows global.fips.enabled.

Don't set DATAROBOT_FIPS_ENFORCE or DATAROBOT_FIPS_FALLBACK in extraEnvVars or core.config_env_vars. The chart sets them from global.fips.

FIPS admission policy

On a FIPS installation, the chart adds a Kubernetes ValidatingAdmissionPolicy that rejects pods that turn FIPS off through environment variables. It rejects a pod that sets any of the following:

  • GODEBUG that sets fips140 to a value other than on, only, or debug, or that sets fips140ems=0. When rabbitmq.tls.allowMissingEMS is true on api-gateway-ext or network-policy-consumer-service, the policy admits a pod with fips140ems=0 with a warning and records it in the API server audit log instead of rejecting it.
  • OPENSSL_CONF or OPENSSL_MODULES, unless the value is allowed below.
  • CHAINGUARD_LEGACY_ALLOWED set to anything other than 0.
  • DATAROBOT_FIPS_ENFORCE set to anything other than true.
  • -Djava.security.properties in a JVM options variable, such as ES_JAVA_OPTS or JAVA_TOOL_OPTIONS, unless the flag is allowed below.

The policy doesn't check variables that a pod loads with envFrom. The chart adds the policy only when global.fips.enabled is true, global.fips.selfTest.enforce isn't false, and the cluster runs Kubernetes 1.30 or later. See the preconditions.

キー デフォルト値 機能
global.fips.admissionPolicy.enabled true Adds the admission policy on a FIPS installation. Set it to false if the user that runs Helm can't create cluster-scoped objects.
global.fips.admissionPolicy.validationActions ["Deny"] What Kubernetes does with a pod that breaks the policy: Deny, Warn, or Audit. Deny and Warn can't be combined.
global.fips.admissionPolicy.extraNamespaces [] Namespaces the policy applies to, in addition to the DataRobot namespace.
global.fips.admissionPolicy.allowedOpensslConf [] OPENSSL_CONF values to allow, such as the path of a corrected openssl.cnf mounted into a pod.
global.fips.admissionPolicy.allowedOpensslModules [] OPENSSL_MODULES values to allow.
global.fips.admissionPolicy.allowedJavaSecurityProperties [] Exact -Djava.security.properties=... flags to allow in JVM options variables, such as one that points at a FIPS java.security file.

PNG export network policy

When global.fips.enabled is true, the chart adds a datarobot-pngexport NetworkPolicy for the PNG export service (pngexport). A FIPS installation requires this policy. For the values that control it, see the table below. The policy controls traffic in both directions:

  • Ingress: Allowed only on the service's port, and only from these pods:
    • DataRobot pods in the same release.
    • DataRobot job pods.
    • Envoy Gateway proxy pods, when the API gateway is configured (global.apiGateway.public).
  • Egress: Blocked entirely, including DNS.

The policy applies even when global.networkPolicy.enabled is false. With this policy in place, the chart's other NetworkPolicies no longer apply to the PNG export pods. Any other caller that reached the PNG export service before FIPS 140-3 mode was turned on, such as a metrics scraper in another namespace, is blocked. To allow it, add it to pngexport.networkPolicy.extraIngress.

The policy works only on a cluster whose CNI plugin enforces NetworkPolicies. See the preconditions.

キー デフォルト値 機能
pngexport.networkPolicy.enabled 設定の解除 Adds the PNG export NetworkPolicy. When unset, it follows global.fips.enabled. Leave it unset on a FIPS installation. Setting it to false removes the policy, and the installation no longer meets the FIPS 140-3 conditions for PNG export.
pngexport.networkPolicy.extraIngress [] Adds ingress rules to the policy, unchanged. Use it to let another caller reach the PNG export service, such as a metrics scraper in another namespace.

For example, to allow a Prometheus server in the monitoring namespace to reach the PNG export port (9494 unless you changed pngexport.component.app.port):

pngexport:
  networkPolicy:
    extraIngress:
      - from:
          - namespaceSelector:
              matchLabels:
                kubernetes.io/metadata.name: monitoring
        ports:
          - port: 9494
            protocol: TCP 

Preconditions

Complete these before you set global.fips.enabled:

  • Every Kubernetes node that runs DataRobot boots in FIPS mode: /proc/sys/crypto/fips_enabled returns 1.
  • PostgreSQL and MongoDB authenticate DataRobot with SCRAM-SHA-256, not MD5.
  • Any Kerberos realm used by data connections issues only RFC 8009 tickets (aes256-cts-hmac-sha384-192 or aes128-cts-hmac-sha256-128). A realm that still issues aes*-cts-hmac-sha1-96 or RC4 tickets breaks Kerberos data connections in FIPS mode. Active Directory realms often do.
  • Message brokers that DataRobot reaches over TLS negotiate TLS 1.3, or TLS 1.2 with Extended Master Secret. See Self-managed RabbitMQ.
  • Custom environments are built on a FIPS base image. See Build for a FIPS 140-3 installation.
  • The user or service account that runs Helm (or ArgoCD) can create cluster-scoped ValidatingAdmissionPolicy and ValidatingAdmissionPolicyBinding objects. For the FIPS admission policy, the chart creates one of each, named datarobot-fips-env-<namespace>. If Helm has access only to the DataRobot namespace, set global.fips.admissionPolicy.enabled: false, or the installation fails.
  • The cluster runs Kubernetes 1.30 or later. On an earlier version, the chart skips the admission policy and prints a warning after the install. If you render the chart with helm template, as ArgoCD does, pass the cluster version with --kube-version.
  • The cluster's CNI plugin enforces Kubernetes NetworkPolicies, as Calico and Cilium do. On a FIPS installation, the chart adds the PNG export network policy, which a FIPS installation requires. Without an enforcing CNI, Kubernetes accepts the policy but ignores it, without an error or warning, and the installation doesn't meet the FIPS 140-3 conditions for PNG export.
  • If the auth-server-system-secrets Secret comes from External Secrets or you create it yourself, the following are true. See Auth server FIPS 140-3 mode.

    • The Secret has a secretsPagination key.
    • The Secret's secretsCookie differs from its secretsSystem.
    • auth-token-customization.hydra.fips.enabled is set explicitly. Without it, global.fips.enabled: true fails the Helm render.

Set the values in order

The steps differ for a new installation and for an existing installation that turns on FIPS 140-3 mode.

New installation

  1. Meet the preconditions.
  2. Set global.fips.enabled: true in the helm install (or the first ArgoCD sync). Leave SAFE_HASH_LEGACY_ALGORITHM and global.fips.selfTest.fallback unset.
  3. Check the installation.

Existing installation

  1. Meet the preconditions.

  2. Choose a value for SAFE_HASH_LEGACY_ALGORITHM: md5 if the installation ran without FIPS mode, or sha1 if it ran in FIPS 140-2 mode. If ENABLE_FIPS_140_2_MODE is set in core.config_env_vars, remove ENABLE_FIPS_140_2_MODE.

  3. In a single helm upgrade (or ArgoCD sync), set global.fips.enabled: true and SAFE_HASH_LEGACY_ALGORITHM. DataRobot must never start in FIPS 140-3 mode without SAFE_HASH_LEGACY_ALGORITHM, not even once.

    If the installation already has custom model deployments, custom tasks, or custom jobs, also set global.fips.selfTest.fallback: warn in the same upgrade. Their images were built before FIPS 140-3 mode was on and have no self-test, so with the default fail a container that starts after the upgrade exits with code 78 until step 4 replaces them. The warn setting applies to the whole installation—while warn is set, any DataRobot service image without a self-test tool starts with a warning instead of stopping. If the installation has none of these, leave the fallback unset and skip steps 4 and 5. Leaving the fallback at fail doesn't stop custom model pods that were already running a pre-upgrade image, so step 4 is required either way.

  4. Replace the images built before FIPS 140-3 mode was on, even if the fallback stays at fail. Each of the following procedures ends with a check that no older image is still in use:

  5. When step 4 is complete, run another helm upgrade (or ArgoCD sync) that removes global.fips.selfTest.fallback: warn. Don't wait for the next release upgrade. Without the setting, the fallback is fail, so an image without a self-test tool can no longer start.

  6. Check the installation.

FIPS 140-3 mode can't be turned off

Once an installation has run in FIPS 140-3 mode, turning it off isn't supported. Switching back changes the hash algorithm of internal identifiers, so DataRobot no longer finds existing models and data.

Rebuild custom model deployments on an upgraded installation

In FIPS 140-3 mode, a custom model container starts through the FIPS self-test that Image Builder adds to the model's image. Images built before the installation turned on FIPS 140-3 mode don't have it. Restarting or reactivating a deployment reuses its image, and so does deploying a registered model version that already has one. Until a deployment gets a newly built image, its container doesn't run the self-test:

  • With global.fips.selfTest.fallback: warn, the container logs [datarobot-fips] WARNING: this image has no FIPS self-test wrapper and starts without the self-test.
  • With fail, or with the fallback unset, a container that starts after the upgrade logs [datarobot-fips] FATAL: this image has no FIPS self-test wrapper and exits with code 78, so the deployment doesn't start.

Leaving the fallback at fail, or unset, doesn't stop custom model pods that were already running a pre-upgrade image when the upgrade ran. Kubernetes recreates those pods with their earlier command, and DataRobot adds the self-test wrapper only when it starts a deployment. DataRobot doesn't rebuild the pre-upgrade images automatically, so rebuild those deployments with the following steps.

Custom task fit() runs and custom jobs check for the self-test too, as described in Create new custom task versions and Move custom jobs to new environment versions. Application containers on older images start without the self-test, regardless of the fallback setting.

To find and rebuild these deployments:

  1. List the custom model deployments with GET /api/v2/customModelDeployments/. It returns up to 100 deployments per page, so page through it with offset and limit.

    The API returns only the deployments that the calling user can access. On an installation with several owners, have each owner run it. Step 4 finds running deployments of every owner, but not inactive ones.

  2. For each active deployment, add a new version of its custom model on a FIPS base environment.

  3. Register that version, and replace the deployed model with it. DataRobot builds a new image with the self-test.

    An inactive deployment doesn't support model replacement and has no running container. While the fallback is still warn, activate it and replace its model. Check that it starts, and deactivate it again. Otherwise it exits with code 78 when it's reactivated after warn is removed.

  4. Check that no running custom model container lacks the self-test. Set LRS_NAMESPACE to the namespace that custom model pods run in. It's the DataRobot namespace unless the LRS operator runs them in a separate one. The following command lists the custom model pods whose image has no self-test wrapper:

    kubectl -n ${LRS_NAMESPACE} get pods -l datarobot-custom-model-id \
      -o jsonpath='{range .items[*]}{.metadata.name}{" "}{.metadata.labels.datarobot-lrs-container}{"\n"}{end}' |
    while read -r pod container; do
      kubectl -n ${LRS_NAMESPACE} exec "$pod" -c "$container" -- \
        /bin/sh -c 'test -e /opt/datarobot/fips_selftest_entrypoint.sh' </dev/null || echo "$pod"
    done 
    

    It checks the image rather than the log, because the startup warning can rotate out of the log of a long-running pod. It also lists a pod whose container isn't running, such as one in CrashLoopBackOff, because the check can't run in it. Run kubectl -n ${LRS_NAMESPACE} describe pod <pod> to see why it isn't running. The pod's datarobot-deployment-id and datarobot-user-id labels identify the deployment and its owner.

  5. When the command lists no pods, check that the rebuilt deployments log [datarobot-fips] FIPS self-test passed (<tool>) at startup, where <tool> is the self-test tool in the image, such as openssl-fips-test.

Create new custom task versions on an upgraded installation

In FIPS 140-3 mode, a custom task's fit() run also starts through the FIPS self-test and follows global.fips.selfTest.fallback in the same way as a custom model deployment. Each custom task version has its own image, which is built once and reused for every fit() run of that version, no matter how old the version is. The image of a version created before the installation turned on FIPS 140-3 mode doesn't have the self-test:

  • With global.fips.selfTest.fallback: warn, the fit() run logs [datarobot-fips] WARNING: this image has no FIPS self-test wrapper and runs without the self-test.
  • With fail, or with the fallback unset, the fit() run logs [datarobot-fips] FATAL: this image has no FIPS self-test wrapper and exits with code 78, so models that use the version fail to train.

Only a new version gets a new image. A blueprint uses either the custom task's latest version or a specific version selected in the blueprint editor. Blueprints that use the latest version pick up a new version automatically. Blueprints that use a specific version pick it up only after you select the new version in step 3. To create the new versions:

  1. List the custom tasks with GET /api/v2/customTasks/, paging through the results with offset and limit, and note each task's latestVersion.created. A task whose latest version was created before the installation turned on FIPS 140-3 mode still needs a new version. The API returns only the tasks that the calling user can access, so on an installation with several owners, have each owner run the request.

  2. For each of these tasks, add a new version on a FIPS base environment. To use the API instead, send PATCH /api/v2/customTasks/{customTaskId}/versions/ with baseEnvironmentId set to the ID of the FIPS base environment. It takes form fields, not a JSON body. DataRobot creates the new version from the latest version's files. 例:

    curl -X PATCH -H "Authorization: Bearer ${API_TOKEN}" \
      -F baseEnvironmentId=<fips-environment-id> \
      https://<datarobot-host>/api/v2/customTasks/<custom-task-id>/versions/ 
    
  3. In each blueprint that selects a specific version of one of these tasks, select the new version.

  4. While the fallback is still warn, train a model with each task and check that the log of the fit() run shows [datarobot-fips] FIPS self-test passed (<tool>) and no [datarobot-fips] WARNING line. To find that log, look for the pod named custom-task-job-<execution-id>-<suffix> and its container named fit-<execution-id>, where <execution-id> is the ID of that fit() run, not of the custom task or its version.

Move custom jobs to new environment versions on an upgraded installation

In FIPS 140-3 mode, a custom job run also starts through the FIPS self-test and follows global.fips.selfTest.fallback in the same way as a custom model deployment. Image Builder builds each run's image from the job's environment version and files, and adds the self-test to it. Two cases still start without a working self-test:

  • A run reuses the image of an earlier run of the job when the environment version and files haven't changed and that image is recent, by default less than 14 days old. An image built before the installation turned on FIPS 140-3 mode doesn't have the self-test.
  • A job whose environment version isn't on a FIPS base gets the self-test, but its image has no self-test tool.

With global.fips.selfTest.fallback: warn, both start with a [datarobot-fips] WARNING line. With fail, or with the fallback unset, both exit with code 78.

A custom job keeps the environment version it was created or last updated with, so a new environment version doesn't reach the job until you select it. A new version also stops a run from reusing an older image. Changing the job's files, or waiting until its last image is too old to reuse, also gets a new image with the self-test, but only a FIPS base gives that image a self-test tool. To move the jobs:

  1. List the custom jobs with GET /api/v2/customJobs/, paging through it with offset and limit, and note each job's environmentId and environmentVersionId. A job whose environmentVersionId was created before the upgrade still needs a new version. The API returns only the jobs that the calling user can access, so on an installation with several owners, have each owner run it.
  2. For each of your own environments that these jobs use, add a new version on a FIPS base. You can't add versions to the built-in DataRobot environments, and you don't need to: the upgrade publishes new versions of them on FIPS bases.
  3. Select the new environment version for each job, which for a built-in environment is its latest version, or set its environmentVersionId with PATCH /api/v2/customJobs/{customJobId}/.
  4. While the fallback is still warn, run each job once and check that its log shows [datarobot-fips] FIPS self-test passed (<tool>) and no [datarobot-fips] WARNING line.

A correct FIPS installation

A new installation sets one value:

global:
  fips:
    enabled: true 

An installation upgraded from a standard (non-FIPS) installation also keeps its earlier hash algorithm:

global:
  fips:
    enabled: true

core:
  config_env_vars:
    SAFE_HASH_LEGACY_ALGORITHM: "md5" 

For an installation upgraded from FIPS 140-2, use "sha1" and remove ENABLE_FIPS_140_2_MODE. If core.config_env_vars already has other entries, add the key to the existing section.

Check a FIPS installation

After the upgrade, check the following, replacing ${NAMESPACE} with the DataRobot namespace:

  • The DataRobot app runs in FIPS 140-3 mode. The datarobot-modeling-envvars ConfigMap contains ENABLE_FIPS_140_3_MODE: "True", plus SAFE_HASH_LEGACY_ALGORITHM on an upgraded installation:

    kubectl -n ${NAMESPACE} get configmap -o yaml | grep -E 'ENABLE_FIPS_140_3_MODE|SAFE_HASH_LEGACY_ALGORITHM' 
    
  • DataRobot services run with DATAROBOT_FIPS_ENFORCE=true, and none of them restarts with exit code 78.

  • global.fips.selfTest.fallback is no longer warn. The chart sets DATAROBOT_FIPS_FALLBACK only when the fallback is set, so the following prints nothing:

    kubectl -n ${NAMESPACE} get deployments,statefulsets -o yaml | grep -A1 'name: DATAROBOT_FIPS_FALLBACK' | grep warn 
    
  • No bundled persistent critical service is stuck on its self-test. Their self-test exits with code 1, not 78. A failed self-test leaves PostgreSQL, pgpool, PgBouncer, the CloudNativePG operator, and the metrics exporters in Init:Error, and makes Redis and MongoDB restart.

  • PostgreSQL, pgpool, and PgBouncer log [datarobot-fips] FIPS 140-3 self-test passed, OpenSSL fips provider active in the fips-self-test init container. Redis and MongoDB log the same line at the start of their main container log. The metrics exporters (init container fips-self-test-metrics) and the CloudNativePG operator (init container fips-self-test) log the self-test tool's own output instead. Read an init container log with -c:

    kubectl -n ${NAMESPACE} logs <pod> -c fips-self-test
    kubectl -n ${NAMESPACE} logs <pod> -c fips-self-test-metrics 
    
  • The build-service deployment has DATAROBOT_FIPS_ENFORCE_ON_BUILT_IMAGES set to "true":

    kubectl -n ${NAMESPACE} get deployment -o yaml | grep -A1 DATAROBOT_FIPS_ENFORCE_ON_BUILT_IMAGES 
    
  • The PNG export NetworkPolicy exists:

    kubectl -n ${NAMESPACE} get networkpolicy datarobot-pngexport 
    

    This shows only that Kubernetes has the policy. Whether it's enforced depends on the CNI plugin; see the preconditions.

A DataRobot service container that exits with code 78 writes the reason to its log in a [datarobot-fips] FATAL line. A bundled persistent critical service whose self-test fails exits with code 1 and writes the same [datarobot-fips] FATAL line, except the metrics exporters and the CloudNativePG operator, which log the self-test tool's output. For images built by Image Builder, see Exit code 78.

Alert on FIPS module failures

When a FIPS module fails its startup self-test or fails while a service is running, the container writes the reason to its log and stops. Failure lines go to stderr, but some status lines, such as a skipped self-test, go to stdout. DataRobot doesn't write the failure lines to syslog or to a file in the container, so they reach your log platform or SIEM only through the pod logs. Collect stdout and stderr from every container, including init containers, in the DataRobot namespace and in any namespace where custom models, custom tasks, custom jobs, or custom apps run. Then create alert rules on the patterns below.

Patterns to alert on

DataRobot's own lines contain the prefix [datarobot-fips]. A failure line usually includes FATAL: and a warning line includes WARNING:, but not every failure line says FATAL, so match on failed too. Lines from third-party FIPS modules, in images without the DataRobot self-test or underneath it, don't have the prefix.

Severity Pattern (regular expression) ソース
Alert \[datarobot-fips\].*FATAL DataRobot self-tests and runtime checks
Alert \[datarobot-fips\].*failed DataRobot self-tests and runtime checks whose failure line doesn't say FATAL
Alert FIPS 140-3 self-test failed Go native FIPS module, followed by a goroutine dump
Alert Self-test .*FAILED OpenSSL openssl-fips-test
Alert FipsOperationError Bouncy Castle FIPS (Java)
Alert Module in error status Bouncy Castle FIPS (Java), on every call after the module fails
Alert no such provider: BCFIPS Bouncy Castle FIPS failed to load from java.security, so it's missing from the provider list
Alert fallback to geomys Go on the OpenSSL FIPS backend fell back to its built-in module because the OpenSSL module isn't available. Logged only when GODEBUG includes cgr_verbose=1.
Alert FIPS mode is off; crypto halt checks disabled The runtime check didn't start because FIPS mode is off in the container
Alert DATAROBOT_FIPS_ENFORCE is not true; skipping the FIPS self-test The startup self-test didn't run
Alert FIPS self-test skipped: DATAROBOT_FIPS_ENFORCE= The startup self-test didn't run (Java services)
注意 \[datarobot-fips\] WARNING: A container started without the self-test under global.fips.selfTest.fallback: warn, or a check ran in a degraded mode

The FIPS mode is off, DATAROBOT_FIPS_ENFORCE is not true and FIPS self-test skipped patterns also appear on installations that aren't in FIPS 140-3 mode, so apply these rules only to FIPS installations.

When you write the rules:

  • Don't anchor the patterns to the start of the line. Some services write these lines through a logger that adds a timestamp in front, and log collectors may wrap each line in JSON.
  • Don't alert on the exit code alone. A DataRobot service container exits with code 78, but a bundled persistent critical service exits with code 1, a Python web server worker exits with code 3, and the Go native module exits with code 2. Use the exit code only to find the pod, and the log line to see why it stopped.
  • openssl-fips-test colors its output with ANSI escape codes. A failed test prints Self-test <type> <description> ... followed by an escape code and then FAILED, so Self-test .*FAILED matches through the code. A rule that matches the whole line has to strip the codes first.
  • An application that uses OpenSSL with a failed FIPS provider may log only generic errors such as error:0308010C:digital envelope routines:inner_evp_generic_fetch:unsupported. The [datarobot-fips] line from the startup self-test is the reliable signal.

To check a rule, look for the [datarobot-fips] lines from a known startup in your log platform, such as [datarobot-fips] FIPS self-test passed (<tool>) from a custom model deployment or [datarobot-fips] FIPS 140-3 self-test passed, OpenSSL fips provider active from PostgreSQL. If the passed lines arrive, a FATAL line from the same container arrives the same way.