Cartography is a Python tool that consolidates infrastructure assets and the relationships between them in an intuitive graph view powered by a Neo4j database.
Cartography is a Python tool that consolidates infrastructure assets and the relationships between them in an intuitive graph view powered by a Neo4j database.
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.
Here are some points that can help you decide if adopting Cartography is a good fit for your problem.
Start here to set up a test graph and get data into it.
When you are ready to try it in production, read here for recommendations on getting cartography spun up in your environment.
Now that data is in the graph, you can quickly start with our querying tutorial. Our data schema is a helpful reference when you get stuck.
Directly querying Neo4j is already very useful as a sort of “swiss army knife” for security data problems, but you can also build applications and data pipelines around Cartography. View this doc on applications.
#cartography
channel.This project is licensed under the Apache 2.0 License.
Thank you for considering contributing to Cartography!
All contributors and participants of this project must follow the CNCF code of conduct.
Submit a GitHub issue to report a bug or request a new feature. If we decide that the issue needs more discussion - usually because the scope is too large or we need to make careful decision - we will convert the issue to a GitHub Discussion.
Get started with our developer documentation. Please feel free to submit your own PRs to update documentation if you’ve found a better way to explain something.
If your organization uses Cartography, please file a PR and update this list. Say hi on Slack too!
Cartography is a Cloud Native Computing Foundation sandbox project.