cloudsploit icon indicating copy to clipboard operation
cloudsploit copied to clipboard

Have cloudsploit target a list of resources

Open audunmo opened this issue 1 year ago • 2 comments

We're currently considering deploying Cloudsploit in our GCP setup. In addition to full-org scans, we see some cases where we'd like Cloudsploit to only scan certain parts of our infrastructure, so that we get feedback very quickly. The pattern-based matching doesn't lend it self well to this use case due to the internal organization of these resources in GCP.

Is it at all technically feasible to have cloudsploit only target a subset of GCP resources via a specified list?

Happy to help with implementation over Christmas / in the new year

I imagine it would be something like:

cloudsploit --target project/xxx/run/xxx/service/xxx/...
 --target project/yyy/gke/yyy/cluster
 --target project/zzz/pubsub/zzz/topic/zzz
 --target ...

audunmo avatar Nov 11 '23 11:11 audunmo

Hi @audunmo, We currently don't support resource based scanning. But we have plans for it in future. Thank you for your efforts.

alphadev4 avatar Nov 24 '23 13:11 alphadev4

@alphadev4 is it something that's planned for release within q1 of 2024?

audunmo avatar Nov 27 '23 11:11 audunmo