MCPcopy Index your code

hub / github.com/cartography-cncf/cartography / types & classes

Types & classes4,660 in github.com/cartography-cncf/cartography

↓ 10,224 callersClassPropertyRef
Represents properties on cartography nodes and relationships. PropertyRefs allow dynamically generated Neo4j ingestion queries to set values
cartography/models/core/common.py:1
↓ 816 callersClassOntologyFieldMapping
Mapping between an ontology field and a module's node field. Attributes: ontology_field: The field name in the ontology. node_fie
cartography/models/ontology/mapping/specs.py:7
↓ 498 callersClassOtherRelationships
Encapsulates a list of CartographyRelSchema objects for additional relationships. This dataclass is used to group multiple CartographyRelSch
cartography/models/core/relationships.py:430
↓ 324 callersClassExtraNodeLabels
Encapsulates a list of labels for the CartographyNodeSchema. This wrapper class is used to ensure dataclass immutability for the Cartography
cartography/models/core/nodes.py:109
↓ 240 callersClassOntologyNodeMapping
Mapping for a node in the ontology. Attributes: node_label: The label of the ontology node. fields: A list of OntologyFieldMappin
cartography/models/ontology/mapping/specs.py:45
↓ 212 callersClassOntologyMapping
Ontology mapping for a specific module. Attributes: module_name: The name of the module. nodes: A list of OntologyNodeMapping def
cartography/models/ontology/mapping/specs.py:65
↓ 155 callersClassFact
A Fact gathers information about the environment using a Cypher query.
cartography/rules/spec/model.py:246
↓ 111 callersClassRule
A Rule represents a security issue or misconfiguration detected in the environment.
cartography/rules/spec/model.py:325
↓ 49 callersClass_LazyStage
Callable that defers `from cartography.intel.X import func` until first invocation. Keeps `import cartography.sync` cheap: provider SDKs (boto3,
cartography/sync.py:22
↓ 43 callersClassConditionalNodeLabel
A conditional label that is applied to nodes only when specific field conditions are met. Conditional labels allow you to dynamically apply
cartography/models/core/nodes.py:72
↓ 41 callersClassRuleReference
A reference document for a Rule.
cartography/rules/spec/model.py:238
↓ 41 callersClass_FakeResponse
tests/unit/cartography/intel/gcp/test_artifact_registry_supply_chain.py:1242
↓ 31 callersClassInterestingAssetSchema
tests/data/graph/querybuilder/sample_models/interesting_asset.py:97
↓ 30 callersClassRelConstraint
If a node carrying ontology label `src` has an outward edge toward a node carrying ontology label `dst`, that edge MUST be named `label`. The
cartography/models/ontology/constraints.py:106
↓ 30 callersClassReportRef
One enumerated report. uri: human-readable provenance string (used in logs and errors). name: backend-specific key passed to read_bytes (S3 o
cartography/intel/common/object_store.py:19
↓ 25 callersClassConfig
A common interface for cartography configuration. All fields defined on this class must be present on a configuration object. Fields documen
cartography/config.py:25
↓ 24 callersClassACLParser
ACLParser is a class that parses Tailscale ACLs to extract data. It removes comments and trailing commas from the ACL string and converts it
cartography/intel/tailscale/utils.py:7
↓ 22 callersClassLocalReportReader
cartography/intel/common/object_store.py:100
↓ 21 callersClassOktaSyncState
Okta sync state. Object used to store sync data to allow each stages to share data. For example, saving user and group list returned by O
cartography/intel/okta/sync_state.py:6
↓ 19 callersClassFramework
A reference to a compliance framework requirement/control mapping. A rule can map to many framework controls, and many rules can map to the
cartography/rules/spec/model.py:170
↓ 18 callersClass_FullNameMapping
Rule that maps a Cloud Asset full resource name to a Cartography node. - ``service_prefix``: the full name must start with this (e.g.
cartography/intel/gcp/policy_bindings.py:46
↓ 17 callersClassAzureTagProperties
cartography/models/azure/tags/tag.py:13
↓ 17 callersClassAzureTagToSubscriptionRel
cartography/models/azure/tags/tag.py:28
↓ 16 callersClassStateSchema
Schema to serialize and deserialize DriftStates from JSON.
cartography/driftdetect/serializers.py:9
↓ 14 callersClassPaginatedGraphqlData
cartography/intel/github/util.py:37
↓ 13 callersClassMatchLinkSubResource
Sub-resource scoping metadata for load_matchlinks() source or target matches. This helper lets a MatchLink schema opt into matching an endpo
cartography/models/core/relationships.py:233
↓ 12 callersClassCLI
Command Line Interface for cartography using Typer. This class provides the main command line interface for cartography, handling argume
cartography/cli.py:210
↓ 11 callersClassAWSOrganizationRelProperties
cartography/models/aws/organization.py:16
↓ 11 callersClassDeviceHostnameMatchLinkProperties
cartography/models/ontology/device.py:208
↓ 11 callersClassDeviceToNodeRelProperties
cartography/models/ontology/device.py:32
↓ 11 callersClassShortcutSchema
Schema to serialize and deserialize Shortcuts from JSON.
cartography/driftdetect/serializers.py:29
↓ 11 callersClass_FakeClient
tests/unit/cartography/intel/gcp/test_artifact_registry_supply_chain.py:1260
↓ 10 callersClassObjectStoreError
Raised on read or parse failures from a ReportReader. Covers both transport failures (S3/GCS/Azure exceptions, local OSError) and decode/pars
cartography/intel/common/object_store.py:67
↓ 9 callersClassCloudTrailTransientRegionFailure
cartography/intel/aws/cloudtrail.py:28
↓ 9 callersClassFakeClient
tests/unit/cartography/intel/aws/test_organizations.py:153
↓ 9 callersClassGCPLabelNodeProperties
Properties for GCPLabel nodes. The id is computed as "{resource_id}:{key}:{value}" during ingestion.
cartography/models/gcp/labels/label.py:18
↓ 9 callersClassGCPLabelToProjectRel
(:GCPProject)-[:RESOURCE]->(:GCPLabel)
cartography/models/gcp/labels/label.py:38
↓ 9 callersClassPackageToNodeRelProperties
cartography/models/ontology/package.py:26
↓ 9 callersClassSimpleNodeProperties
tests/unit/cartography/graph/test_querybuilder_conditional_labels.py:20
↓ 8 callersClassContainerImage
Represents a container image from the graph (ECR, GCR, GitLab, etc.).
cartography/intel/supply_chain.py:535
↓ 8 callersClassFactResult
Results for a single Fact execution. Contains the findings from executing a Fact's Cypher query along with optional compliance metrics w
cartography/rules/spec/result.py:41
↓ 8 callersClassInterestingAssetToSubResourceRel
Define a sub resource relationship (:InterestingAsset)<-[:RELATIONSHIP_LABEL]-(:SubResource)
tests/data/graph/querybuilder/sample_models/interesting_asset.py:33
↓ 8 callersClassS3BucketReader
cartography/intel/common/object_store.py:148
↓ 7 callersClassContainerImageSchema
Schema for container images with conditional labels based on image type. This mimics the ECR use case where different image types map to diff
tests/data/graph/querybuilder/sample_models/conditional_label_models.py:49
↓ 7 callersClassECRLayerFetchTransientError
Raised when a transient ECR/image-blob fetch failure should skip one image.
cartography/intel/aws/ecr_image_layers.py:40
↓ 7 callersClassGitHubRepositoryRelProperties
cartography/models/github/repos.py:38
↓ 7 callersClassPublicIPToNodeRelProperties
cartography/models/ontology/publicip.py:24
↓ 7 callersClassUnscopedNodeSchema
tests/data/graph/querybuilder/sample_models/allow_unscoped.py:38
↓ 6 callersClassAWSDNSRecordSchema
cartography/models/aws/route53/dnsrecord.py:216
↓ 6 callersClassAWSOrganizationSyncResult
cartography/intel/aws/organizations.py:43
↓ 6 callersClassAWSRoleSchema
cartography/models/aws/iam/role.py:75
↓ 6 callersClassAppCredential
GitHub App credential with automatic token refresh. Generates a JWT from the app's private key, exchanges it for an installation access
cartography/intel/github/app_auth.py:45
↓ 6 callersClassGitHubContainerImageRelProperties
cartography/models/github/container_images.py:51
↓ 6 callersClassGitHubOrganizationUserSchema
cartography/models/github/users.py:118
↓ 6 callersClassGitLabProjectSchema
Schema for GitLab Project nodes. Projects are repositories/codebases that belong to an organization. They may also have a RESOURCE relat
cartography/models/gitlab/projects.py:143
↓ 6 callersClassLambdaTransientRegionFailure
cartography/intel/aws/lambda_function.py:38
↓ 6 callersClassParsedCIInclude
A single `include:` entry from the YAML.
cartography/intel/gitlab/ci_config_parser.py:74
↓ 6 callersClassPolicyBindingsSyncResult
cartography/intel/gcp/policy_bindings.py:301
↓ 6 callersClassPrincipalToS3BucketPermissionRel
Test relationship schema connecting principals to S3 buckets with permissions.
tests/data/graph/matchlink/iam_permissions.py:42
↓ 6 callersClassS3ReportSource
An S3 bucket+prefix. `prefix` never has a leading slash.
cartography/intel/common/report_source.py:27
↓ 6 callersClassState
The default object which stores query information. :type name: String :param name: Name of the query. :type validation_query: String
cartography/driftdetect/model.py:7
↓ 6 callersClassTGWRelProperties
cartography/models/aws/ec2/tgw.py:19
↓ 6 callersClass_SyntheticHttpResponseError
tests/unit/cartography/intel/azure/test_data_factory.py:12
↓ 6 callersClass_TestConfig
tests/unit/cartography/intel/common/test_report_source.py:25
↓ 5 callersClassAPIGatewayStageSchema
cartography/models/aws/apigateway/apigatewaystage.py:67
↓ 5 callersClassAzureDataFactoryTransientError
cartography/intel/azure/data_factory_util.py:15
↓ 5 callersClassContainerPackagesFetchResult
Result of fetching the org's container packages list. ``cleanup_safe`` is False when the endpoint was unavailable (404 on older GHES, for ins
cartography/intel/github/packages.py:29
↓ 5 callersClassDependabotAlertsFetchResult
cartography/intel/github/dependabot_alerts.py:26
↓ 5 callersClassGitHubTeamToRepoRelProperties
cartography/models/github/teams.py:25
↓ 5 callersClassGraphStatement
A statement that will run against the cartography graph. Statements can query or update the graph. This class encapsulates a Neo4j Cypher qu
cartography/graph/statement.py:71
↓ 5 callersClassLocalReportSource
A filesystem path to a single report or a directory of reports.
cartography/intel/common/report_source.py:16
↓ 5 callersClassMockPage
tests/integration/cartography/intel/microsoft/entra/test_groups.py:29
↓ 5 callersClassSentinelOneSyncScope
cartography/intel/sentinelone/account.py:17
↓ 5 callersClassTailscaleGrantAccessRelProperties
cartography/models/tailscale/grant.py:142
↓ 4 callersClassAIBOMComponentToComponentRelProperties
cartography/models/aibom/component.py:106
↓ 4 callersClassAPIGatewayClientCertificateSchema
cartography/models/aws/apigateway/apigatewaycertificate.py:62
↓ 4 callersClassAPIGatewayResourceSchema
cartography/models/aws/apigateway/apigatewayresource.py:62
↓ 4 callersClassAWSIPv4CidrBlockSchema
There is no sub-resource relationship here because a CIDR block can be associated with more than one account and it doesn't make sense to
cartography/models/aws/ec2/vpc_cidr.py:45
↓ 4 callersClassAWSInlinePolicySchema
Inline policies are defined on the given principal and are therefore scoped to that principal's account.
cartography/models/aws/iam/inline_policy.py:65
↓ 4 callersClassAWSSSOUserSchema
cartography/models/aws/identitycenter/awsssouser.py:141
↓ 4 callersClassAttestationDiscoverySummary
cartography/intel/gitlab/container_image_attestations.py:41
↓ 4 callersClassAuthenticator
cartography/intel/azure/util/credentials.py:38
↓ 4 callersClassAzureBlobContainerReader
cartography/intel/common/object_store.py:258
↓ 4 callersClassAzureBlobReportSource
An Azure Blob Storage container+prefix. `prefix` never has a leading slash.
cartography/intel/common/report_source.py:51
↓ 4 callersClassAzureCosmosDBLocationSchema
cartography/models/azure/cosmosdb/dblocation.py:108
↓ 4 callersClassELBV2TransientRegionFailure
cartography/intel/aws/ec2/load_balancer_v2s.py:38
↓ 4 callersClassGCPArtifactRegistryRepositoryImageMatchLinkProperties
cartography/models/gcp/artifact_registry/repository_image.py:112
↓ 4 callersClassGCPFolderSchema
cartography/models/gcp/crm/folders.py:88
↓ 4 callersClassGCPProjectSchema
cartography/models/gcp/crm/projects.py:89
↓ 4 callersClassGCPServiceAccountSchema
cartography/models/gcp/iam.py:47
↓ 4 callersClassGitHubDependabotAlertRelProperties
cartography/models/github/dependabot_alerts.py:72
↓ 4 callersClassGitHubPersonalAccessTokenRelProperties
cartography/models/github/personal_access_tokens.py:35
↓ 4 callersClassInterestingAssetToHelloAssetRel
Define an additional relationship (:InterestingAsset)-[:ASSOCIATED_WITH]->(:HelloAsset)
tests/data/graph/querybuilder/sample_models/interesting_asset.py:56
↓ 4 callersClassKeycloakUserSchema
cartography/models/keycloak/user.py:49
↓ 4 callersClassKubernetesGroupSchema
cartography/models/kubernetes/groups.py:96
↓ 4 callersClassKubernetesUserSchema
cartography/models/kubernetes/users.py:114
↓ 4 callersClassLambdaSubResourceTransientFailure
cartography/intel/aws/lambda_function.py:42
↓ 4 callersClassLoadBalancerV2ToTargetRelProperties
cartography/models/aws/ec2/loadbalancerv2.py:220
↓ 4 callersClassSimpleNodeProperties
tests/data/graph/querybuilder/sample_models/simple_node.py:15
↓ 4 callersClassSimpleNodeSchema
tests/data/graph/querybuilder/sample_models/simple_node.py:23
next →1–100 of 4,660, ranked by callers