DirectorySecurity AdvisoriesPricing
Sign inTry Starter for free
Directory
data-prepper-fips logoFIPS

data-prepper-fips

packaged by Chainguard

Last changed
Available on Enterprise

Starter and Team plans don't include this image. Enterprise does.

Compare plans
Chainguard HarnessHack your app with frontier AI

Chainguard Harness uses frontier models from Anthropic, OpenAI, and Google to attack a copy of your app built on data-prepper-fips. It finds exploitable, validated issues that SAST and DAST tools aren't built to find.

Tags
Overview
Comparison
Provenance
Specifications
SBOM
Vulnerabilities
Advisories

Chainguard Container for data-prepper-fips

OpenSearch Data Prepper accepts, filters, transforms, enriches, and routes data using Bouncy Castle FIPS cryptography in approved-only mode.

Chainguard Containers are regularly-updated, secure-by-default container images.

Download this Container Image

For those with access, this container image is available on cgr.dev:

docker pull cgr.dev/ORGANIZATION/data-prepper-fips:latest

Be sure to replace the ORGANIZATION placeholder with the name used for your organization's private repository within the Chainguard Registry.

Compatibility Notes

The cgr.dev/ORGANIZATION/data-prepper-fips image follows the launch interface of upstream opensearchproject/data-prepper. It uses an OpenJDK 17 JRE, runs as data_prepper (UID and GID 1000), and starts bin/data-prepper from /usr/share/data-prepper. The JRE omits upstream JDK compilation and diagnostic tools.

Most application files are owned by root. The writable directories are /usr/share/data-prepper/log/, /usr/share/data-prepper/logs/, /usr/share/data-prepper/data/, and /var/log/data-prepper/. Mount volumes writable by UID 1000 for plugins that write elsewhere. Mounted certificates, keys, and configuration files must be readable by that user.

See FIPS Support for plugin, authentication, and TLS differences, and Configure management HTTPS for setup instructions.

FIPS Support

The image uses Bouncy Castle FIPS (BCFIPS) and its TLS provider (BCJSSE) in approved-only mode. See Chainguard's FIPS guide for general guidance. Preserve the supplied Java security policy and provider configuration when adding JVM options or plugins.

Management API

Unlike the upstream image, the management API defaults to HTTP on port 4900 with ssl: false and the upstream admin/admin credentials. The upstream management keystore.p12 uses algorithms that FIPS mode rejects and is not included.

Certificates and stores

A keystore contains a certificate and its private key. A truststore contains certificates used to verify other endpoints. The following formats are supported:

  • Private-key stores must use Bouncy Castle FIPS KeyStore (BCFKS). PKCS#12 private-key stores are unsupported. Use passwords of at least 14 ASCII characters for BCFKS stores.
  • Application truststore files accept BCFKS and certificate-only JKS through BCFIPS. JKS private-key entries are rejected. See Configure JVM trust for the required JVM settings.
  • OpenSearch sink client authentication also accepts PEM certificate and key files.
  • ACM certificate exports require encrypted PKCS#8 keys with passphrases of at least 14 ASCII characters. Legacy encrypted PKCS#1 keys are rejected because their password derivation uses MD5.

Authentication

  • RDS PostgreSQL source: MD5 and SSPI authentication are disabled. Use SCRAM-SHA-256 for password authentication over verified TLS. If you configure requireAuth, specify one or more of scram-sha-256, password, none, and gss. Negated lists such as !md5 are unsupported.
  • MongoDB and DocumentDB sources: Use SCRAM-SHA-256. Data Prepper selects it by default and rejects other explicitly configured mechanisms.
  • OpenSearch sink, source, and trace-group clients: HTTP Digest and NTLM authentication are disabled. Use Basic authentication over verified TLS or another supported authentication method.
  • Proxy authentication: Authenticated proxies are unsupported. Data Prepper refuses credentials supplied through http.proxyUser, http.proxyPassword, https.proxyUser, and https.proxyPassword, or embedded in http_proxy, HTTP_PROXY, https_proxy, or HTTPS_PROXY. Use a proxy that does not require a login.
  • Kafka SCRAM authentication: Passwords must contain at least 14 ASCII characters to meet the FIPS HMAC key-length requirement. Shorter passwords can cause repeated authentication failures.

Plugin and data compatibility

The experimental Iceberg source is not included in the FIPS variant. Its catalog authentication integrations are outside the supported FIPS configuration.

Peer forwarding uses SHA-256 fingerprints when ssl_fingerprint_verification_only is enabled. This change requires no configuration changes and preserves certificate trust across mixed-version peers.

MD5 remains in use for non-security routing and document identifiers. The encryption plugin and Kafka buffer use AES/ECB encryption, matching upstream.

Getting Started

This Docker example accepts HTTP events on localhost and writes them to the container logs. It does not publish the management port. Configure verified TLS before accepting remote traffic. Create the pipeline:

cat > pipelines.yaml <<'EOF'
log-pipeline:
  source:
    http:
      ssl: false
  sink:
    - stdout: {}
EOF

Mount the pipeline and start the image:

docker run -d --name data-prepper-fips \
  -p 127.0.0.1:2021:2021 \
  -v "$PWD/pipelines.yaml:/usr/share/data-prepper/pipelines/pipelines.yaml:ro" \
  cgr.dev/ORGANIZATION/data-prepper-fips:latest

Send an event and inspect the logs for hello from Data Prepper:

curl --fail-with-body --retry 30 --retry-connrefused --retry-delay 2 \
  -H 'Content-Type: application/json' \
  -d '[{"message":"hello from Data Prepper"}]' \
  http://localhost:2021/log/ingest
docker logs data-prepper-fips

Configuration

The image preserves the upstream path environment variables:

  • DATA_PREPPER_PATH=/usr/share/data-prepper
  • ENV_CONFIG_FILEPATH=/usr/share/data-prepper/config/data-prepper-config.yaml
  • ENV_PIPELINE_FILEPATH=/usr/share/data-prepper/pipelines/pipelines.yaml

/usr/share/data-prepper links to /usr/share/java/data-prepper, and /usr/bin/data-prepper links to the launcher. Pass additional JVM options through JAVA_OPTS without overriding the FIPS policy or provider settings.

Configure management HTTPS

This example assumes you have a PKCS#12 file named server.p12 containing your server certificate, private key, and certificate chain. The certificate must match your management endpoint's hostname.

Convert it to BCFKS on a separate provisioning system with a JDK and the BCFIPS JAR installed. Set -providerpath to the JAR's location on that system. Replace the example passwords with your own password of at least 14 ASCII characters, using the same password for the destination store and private key:

keytool -importkeystore \
  -srckeystore server.p12 -srcstoretype PKCS12 \
  -destkeystore management.bcfks -deststoretype BCFKS \
  -deststorepass REPLACE_WITH_STORE_PASSWORD \
  -destkeypass REPLACE_WITH_STORE_PASSWORD \
  -providerclass org.bouncycastle.jcajce.provider.BouncyCastleFipsProvider \
  -providerpath /usr/share/java/bouncycastle-fips/bc-fips.jar

Create the management configuration. Use the destination password from the conversion for both store and private-key passwords, and choose a new admin password:

cat > data-prepper-config.yaml <<'EOF'
ssl: true
key_store_file_path: /usr/share/data-prepper/tls/management.bcfks
key_store_password: REPLACE_WITH_STORE_PASSWORD
private_key_password: REPLACE_WITH_STORE_PASSWORD
authentication:
  http_basic:
    username: admin
    password: REPLACE_WITH_ADMIN_PASSWORD
EOF

Make the keystore and configuration readable by UID 1000. Start a separate container with the pipeline created above and publish the management HTTPS port on localhost:

docker run -d --name data-prepper-fips-tls \
  -p 127.0.0.1:4900:4900 \
  -v "$PWD/pipelines.yaml:/usr/share/data-prepper/pipelines/pipelines.yaml:ro" \
  -v "$PWD/data-prepper-config.yaml:/usr/share/data-prepper/config/data-prepper-config.yaml:ro" \
  -v "$PWD/management.bcfks:/usr/share/data-prepper/tls/management.bcfks:ro" \
  cgr.dev/ORGANIZATION/data-prepper-fips:latest

Verify access using your issuing CA certificate in ca.crt. Replace data-prepper.example.com in both places below with the hostname in your server certificate. The --resolve option connects that hostname to the local container without changing DNS. Enter your new admin password when prompted:

curl --fail-with-body --retry 30 --retry-connrefused --retry-delay 2 \
  --cacert ca.crt \
  --resolve data-prepper.example.com:4900:127.0.0.1 \
  --user admin \
  https://data-prepper.example.com:4900/list

A successful request returns the list of configured pipelines. This configures management HTTPS only. Configure source TLS and sink trust independently in pipelines.yaml.

Configure JVM trust

For outbound clients that use the JVM truststore, such as the Kafka OAuth token client, mount a truststore containing the issuing CA certificates. This is separate from the keystore used to serve management HTTPS.

Data Prepper defaults javax.net.ssl.trustStoreType to FIPS. This setting selects the BCFIPS reader, which accepts both BCFKS and certificate-only JKS files. If you use a JKS file, keep the type set to FIPS. Setting it to JKS would select a different provider and is rejected.

For example, place your BCFKS truststore in truststore.bcfks and configure pipelines.yaml for your outbound client. Make both files readable by UID 1000, then start a container with the files mounted and the JVM options set. Replace the truststore password:

docker run -d --name data-prepper-fips-trust \
  -v "$PWD/pipelines.yaml:/usr/share/data-prepper/pipelines/pipelines.yaml:ro" \
  -v "$PWD/truststore.bcfks:/tls/truststore.bcfks:ro" \
  -e JAVA_OPTS="-Djavax.net.ssl.trustStore=/tls/truststore.bcfks \
    -Djavax.net.ssl.trustStorePassword=REPLACE_WITH_STORE_PASSWORD \
    -Djavax.net.ssl.trustStoreType=BCFKS" \
  cgr.dev/ORGANIZATION/data-prepper-fips:latest

The supported JVM truststore types are FIPS and BCFKS. If you also configure javax.net.ssl.keyStoreType for client authentication, it must be BCFKS. Use endpoint hostnames that match their certificates.

Deploying With Helm

The OpenSearch Data Prepper Helm chart accepts an image override and a mounted BCFKS keystore for management HTTPS. Prepare management.bcfks as described in Configure management HTTPS, then create a Secret for the keystore:

kubectl create namespace data-prepper
kubectl create secret generic data-prepper-management -n data-prepper \
  --from-file=management.bcfks

Create a values file. Replace ORGANIZATION with your registry organization and REPLACE_WITH_STORE_PASSWORD with your BCFKS password. The server's ssl: true enables management HTTPS, and config.ssl: "true" selects HTTPS for the chart's health checks. The pipeline accepts HTTP events and writes them to the container logs, as in Getting Started:

cat > values.yaml <<'EOF'
image:
  repository: cgr.dev/ORGANIZATION/data-prepper-fips
  tag: latest
config:
  ssl: "true"
  data-prepper-config.yaml: |
    ssl: true
    key_store_file_path: /usr/share/data-prepper/tls/management.bcfks
    key_store_password: REPLACE_WITH_STORE_PASSWORD
    private_key_password: REPLACE_WITH_STORE_PASSWORD
pipelineConfig:
  enabled: true
  config:
    log-pipeline:
      source:
        http:
          ssl: false
      sink:
        - stdout: {}
volumes:
  - name: management
    secret:
      secretName: data-prepper-management
volumeMounts:
  - name: management
    mountPath: /usr/share/data-prepper/tls
    readOnly: true
EOF

Configure imagePullSecrets in the values file if your cluster needs credentials to pull the image. Install the chart:

helm repo add opensearch https://opensearch-project.github.io/helm-charts
helm repo update opensearch
helm upgrade --install data-prepper opensearch/data-prepper \
  --namespace data-prepper \
  --values values.yaml \
  --wait --timeout 5m

This example enables management HTTPS without authentication, matching the upstream chart's default authentication behavior.

The chart supplies its own server configuration. Management HTTPS does not enable pipeline TLS. The pipeline reused here accepts plaintext HTTP for the local example. Configure source TLS and sink trust in your production pipelines. If your pipelines use peer forwarding, mount its certificate and private key and set their paths explicitly in the server configuration, since the chart replaces /usr/share/data-prepper/config.

Documentation and Resources

What are Chainguard Containers?

Chainguard's free tier of Starter container images are built with Wolfi, our minimal Linux undistro.

All other Chainguard Containers are built with Chainguard OS, Chainguard's minimal Linux operating system designed to produce container images that meet the requirements of a more secure software supply chain.

The main features of Chainguard Containers include:

For cases where you need container images with shells and package managers to build or debug, most Chainguard Containers come paired with a development, or -dev, variant.

In all other cases, including Chainguard Containers tagged as :latest or with a specific version number, the container images include only an open-source application and its runtime dependencies. These minimal container images typically do not contain a shell or package manager.

Although the -dev container image variants have similar security features as their more minimal versions, they include additional software that is typically not necessary in production environments. We recommend using multi-stage builds to copy artifacts from the -dev variant into a more minimal production image.

Need additional packages?

To improve security, Chainguard Containers include only essential dependencies. Need more packages? Chainguard customers can use Custom Assembly to add packages, either through the Console, chainctl, or API.

To use Custom Assembly in the Chainguard Console: navigate to the image you'd like to customize in your Organization's list of images, and click on the Customize image button at the top of the page.

Learn More

Refer to our Chainguard Containers documentation on Chainguard Academy. Chainguard also offers VMs and Libraries — contact us for access.

Trademarks

This software listing is packaged by Chainguard. The trademarks set forth in this offering are owned by their respective companies, and use of them does not imply any affiliation, sponsorship, or endorsement by such companies.

Licenses

Chainguard's container images contain software packages that are direct or transitive dependencies. The following licenses were found in the "latest" tag of this image:

  • Apache-2.0

  • NIST-PD

For a complete list of licenses, please refer to this Image's SBOM.

Software license agreement

Compliance

Chainguard Containers are SLSA Level 3 compliant with detailed metadata and documentation about how it was built. We generate build provenance and a Software Bill of Materials (SBOM) for each release, with complete visibility into the software supply chain.

SLSA compliance at Chainguard

This image helps reduce time and effort in establishing PCI DSS 4.0 compliance with low-to-no CVEs.

PCI DSS at Chainguard

This is a FIPS validated image for FedRAMP compliance.

This image is STIG hardened and scanned against the DISA General Purpose Operating System SRG with reports available.

Learn more about STIGsGet started with STIGs

Related images
data-prepper logo

data-prepper


Category
FIPS
STIG

The trusted source for open source

Talk to an expert
PrivacyTerms

Product

Chainguard ContainersChainguard LibrariesChainguard VMsChainguard OS PackagesChainguard ActionsChainguard Agent SkillsIntegrationsPricing
© 2026 Chainguard, Inc. All Rights Reserved.
Chainguard® and the Chainguard logo are registered trademarks of Chainguard, Inc. in the United States and/or other countries.
The other respective trademarks mentioned on this page are owned by the respective companies and use of them does not imply any affiliation or endorsement.