Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Separate Kubernetes cluster scanning into a plugin #5017

Open
knqyf263 opened this issue Aug 20, 2023 · 2 comments
Open

Separate Kubernetes cluster scanning into a plugin #5017

knqyf263 opened this issue Aug 20, 2023 · 2 comments
Labels
target/kubernetes Issues relating to kubernetes cluster scanning

Comments

@knqyf263
Copy link
Collaborator

Background

Currently, Trivy can scan Kubernetes clusters and AWS accounts. There are plans to further extend its functionalities, such as adding Azure scanning. It's essential to redefine Trivy's core functionality: Trivy is designed to find security issues, such as vulnerabilities and misconfigurations, in generated artifacts and code repositories. Therefore, the scanning of running environments should be separated as plugins.

Proposal

We propose separating Trivy's Kubernetes cluster scanning feature into a distinct plugin. The source code for this functionality should be placed in aquasecurity/trivy-kubernetes as an independent command. This setup would allow it to be used both as a standalone tool and as a Trivy plugin. Users who only need the K8s cluster scanning can install trivy-kubernetes without having to install Trivy. To ensure that users' workflow utilizing the trivy k8s command isn't disrupted, executing the trivy k8s command should transparently install and run the plugin.

@knqyf263 knqyf263 added the target/kubernetes Issues relating to kubernetes cluster scanning label Aug 20, 2023
@knqyf263 knqyf263 changed the title chore: separate Kubernetes cluster scanning into a plugin Separate Kubernetes cluster scanning into a plugin Aug 20, 2023
@thapabishwa
Copy link
Contributor

Any estimate of when this feature will be ready?

@knqyf263
Copy link
Collaborator Author

Any estimate of when this feature will be ready?

No ETA now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
target/kubernetes Issues relating to kubernetes cluster scanning
Projects
None yet
Development

No branches or pull requests

2 participants