aquasecurity/trivy

template output in Kubernetes scanning

Open

#3.234 geöffnet am 28. Nov. 2022

Auf GitHub ansehen
 (8 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Go (371 Forks)batch import
help wantedkind/featurelifecycle/activetarget/kubernetes

Repository-Metriken

Stars
 (35.000 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 5T 2h) (53 gemergte PRs in 30 T)

Beschreibung

Hello,

Currently using the command below:

trivy k8s -n MY_NAMESPACE all --report all --format template --template '@gitlab-ci.tpl'

Yields the following error:

FATAL   unable to write results: unknown format "template". Use "json" or "table"

Is it possible to maybe add a Gitlab CI Template or the instructions how the scan of a whole cluster and posting a report to Gitlab-CI could be made possible?

Contributor Guide