lyft / cartography

Cartography is a Python tool that consolidates infrastructure assets and the relationships between them in an intuitive graph view powered by a Neo4j database.

Home Page:https://lyft.github.io/cartography/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[BUG] GCP init only grabs first page of services if a lot of services are enabled

neilroebert opened this issue · comments

Title: GCP init only grabs first page of services if a lot of services are enabled

Description:

The _services_enabled_on_project function only uses first page of services that are enabled on a project.

        res = req.execute()
        if 'services' in res:
            return {svc['config']['name'] for svc in res['services']}
        else:
            return set()

To Reproduce:

Enable a lot of services on GCP and run the ingestor

Logs:

Unfortunately not easy to explain in the logs.

Please complete the following information::

  • Cartography release version 0.86