undistro / zora

Zora is an open source solution that helps you achieve compliance with Kubernetes best practices recommended by industry-leading frameworks. By scanning your cluster with multiple plugins, Zora identifies potential issues, misconfigurations, and vulnerabilities.
https://getup.io/opensource/zora-oss
Apache License 2.0
278 stars 23 forks source link

UD-1129: Update reconciliation of misconfigurations and vulnerabiliti… #234

Closed knrc closed 7 months ago

knrc commented 7 months ago

…es to check for deltas before sending to SaaS

Description

This PR forces the reconciliation process to check whether the same information has previously been sent to the SaaS, greatly reducing the impact on the service.

Linked Issues

How has this been tested?

Checklist

knrc commented 7 months ago

To query the clusterscan resources you can run the following commands

kubectl get clusterscan -o jsonpath='{.items[*].status.processedMisconfigurations}' and kubectl get clusterscan -o jsonpath='{.items[*].status.processedVulnerabilities}'