Help us shape the future of Go! Take the 2026 Go Developer Survey

devguard-k8s-image-inventory

command module
v1.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 27, 2026 License: MIT Imports: 34 Imported by: 0

README

devguard-k8s-image-inventory

A daemon that runs inside your Kubernetes cluster, watches all pods, generates a CycloneDX SBOM for each container image using Trivy, and reports it to DevGuard.

CI

Documentation

📖 https://docs.devguard.org/how-to-guides/integrations/kubernetes-devguard-integration/

Installation, configuration reference, and usage examples are maintained there.

Trivy Configuration

The container image sets TRIVY_CONFIG=/etc/devguard/trivy.yaml. Mount a ConfigMap to that path to customize Trivy's behavior without changing any flags:

apiVersion: v1
kind: ConfigMap
metadata:
  name: trivy-config
data:
  trivy.yaml: |
    severity:
      - HIGH
      - CRITICAL
    skip-update: true

Then mount it in the deployment:

volumeMounts:
  - name: trivy-config
    mountPath: /etc/devguard
volumes:
  - name: trivy-config
    configMap:
      name: trivy-config

Development

go build ./...
go test ./...

License

MIT

This project is based on the sbom-operator project.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL