Skip to content

Epic: add support for additional GCP resources. #247

@sudiptob2

Description

@sudiptob2

📝 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.

🛠️ 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions