aquasecurity/trivy

template output in Kubernetes scanning

Open

#3,234 创建于 2022年11月28日

在 GitHub 查看
 (8 评论) (0 反应) (0 负责人)Go (35,000 star) (371 fork)batch import
help wantedkind/featurelifecycle/activetarget/kubernetes

描述

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?

贡献者指南

template output in Kubernetes scanning · aquasecurity/trivy#3234 | Good First Issue