This is a Lens extension for trivy-operator which provides visibility into following reports for Kubernetes workloads stored as custom security resources.
- Vulnerability
- Misconfiguration
- Exposed Secrets
- Rbac Assessments
- K8s infra Assessments
This guide shows how to install the extension either from pre-built binary releases or source.
The following matrix indicates versions of this extension and compatible Lens releases.
Lens | Extension |
---|---|
4.0 | 0.0.5 |
5.0 | 0.0.5 |
6.0 | 0.0.6 |
6.0 | 0.1.0 |
Every release of Lens extension for trivy-operator provides the tarball-file that can be manually downloaded and installed. Alternatively, you can copy the download URL of the release artifact to paste it in the Manage Lens Extensions page.
@aquasecurity/trivy-operator-lens-extension
extension listed under
Installed Extensions. Click Enable to enable it.
Building from source is slightly more involved, but it's the best way to go if you want to test the latest (pre-release) version of the extension.
You must have a working Node.js environment.
git clone https://github.com/aquasecurity/trivy-operator-lens-extension.git
cd trivy-operator-lens-extensions
npm install && npm run build
npm pack
This will create the aquasecurity-trivy-operator-lens-extension-$VERSION.tgz
tarball in the root directory.
aquasecurity-trivy-operator-lens-extension-$VERSION.tgz
extension package and click Install.@aquasecurity/trivy-operator-lens-extension
extension listed under
Installed Extensions.
NOTE: As the source code of the extension is evolving very fast, some screenshots shown below may be outdated. We'll also update this section with more examples.
VulnerabilityReports
ConfigAuditReports and ClusterConfigAuditReports