feat(syft): add Dockerfile/Containerfile image analysis scenarios for hardened recommendations#38
Open
a-oren wants to merge 3 commits into
Open
feat(syft): add Dockerfile/Containerfile image analysis scenarios for hardened recommendations#38a-oren wants to merge 3 commits into
a-oren wants to merge 3 commits into
Conversation
… hardened recommendations Implement the syft runtime support (previously TODO placeholders) in common_test_functions.py and add three new integration test scenarios: - dockerfile-hardened-recommendations: verifies recommendationSource="hardened" - dockerfile-recommendations-disabled: verifies recommend=false suppresses recommendations - containerfile-ubi-recommendations: verifies recommendationSource="ubi" Also adds recommendation validation to the test runner, manifest_file override support in spec.yaml, and per-scenario environment variable configuration. Implements TC-4813 Assisted-by: Claude Code
Collaborator
Author
Verification Report for TC-4813 (commit 34cd137)
Overall: FAILScope Containment details: The Scope Containment FAIL reflects a mismatch between the Jira task specification and actual implementation:
These deviations were reviewed and approved during implementation. The task specification was inaccurate regarding the files that needed modification. This comment was AI-generated by sdlc-workflow/verify-pr v0.11.0. |
ruromero
approved these changes
Jun 24, 2026
ruromero
left a comment
Collaborator
There was a problem hiding this comment.
LGTM but try to validate it from the Java and Javascript clients first using a test PR pointing to a-oren:TC-4813
1 task
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Remove containerfile-ubi-recommendations scenario per updated TC-4813 scope. Update recommendation validation to check hardened image recommendations at providers.*.recommendations.hardened.summary.total. Update Dockerfiles to use node:22. TC-4813 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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.
Summary
common_test_functions.py(previously TODO placeholders)scenarios/syft/:dockerfile-hardened-recommendations: verifiesrecommendationSource="hardened"in backend responsedockerfile-recommendations-disabled: verifiesrecommend=falsesuppresses all recommendationscontainerfile-ubi-recommendations: verifiesrecommendationSource="ubi"with Containerfile manifestvalidate_recommendations) to the test runnermanifest_fileoverride andenvvariable support in spec.yamlTest plan
node:18TRUSTIFY_DA_RECOMMEND=falsepython:3.11-slimImplements TC-4813
🤖 Generated with Claude Code