Cartography is a Python tool that consolidates infrastructure assets and the relationships between them in an intuitive graph view powered by a Neo4j database.
Table of Contents generated with DocToc
- Why Cartography?
- Install and configure
- Supported platforms
- Usage
- Contact
- Community Meeting
- Contributing
- Who uses Cartography?
Cartography aims to enable a broad set of exploration and automation scenarios. It is particularly good at exposing otherwise hidden dependency relationships between your service's assets so that you may validate assumptions about security risks.
Service owners can generate asset reports, Red Teamers can discover attack paths, and Blue Teamers can identify areas for security improvement. All can benefit from using the graph for manual exploration through a web frontend interface, or in an automated fashion by calling the APIs.
Cartography is not the only security graph tool out there, but it differentiates itself by being fully-featured yet generic and extensible enough to help make anyone better understand their risk exposure, regardless of what platforms they use. Rather than being focused on one core scenario or attack vector like the other linked tools, Cartography focuses on flexibility and exploration.
You can learn more about the story behind Cartography in our presentation at BSidesSF 2019.
Start here.
- Amazon Web Services - API Gateway, Config, EC2, Elasticsearch, Elastic Kubernetes Service, DynamoDB, IAM, KMS, Launch Configurations, Launch Templates, Lambda, RDS, Redshift, Route53, S3, Secrets Manager, Security Hub, SQS, STS, Tags
- Google Cloud Platform - Cloud Resource Manager, Compute, DNS, Storage, Google Kubernetes Engine, IAM, API Gateway, Cloud KMS, Cloudrun, GCP SQL, Firestore, Bigtable, Cloud Function
- Google GSuite - users, groups
- Duo CRXcavator - Chrome extensions, GSuite users
- Okta - users, groups, organizations, roles, applications, factors, trusted origins, reply URIs
- Github - repos, branches, users
- DigitalOcean
- Microsoft Azure - CosmosDB, SQL, Storage, Virtual Machine, Function App, Network, Resource Group, Tag, IAM, Key Vaults, AKS
- Kubernetes - Cluster, Namespace, Service, Pod, Container
- PagerDuty - Users, teams, services, schedules, escalation policies, integrations, vendors
Start with our tutorial. Our data schema is a helpful reference when you get stuck.
- Join us on
#cartography
on the Lyft OSS Slack.
Talk to us and see what we're working on at our monthly community meeting.
Thank you for considering contributing to Cartography!
Legal stuff: This project is governed by Lyft's code of conduct. All contributors and participants agree to abide by its terms.
Get started with our developer documentation.
We require a CLA for code contributions, so before we can accept a pull request we need to have a signed CLA. Please visit our CLA service and follow the instructions to sign the CLA.
- Lyft
- Thought Machine
- MessageBird
- Cloudanix
- {Your company here} :-)
If your organization uses Cartography, please file a PR and update this list. Say hi on Slack too!