Get cluster_id from kubernetes_resource for CIS
What does this MR do and why?
Addresses #337926 (closed)
This MR changes the logic to get cluster_id
from location
data based on the security-report-schema defined here: https://gitlab.com/gitlab-org/security-products/security-report-schemas/-/blob/f0032f4a5f094d3aed93499dd07cc9e198375bfe/src/cluster-image-scanning-report-format.json#L57-104
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Sashi Kumar Kumaresan