Skip to content

fix(security): add securityContext to research valkey fixture - #7024

Merged
dan-petty merged 2 commits into
mainfrom
fix/6971-judge-trivy-ksv-0118-in-valkey
Nov 24, 2026
Merged

dan-petty merged 2 commits into
mainfrom
fix/6971-judge-trivy-ksv-0118-in-valkey

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

Trivy reports KSV-0118 at HIGH severity on tests/fixtures/research/repo/k8s/llm/valkey.yaml (alert 1190, issue #6971). The fixture Deployment lacks pod and container securityContext blocks, which also triggers KSV-0014 (HIGH, alert 287).

Add restrictive pod and container securityContext blocks to tests/fixtures/research/repo/k8s/llm/valkey.yaml while preserving both images (valkey/valkey:9.1.2-alpine and example/untagged), and update the expected YAML line numbers in tests/research/test_inventory.py.

Closes #6971

Change: openspec/changes/archive/2026-11-24-6971-judge-trivy-ksv-0118-in-valkey/

@dan-petty dan-petty added type/bug Type bug: the code does not do what it must scope/security Security linters (trivy, bandit, gitleaks, kubeconform) and Vault labels Nov 24, 2026
@dan-petty

Copy link
Copy Markdown
Owner Author

Check results

Head commit: c52e68a504c28063349d013f61dad8f3bb21ed58

Check Conclusion Link
Tests & Coverage success run
devops-cli success run
zizmor success run
trivy-config success run
Changed-Test Independence success run
Plan Check skipped run
CodeQL success run
Tests on Main skipped run
Dependency Freshness skipped run
Test Job Duration skipped run
Tests & Coverage (shard 1 of 5) success run
Tests & Coverage (shard 4 of 5) success run
Changed-Test Independence (run 1 of 3) success run
Static Analysis success run
Tests & Coverage (shard 5 of 5) success run
Changed-Test Independence (run 3 of 3) success run
Tests & Coverage (shard 2 of 5) success run
Changed-Test Independence (run 2 of 3) success run
Design Tokens success run
Tests & Coverage (shard 3 of 5) success run
Service Image success run
Runner Image success run
Analyze (python) success run
Analyze (actions) success run
Semantic PR title success run

Skipped check: Plan Check
Skipped check: Tests on Main
Skipped check: Dependency Freshness
Skipped check: Test Job Duration

@dan-petty
dan-petty marked this pull request as ready for review November 24, 2026 20:48
@dan-petty
dan-petty merged commit 69aaacd into main Nov 24, 2026
25 checks passed
@dan-petty
dan-petty deleted the fix/6971-judge-trivy-ksv-0118-in-valkey branch November 24, 2026 20:50
dan-petty-release Bot added a commit that referenced this pull request Nov 24, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.211.3](v0.211.2...v0.211.3)
(2026-11-24)


### Bug Fixes

* **security:** add securityContext to research valkey fixture
([#7024](#7024))
([69aaacd](69aaacd))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: dan-petty-release[bot] <346998822+dan-petty-release[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope/security Security linters (trivy, bandit, gitleaks, kubeconform) and Vault type/bug Type bug: the code does not do what it must

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(security): Judge Trivy KSV-0118 in valkey.yaml

1 participant