EN
ENNA

Cartography

Apache-2.0

☁️ Cloud Recon · Python

Cartography is a Python tool developed by Lyft that consolidates infrastructure assets and the relationships between them in an intuitive graph view powered by Neo4j. It ingests data from AWS, GCP, Azure, Okta, GitHub, and other services to build a comprehensive map of your cloud environment. Security teams use Cartography to identify attack paths, find misconfigurations, and understand blast radius by querying relationships between resources like EC2 instances, S3 buckets, IAM roles, and security groups. Its graph-based approach makes it easy to ask questions like 'which instances can reach this database' or 'which IAM users have admin access across accounts' that would be extremely difficult with flat inventory tools.

3.8kstars
507forks
140issues
Updated 4d ago

Installation

pip

$ pip install cartography

from source

$ git clone https://github.com/lyft/cartography.git && cd cartography && pip install -e .

Use Cases

  • Mapping relationships between cloud resources across AWS, GCP, and Azure
  • Identifying attack paths through IAM role chains and trust relationships
  • Finding exposed assets with public access or overly permissive policies
  • Tracking infrastructure drift and compliance violations over time
  • Visualizing blast radius for compromised credentials or resources

Tags

cloud-graphneo4jawsgcpazureattack-pathasset-inventory

Alternatives & Comparisons

More in Cloud Recon