Repository navigation
ci: add snyk security check (monitor on main, manual test on branches) - #55
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
odubajDT
force-pushed
the
ICP-11520-snyk-main-only
branch
from
November 19, 2026 09:32
0f2666e to
95daf78
Compare
mowies
reviewed
Nov 19, 2026
IaC and Container licensing for CLI uploads is unconfirmed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
mowies
approved these changes
Nov 19, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a Snyk security check, aligned with the other repos maintained by the same team (dynatrace-oss/dynatrace-metric-utils-go#18, Dynatrace/otel-target-allocator#127): Snyk tracks
mainonly.This replaces the manual Snyk GitHub import of this repo's gem dependencies with a CI-driven scan. The examples (
example/*.yaml,example/Dockerfile) are not scanned for now, because it's unconfirmed whether our Snyk license covers IaC and Container uploads from CI. Their manually imported Snyk projects stay as they are.Change
New
.github/workflows/security.yml:main→snyk monitor, projectdynatrace-oss/fluent-plugin-dynatrace. Gems don't commit aGemfile.lock, so CI resolves one from the gem's runtime dependencies only (snyk-runtime/Gemfilewith the gem as a path dependency); dev/test tooling is not scanned.workflow_dispatchon any other branch →snyk test --severity-threshold=low. Results are shown in the job log, nothing is uploaded, and the job fails on any finding.mainbehaves like a push (monitor).Runs on Ruby 3.4, the Ruby bundled with fluent-package v6 LTS, so
bundle lockresolves the dependency versions users get.Uses
secrets.SNYK_TOKEN(a dedicated Snyk service account for this repo).Test run
pull_requesttrigger https://github.com/dynatrace-oss/fluent-plugin-dynatrace/actions/runs/44467915091