cartography 0.112.0__py3-none-any.whl → 0.113.0__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.
- cartography/_version.py +2 -2
- cartography/data/indexes.cypher +0 -4
- cartography/intel/aws/apigatewayv2.py +116 -0
- cartography/intel/aws/resources.py +2 -0
- cartography/intel/gcp/__init__.py +7 -3
- cartography/intel/gcp/dns.py +82 -169
- cartography/intel/gcp/iam.py +66 -54
- cartography/intel/gcp/storage.py +75 -159
- cartography/models/aws/apigatewayv2/__init__.py +0 -0
- cartography/models/aws/apigatewayv2/apigatewayv2.py +53 -0
- cartography/models/gcp/dns.py +109 -0
- cartography/models/gcp/iam.py +3 -0
- cartography/models/gcp/storage/__init__.py +0 -0
- cartography/models/gcp/storage/bucket.py +119 -0
- {cartography-0.112.0.dist-info → cartography-0.113.0.dist-info}/METADATA +1 -1
- {cartography-0.112.0.dist-info → cartography-0.113.0.dist-info}/RECORD +20 -16
- cartography/data/jobs/cleanup/gcp_dns_cleanup.json +0 -29
- cartography/data/jobs/cleanup/gcp_storage_bucket_cleanup.json +0 -29
- {cartography-0.112.0.dist-info → cartography-0.113.0.dist-info}/WHEEL +0 -0
- {cartography-0.112.0.dist-info → cartography-0.113.0.dist-info}/entry_points.txt +0 -0
- {cartography-0.112.0.dist-info → cartography-0.113.0.dist-info}/licenses/LICENSE +0 -0
- {cartography-0.112.0.dist-info → cartography-0.113.0.dist-info}/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
cartography/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
2
2
|
cartography/__main__.py,sha256=y5iqUrj4BmqZfjeDT-9balzpXeMARgHeIedRMRI1gr8,100
|
|
3
|
-
cartography/_version.py,sha256=
|
|
3
|
+
cartography/_version.py,sha256=jO8pa889KRBwzRLwgrGQ4UnVNtW_NpVRg4vBFod89jc,708
|
|
4
4
|
cartography/cli.py,sha256=HMBVeVjNSypEH4SI3_ifVXse3VQOSWDH4AeUj8t_aAk,49225
|
|
5
5
|
cartography/config.py,sha256=2ng1kOkgbH4Lq_8eNj1NR9XiD1_St7Twrmfpafie33c,18331
|
|
6
6
|
cartography/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -14,7 +14,7 @@ cartography/client/aws/iam.py,sha256=dYsGikc36DEsSeR2XVOVFFUDwuU9yWj_EVkpgVYCFgM
|
|
|
14
14
|
cartography/client/core/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
15
15
|
cartography/client/core/tx.py,sha256=Xx6_a5u7PE5pyREuBL_J39ORcafqieFf4KdosaEv1c4,13530
|
|
16
16
|
cartography/data/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
17
|
-
cartography/data/indexes.cypher,sha256=
|
|
17
|
+
cartography/data/indexes.cypher,sha256=v17E4zbXaoLzAPhfXR_c6tv4wVgtYxwUQDlw2tSFBL0,21964
|
|
18
18
|
cartography/data/permission_relationships.yaml,sha256=RuKGGc_3ZUQ7ag0MssB8k_zaonCkVM5E8I_svBWTmGc,969
|
|
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
|
|
@@ -85,9 +85,7 @@ cartography/data/jobs/cleanup/gcp_compute_vpc_subnet_cleanup.json,sha256=4OhOBCS
|
|
|
85
85
|
cartography/data/jobs/cleanup/gcp_crm_folder_cleanup.json,sha256=hjEcSzG775un37uPBGz3FWm6nSQPQx9glWvGi1DrRN8,950
|
|
86
86
|
cartography/data/jobs/cleanup/gcp_crm_organization_cleanup.json,sha256=Jftx00zgZRBwnCRWF7oie9ZQnydshN0qnGx0HXnraxc,613
|
|
87
87
|
cartography/data/jobs/cleanup/gcp_crm_project_cleanup.json,sha256=JImcuuz9HI2TL0mDfpeXZuQvm5YojHuEwFrerI4w-Ek,951
|
|
88
|
-
cartography/data/jobs/cleanup/gcp_dns_cleanup.json,sha256=NGs5UYFmm65Rq8gyqbzIe8_OnFchfpNFf9iAcIj_hyY,1286
|
|
89
88
|
cartography/data/jobs/cleanup/gcp_gke_cluster_cleanup.json,sha256=3bMEJ44AEvjkj_1ibclk6Ys5r1LniUWefpZ_U5hTwHI,671
|
|
90
|
-
cartography/data/jobs/cleanup/gcp_storage_bucket_cleanup.json,sha256=sGygB_meoCpGdGgEZtIlC4L-19meAXdfP99gkNJHD7o,1288
|
|
91
89
|
cartography/data/jobs/cleanup/github_repos_cleanup.json,sha256=HsQbGviHXyEYm9bITWByjQAyC4zSE0eLkg9_CNlKFcA,3678
|
|
92
90
|
cartography/data/jobs/cleanup/gsuite_ingest_groups_cleanup.json,sha256=ddXAUi6aVi2htf5R1bNn6YrC3SjshjLBgWtlzBgZ9Do,961
|
|
93
91
|
cartography/data/jobs/cleanup/gsuite_ingest_users_cleanup.json,sha256=0qMLbVSTyq5F9vt4-TvVa3YAAvZCpPtzF9EwblaTxWg,353
|
|
@@ -145,6 +143,7 @@ cartography/intel/anthropic/workspaces.py,sha256=_t2kdGIFceDziC_BqIJa9-nLWIoWJbP
|
|
|
145
143
|
cartography/intel/aws/__init__.py,sha256=lgu0kxERg_dJGuktEDU0ImpHuNGHJharoLEpirKWPZM,12330
|
|
146
144
|
cartography/intel/aws/acm.py,sha256=a_i2pYPpocjlL8itwlcrmg8KrSLfjcmrkhcrPP-Omj8,3827
|
|
147
145
|
cartography/intel/aws/apigateway.py,sha256=o1QOR3vOw2WvXHwnRV0uparkYU2NWKk3M1DpjfUvYOk,18970
|
|
146
|
+
cartography/intel/aws/apigatewayv2.py,sha256=9AMh5vw9Q1N9gdx2TZn2oPgarA3AkRh42TOJOF9MHEI,3177
|
|
148
147
|
cartography/intel/aws/cloudtrail.py,sha256=LCqf3pQMiMY4h1Wehb_OjwXst2fMIEnNOD8HbXsK4X4,2753
|
|
149
148
|
cartography/intel/aws/cloudtrail_management_events.py,sha256=z5VZH1wQvl_ROG1sB9ZPdH4uexp-BKrI-WdEkhQKbkQ,35751
|
|
150
149
|
cartography/intel/aws/cloudwatch.py,sha256=bBPlx5W15nun-jhYs-UAZQpo9Qm7FcBs4gBQevTqmi4,7246
|
|
@@ -173,7 +172,7 @@ cartography/intel/aws/permission_relationships.py,sha256=LTmnHS6zk9hcdL548V5ka3E
|
|
|
173
172
|
cartography/intel/aws/rds.py,sha256=BfMe0Hm1PKNBf2USGWdFUr4yqWF-ULnUEdX9A0l2AP0,19534
|
|
174
173
|
cartography/intel/aws/redshift.py,sha256=FGcCzcnm1OOrbJvLqtR1DwWVn1pt4Y6_eKkTUERT7Ws,7108
|
|
175
174
|
cartography/intel/aws/resourcegroupstaggingapi.py,sha256=TkMlUKLrRBWAyeUu-cHKce7TFkwBnWV_Im8DONgnLGU,12852
|
|
176
|
-
cartography/intel/aws/resources.py,sha256=
|
|
175
|
+
cartography/intel/aws/resources.py,sha256=FVVmPFlnYR-y-CykhaFUzg_ZHmS_mJxS84RAMCvwBbM,4460
|
|
177
176
|
cartography/intel/aws/route53.py,sha256=avkkV1QotLzovb867wka6bY0wsFYXABLYirl5S6LeWk,14353
|
|
178
177
|
cartography/intel/aws/s3.py,sha256=-j-CGYWPYhSAiNbdhrDuOyftAKGY9218bA-9u5xj0ME,37048
|
|
179
178
|
cartography/intel/aws/s3accountpublicaccessblock.py,sha256=XkqHnbj9ODRcc7Rbl4swi03qvw_T-7Bnx3BHpTmlxio,4688
|
|
@@ -247,13 +246,13 @@ cartography/intel/entra/applications.py,sha256=ewPLVf18LxEwE0I8mCNv1SAbQoLzObruv
|
|
|
247
246
|
cartography/intel/entra/groups.py,sha256=q8K-ttH796dG1DKeMAXuN6FmqT238aa4cGcZXNmYaRA,6869
|
|
248
247
|
cartography/intel/entra/ou.py,sha256=baV_Rh22a4WMnPrQB6E57XR6GwVQWkME1bntnZ1hzBo,4144
|
|
249
248
|
cartography/intel/entra/users.py,sha256=vlEVXJTr75exV-sunV7V-B1Kqm9jtZQCA909ls1qHQ0,8748
|
|
250
|
-
cartography/intel/gcp/__init__.py,sha256=
|
|
249
|
+
cartography/intel/gcp/__init__.py,sha256=sKz0yzMBdPQ_rl1ozFPOjgI31gBCspLQzA5blE8Sju0,20367
|
|
251
250
|
cartography/intel/gcp/compute.py,sha256=oYBOXUO6sy4aUWCjsie5E0ho6ybPgCrCO3WfMMujjhk,50456
|
|
252
251
|
cartography/intel/gcp/crm.py,sha256=BoVBKthjviOD7WSGhXdKtBhrk4TR9qTxMQX6xsmEedw,12682
|
|
253
|
-
cartography/intel/gcp/dns.py,sha256=
|
|
252
|
+
cartography/intel/gcp/dns.py,sha256=cZWqGN4X__8M8tsamzAjxPWOKKxaRH4IqqtUHjtneG4,6049
|
|
254
253
|
cartography/intel/gcp/gke.py,sha256=2-lhTzFEh-gAQ756Sr0kZZJY5_zcFWPS7_p0EVNzuR8,8326
|
|
255
|
-
cartography/intel/gcp/iam.py,sha256=
|
|
256
|
-
cartography/intel/gcp/storage.py,sha256=
|
|
254
|
+
cartography/intel/gcp/iam.py,sha256=rRSqDncJD6NngpVOQ_bvQfnEldQNq-UMyW8wWQpTPhQ,7682
|
|
255
|
+
cartography/intel/gcp/storage.py,sha256=oVZLq-REEPqgnD7P6rd8dJ4CsycqTrSkZVh8pD-Lat8,6419
|
|
257
256
|
cartography/intel/github/__init__.py,sha256=qDMmYd-3DAVDhkPwCTVtkwP_0x5wuhWVp9jc0ghWtx4,1679
|
|
258
257
|
cartography/intel/github/repos.py,sha256=MRBF1JKoNrHIpric6_OqiZyogXDGIn1JniI2GAcwuAU,42799
|
|
259
258
|
cartography/intel/github/teams.py,sha256=JICUXVScYbowtbOtIe-D4bibPmSBbQnL5z8IjzqSJ3s,14657
|
|
@@ -381,6 +380,8 @@ cartography/models/aws/apigateway/apigatewayintegration.py,sha256=S2ACvZXEzSKi_E
|
|
|
381
380
|
cartography/models/aws/apigateway/apigatewaymethod.py,sha256=4MS4iqx9Z1VqJMIcAiPrfT06NGoZy6FlXc49ETX3WnM,3174
|
|
382
381
|
cartography/models/aws/apigateway/apigatewayresource.py,sha256=iyri4znJo1pgAAe4xBs-eoE5dHK8fEsg6-5OusdvwE0,2856
|
|
383
382
|
cartography/models/aws/apigateway/apigatewaystage.py,sha256=d3m82TH4ggC--0HdE3SG7n-Uwm5Gu9eZMRT23h7a2as,3179
|
|
383
|
+
cartography/models/aws/apigatewayv2/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
384
|
+
cartography/models/aws/apigatewayv2/apigatewayv2.py,sha256=IZ7_PZK7wWtsVZ0Aj5arHlRAdZtI3v498PbinAyZcqE,2365
|
|
384
385
|
cartography/models/aws/cloudtrail/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
385
386
|
cartography/models/aws/cloudtrail/management_events.py,sha256=b-p_SoZsumJggaD3CfmSHRfIfW1G_29uFwgFIJdW0lw,6634
|
|
386
387
|
cartography/models/aws/cloudtrail/trail.py,sha256=dQi5txRQBnpdoHLFSl8VaWVI2Bx5tPDevGCbT7RIr0o,4452
|
|
@@ -541,9 +542,12 @@ cartography/models/entra/group.py,sha256=Ora5w7t7D7m98EVjknchsAmoEhEtlMJAeziCvkb
|
|
|
541
542
|
cartography/models/entra/ou.py,sha256=YmtW1Cp_XX29uzbunhEGl073AzV6PZsQtLs_MR-ACNU,2056
|
|
542
543
|
cartography/models/entra/tenant.py,sha256=abpNTvOtXHgdrU-y7q6jt--odcq1eRsT2j5nMdVy_Gw,1793
|
|
543
544
|
cartography/models/entra/user.py,sha256=UIZ3y4JRMfU5QgcOSGAdURH1wKvtQwicDw1q48AbhX8,3315
|
|
544
|
-
cartography/models/gcp/
|
|
545
|
+
cartography/models/gcp/dns.py,sha256=X8I4efhcboJXQfx6CxOTg2P-CEox1xUoe0igiSHzGyk,4446
|
|
546
|
+
cartography/models/gcp/iam.py,sha256=HvPoHFqsa7hfYsAlZJ41jKaVqs0_UTP8EjvOfpEAQdM,3285
|
|
545
547
|
cartography/models/gcp/compute/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
546
548
|
cartography/models/gcp/compute/vpc.py,sha256=bbFfo_Rh7brXvNqY8fx-jz9zUDtPew_Wcq-WGv9j9cI,2131
|
|
549
|
+
cartography/models/gcp/storage/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
550
|
+
cartography/models/gcp/storage/bucket.py,sha256=nS4RHNU0ni4FDGUb-MKEc5UJceyvUa3FR4QlnYxq1nc,4974
|
|
547
551
|
cartography/models/github/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
548
552
|
cartography/models/github/dependencies.py,sha256=V_Ktx_YRABYB1xAI9Z-YivDsljQsqlDLgrfof7OPubA,3099
|
|
549
553
|
cartography/models/github/manifests.py,sha256=1trwgECCjvZKS63z2k8mB55Fa8d2l-uU7HSgfL95iwA,2078
|
|
@@ -629,9 +633,9 @@ cartography/models/trivy/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZ
|
|
|
629
633
|
cartography/models/trivy/findings.py,sha256=SgI_h1aRyR20uAHvuXIZ1T6r4IZJt6SVhxRaF2bTsm0,3085
|
|
630
634
|
cartography/models/trivy/fix.py,sha256=ho9ENVl9HSXqyggyCwR6ilkOBKDxpQ7rGibo_j21NA4,2587
|
|
631
635
|
cartography/models/trivy/package.py,sha256=IwO1RZZ-MFRtNbt8Cq6YFl6fdNJMFmULnJkkK8Q4rL4,2809
|
|
632
|
-
cartography-0.
|
|
633
|
-
cartography-0.
|
|
634
|
-
cartography-0.
|
|
635
|
-
cartography-0.
|
|
636
|
-
cartography-0.
|
|
637
|
-
cartography-0.
|
|
636
|
+
cartography-0.113.0.dist-info/licenses/LICENSE,sha256=kvLEBRYaQ1RvUni6y7Ti9uHeooqnjPoo6n_-0JO1ETc,11351
|
|
637
|
+
cartography-0.113.0.dist-info/METADATA,sha256=3FSCahR0yIXmvHEn2uU9TEtx8q_x91Trp-B7RmLy38c,13281
|
|
638
|
+
cartography-0.113.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
639
|
+
cartography-0.113.0.dist-info/entry_points.txt,sha256=GVIAWD0o0_K077qMA_k1oZU4v-M0a8GLKGJR8tZ-qH8,112
|
|
640
|
+
cartography-0.113.0.dist-info/top_level.txt,sha256=BHqsNJQiI6Q72DeypC1IINQJE59SLhU4nllbQjgJi9g,12
|
|
641
|
+
cartography-0.113.0.dist-info/RECORD,,
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"statements": [
|
|
3
|
-
{
|
|
4
|
-
"query": "MATCH (n:GCPDNSZone) WHERE n.lastupdated <> $UPDATE_TAG WITH n LIMIT $LIMIT_SIZE DETACH DELETE (n)",
|
|
5
|
-
"iterative": true,
|
|
6
|
-
"iterationsize": 100,
|
|
7
|
-
"__comment__": "Delete GCP DNS Zones that no longer exist and detach them from all previously connected nodes."
|
|
8
|
-
},
|
|
9
|
-
{
|
|
10
|
-
"query": "MATCH (:GCPDNSZone)<-[r:RESOURCE]-(:GCPProject) WHERE r.lastupdated <> $UPDATE_TAG WITH r LIMIT $LIMIT_SIZE DELETE (r)",
|
|
11
|
-
"iterative": true,
|
|
12
|
-
"iterationsize": 100,
|
|
13
|
-
"__comment__": "Remove GCP GCPDNSZone-to-Project relationships that are out of date."
|
|
14
|
-
},
|
|
15
|
-
{
|
|
16
|
-
"query": "MATCH (n:GCPRecordSet) WHERE n.lastupdated <> $UPDATE_TAG WITH n LIMIT $LIMIT_SIZE DETACH DELETE (n)",
|
|
17
|
-
"iterative": true,
|
|
18
|
-
"iterationsize": 100,
|
|
19
|
-
"__comment__": "Delete GCP DNS Record Sets that no longer exist and detach them from all previously connected nodes."
|
|
20
|
-
},
|
|
21
|
-
{
|
|
22
|
-
"query": "MATCH (:GCPRecordSet)<-[r:HAS_RECORD]-(:GCPDNSZone) WHERE r.lastupdated <> $UPDATE_TAG WITH r LIMIT $LIMIT_SIZE DELETE (r)",
|
|
23
|
-
"iterative": true,
|
|
24
|
-
"iterationsize": 100,
|
|
25
|
-
"__comment__": "Remove GCP GCPDNSZone-to-GCPRecordSet relationships that are out of date."
|
|
26
|
-
}
|
|
27
|
-
],
|
|
28
|
-
"name": "Cleanup GCP DNS Records and RecordSets"
|
|
29
|
-
}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"statements": [
|
|
3
|
-
{
|
|
4
|
-
"query": "MATCH (n:GCPBucket) WHERE n.lastupdated <> $UPDATE_TAG WITH n LIMIT $LIMIT_SIZE DETACH DELETE (n)",
|
|
5
|
-
"iterative": true,
|
|
6
|
-
"iterationsize": 100,
|
|
7
|
-
"__comment__": "Delete GCP Storage Buckets that no longer exist and detach them from all previously connected nodes."
|
|
8
|
-
},
|
|
9
|
-
{
|
|
10
|
-
"query": "MATCH (n:GCPBucketLabel) WHERE n.lastupdated <> $UPDATE_TAG WITH n LIMIT $LIMIT_SIZE DETACH DELETE (n)",
|
|
11
|
-
"iterative": true,
|
|
12
|
-
"iterationsize": 100,
|
|
13
|
-
"__comment__": "Delete GCP Storage Labels that no longer exist and detach them from all previously connected nodes."
|
|
14
|
-
},
|
|
15
|
-
{
|
|
16
|
-
"query": "MATCH (:GCPBucket)<-[r:RESOURCE]-(:GCPProject) WHERE r.lastupdated <> $UPDATE_TAG WITH r LIMIT $LIMIT_SIZE DELETE (r)",
|
|
17
|
-
"iterative": true,
|
|
18
|
-
"iterationsize": 100,
|
|
19
|
-
"__comment__": "Remove GCP Storage Bucket-to-Project relationships that are out of date."
|
|
20
|
-
},
|
|
21
|
-
{
|
|
22
|
-
"query": "MATCH (:GCPBucketLabel)<-[r:LABELED]-(:GCPBucket) WHERE r.lastupdated <> $UPDATE_TAG WITH r LIMIT $LIMIT_SIZE DELETE (r)",
|
|
23
|
-
"iterative": true,
|
|
24
|
-
"iterationsize": 100,
|
|
25
|
-
"__comment__": "Remove GCP Storage Bucket-to-Label relationships that are out of date."
|
|
26
|
-
}
|
|
27
|
-
],
|
|
28
|
-
"name": "cleanup GCP Storage Bucket Instances"
|
|
29
|
-
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|