{"id":17646052,"url":"https://github.com/cartography-cncf/cartography","last_synced_at":"2026-04-10T18:05:59.754Z","repository":{"id":38751683,"uuid":"172811550","full_name":"cartography-cncf/cartography","owner":"cartography-cncf","description":"Cartography is a Python tool that pulls infrastructure assets and their relationships into a Neo4j graph database.","archived":false,"fork":false,"pushed_at":"2026-04-03T21:03:57.000Z","size":23764,"stargazers_count":3809,"open_issues_count":142,"forks_count":505,"subscribers_count":387,"default_branch":"master","last_synced_at":"2026-04-03T23:10:45.734Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://cartography.dev","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cartography-cncf.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":"GOVERNANCE.md","roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":"MAINTAINERS.md","copyright":null,"agents":"AGENTS.md","dco":null,"cla":null}},"created_at":"2019-02-27T00:16:29.000Z","updated_at":"2026-04-03T21:02:45.000Z","dependencies_parsed_at":"2023-11-14T21:28:29.443Z","dependency_job_id":"c9b79b96-1a36-43f0-abfd-652d51ada39f","html_url":"https://github.com/cartography-cncf/cartography","commit_stats":{"total_commits":743,"total_committers":85,"mean_commits":8.741176470588234,"dds":0.6285329744279946,"last_synced_commit":"8a60e9ed81a26b315e9d991994398c5b60193945"},"previous_names":["cartography-cncf/cartography"],"tags_count":262,"template":false,"template_full_name":null,"purl":"pkg:github/cartography-cncf/cartography","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cartography-cncf%2Fcartography","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cartography-cncf%2Fcartography/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cartography-cncf%2Fcartography/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cartography-cncf%2Fcartography/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cartography-cncf","download_url":"https://codeload.github.com/cartography-cncf/cartography/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cartography-cncf%2Fcartography/sbom","scorecard":{"id":549040,"data":{"date":"2025-08-19T06:58:44Z","repo":{"name":"github.com/cartography-cncf/cartography","commit":"e2fe4fff6d36444b9c5b0d1000d10f3d29c14f6c"},"scorecard":{"version":"v5.2.1","commit":"ab2f6e92482462fe66246d9e32f642855a691dc1"},"score":8.7,"checks":[{"name":"Code-Review","score":10,"reason":"all changesets reviewed","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#code-review"}},{"name":"Maintained","score":10,"reason":"30 commit(s) and 12 issue activity found in the last 90 days -- score normalized to 10","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#maintained"}},{"name":"Dependency-Update-Tool","score":10,"reason":"update tool detected","details":["Info: detected update tool: Dependabot: .github/dependabot.yml:1"],"documentation":{"short":"Determines if the project uses a dependency update tool.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#dependency-update-tool"}},{"name":"Security-Policy","score":10,"reason":"security policy file detected","details":["Info: security policy file detected: SECURITY.md:1","Info: Found linked content: SECURITY.md:1","Info: Found disclosure, vulnerability, and/or timelines in security policy: SECURITY.md:1","Info: Found text in security policy: SECURITY.md:1"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#security-policy"}},{"name":"Token-Permissions","score":10,"reason":"GitHub workflow tokens follow principle of least privilege","details":["Info: jobLevel 'actions' permission set to 'read': .github/workflows/ossf-scorecard.yml:23","Info: jobLevel 'contents' permission set to 'read': .github/workflows/ossf-scorecard.yml:24","Info: topLevel permissions set to 'read-all': .github/workflows/ossf-scorecard.yml:12","Info: found token with 'none' permissions: .github/workflows/publish-to-ghcr-and-pypi.yml:1","Info: topLevel permissions set to 'read-all': .github/workflows/sphinx.yml:10","Info: found token with 'none' permissions: .github/workflows/test_suite.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#token-permissions"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#dangerous-workflow"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":10,"reason":"all dependencies are pinned","details":["Info:  15 out of  15 GitHub-owned GitHubAction dependencies pinned","Info:  14 out of  14 third-party GitHubAction dependencies pinned","Info:   4 out of   4 containerImage dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":2,"reason":"badge detected: InProgress","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#cii-best-practices"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#vulnerabilities"}},{"name":"Packaging","score":10,"reason":"packaging workflow detected","details":["Info: Project packages its releases by way of GitHub Actions.: .github/workflows/publish-to-ghcr-and-pypi.yml:12"],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#packaging"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: Apache License 2.0: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#license"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 30 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#sast"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#branch-protection"}},{"name":"CI-Tests","score":10,"reason":"30 out of 30 merged PRs checked by a CI test -- score normalized to 10","details":null,"documentation":{"short":"Determines if the project runs tests before pull requests are merged.","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#ci-tests"}},{"name":"Contributors","score":10,"reason":"project has 15 contributing companies or organizations","details":["Info: found contributions from: MITBlueprint, PostPushr, anthropic, appsflyer, corelight, etsy, google, lyft, lyft @posadev, messagebird, paypay japan, posadev, sitespeedio, subimage, trebuchet-deploy"],"documentation":{"short":"Determines if the project has a set of contributors from multiple organizations (e.g., companies).","url":"https://github.com/ossf/scorecard/blob/ab2f6e92482462fe66246d9e32f642855a691dc1/docs/checks.md#contributors"}}]},"last_synced_at":"2025-08-20T10:17:29.359Z","repository_id":38751683,"created_at":"2025-08-20T10:17:29.359Z","updated_at":"2025-08-20T10:17:29.359Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31492752,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-06T17:22:55.647Z","status":"ssl_error","status_checked_at":"2026-04-06T17:22:54.741Z","response_time":112,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-23T11:00:43.487Z","updated_at":"2026-04-10T18:05:59.749Z","avatar_url":"https://github.com/cartography-cncf.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"![Cartography](docs/root/images/logo-horizontal.png)\n\n\u003cdiv align=\"center\"\u003e\n\n[![OpenSSF Scorecard](https://api.scorecard.dev/projects/github.com/cartography-cncf/cartography/badge)](https://scorecard.dev/viewer/?uri=github.com/cartography-cncf/cartography)\n[![OpenSSF Best Practices](https://www.bestpractices.dev/projects/9637/badge)](https://www.bestpractices.dev/projects/9637)\n![build](https://github.com/cartography-cncf/cartography/actions/workflows/publish-to-ghcr-and-pypi.yml/badge.svg)\n\n[Documentation](https://cartography-cncf.github.io/cartography/)\n\u003c/div\u003e\n\nCartography is a Python tool that pulls infrastructure assets and their relationships into a [Neo4j](https://www.neo4j.com) graph database.\n\n**What it connects:** AWS, GCP, Azure, Kubernetes, GitHub, Okta, Entra ID, CrowdStrike, and [30+ more platforms](#supported-platforms).\n\n**Questions it answers:**\n- Which identities have access to which datastores? How about across multiple tenants, or providers?\n- Am I affected by any critical vulnerabilities or compromised software packages?\n- What are the network paths in and out of my environment?\n- Which compute instances are exposed to the internet?\n- What AI agents are running in production, and what permissions do they have?\n\n![Visualization of RDS nodes and AWS nodes](docs/root/images/accountsandrds.png)\n\n## Quick Start\n\n### Install Cartography\n\n```bash\npip install cartography\n```\n\n### Start Neo4j database\n\n```bash\ndocker run -d --publish=7474:7474 --publish=7687:7687 -v data:/data --env=NEO4J_AUTH=none neo4j:5-community\n```\n\nConfirm that http://localhost:7474 is up.\n\n### Sync your first data source (AWS example)\n\nEnsure your AWS credentials and default region are configured (e.g. via `AWS_PROFILE`, `AWS_DEFAULT_REGION`, or `~/.aws/config`). See [AWS credentials docs](https://docs.aws.amazon.com/boto3/latest/guide/credentials.html#configuring-credentials) for reference.\n\nRun Cartography:\n\n```bash\ncartography --neo4j-uri bolt://localhost:7687 --selected-modules aws\n```\n\nSee the [full install guide](https://cartography-cncf.github.io/cartography/install.html) for other platforms.\n\n### Query the graph\n\nOpen http://localhost:7474 and try:\n\n```cypher\n// Find unencrypted RDS instances by account\nMATCH (a:AWSAccount)-[:RESOURCE]-\u003e(rds:RDSInstance{storage_encrypted:false})\nRETURN a.name, rds.id\n```\n\n```cypher\n// Find EC2 instances exposed to the internet\nMATCH (instance:EC2Instance{exposed_internet: true})\nRETURN instance.instanceid, instance.publicdnsname\n```\n\nSee the [querying tutorial](https://cartography-cncf.github.io/cartography/usage/tutorial.html) and [data schema](https://cartography-cncf.github.io/cartography/usage/schema.html) for more use-cases.\n\n### Run security rules\n\nCheck your environment against common security frameworks:\n\n```bash\ncartography-rules run all\n```\n\nSee [the rules docs](https://cartography-cncf.github.io/cartography/usage/rules.html) for more detail.\n\n## Supported platforms\n\n\u003cdetails\u003e\n\u003csummary\u003eClick to expand full list of 30+ supported platforms\u003c/summary\u003e\n\n- [Airbyte](https://cartography-cncf.github.io/cartography/modules/airbyte/index.html) - Organization, Workspace, User, Source, Destination, Connection, Tag, Stream\n- [Amazon Web Services](https://cartography-cncf.github.io/cartography/modules/aws/index.html) - ACM, API Gateway, Bedrock, CloudWatch, CodeBuild, Config, Cognito, EC2, ECS, ECR (including multi-arch images, image layers, and attestations), EFS, Elasticsearch, Elastic Kubernetes Service (EKS), DynamoDB, Glue,  GuardDuty, IAM, Inspector, KMS, Lambda, RDS, Redshift, Route53, S3, SageMaker, Secrets Manager(Secret Versions), Security Hub, SNS, SQS, SSM, STS, Tags\n- [AIBOM](https://cartography-cncf.github.io/cartography/modules/aibom/index.html) - AI component detections linked to ECR images\n- [Anthropic](https://cartography-cncf.github.io/cartography/modules/anthropic/index.html) - Organization, ApiKey, User, Workspace\n- [BigFix](https://cartography-cncf.github.io/cartography/modules/bigfix/index.html) - Computers\n- [Cloudflare](https://cartography-cncf.github.io/cartography/modules/cloudflare/index.html) - Account, Role, Member, Zone, DNSRecord\n- [Crowdstrike Falcon](https://cartography-cncf.github.io/cartography/modules/crowdstrike/index.html) - Hosts, Spotlight vulnerabilities, CVEs\n- [DigitalOcean](https://cartography-cncf.github.io/cartography/modules/digitalocean/index.html)\n- [Duo](https://cartography-cncf.github.io/cartography/modules/duo/index.html) - Users, Groups, Endpoints\n- [GitHub](https://cartography-cncf.github.io/cartography/modules/github/index.html) - repos, branches, users, teams, dependency graph manifests, dependencies\n- [Google Cloud Platform](https://cartography-cncf.github.io/cartography/modules/gcp/index.html) - Artifact Registry, Bigtable, Cloud Functions, Cloud Resource Manager, Cloud Run, Cloud SQL, Compute, DNS, IAM, KMS, Secret Manager, Storage, Google Kubernetes Engine, Vertex AI\n- [Google Workspace](https://cartography-cncf.github.io/cartography/modules/googleworkspace/index.html) - users, groups, devices, OAuth apps\n- [Jumpcloud](https://cartography-cncf.github.io/cartography/modules/jumpcloud/index.html)\n- [Kandji](https://cartography-cncf.github.io/cartography/modules/kandji/index.html) - Devices\n- [Keycloak](https://cartography-cncf.github.io/cartography/modules/keycloak/index.html) - Realms, Users, Groups, Roles, Scopes, Clients, IdentityProviders, Authentication Flows, Authentication Executions, Organizations, Organization Domains\n- [Kubernetes](https://cartography-cncf.github.io/cartography/modules/kubernetes/index.html) - Cluster, Namespace, Service, Pod, Container, ServiceAccount, Role, RoleBinding, ClusterRole, ClusterRoleBinding, OIDCProvider\n- [Lastpass](https://cartography-cncf.github.io/cartography/modules/lastpass/index.html) - users\n- [Microsoft Azure](https://cartography-cncf.github.io/cartography/modules/azure/index.html) - App Service, Container Instance, CosmosDB, Data Factory, Event Grid, Firewall, Firewall Policy, Functions, Key Vault, Azure Kubernetes Service (AKS), Load Balancer, Logic Apps, Resource Group, SQL, Storage, Virtual Machine, Virtual Networks\n- [Microsoft Entra ID](https://cartography-cncf.github.io/cartography/modules/entra/index.html) -  Users, Groups, Applications, OUs, App Roles, federation to AWS Identity Center, Intune Managed Devices, Intune Detected Apps, Intune Compliance Policies\n- [NIST CVE](https://cartography-cncf.github.io/cartography/modules/cve/index.html) - Common Vulnerabilities and Exposures (CVE) data from NIST database\n- [Okta](https://cartography-cncf.github.io/cartography/modules/okta/index.html) - users, groups, organizations, roles, applications, factors, trusted origins, reply URIs, federation to AWS roles, federation to AWS Identity Center\n- [OpenAI](https://cartography-cncf.github.io/cartography/modules/openai/index.html) - Organization, AdminApiKey, User, Project, ServiceAccount, ApiKey\n- [Oracle Cloud Infrastructure](https://cartography-cncf.github.io/cartography/modules/oci/index.html) - IAM\n- [PagerDuty](https://cartography-cncf.github.io/cartography/modules/pagerduty/index.html) - Users, teams, services, schedules, escalation policies, integrations, vendors\n- [Scaleway](https://cartography-cncf.github.io/cartography/modules/scaleway/index.html) - Projects, IAM, Local Storage, Instances\n- [SentinelOne](https://cartography-cncf.github.io/cartography/modules/sentinelone/index.html) - Accounts, Agents, Applications, Application Versions, CVEs\n- [Slack](https://cartography-cncf.github.io/cartography/modules/slack/index.html) - Teams, Users, UserGroups, Channels\n- [SnipeIT](https://cartography-cncf.github.io/cartography/modules/snipeit/index.html) - Users, Assets\n- [Spacelift](https://cartography-cncf.github.io/cartography/modules/spacelift/index.html) - Accounts, Spaces,Users, Stacks, WorkerPools, Workers, Runs, GitCommits\n- [SubImage](https://cartography-cncf.github.io/cartography/modules/subimage/index.html) - Tenant, TeamMember, APIKey, Neo4jUser, Module, Framework\n- [Tailscale](https://cartography-cncf.github.io/cartography/modules/tailscale/index.html) - Tailnet, Users, Devices, Groups, Tags, PostureIntegrations, DevicePostures, DevicePostureConditions, device posture compliance relationships\n- [Trivy Scanner](https://cartography-cncf.github.io/cartography/modules/trivy/index.html) - AWS ECR Images\n\n\u003c/details\u003e\n\n\n## Community\n\n- Join us on Slack: [CNCF Slack](https://communityinviter.com/apps/cloud-native/cncf) in the `#cartography` channel.\n- [Monthly community meeting](https://zoom-lfx.platform.linuxfoundation.org/meetings/cartography?view=week) — [minutes](https://docs.google.com/document/d/1VyRKmB0dpX185I15BmNJZpfAJ_Ooobwz0U1WIhjDxvw) · [past recordings](https://www.youtube.com/playlist?list=PLMga2YJvAGzidUWJB_fnG7EHI4wsDDsE1)\n\n\n## Contributing\n\nThank you for considering contributing to Cartography!\n\nAll contributors and participants must follow the [CNCF Code of Conduct](https://github.com/cncf/foundation/blob/main/code-of-conduct.md).\n\nSubmit a GitHub issue to report a bug or request a new feature. Larger discussions happen in [GitHub Discussions](https://github.com/cartography-cncf/cartography/discussions).\n\nGet started with our [developer documentation](https://cartography-cncf.github.io/cartography/dev/developer-guide.html).\n\n\n## Who uses Cartography?\n\n1. [Lyft](https://www.lyft.com)\n1. [Thought Machine](https://thoughtmachine.net/)\n1. [MessageBird](https://messagebird.com)\n1. [Cloudanix](https://www.cloudanix.com/)\n1. [Corelight](https://www.corelight.com/)\n1. [SubImage](https://subimage.io)\n1. [Superhuman](https://superhuman.com/)\n1. {Your company here} :-)\n\nIf your organization uses Cartography, please file a PR and update this list. Say hi on Slack too!\n\n\n## License\n\nThis project is licensed under the [Apache 2.0 License](LICENSE).\n\n---\n\nCartography is a [Cloud Native Computing Foundation](https://www.cncf.io/) sandbox project.\u003cbr\u003e\n\u003cdiv style=\"background-color: white; display: inline-block; padding: 10px;\"\u003e\n  \u003cimg src=\"docs/root/images/cncf-color.png\" alt=\"CNCF Logo\" width=\"200\"\u003e\n\u003c/div\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcartography-cncf%2Fcartography","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcartography-cncf%2Fcartography","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcartography-cncf%2Fcartography/lists"}