aquasecurity/trivy

template output in Kubernetes scanning

Open

#3234 aperta il 28 nov 2022

Vedi su GitHub
 (8 commenti) (0 reazioni) (0 assegnatari)Go (371 fork)batch import
help wantedkind/featurelifecycle/activetarget/kubernetes

Metriche repository

Star
 (35.000 star)
Metriche merge PR
 (Merge medio 5g 2h) (53 PR mergiate in 30 g)

Descrizione

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?

Guida contributor