prancer-io / cloud-validation-framework

prancer platform is an IaC Security engine + Continuous Compliance for your cloud (Azure, AWS, GCP) and Kubernetes environment
https://www.prancer.io
Mozilla Public License 2.0
122 stars 29 forks source link

GCP is not crawling "masterSnapshotId": "GOOGLE_CLUSTER" #709

Closed rezoan closed 5 months ago

rezoan commented 1 year ago

During running compliances no snapshots are being generated for GOOGLE_CLUSTER

Crawler console output:

2023-09-17 12:54:51,878 -   Snapshot:
2023-09-17 12:54:51,878 -   GOOGLE_CLUSTER:[] 
vatsalgit5118 commented 7 months ago

@rezoan, I checked the API response, it contains the selfLink, so not required to set the get_method in mastersnapshot. Remove the get_method method from the master snapshot and the container/projects.locations.clusters.get parameter from the googleParams.json file.

rezoan commented 6 months ago

@vatsalgit5118 @farchide crawler is now crawling GOOGLE_CLUSTER. issue can be closed.