gardener / diki

Diki is a compliance checker that aims to enhance the security posture of your Kubernetes clusters.
Apache License 2.0
7 stars 8 forks source link

Do not report empty targets #344

Closed dimityrmirchev closed 2 weeks ago

dimityrmirchev commented 2 weeks ago

What this PR does / why we need it: Empty targets can be seen in reports.

{
  "targets": [
    {}
  ]
}

With this change this should no longer be the case.

Which issue(s) this PR fixes: Fixes #

Special notes for your reviewer:

Release note:

A bug that was causing reports to sometimes include empty targets was fixed.