Skip to content

About

Custom OpenSearch Docker image for FortLogs

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

45 Commits

Folders and files

opensearch-fortlogs

REUSE status License

Custom OpenSearch Docker image that replaces the bundled opensearch-security-analytics and opensearch-alerting plugins with patched builds containing upstream fixes not yet merged.

Why

Upstream PRs with critical fixes are open but unmerged. This image ships those fixes by installing plugin ZIPs built from source branches before the patches land in an official release.

Base image

opensearchproject/opensearch:3.8.0 (linux/amd64)

What this image does

  1. Removes the stock opensearch-security-analytics and opensearch-alerting plugins.
  2. Installs custom-built plugin ZIPs that include the patches listed below.

Order matters. Do not change the order in the Dockerfile.

Upstream PRs included

opensearch-project/alerting

opensearch-project/security-analytics

Open upstream issues

Repo Type Link Title
opensearch-project/alerting PR #2163 fix: stop DestinationMigrationCoordinator cycling on unrelated cluster events
opensearch-project/alerting PR #2158 Fix: Skip alias-type fields in doc-level monitor query index mapping
opensearch-project/alerting PR #2154 fix: correct inverted condition in DocLevelMonitorQueries causing query index churn
opensearch-project/alerting PR #2145 Fix/workflow validation ~10 delegation monitor limit
opensearch-project/alerting PR #2150 Fix/doc level monitor sample documents source fields
opensearch-project/alerting PR #2221 Fix/doc level monitor sample documents source fields
opensearch-project/alerting PR #2223 Fix doc-level monitor failure on source indices with custom analysis or malformed mappings (ref issues: alerting#961, security-analytics#697, security-analytics#1798)
opensearch-project/alerting Issue #2157 [BUG] Doc-level monitor upsertQueryIndex fails with HTTP 500 when source index contains alias-type fields
opensearch-project/alerting Issue #2153 [BUG] DocLevelMonitorQueries: inverted condition causes query index to be deleted and recreated on every monitor execution
opensearch-project/alerting Issue #2144 [BUG] Workflow Validation Fails for Detectors with More Than 10 Rules
opensearch-project/alerting Issue #2149 [BUG] Doc-level monitor action templates cannot reliably access the original matched document for notifications on routed indices
opensearch-project/alerting Issue #2220 fix: ClassCastException when updating doc_level_monitor with absent last_run_context in stored metadata
opensearch-project/alerting Issue #2222 [BUG] Doc-level monitor with multiple triggers generates duplicate findings per matched document
opensearch-project/alerting PR #2302 fix: doc-level monitor with N triggers produces N×M findings instead of M
opensearch-project/alerting PR #2332 Fix: detect field-type conflicts across all backing indices in doc-level monitors
opensearch-project/security-analytics PR #1726 fix: set deleteQueryIndexInEveryRun=false for chained_findings monitor
opensearch-project/security-analytics PR #1797 fix: guard against null and immutable map returns in RuleIndices and CustomLogType
opensearch-project/security-analytics PR #1827 fix(rules): emit native wildcard DSL for wildcard-typed fields
opensearch-project/security-analytics Issue #1826 Bucket-level monitor filter silently returns 0 hits for wildcard-typed fields
opensearch-project/security-analytics Issue #1731 [BUG] OSMapping uses timestamp alias instead of ECS-standard @timestamp, breaking time-range filters for ECS-compliant indices
opensearch-project/security-analytics Issue #1796 fix: NullPointerException in RuleIndices when log type has no field mappings, and UnsupportedOperationException risk in CustomLogType from immutable map deserialization
opensearch-project/security-analytics Issue #1725 [BUG] TransportIndexDetectorAction: chained_findings monitor created with deleteQueryIndexInEveryRun=true causing index churn
opensearch-project/security-analytics PR #1722 Fix mutable script params for detector trigger actions
opensearch-project/common-utils PR #967 Fix ClassCastException from immutable map returned by StreamInput.readMap()
opensearch-project/common-utils Issue #968 Fix ClassCastException from immutable map returned by StreamInput.readMap()

Published image

Images are built and pushed to ghcr.io by the Build Docker images and push to registry workflow (on pushes to main/version tags, and via manual trigger when an extra tag is needed). Pushed images are automatically mirrored to Keppel Container Image Registry.

The image tag (Imagetag in the greenhouse-extensions build matrix) uses a four-segment 3.7.0.N scheme: 3.7.0 is the base OpenSearch version and N is the build counter (3.7.0.3, 3.7.0.4, ...). Increment N for each rebuild. Do not use a prerelease suffix like 3.7.0-devNN: the OpenSearch operator derives the cluster version from this tag and its semver gate (>=2.0.0) excludes prerelease versions, which makes it mis-render plugins.security.authcz.admin_dn.

Building locally

docker build --platform linux/amd64 -t opensearch-fortlogs:3.7.0.3 .

Removing a patch

Once an upstream PR merges and a new OpenSearch release ships the fix, remove the custom plugin from the build and bump the base image version. When all patches for a plugin are upstreamed, revert to the official plugin.

Support, Feedback, Contributing

This project is open to feature requests/suggestions, bug reports etc. via GitHub issues. Contribution and feedback are encouraged and always welcome. For more information about how to contribute, see our Contribution Guidelines.

Security / Disclosure

If you find any bug that may be a security problem, please follow our instructions in the security policy on how to report it. Please do not create GitHub issues for security-related doubts or problems.

Code of Conduct

We as members, contributors, and leaders pledge to make participation in our community a harassment-free experience for everyone. By participating in this project, you agree to abide by its Code of Conduct at all times.

Licensing

Copyright 2026 SAP SE or an SAP affiliate company and opensearch-fortlogs contributors. Please see our LICENSE for copyright and license information. Detailed information including third-party components and their licensing/copyright information is available via the REUSE tool.

About

Custom OpenSearch Docker image for FortLogs

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages