Skip to content

fix(deps): resolve scheduled cargo deny failures - #27363

Merged
thomasqueirozb merged 1 commit into
masterfrom
pront-fix-deny-advisories
Nov 30, 2026
Merged

thomasqueirozb merged 1 commit into
masterfrom
pront-fix-deny-advisories

Conversation

@pront

@pront pront commented Nov 30, 2026 •

Copy link
Copy Markdown
Member

Summary

The scheduled dependency audit fails on two advisories. Upgrade kube to 4.2.1 so Kubernetes API connections with a configured CA bundle trust only that bundle. This applies to kubernetes_logs and Kubernetes discovery in prometheus_scrape.

Document an exception for curve25519-dalek 4.1.3. Its affected AVX-512 backend requires nightly Rust, and Vector pins stable Rust. The newest nkeys release still depends on ed25519-dalek 2, which requires curve25519-dalek 4.

References

Vector configuration

Existing Kubernetes CA configuration applies. If the connection relied on an additional CA from the system store, add that CA to the configured bundle.

How did you test this PR?

  • The full scheduled audit command passed locally with CI's pinned cargo-deny 0.20.2. The PR's Linux Deny and license jobs passed, and Deny reported zero findings on the PR head. Regenerating license metadata produced no diff.
  • All 98 focused tests passed on macOS, covering Kubernetes log parsing and metadata, pod watches against a mock Kubernetes API, and scraping as discovered pods change.
  • A live Kubernetes cluster was not exercised.

Does this PR include user facing changes?

  • Yes. Please add a changelog fragment based on our guidelines.
    For a new deprecation announcement, follow the deprecation policy and add a deprecation.d/ notice instead.
  • No. A maintainer will apply the no-changelog label to this PR.

Contributor Guidelines

  • Please read our Vector contributor resources.
  • Do not hesitate to use @vectordotdev/vector to reach out to us regarding this PR.
  • Before pushing, follow our pre-push guidance.
  • After a review is requested, please avoid force pushes to help us review incrementally.
    • Feel free to push as many commits as you want. They will be squashed into one before merging.
    • For example, you can run git merge origin master and git push.

@pront
pront marked this pull request as ready for review November 30, 2026 14:14
@pront
pront requested a review from a team as a code owner November 30, 2026 14:14
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 30, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-30T14:15:29.961493Z 7e4a8cc Draft marked ready
🔒 Security Review ✅ Completed 2026-11-30T14:17:22.968207Z 7e4a8cc Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@datadog-official datadog-official Bot added domain:deps Anything related to Vector's dependencies, including build, test and CI tool versions domain:security Anything related to security platform:kubernetes Anything `kubernetes` platform related source:kubernetes_logs Anything `kubernetes_logs` source related source:prometheus_scrape Anything `prometheus_scrape` source related labels Nov 30, 2026
@pront
pront enabled auto-merge November 30, 2026 14:15

@datadoghq-integration datadoghq-integration Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Bits Code Review: PASS

More details

The curve25519-dalek exception is supported by its nightly-only AVX-512 gate and Vector’s stable Rust toolchain. The kube package updates match registry metadata.

Was this helpful? React 👍 or 👎

Open Bits AI session

🤖 Bits Code Review · Commit 7e4a8cc

@pront
pront added this pull request to the merge queue Nov 30, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Nov 30, 2026
@thomasqueirozb
thomasqueirozb added this pull request to the merge queue Nov 30, 2026
Merged via the queue into master with commit 6769a8a Nov 30, 2026
125 checks passed
@thomasqueirozb
thomasqueirozb deleted the pront-fix-deny-advisories branch November 30, 2026 16:20
@github-actions github-actions Bot locked and limited conversation to collaborators Nov 30, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

domain:deps Anything related to Vector's dependencies, including build, test and CI tool versions domain:security Anything related to security platform:kubernetes Anything `kubernetes` platform related source:kubernetes_logs Anything `kubernetes_logs` source related source:prometheus_scrape Anything `prometheus_scrape` source related

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants