Skip to content

feat: SBOMs for OpenSearch and opensearch-security-plugin #1211

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

Merged
merged 1 commit into from
Jul 22, 2025

Conversation

dervoeti
Copy link
Member

@dervoeti dervoeti commented Jul 22, 2025

Description

I had to use an older version of the cyclonedx-gradle-plugin for OpenSearch itself, since newer versions caused issues with the version of the com.networknt:json-schema-validator component used by the OpenSearch build process. Updating com.networknt:json-schema-validator to the latest version is also possible (then the most recent version of cyclonedx-gradle-plugin works), but I decided against it to prevent side effect on the OpenSearch build process.

--warning-mode=summary is passed to the cyclonedxBom subcommand to prevent it from failing because of deprecated features. The SBOM is generated correctly, it will probably not work with Gradle 9 but by then newer versions of OpenSearch and the cyclonedx-gradle-plugin might be ready that fix these warnings.

I also moved the COPY line of the security plugin further down to avoid rebuilding OpenSearch when changing something in the plugin.

Definition of Done Checklist

Note

Not all of these items are applicable to all PRs, the author should update this template to only leave the boxes in that are relevant.

Please make sure all these things are done and tick the boxes

  • Changes are OpenShift compatible
  • All added packages (via microdnf or otherwise) have a comment on why they are added
  • Things not downloaded from Red Hat repositories should be mirrored in the Stackable repository and downloaded from there
  • All packages should have (if available) signatures/hashes verified
  • Add an entry to the CHANGELOG.md file
  • Integration tests ran successfully
TIP: Running integration tests with a new product image

The image can be built and uploaded to the kind cluster with the following commands:

bake --product <product> --image-version <stackable-image-version>
kind load docker-image <image-tagged-with-the-major-version> --name=<name-of-your-test-cluster>

See the output of bake to retrieve the image tag for <image-tagged-with-the-major-version>.

@dervoeti dervoeti moved this to Development: Waiting for Review in Stackable Engineering Jul 22, 2025
@dervoeti dervoeti self-assigned this Jul 22, 2025
@dervoeti dervoeti requested a review from labrenbe July 22, 2025 08:35
Copy link
Member

@labrenbe labrenbe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@labrenbe labrenbe merged commit 9ee4c40 into feat/opensearch Jul 22, 2025
2 checks passed
@labrenbe labrenbe deleted the feat/opensearch-sboms branch July 22, 2025 09:05
@labrenbe labrenbe moved this from Development: Waiting for Review to Development: Done in Stackable Engineering Jul 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Development: Done
Development

Successfully merging this pull request may close these issues.

2 participants