feat: [CN-296] Support Container Base Image Recommendations#991
feat: [CN-296] Support Container Base Image Recommendations#991dan-arpino wants to merge 1 commit intomainfrom
Conversation
✅ Snyk checks have passed. No issues have been found so far.
💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |
| agg.referenceScanStates[folderProductKey{Product: product.ProductOpenSource, FolderPath: folderPath}] = &scanState{Status: NotStarted} | ||
| agg.referenceScanStates[folderProductKey{Product: product.ProductCode, FolderPath: folderPath}] = &scanState{Status: NotStarted} | ||
| agg.referenceScanStates[folderProductKey{Product: product.ProductInfrastructureAsCode, FolderPath: folderPath}] = &scanState{Status: NotStarted} | ||
| agg.referenceScanStates[folderProductKey{Product: product.ProductContainer, FolderPath: folderPath}] = &scanState{Status: NotStarted} |
There was a problem hiding this comment.
Does your implementation support delta scanning? If not, this probably needs a revision.
There was a problem hiding this comment.
The whole API client functionality should be a workflow in https://github.com/snyk/go-application-framework and used / imported here. That would enable re-use in the CLI and migration away from the legacy CLI functionality through using a go-workflow.
| } | ||
|
|
||
| codeAction, err := snyk.NewCodeAction( | ||
| fmt.Sprintf("Upgrade to %s", recommendation.RecommendedImage), |
There was a problem hiding this comment.
We may want to add (Snyk) at the end of the action title.
There was a problem hiding this comment.
Also, in Open Source, we add the number of issues that would be fixed, and the number of issues that would remain in the text. Having that for container, would be great!
380b07d to
701895d
Compare
701895d to
38fe982
Compare
38fe982 to
9052808
Compare
9052808 to
aa527af
Compare
aa527af to
20b48fd
Compare
20b48fd to
18f175f
Compare
18f175f to
1c3ba84
Compare
1c3ba84 to
e0c1ab5
Compare
Adding a new Container LS to support the upgrading the container base images in a docker file.
e0c1ab5 to
39df9da
Compare
Adding a new Container LS to support the upgrading the container base images in a docker file.
Description
Adding base image recommendations to the IDE. This will scan docker files for base images and check if we have any base image upgrade recommendations CN-296
Checklist
make generate)make lint-fix)