apache / camel-kamelets

Apache Camel Kamelets Repository
https://camel.apache.org
Apache License 2.0
55 stars 77 forks source link

Detect Vulnerabilities in Kamelets / Containers #558

Open k0pper opened 2 years ago

k0pper commented 2 years ago

Problem

I am working on evaluating Kamelets from different point of views. One of them is the question, how to make sure containers that are spun up during the creation of an integration (whether with java or kamelets, I guess it doesn't matter for now) are safe.

Because there is no Code in Kamelets I quickly discarded the idea of Code-Scanning dependencies in Kamelets. Seems like there is neither a feature in Camel-K, nor another external tool that helps with that.

Possible Solution

I read about Container Scanning, and found some tools related to it like Clair, Trivy and the Container Scanning Feature in Snyk

Questions

Alex

oscerd commented 2 years ago

In this particular moment we don't have something in the roadmap. But I do think your point are a good start to starting a discussion for the security side.

oscerd commented 2 years ago

@christophd I think this could be of your interest

oscerd commented 1 year ago

I would like to have some discussion on this: @christophd @squakez @davsclaus @lburgazzoli

I think this is something more general now: it's not only within containers, but in multiple runtimes.

We have camel-jbang and we could have some kind of subcommand to check the safety?