cartography 0.110.0rc1__py3-none-any.whl → 0.110.0rc2__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of cartography might be problematic. Click here for more details.

Files changed (43) hide show
  1. cartography/_version.py +2 -2
  2. cartography/cli.py +0 -8
  3. cartography/config.py +0 -9
  4. cartography/data/jobs/analysis/aws_ec2_keypair_analysis.json +2 -2
  5. cartography/intel/aws/cognito.py +201 -0
  6. cartography/intel/aws/ecs.py +7 -1
  7. cartography/intel/aws/glue.py +64 -0
  8. cartography/intel/aws/kms.py +13 -1
  9. cartography/intel/aws/rds.py +105 -0
  10. cartography/intel/aws/resources.py +2 -0
  11. cartography/intel/aws/route53.py +3 -1
  12. cartography/intel/aws/s3.py +104 -0
  13. cartography/intel/entra/__init__.py +41 -43
  14. cartography/intel/entra/applications.py +2 -1
  15. cartography/intel/entra/ou.py +1 -1
  16. cartography/intel/github/__init__.py +21 -25
  17. cartography/intel/github/repos.py +4 -36
  18. cartography/intel/kubernetes/__init__.py +4 -0
  19. cartography/intel/kubernetes/rbac.py +464 -0
  20. cartography/intel/kubernetes/util.py +17 -0
  21. cartography/models/aws/cognito/__init__.py +0 -0
  22. cartography/models/aws/cognito/identity_pool.py +70 -0
  23. cartography/models/aws/cognito/user_pool.py +47 -0
  24. cartography/models/aws/ec2/security_groups.py +1 -1
  25. cartography/models/aws/ecs/services.py +17 -0
  26. cartography/models/aws/ecs/tasks.py +1 -0
  27. cartography/models/aws/glue/job.py +69 -0
  28. cartography/models/aws/rds/event_subscription.py +146 -0
  29. cartography/models/aws/route53/dnsrecord.py +21 -0
  30. cartography/models/github/dependencies.py +1 -2
  31. cartography/models/kubernetes/clusterrolebindings.py +98 -0
  32. cartography/models/kubernetes/clusterroles.py +52 -0
  33. cartography/models/kubernetes/rolebindings.py +119 -0
  34. cartography/models/kubernetes/roles.py +76 -0
  35. cartography/models/kubernetes/serviceaccounts.py +77 -0
  36. {cartography-0.110.0rc1.dist-info → cartography-0.110.0rc2.dist-info}/METADATA +3 -3
  37. {cartography-0.110.0rc1.dist-info → cartography-0.110.0rc2.dist-info}/RECORD +42 -31
  38. cartography/intel/entra/resources.py +0 -20
  39. /cartography/data/jobs/{analysis → scoped_analysis}/aws_s3acl_analysis.json +0 -0
  40. {cartography-0.110.0rc1.dist-info → cartography-0.110.0rc2.dist-info}/WHEEL +0 -0
  41. {cartography-0.110.0rc1.dist-info → cartography-0.110.0rc2.dist-info}/entry_points.txt +0 -0
  42. {cartography-0.110.0rc1.dist-info → cartography-0.110.0rc2.dist-info}/licenses/LICENSE +0 -0
  43. {cartography-0.110.0rc1.dist-info → cartography-0.110.0rc2.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,77 @@
1
+ from dataclasses import dataclass
2
+
3
+ from cartography.models.core.common import PropertyRef
4
+ from cartography.models.core.nodes import CartographyNodeProperties
5
+ from cartography.models.core.nodes import CartographyNodeSchema
6
+ from cartography.models.core.relationships import CartographyRelProperties
7
+ from cartography.models.core.relationships import CartographyRelSchema
8
+ from cartography.models.core.relationships import LinkDirection
9
+ from cartography.models.core.relationships import make_target_node_matcher
10
+ from cartography.models.core.relationships import OtherRelationships
11
+ from cartography.models.core.relationships import TargetNodeMatcher
12
+
13
+
14
+ @dataclass(frozen=True)
15
+ class KubernetesServiceAccountNodeProperties(CartographyNodeProperties):
16
+ id: PropertyRef = PropertyRef("id")
17
+ name: PropertyRef = PropertyRef("name")
18
+ namespace: PropertyRef = PropertyRef("namespace")
19
+ uid: PropertyRef = PropertyRef("uid")
20
+ creation_timestamp: PropertyRef = PropertyRef("creation_timestamp")
21
+ resource_version: PropertyRef = PropertyRef("resource_version")
22
+ lastupdated: PropertyRef = PropertyRef("lastupdated", set_in_kwargs=True)
23
+
24
+
25
+ @dataclass(frozen=True)
26
+ class KubernetesServiceAccountToNamespaceRelProperties(CartographyRelProperties):
27
+ lastupdated: PropertyRef = PropertyRef("lastupdated", set_in_kwargs=True)
28
+
29
+
30
+ @dataclass(frozen=True)
31
+ class KubernetesServiceAccountToNamespaceRel(CartographyRelSchema):
32
+ target_node_label: str = "KubernetesNamespace"
33
+ target_node_matcher: TargetNodeMatcher = make_target_node_matcher(
34
+ {
35
+ "cluster_name": PropertyRef("CLUSTER_NAME", set_in_kwargs=True),
36
+ "name": PropertyRef("namespace"),
37
+ }
38
+ )
39
+ direction: LinkDirection = LinkDirection.INWARD
40
+ rel_label: str = "CONTAINS"
41
+ properties: KubernetesServiceAccountToNamespaceRelProperties = (
42
+ KubernetesServiceAccountToNamespaceRelProperties()
43
+ )
44
+
45
+
46
+ @dataclass(frozen=True)
47
+ class KubernetesServiceAccountToClusterRelProperties(CartographyRelProperties):
48
+ lastupdated: PropertyRef = PropertyRef("lastupdated", set_in_kwargs=True)
49
+
50
+
51
+ @dataclass(frozen=True)
52
+ class KubernetesServiceAccountToClusterRel(CartographyRelSchema):
53
+ target_node_label: str = "KubernetesCluster"
54
+ target_node_matcher: TargetNodeMatcher = make_target_node_matcher(
55
+ {"id": PropertyRef("CLUSTER_ID", set_in_kwargs=True)}
56
+ )
57
+ direction: LinkDirection = LinkDirection.INWARD
58
+ rel_label: str = "RESOURCE"
59
+ properties: KubernetesServiceAccountToClusterRelProperties = (
60
+ KubernetesServiceAccountToClusterRelProperties()
61
+ )
62
+
63
+
64
+ @dataclass(frozen=True)
65
+ class KubernetesServiceAccountSchema(CartographyNodeSchema):
66
+ label: str = "KubernetesServiceAccount"
67
+ properties: KubernetesServiceAccountNodeProperties = (
68
+ KubernetesServiceAccountNodeProperties()
69
+ )
70
+ sub_resource_relationship: KubernetesServiceAccountToClusterRel = (
71
+ KubernetesServiceAccountToClusterRel()
72
+ )
73
+ other_relationships: OtherRelationships = OtherRelationships(
74
+ [
75
+ KubernetesServiceAccountToNamespaceRel(),
76
+ ]
77
+ )
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: cartography
3
- Version: 0.110.0rc1
3
+ Version: 0.110.0rc2
4
4
  Summary: Explore assets and their relationships across your technical infrastructure.
5
5
  Maintainer: Cartography Contributors
6
6
  License: apache2
@@ -82,7 +82,7 @@ You can learn more about the story behind Cartography in our [presentation at BS
82
82
 
83
83
  ## Supported platforms
84
84
  - [Airbyte](https://cartography-cncf.github.io/cartography/modules/airbyte/index.html) - Organization, Workspace, User, Source, Destination, Connection, Tag, Stream
85
- - [Amazon Web Services](https://cartography-cncf.github.io/cartography/modules/aws/index.html) - ACM, API Gateway, CloudWatch, CodeBuild, Config, EC2, ECS, ECR, EFS, Elasticsearch, Elastic Kubernetes Service (EKS), DynamoDB, Glue, GuardDuty, IAM, Inspector, KMS, Lambda, RDS, Redshift, Route53, S3, Secrets Manager(Secret Versions), Security Hub, SNS, SQS, SSM, STS, Tags
85
+ - [Amazon Web Services](https://cartography-cncf.github.io/cartography/modules/aws/index.html) - ACM, API Gateway, CloudWatch, CodeBuild, Config, Cognito, EC2, ECS, ECR, EFS, Elasticsearch, Elastic Kubernetes Service (EKS), DynamoDB, Glue, GuardDuty, IAM, Inspector, KMS, Lambda, RDS, Redshift, Route53, S3, Secrets Manager(Secret Versions), Security Hub, SNS, SQS, SSM, STS, Tags
86
86
  - [Anthropic](https://cartography-cncf.github.io/cartography/modules/anthropic/index.html) - Organization, ApiKey, User, Workspace
87
87
  - [BigFix](https://cartography-cncf.github.io/cartography/modules/bigfix/index.html) - Computers
88
88
  - [Cloudflare](https://cartography-cncf.github.io/cartography/modules/cloudflare/index.html) - Account, Role, Member, Zone, DNSRecord
@@ -93,7 +93,7 @@ You can learn more about the story behind Cartography in our [presentation at BS
93
93
  - [Google Cloud Platform](https://cartography-cncf.github.io/cartography/modules/gcp/index.html) - Cloud Resource Manager, Compute, DNS, Storage, Google Kubernetes Engine
94
94
  - [Google GSuite](https://cartography-cncf.github.io/cartography/modules/gsuite/index.html) - users, groups
95
95
  - [Kandji](https://cartography-cncf.github.io/cartography/modules/kandji/index.html) - Devices
96
- - [Kubernetes](https://cartography-cncf.github.io/cartography/modules/kubernetes/index.html) - Cluster, Namespace, Service, Pod, Container
96
+ - [Kubernetes](https://cartography-cncf.github.io/cartography/modules/kubernetes/index.html) - Cluster, Namespace, Service, Pod, Container, ServiceAccount, Role, RoleBinding, ClusterRole, ClusterRoleBinding
97
97
  - [Lastpass](https://cartography-cncf.github.io/cartography/modules/lastpass/index.html) - users
98
98
  - [Microsoft Azure](https://cartography-cncf.github.io/cartography/modules/azure/index.html) - CosmosDB, SQL, Storage, Virtual Machine
99
99
  - [Microsoft Entra ID](https://cartography-cncf.github.io/cartography/modules/entra/index.html) - Users
@@ -1,8 +1,8 @@
1
1
  cartography/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
2
  cartography/__main__.py,sha256=y5iqUrj4BmqZfjeDT-9balzpXeMARgHeIedRMRI1gr8,100
3
- cartography/_version.py,sha256=K77bmqqNrEr6adzs0e_JUxOx7UAa1mzTnIfy4pjE6lc,525
4
- cartography/cli.py,sha256=S6O4FRxxBba60JAm6aLvQYiPS9DFxj0KLonWs4IU0Gw,47437
5
- cartography/config.py,sha256=mRwjhJMSLp7BLxKmAAf96QZanpIaMK6GDImHPYlYFnM,17714
3
+ cartography/_version.py,sha256=f8gHwx9mg-BSoFSMQZAGikuzAcOSL2iL_f7vCTkedPA,525
4
+ cartography/cli.py,sha256=iw_Rhs4ztquxD_BaneRNOZDuwBzANq9zImBteB3shXI,47085
5
+ cartography/config.py,sha256=CUp5Klxr8enNLFttqlo67le6Z4mXTzzEb5nYiE-pGs0,17076
6
6
  cartography/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
7
7
  cartography/stats.py,sha256=N95prYlSzY8U52VFgKIDgOWOawu5Mig4N7GcVp3binQ,4420
8
8
  cartography/sync.py,sha256=-WsU6tGUKpfxPRndm1QU_0HQyE20Q7fexQWRHWFrnQI,13867
@@ -19,11 +19,10 @@ cartography/data/permission_relationships.yaml,sha256=RuKGGc_3ZUQ7ag0MssB8k_zaon
19
19
  cartography/data/jobs/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
20
20
  cartography/data/jobs/analysis/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
21
21
  cartography/data/jobs/analysis/aws_ec2_asset_exposure.json,sha256=wSR_-0TbieAMSFOWpNZohgbDHooa-F6jHm8DxdntLOY,3397
22
- cartography/data/jobs/analysis/aws_ec2_keypair_analysis.json,sha256=_ZBczunZbx5NHAbfVc4v6vJsbyl1xaePLzj4cyxW-4A,1741
22
+ cartography/data/jobs/analysis/aws_ec2_keypair_analysis.json,sha256=bAmLL7pJ9DcCk-E9tFMlrusBCwpe1gNCapKev5G7x1s,1832
23
23
  cartography/data/jobs/analysis/aws_eks_asset_exposure.json,sha256=Z6z4YTNJJqUJl2JqONeAYAvfH_2A9qEBxkFn-aou8D8,561
24
24
  cartography/data/jobs/analysis/aws_foreign_accounts.json,sha256=b8Li_KQLwIvNXxWt0F1bVTV1Vg9dxsbr7ZE8LH2-woc,686
25
25
  cartography/data/jobs/analysis/aws_lambda_ecr.json,sha256=wM10Gn0HoNP-sOj3S_Sjqh4mLsh-f2QkonkFuOohs_U,641
26
- cartography/data/jobs/analysis/aws_s3acl_analysis.json,sha256=ihTzHXAjpulNo0F1swZlZtxqKsZwtt2QXoB7yaX6gKA,2737
27
26
  cartography/data/jobs/analysis/gcp_compute_asset_inet_exposure.json,sha256=lXuxrcHLom_DvsDvCQjZsqwRLMkwtKtjj6CRmo0eweI,4640
28
27
  cartography/data/jobs/analysis/gcp_gke_asset_exposure.json,sha256=7SJc9TeeIWFMDmHOWgmjgaIzjmCClLjJTPS4bGlaEF0,643
29
28
  cartography/data/jobs/analysis/gcp_gke_basic_auth.json,sha256=qLkrw1eZvV9ETtkIQN3v9hXnYN3ujAMyfIpqUj5YGo8,681
@@ -105,6 +104,7 @@ cartography/data/jobs/cleanup/okta_import_cleanup.json,sha256=4XQwYpY9vITLhnLpij
105
104
  cartography/data/jobs/cleanup/pagerduty_import_cleanup.json,sha256=RJqG_Uw_QEGTer_-s2IuZ3a2kykhUcCdDNZu0S7SEB4,4457
106
105
  cartography/data/jobs/scoped_analysis/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
107
106
  cartography/data/jobs/scoped_analysis/aws_ec2_iaminstanceprofile.json,sha256=hzFlYNozrAiTh96qGlQSwTt3yzlDEUXF3OfxMMZTGgU,808
107
+ cartography/data/jobs/scoped_analysis/aws_s3acl_analysis.json,sha256=ihTzHXAjpulNo0F1swZlZtxqKsZwtt2QXoB7yaX6gKA,2737
108
108
  cartography/data/jobs/scoped_analysis/semgrep_sca_risk_analysis.json,sha256=eIYxbl5TdgVzN8En2JozWoyKAiIh3Dp8wUMkTDPGZY0,6485
109
109
  cartography/driftdetect/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
110
110
  cartography/driftdetect/__main__.py,sha256=Eb9cVDp4eu0yrAiOmo5oSGTriCgxza8nA__NQk4SKgA,124
@@ -150,32 +150,33 @@ cartography/intel/aws/cloudtrail.py,sha256=LCqf3pQMiMY4h1Wehb_OjwXst2fMIEnNOD8Hb
150
150
  cartography/intel/aws/cloudtrail_management_events.py,sha256=z5VZH1wQvl_ROG1sB9ZPdH4uexp-BKrI-WdEkhQKbkQ,35751
151
151
  cartography/intel/aws/cloudwatch.py,sha256=bBPlx5W15nun-jhYs-UAZQpo9Qm7FcBs4gBQevTqmi4,7246
152
152
  cartography/intel/aws/codebuild.py,sha256=8I-Xzm_c5-ixnGOOHIQLYYpClnaGjjHrEMjQ0-DGsgM,3958
153
+ cartography/intel/aws/cognito.py,sha256=9eV2M5aHiDJoyAIp4Py5xaoSYgj-298iih-qO6F6Bdw,5850
153
154
  cartography/intel/aws/config.py,sha256=IIICicLQ0OTT3H3o8LDakIkA1BPUMwSyzpKonet-PaY,7658
154
155
  cartography/intel/aws/dynamodb.py,sha256=VvvjeUgi1ZrqY9flXIQnfhhaSVSEqXXHW6T9917VLBk,5728
155
156
  cartography/intel/aws/ecr.py,sha256=_caYJexDxTzYMzyJ3oJwEOuEQJKjwEuH-5PHOejt7Ec,7131
156
- cartography/intel/aws/ecs.py,sha256=h5Nn09MzqPftbXV46jybjsxnYVYW1Vit41kCkaFIq_4,14105
157
+ cartography/intel/aws/ecs.py,sha256=NiKtSMtwW5BvQ1C48gSXXQtOQpTisL3xx4JdNBDujVA,14391
157
158
  cartography/intel/aws/efs.py,sha256=6ZvFmVHLfZlyo8xx2dlRsC1IoVOpBOtsij_AdFczkDo,7884
158
159
  cartography/intel/aws/eks.py,sha256=bPItyEj5q0nSDltJrr0S5MIrTPV0fK3xkqF6EV8fcqA,3759
159
160
  cartography/intel/aws/elasticache.py,sha256=ePTi-49Lbw94L6m7id5dUk1cG6FZRizFxojxKZBk8XY,5552
160
161
  cartography/intel/aws/elasticsearch.py,sha256=8X_Rp1zejkvXho0Zz_Cr4g-w9IpompdYRc-YS595Aso,8645
161
162
  cartography/intel/aws/emr.py,sha256=EJoKjHQP7-F_A1trUNU05Sb42yNR1i0C9VIpGcCfAXw,3662
162
163
  cartography/intel/aws/eventbridge.py,sha256=XmF8Wfigbu94HOmpVR2w-fujpHjJi8HqJoBJ8wOZI0o,2285
163
- cartography/intel/aws/glue.py,sha256=-AQh1PIbWzi7y-uZbx2yaHnrEpMsENSBX-pGUFqc6xQ,3349
164
+ cartography/intel/aws/glue.py,sha256=y3RQRNQutdMugSKOVnbJfA1CFfu12g8sqSuhp_AF4aI,5211
164
165
  cartography/intel/aws/guardduty.py,sha256=QpwWisz3TzbOxkRKNjByk4WWDCCMXr8jgNOgOdjQM5g,8532
165
166
  cartography/intel/aws/iam.py,sha256=bkyIzWw2OC4MHxuoCvTiZ5eEGEQhz2asiUgY_tkX2GY,34322
166
167
  cartography/intel/aws/iam_instance_profiles.py,sha256=QUyu30xid60BFaemp-q0y9FgNsHaIQyQnQ8gHUzWC4k,2211
167
168
  cartography/intel/aws/identitycenter.py,sha256=Q1k1BuBmtA85s5tHGS7lvgGxQ-H-piIyiWgyevFL92U,11161
168
169
  cartography/intel/aws/inspector.py,sha256=G8a60uuFCuENvR2DNJ9VmWEJwG9UDENaC1buULvuSZc,12415
169
- cartography/intel/aws/kms.py,sha256=cnWZtzI7hsaXAt4CpdddAVDqaPZvtoXCoJIdqapHAbA,10754
170
+ cartography/intel/aws/kms.py,sha256=vfufz0FuSZaonWQh0llHwt1UY5nlwqtQ1kzGxBwbMdc,11184
170
171
  cartography/intel/aws/lambda_function.py,sha256=3hpgqI1HOeywcP3xV-OcoCOxfyyqfyMaYeb46xdf8B4,9585
171
172
  cartography/intel/aws/organizations.py,sha256=m5qk60N6pe7iKLN-Rtfg9aYv7OozoloSkcsuePd-RGs,4680
172
173
  cartography/intel/aws/permission_relationships.py,sha256=LTmnHS6zk9hcdL548V5ka3Ey-6NsFjy1JYZTfRyB9Ys,15647
173
- cartography/intel/aws/rds.py,sha256=are2LsWe8tM4UkCaGVnXS7F-ZVawklpc9h4lsM-fpGY,16173
174
+ cartography/intel/aws/rds.py,sha256=BfMe0Hm1PKNBf2USGWdFUr4yqWF-ULnUEdX9A0l2AP0,19534
174
175
  cartography/intel/aws/redshift.py,sha256=FGcCzcnm1OOrbJvLqtR1DwWVn1pt4Y6_eKkTUERT7Ws,7108
175
176
  cartography/intel/aws/resourcegroupstaggingapi.py,sha256=TkMlUKLrRBWAyeUu-cHKce7TFkwBnWV_Im8DONgnLGU,12852
176
- cartography/intel/aws/resources.py,sha256=7jTNcbbodPPrvJrnulgu3KfHCIk692saxfLW1AAXPM8,4343
177
- cartography/intel/aws/route53.py,sha256=27ocRlNnxiXi7M7eYLUCVBNwaLyArX4CAExoOBxGl3Y,14294
178
- cartography/intel/aws/s3.py,sha256=Da_5NYvQ7MN1AIN7CK9XXlVZo0fPdNHkqBZY1JWnHH4,33598
177
+ cartography/intel/aws/resources.py,sha256=pxF4kuekcTaAe5L7WDwT1o2-o-qeP4pKQcPa3Ie9rmw,4394
178
+ cartography/intel/aws/route53.py,sha256=avkkV1QotLzovb867wka6bY0wsFYXABLYirl5S6LeWk,14353
179
+ cartography/intel/aws/s3.py,sha256=-j-CGYWPYhSAiNbdhrDuOyftAKGY9218bA-9u5xj0ME,37048
179
180
  cartography/intel/aws/s3accountpublicaccessblock.py,sha256=XkqHnbj9ODRcc7Rbl4swi03qvw_T-7Bnx3BHpTmlxio,4688
180
181
  cartography/intel/aws/secretsmanager.py,sha256=xM6znqD0cKNJbAhO2Zg3svyO7YUOqPFbunhODAVXMgw,7777
181
182
  cartography/intel/aws/securityhub.py,sha256=oR808vrEAHsHH79u8hf-hkVTBcdNd6ZObCeNGD_xnSo,2324
@@ -242,11 +243,10 @@ cartography/intel/duo/phones.py,sha256=3_MPXmR4ub4Jra0ISr6cKzC5z_Pvx7YhHojWeJJku
242
243
  cartography/intel/duo/tokens.py,sha256=lVe0ByS3ncLA3FZXoqN8eLj_HMsl5s4uDT-uWlLJhSs,2407
243
244
  cartography/intel/duo/users.py,sha256=e2eK716wVlO71O9Q9KrWZot2cHjHZ7KgC9ZW27pCDaI,4143
244
245
  cartography/intel/duo/web_authn_credentials.py,sha256=mLWXdBe4V6fHCFotmtJmwhTSoOY6Hx87D3zI3hlL2nc,2656
245
- cartography/intel/entra/__init__.py,sha256=HU0A6XZ413vlSrMRMQzhloxmrr1k6g8ZxEUzb0kVHYw,2944
246
- cartography/intel/entra/applications.py,sha256=FtZNq7VswfKEflSCqZKDaJ0Hxfs2noOqRsl3QKKtw2c,13550
246
+ cartography/intel/entra/__init__.py,sha256=c4zkMFKRem8aRDUqjAvcNw8UwBvAv24Xq8yednlhAjU,2331
247
+ cartography/intel/entra/applications.py,sha256=RAvUxk_hwsKbf64ohhg3f-QuTzsT7zb8q13d9nQuyqg,13625
247
248
  cartography/intel/entra/groups.py,sha256=dENox8CUU_ngHkH0dDgzhH7mBthEovE6Trw6TyNAfGo,5994
248
- cartography/intel/entra/ou.py,sha256=zFX9z0YdISgvHQBTswbEMI2MklrmPkKJyhz5cGC35RA,3786
249
- cartography/intel/entra/resources.py,sha256=PiMt0-Y_KzNMhmNRkDxP9jmmhxDdmCh5b6PhTUkNZT4,759
249
+ cartography/intel/entra/ou.py,sha256=iv5UgRcPIaUZ8DdveKTmMkz0thEPYichpL9XntbHiPo,3803
250
250
  cartography/intel/entra/users.py,sha256=LiQuvpzPefRWvW1o07l-8TYrr6sUmpiYFli_4ROKJEw,8491
251
251
  cartography/intel/gcp/__init__.py,sha256=K8UOJmrhmG6b3ULJQVmOM4UC-v0KyKMKmhR_07_O41M,19421
252
252
  cartography/intel/gcp/compute.py,sha256=id8B8RqrfyfRITD57KPh4zIHmjrQFSwtH4aNq3XHB2A,48897
@@ -255,8 +255,8 @@ cartography/intel/gcp/dns.py,sha256=motkUXZLO30FEemqdffWuZA1Y1DLv0lGOgUqOi6ep4c,
255
255
  cartography/intel/gcp/gke.py,sha256=2-lhTzFEh-gAQ756Sr0kZZJY5_zcFWPS7_p0EVNzuR8,8326
256
256
  cartography/intel/gcp/iam.py,sha256=0aSVXeSuPLE5g0Ckl8mC0vM9d2dIi-W_8tcp1xLUhoE,7694
257
257
  cartography/intel/gcp/storage.py,sha256=ARDDySshRza90Biw33z_oNxLGJqvxLYBDyuRJ270muc,9307
258
- cartography/intel/github/__init__.py,sha256=_d2t6M41rAKPCLq6sQI3KxhG1Z9GbuC72z--2Q7MSTU,1937
259
- cartography/intel/github/repos.py,sha256=jFbFECG_nu8napA14AOd0ZA9_GGq40UpaXnxUtYp5Ig,43202
258
+ cartography/intel/github/__init__.py,sha256=qDMmYd-3DAVDhkPwCTVtkwP_0x5wuhWVp9jc0ghWtx4,1679
259
+ cartography/intel/github/repos.py,sha256=JWIAS7Tq_EJc5w6XCimcu_SCYK3VhXUMzDxNAA9zM18,42036
260
260
  cartography/intel/github/teams.py,sha256=JICUXVScYbowtbOtIe-D4bibPmSBbQnL5z8IjzqSJ3s,14657
261
261
  cartography/intel/github/users.py,sha256=meAkOpymGGdXXqZDCqv0hPIqCP4FHJvHkVug7L8jA10,9125
262
262
  cartography/intel/github/util.py,sha256=00MihS14j95xjwEdoSHlC8BYXQYJzDHCMc43DkCH55o,8098
@@ -267,13 +267,14 @@ cartography/intel/jamf/computers.py,sha256=z0aw1Kb0ojE5ppnqH-Ykm5QhyiZdKwr7ELBMw
267
267
  cartography/intel/jamf/util.py,sha256=ZBOkFZGS_xMgaEAtH1JpBoRYbjg9PpPih6W7bKN9g7k,1036
268
268
  cartography/intel/kandji/__init__.py,sha256=Xy41zkcRWWs5NjCc7lydjc_C_ylcTKHwqPLY0fecUyM,1096
269
269
  cartography/intel/kandji/devices.py,sha256=9CbxEHTC-0bDyLH-cR0Gn-s17irMr8ir35PRavBVSsU,2844
270
- cartography/intel/kubernetes/__init__.py,sha256=f8NwsEqYRN3nszSRyvkbt67dHJVF1vcMR5EYxS2cCAU,1964
270
+ cartography/intel/kubernetes/__init__.py,sha256=7A0BlitAz0xo0Dnk5NuGqsJAlOltXV2eakTu6uHsxNE,2153
271
271
  cartography/intel/kubernetes/clusters.py,sha256=GgtsHRMUnNFd55QEyvq-PuHR4HC388yhQbL44W_iJPo,2515
272
272
  cartography/intel/kubernetes/namespaces.py,sha256=i2OER_NIPb9h9MVy1GIqQKKTd18-k7Apz6ReHJpWuzI,2497
273
273
  cartography/intel/kubernetes/pods.py,sha256=7RqqqDC1V3UJJDXg1XyCI-LhkhIpl09TytBPL1EAOUE,5420
274
+ cartography/intel/kubernetes/rbac.py,sha256=uhm9tqWE_GDCgjNe1VTCNzW7g04RJAfm5-_KyPwgX2Q,15246
274
275
  cartography/intel/kubernetes/secrets.py,sha256=sGqyep28-WD0EhbMKY5iWqfRJt0SrLBkyvf5vxr7pjE,3256
275
276
  cartography/intel/kubernetes/services.py,sha256=iFWVWBE0W7Vs6j09rd042Jxv4YIcqrQDZZMHHMRNhnQ,4927
276
- cartography/intel/kubernetes/util.py,sha256=2A6HHXxubrrwrg13QhGmjDUZS-iZzj4XmQU4jiMRsNo,4853
277
+ cartography/intel/kubernetes/util.py,sha256=Y8uUz9VEdwIcOwCOyKfVasrEmJ-sIuYk0M5yIb05gsM,5381
277
278
  cartography/intel/lastpass/__init__.py,sha256=Cerm63CukrYdjYhnjU9HDUglmj3OLdmDDIMGREfVxWg,1055
278
279
  cartography/intel/lastpass/users.py,sha256=ehBEdC8OP0hG9Zxe0LQ15gphFf37UezWrdaKySGy9kg,2485
279
280
  cartography/intel/oci/__init__.py,sha256=0zP8ORYZptBY35o1c-4gqNz6wXP5KY-fZRDuwyKOAFM,8200
@@ -374,6 +375,9 @@ cartography/models/aws/cloudwatch/loggroup.py,sha256=_MRpRvU_Vg2rVlUdzfae6vOpbpm
374
375
  cartography/models/aws/cloudwatch/metric_alarm.py,sha256=_I-ZZLYpIVKLWntMH9X53LNyfWgr302MAeP4oeSehAE,2332
375
376
  cartography/models/aws/codebuild/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
376
377
  cartography/models/aws/codebuild/project.py,sha256=r_DMCtHlbG9FGUk_I8j_E1inIbFcGAXtL6HxHrcgg0U,2122
378
+ cartography/models/aws/cognito/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
379
+ cartography/models/aws/cognito/identity_pool.py,sha256=-gqsyyi_QXTK7V6pNkx_f8EM_nGv-yS8IZlM8GyRaQY,2833
380
+ cartography/models/aws/cognito/user_pool.py,sha256=TRZgK338CxOBlV1NWTaK0JgS_yjy419TKJZPsNPONek,1952
377
381
  cartography/models/aws/dynamodb/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
378
382
  cartography/models/aws/dynamodb/gsi.py,sha256=9bG1weq7vuEdt5sUDRqY5Rud9V1pZsohd8O08lZq7lc,3116
379
383
  cartography/models/aws/dynamodb/tables.py,sha256=_dUgNqJ3KGO85yFOwKQOy3pnUyb1nyZQ18pNS0OUuKY,2278
@@ -399,7 +403,7 @@ cartography/models/aws/ec2/route_table_associations.py,sha256=Rs9uG976zZazcUIGL5
399
403
  cartography/models/aws/ec2/route_tables.py,sha256=R0gcwaOsLXRjpuvL9Pq-uGosetZysHPrQiqycYkJLB0,4852
400
404
  cartography/models/aws/ec2/routes.py,sha256=T_PR1-pf_ZiE_w3zNaHaksXI5sIsaDwmH3sRctlP4uc,3725
401
405
  cartography/models/aws/ec2/security_group_rules.py,sha256=79MULpVkdI0IzFIFdnxYHloLRg8L7n2paGodXndY0EU,4350
402
- cartography/models/aws/ec2/security_groups.py,sha256=qFWC3Guj7NYgjWBtVulm0vYCXa-dWKlUAQK_cvSsbi0,3540
406
+ cartography/models/aws/ec2/security_groups.py,sha256=O4m6zljjAZ4mmOQxFNymdQEJDH6qFf-U9lXkytQtsQs,3539
403
407
  cartography/models/aws/ec2/securitygroup_instance.py,sha256=j-g1CQHYFTb0D0YsLP5QLy-lBJ0IUc3xTtaX8r9nzIY,2974
404
408
  cartography/models/aws/ec2/securitygroup_networkinterface.py,sha256=2MBxYXxuq_L0COeC04SgFfwxeXw-pc4N4JAH9oZyWQE,2481
405
409
  cartography/models/aws/ec2/snapshots.py,sha256=2J5bAwW6ZK2R7NW_zGGkQe64bxr2uBvQckBK0yjtGmM,2597
@@ -416,9 +420,9 @@ cartography/models/aws/ecs/clusters.py,sha256=uu-UzkSbpLu4UG5I6NsFMaThrPYl6jYe71
416
420
  cartography/models/aws/ecs/container_definitions.py,sha256=ocJMyl6wfxbW3aPrR6xwzqP9VMpkanKA3ghqcM5BWL0,4169
417
421
  cartography/models/aws/ecs/container_instances.py,sha256=LhBkyEWfOSejD57AERoQYVECJxwUMF09zPhrGYvnqwk,3632
418
422
  cartography/models/aws/ecs/containers.py,sha256=jmMdaonho4VI-TdZqBgTc1Ck-6XqI4O0hKRh1Ioerc4,3955
419
- cartography/models/aws/ecs/services.py,sha256=YPVTS0BB3X6tFCqIX3V1AZXcnHQEADusQkErd88oH7o,4964
423
+ cartography/models/aws/ecs/services.py,sha256=CpQl0M8XsGlryS7kYjrtQp-2Q8s1YxJu2muZQIlSTDU,5590
420
424
  cartography/models/aws/ecs/task_definitions.py,sha256=Wee44GZazQfZQ1TRRZr8bYXwSGgNNDuYxHRBhOmvWzg,5573
421
- cartography/models/aws/ecs/tasks.py,sha256=E_wx1lwV0b9MMgFW-nBZFfq_AhFTV38-NC1LKGxs3lE,5809
425
+ cartography/models/aws/ecs/tasks.py,sha256=lm7GITuWIKknunBv7ki6_rSQOSXidwvtmMunsEhSJ9Q,5868
422
426
  cartography/models/aws/efs/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
423
427
  cartography/models/aws/efs/access_point.py,sha256=Auk8E0AoPjrCxch8bP8fhT3JZ2WxblTTfYSqamA_p8g,3185
424
428
  cartography/models/aws/efs/file_system.py,sha256=6BNzjQJKZ-rYlDLw1UvDBhVRKre07-9EkcW9xvR3Wh0,2842
@@ -432,6 +436,7 @@ cartography/models/aws/eventbridge/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQe
432
436
  cartography/models/aws/eventbridge/rule.py,sha256=VH7oTferIyykITCJhVPWZKVx2-7H9Dxi4fm9GwDitJw,3135
433
437
  cartography/models/aws/glue/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
434
438
  cartography/models/aws/glue/connection.py,sha256=wG7mDMoYnmAHXrLfi52_1wPHF6VcrLOKfDmZaJJti1Q,2213
439
+ cartography/models/aws/glue/job.py,sha256=Y4RUgfpXKf-4z4vxGEa4eEka7oJOATGks0hy_Aezevk,2805
435
440
  cartography/models/aws/guardduty/__init__.py,sha256=ILQhP6R9RLgXzPKdmPzuGqhOgAXeIReUEyqKS-ZXS3k,19
436
441
  cartography/models/aws/guardduty/findings.py,sha256=LwUE1DbDyl9c3g5fUSZxsYKQ8U44wDS4Pps-QPMyr3Y,4184
437
442
  cartography/models/aws/iam/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -454,11 +459,12 @@ cartography/models/aws/lambda_function/lambda_function.py,sha256=YRwoVcfD8xpVPz2
454
459
  cartography/models/aws/lambda_function/layer.py,sha256=kKMxm5XkAIx-VBZZX3teA6Md-jByBBdFnSoebjqq3ik,2868
455
460
  cartography/models/aws/rds/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
456
461
  cartography/models/aws/rds/cluster.py,sha256=chxwnOU7hGOvlnyTtaHx0ZxqyJIXQJ1qWEv68ti_nqo,4330
462
+ cartography/models/aws/rds/event_subscription.py,sha256=a7UYg9J8oLMb3l0BF50NNaomr7XS2G4AliCUeegxdEg,5676
457
463
  cartography/models/aws/rds/instance.py,sha256=B6vMGNDR9JhheJbnHGdrU0ZFyLorw55ZIsvlkkxjw6Q,6450
458
464
  cartography/models/aws/rds/snapshot.py,sha256=T_2kqvJW2iDjPSg2cr9amXZNTotE9Zm66GSCDteiNbQ,4821
459
465
  cartography/models/aws/rds/subnet_group.py,sha256=0tr68MYpWwRC-P23XLh-GecMQAfrQwLZ82LfdbcLsSc,3676
460
466
  cartography/models/aws/route53/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
461
- cartography/models/aws/route53/dnsrecord.py,sha256=JNkK7S1B7rB-uag1LuLhe2Rkct5foJ2X_bmUzUZsbuo,7552
467
+ cartography/models/aws/route53/dnsrecord.py,sha256=k8XHbL7tmpcX7tEjPMUfoOTPu3WbjjI8URmALjoDEWE,8277
462
468
  cartography/models/aws/route53/nameserver.py,sha256=yKH3u_PDi7C-UQ69mNPiiFppsfiFC4nN0glouAGOoN8,2511
463
469
  cartography/models/aws/route53/subzone.py,sha256=g3k4RHm5YqH-AjIZynlF4sj64cBhkiZ2L2CwV23j_L4,1674
464
470
  cartography/models/aws/route53/zone.py,sha256=6yNSdZcmJZOzGjVG7HSC35P9fFKaxYTUp_O_Ptzt1Fk,2011
@@ -518,7 +524,7 @@ cartography/models/gcp/iam.py,sha256=k6egP-DHvMX18QcLuwklxqLZXd4YPMhAs5-qWWloqJ4
518
524
  cartography/models/gcp/compute/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
519
525
  cartography/models/gcp/compute/vpc.py,sha256=bbFfo_Rh7brXvNqY8fx-jz9zUDtPew_Wcq-WGv9j9cI,2131
520
526
  cartography/models/github/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
521
- cartography/models/github/dependencies.py,sha256=QHUgWSLTkSdhTxcgx5ct-yD2-Il7plg3N-fcZGZpKM4,3143
527
+ cartography/models/github/dependencies.py,sha256=V_Ktx_YRABYB1xAI9Z-YivDsljQsqlDLgrfof7OPubA,3099
522
528
  cartography/models/github/manifests.py,sha256=1trwgECCjvZKS63z2k8mB55Fa8d2l-uU7HSgfL95iwA,2078
523
529
  cartography/models/github/orgs.py,sha256=cEG7yX56VzzI3OkQFjUum2LdrXCLWl4ExvNqSZ7Bmiw,1107
524
530
  cartography/models/github/teams.py,sha256=CZ1zENzWthFyK_zUculhgNFTbAgHx0ELv-omIB7EPTw,6117
@@ -527,11 +533,16 @@ cartography/models/kandji/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJW
527
533
  cartography/models/kandji/device.py,sha256=8K1nDL7Zi86zWFHGuik7FoD6qRqWU1r9p_eWcTFydBU,2262
528
534
  cartography/models/kandji/tenant.py,sha256=-tevAOjURLgBm0QS4kRv9iGJaTjJMzOyX36lMtYeCDU,690
529
535
  cartography/models/kubernetes/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
536
+ cartography/models/kubernetes/clusterrolebindings.py,sha256=k6RrjHzTipR4NIN19i27iNFGDEqXqE86z0j16eMDqKw,4060
537
+ cartography/models/kubernetes/clusterroles.py,sha256=jZ-EGxmXX_sY_blpbzycHXr5b0cnBtnOr4zTXcub1KA,2189
530
538
  cartography/models/kubernetes/clusters.py,sha256=mg1LcSQvd-dHa4dKZeoMZq4M9gh1rI-9fqf8MpHhR6M,1181
531
539
  cartography/models/kubernetes/containers.py,sha256=xRys7sm0uI5ZFEd8_6nSZRRLZEysHJow9B0bkWSeJik,4570
532
540
  cartography/models/kubernetes/namespaces.py,sha256=2RSjIeyPU_-ouG-rbvZhC5c5D-jMuKxjfBt5-UN_VOY,2268
533
541
  cartography/models/kubernetes/pods.py,sha256=z2FXYomtXLoaqMwq0FqJFOcu1yX_PpbqfE_QW_Tigdg,3370
542
+ cartography/models/kubernetes/rolebindings.py,sha256=iONfJsMu2oJEUuaFyGgdCnCCQ-kWpxChTen8Q_d9ZTo,4727
543
+ cartography/models/kubernetes/roles.py,sha256=M07uraf1KRVH1f6ISgSykg7gDFt_V2vIoLGeG20NEqQ,3068
534
544
  cartography/models/kubernetes/secrets.py,sha256=D18RvHWB6HQ2iyqXyX2PxGVToJlOf4werCDU7aPs69w,3384
545
+ cartography/models/kubernetes/serviceaccounts.py,sha256=O8-4fr8ax9jFiC1JdSm9KF5a9XIM0eIWKU2OLxW5YS4,3104
535
546
  cartography/models/kubernetes/services.py,sha256=OIIYH45HKbAeEQVMMCJXdzemnGWnyfq-mYqk4Te1qE8,4529
536
547
  cartography/models/lastpass/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
537
548
  cartography/models/lastpass/tenant.py,sha256=qZX0Me1WezBpWpSYhjlVp4N4x3z7p2wmwe0fUNl-s7M,618
@@ -582,9 +593,9 @@ cartography/models/trivy/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZ
582
593
  cartography/models/trivy/findings.py,sha256=SgI_h1aRyR20uAHvuXIZ1T6r4IZJt6SVhxRaF2bTsm0,3085
583
594
  cartography/models/trivy/fix.py,sha256=ho9ENVl9HSXqyggyCwR6ilkOBKDxpQ7rGibo_j21NA4,2587
584
595
  cartography/models/trivy/package.py,sha256=IwO1RZZ-MFRtNbt8Cq6YFl6fdNJMFmULnJkkK8Q4rL4,2809
585
- cartography-0.110.0rc1.dist-info/licenses/LICENSE,sha256=kvLEBRYaQ1RvUni6y7Ti9uHeooqnjPoo6n_-0JO1ETc,11351
586
- cartography-0.110.0rc1.dist-info/METADATA,sha256=KGMJ4cQnFq-pxGUDUYXa8OqAGvXjQ571C4gbBZiWrMM,12930
587
- cartography-0.110.0rc1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
588
- cartography-0.110.0rc1.dist-info/entry_points.txt,sha256=GVIAWD0o0_K077qMA_k1oZU4v-M0a8GLKGJR8tZ-qH8,112
589
- cartography-0.110.0rc1.dist-info/top_level.txt,sha256=BHqsNJQiI6Q72DeypC1IINQJE59SLhU4nllbQjgJi9g,12
590
- cartography-0.110.0rc1.dist-info/RECORD,,
596
+ cartography-0.110.0rc2.dist-info/licenses/LICENSE,sha256=kvLEBRYaQ1RvUni6y7Ti9uHeooqnjPoo6n_-0JO1ETc,11351
597
+ cartography-0.110.0rc2.dist-info/METADATA,sha256=CAGzvE1j8UYuQSFr5q1ttaY0Tw2TWn7yh-aXA_w38eY,13008
598
+ cartography-0.110.0rc2.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
599
+ cartography-0.110.0rc2.dist-info/entry_points.txt,sha256=GVIAWD0o0_K077qMA_k1oZU4v-M0a8GLKGJR8tZ-qH8,112
600
+ cartography-0.110.0rc2.dist-info/top_level.txt,sha256=BHqsNJQiI6Q72DeypC1IINQJE59SLhU4nllbQjgJi9g,12
601
+ cartography-0.110.0rc2.dist-info/RECORD,,
@@ -1,20 +0,0 @@
1
- from cartography.intel.entra.applications import sync_entra_applications
2
- from cartography.intel.entra.groups import sync_entra_groups
3
- from cartography.intel.entra.ou import sync_entra_ous
4
- from cartography.intel.entra.users import sync_entra_users
5
-
6
- # This is a list so that we sync these resources in order.
7
- # Data shape: [("resource_name", sync_function), ...]
8
- # Each sync function will be called with the following arguments:
9
- # - neo4j_session
10
- # - config.entra_tenant_id
11
- # - config.entra_client_id
12
- # - config.entra_client_secret
13
- # - config.update_tag
14
- # - common_job_parameters
15
- RESOURCE_FUNCTIONS = [
16
- ("users", sync_entra_users),
17
- ("groups", sync_entra_groups),
18
- ("ous", sync_entra_ous),
19
- ("applications", sync_entra_applications),
20
- ]