-
Notifications
You must be signed in to change notification settings - Fork 104
Description
📝 List of resources:
I've compiled the following resources that we need to add support for. Feel free to suggest any other resources that should be prioritized. Additionally, let me know if there's anything else we should include in the list.
- Cloud firestore crawler. #250
- Cloud datastroe crawler. #255
- cloud domains crawler #260
- cloudshell
- cloudasset
- cloudidentity
- cloudbilling
- cloudtrace
- Compute/securitypolicies
- Cloud Monitoring dashboard
- Compute/sslCertificates
🛠️ Implementation Steps:
Here's a brief description of how to implement new resource crawling:
Step 1:
Browse through the google-api-python-client library to find the suitable client and determine the data to crawl.
Step 2:
If the client isn't already implemented in the client package, create a client factory.
Step 3:
For your crawler, establish a new crawler factory in the crawler package.
Step 4:
In the scanner.py
file, include the crawler in the crawl loop and update the crawl_client_map
. Don't forget to modify the example.config
to account for the new crawler.
Step 5:
Ensure proper unit tests are in place. If applicable, add acceptance tests (If you are a team member who has access to the test_gcp_project
in the Google Cloud Platform)
📝 Note: Please bear in mind that the code is undergoing significant refactoring, so the above-mentioned process might change.