cartography 0.102.0rc1__py3-none-any.whl → 0.103.0rc1__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/__main__.py +1 -2
- cartography/_version.py +2 -2
- cartography/cli.py +302 -253
- cartography/client/core/tx.py +39 -18
- cartography/config.py +4 -0
- cartography/driftdetect/__main__.py +1 -2
- cartography/driftdetect/add_shortcut.py +10 -2
- cartography/driftdetect/cli.py +71 -75
- cartography/driftdetect/detect_deviations.py +7 -3
- cartography/driftdetect/get_states.py +20 -8
- cartography/driftdetect/model.py +5 -5
- cartography/driftdetect/serializers.py +8 -6
- cartography/driftdetect/storage.py +2 -2
- cartography/graph/cleanupbuilder.py +35 -15
- cartography/graph/job.py +46 -17
- cartography/graph/querybuilder.py +165 -80
- cartography/graph/statement.py +35 -26
- cartography/intel/analysis.py +4 -1
- cartography/intel/aws/__init__.py +114 -55
- cartography/intel/aws/apigateway.py +134 -63
- cartography/intel/aws/cloudtrail.py +127 -0
- cartography/intel/aws/config.py +56 -20
- cartography/intel/aws/dynamodb.py +108 -40
- cartography/intel/aws/ec2/__init__.py +2 -2
- cartography/intel/aws/ec2/auto_scaling_groups.py +181 -78
- cartography/intel/aws/ec2/elastic_ip_addresses.py +41 -13
- cartography/intel/aws/ec2/images.py +49 -20
- cartography/intel/aws/ec2/instances.py +234 -136
- cartography/intel/aws/ec2/internet_gateways.py +40 -11
- cartography/intel/aws/ec2/key_pairs.py +44 -20
- cartography/intel/aws/ec2/launch_templates.py +101 -59
- cartography/intel/aws/ec2/load_balancer_v2s.py +104 -39
- cartography/intel/aws/ec2/load_balancers.py +82 -42
- cartography/intel/aws/ec2/network_acls.py +89 -65
- cartography/intel/aws/ec2/network_interfaces.py +146 -87
- cartography/intel/aws/ec2/reserved_instances.py +45 -16
- cartography/intel/aws/ec2/route_tables.py +327 -0
- cartography/intel/aws/ec2/security_groups.py +71 -21
- cartography/intel/aws/ec2/snapshots.py +61 -22
- cartography/intel/aws/ec2/subnets.py +54 -18
- cartography/intel/aws/ec2/tgw.py +100 -34
- cartography/intel/aws/ec2/util.py +1 -1
- cartography/intel/aws/ec2/volumes.py +69 -41
- cartography/intel/aws/ec2/vpc.py +37 -12
- cartography/intel/aws/ec2/vpc_peerings.py +83 -24
- cartography/intel/aws/ecr.py +88 -32
- cartography/intel/aws/ecs.py +83 -47
- cartography/intel/aws/eks.py +55 -29
- cartography/intel/aws/elasticache.py +42 -18
- cartography/intel/aws/elasticsearch.py +57 -20
- cartography/intel/aws/emr.py +61 -23
- cartography/intel/aws/iam.py +401 -145
- cartography/intel/aws/iam_instance_profiles.py +22 -22
- cartography/intel/aws/identitycenter.py +71 -37
- cartography/intel/aws/inspector.py +159 -89
- cartography/intel/aws/kms.py +92 -38
- cartography/intel/aws/lambda_function.py +103 -34
- cartography/intel/aws/organizations.py +30 -10
- cartography/intel/aws/permission_relationships.py +133 -51
- cartography/intel/aws/rds.py +249 -85
- cartography/intel/aws/redshift.py +107 -46
- cartography/intel/aws/resourcegroupstaggingapi.py +120 -66
- cartography/intel/aws/resources.py +53 -44
- cartography/intel/aws/route53.py +108 -61
- cartography/intel/aws/s3.py +168 -83
- cartography/intel/aws/s3accountpublicaccessblock.py +157 -0
- cartography/intel/aws/secretsmanager.py +24 -12
- cartography/intel/aws/securityhub.py +20 -9
- cartography/intel/aws/sns.py +166 -0
- cartography/intel/aws/sqs.py +60 -28
- cartography/intel/aws/ssm.py +70 -30
- cartography/intel/aws/util/arns.py +7 -7
- cartography/intel/aws/util/common.py +31 -4
- cartography/intel/azure/__init__.py +78 -19
- cartography/intel/azure/compute.py +101 -27
- cartography/intel/azure/cosmosdb.py +496 -170
- cartography/intel/azure/sql.py +296 -105
- cartography/intel/azure/storage.py +322 -113
- cartography/intel/azure/subscription.py +39 -23
- cartography/intel/azure/tenant.py +13 -4
- cartography/intel/azure/util/credentials.py +95 -55
- cartography/intel/bigfix/__init__.py +2 -2
- cartography/intel/bigfix/computers.py +93 -65
- cartography/intel/create_indexes.py +3 -2
- cartography/intel/crowdstrike/__init__.py +11 -9
- cartography/intel/crowdstrike/endpoints.py +5 -1
- cartography/intel/crowdstrike/spotlight.py +8 -3
- cartography/intel/cve/__init__.py +46 -13
- cartography/intel/cve/feed.py +48 -12
- cartography/intel/digitalocean/__init__.py +22 -13
- cartography/intel/digitalocean/compute.py +75 -108
- cartography/intel/digitalocean/management.py +44 -80
- cartography/intel/digitalocean/platform.py +48 -43
- cartography/intel/dns.py +36 -10
- cartography/intel/duo/__init__.py +21 -16
- cartography/intel/duo/api_host.py +14 -9
- cartography/intel/duo/endpoints.py +50 -45
- cartography/intel/duo/groups.py +18 -14
- cartography/intel/duo/phones.py +37 -34
- cartography/intel/duo/tokens.py +26 -23
- cartography/intel/duo/users.py +54 -50
- cartography/intel/duo/web_authn_credentials.py +30 -25
- cartography/intel/entra/__init__.py +25 -7
- cartography/intel/entra/ou.py +112 -0
- cartography/intel/entra/users.py +69 -63
- cartography/intel/gcp/__init__.py +185 -49
- cartography/intel/gcp/compute.py +418 -231
- cartography/intel/gcp/crm.py +96 -43
- cartography/intel/gcp/dns.py +60 -19
- cartography/intel/gcp/gke.py +72 -38
- cartography/intel/gcp/iam.py +61 -41
- cartography/intel/gcp/storage.py +84 -55
- cartography/intel/github/__init__.py +13 -11
- cartography/intel/github/repos.py +270 -137
- cartography/intel/github/teams.py +170 -88
- cartography/intel/github/users.py +70 -39
- cartography/intel/github/util.py +36 -34
- cartography/intel/gsuite/__init__.py +47 -26
- cartography/intel/gsuite/api.py +73 -30
- cartography/intel/jamf/__init__.py +19 -1
- cartography/intel/jamf/computers.py +30 -7
- cartography/intel/jamf/util.py +7 -2
- cartography/intel/kandji/__init__.py +6 -3
- cartography/intel/kandji/devices.py +14 -8
- cartography/intel/kubernetes/namespaces.py +7 -4
- cartography/intel/kubernetes/pods.py +7 -4
- cartography/intel/kubernetes/services.py +8 -4
- cartography/intel/lastpass/__init__.py +2 -2
- cartography/intel/lastpass/users.py +23 -12
- cartography/intel/oci/__init__.py +44 -11
- cartography/intel/oci/iam.py +134 -38
- cartography/intel/oci/organizations.py +13 -6
- cartography/intel/oci/utils.py +43 -20
- cartography/intel/okta/__init__.py +66 -15
- cartography/intel/okta/applications.py +42 -20
- cartography/intel/okta/awssaml.py +93 -33
- cartography/intel/okta/factors.py +16 -4
- cartography/intel/okta/groups.py +56 -29
- cartography/intel/okta/organization.py +5 -1
- cartography/intel/okta/origins.py +6 -2
- cartography/intel/okta/roles.py +15 -5
- cartography/intel/okta/users.py +20 -8
- cartography/intel/okta/utils.py +6 -4
- cartography/intel/pagerduty/__init__.py +8 -7
- cartography/intel/pagerduty/escalation_policies.py +18 -6
- cartography/intel/pagerduty/schedules.py +12 -4
- cartography/intel/pagerduty/services.py +11 -4
- cartography/intel/pagerduty/teams.py +8 -3
- cartography/intel/pagerduty/users.py +3 -1
- cartography/intel/pagerduty/vendors.py +3 -1
- cartography/intel/semgrep/__init__.py +24 -6
- cartography/intel/semgrep/dependencies.py +50 -28
- cartography/intel/semgrep/deployment.py +3 -1
- cartography/intel/semgrep/findings.py +42 -18
- cartography/intel/snipeit/__init__.py +17 -3
- cartography/intel/snipeit/asset.py +12 -6
- cartography/intel/snipeit/user.py +8 -5
- cartography/intel/snipeit/util.py +9 -4
- cartography/models/aws/apigateway.py +21 -17
- cartography/models/aws/apigatewaycertificate.py +28 -22
- cartography/models/aws/apigatewayresource.py +28 -20
- cartography/models/aws/apigatewaystage.py +33 -25
- cartography/models/aws/cloudtrail/__init__.py +0 -0
- cartography/models/aws/cloudtrail/trail.py +61 -0
- cartography/models/aws/dynamodb/gsi.py +30 -22
- cartography/models/aws/dynamodb/tables.py +25 -17
- cartography/models/aws/ec2/auto_scaling_groups.py +102 -82
- cartography/models/aws/ec2/images.py +36 -34
- cartography/models/aws/ec2/instances.py +51 -45
- cartography/models/aws/ec2/keypair.py +21 -16
- cartography/models/aws/ec2/keypair_instance.py +28 -21
- cartography/models/aws/ec2/launch_configurations.py +30 -26
- cartography/models/aws/ec2/launch_template_versions.py +48 -38
- cartography/models/aws/ec2/launch_templates.py +21 -17
- cartography/models/aws/ec2/load_balancer_listeners.py +27 -23
- cartography/models/aws/ec2/load_balancers.py +47 -37
- cartography/models/aws/ec2/network_acl_rules.py +38 -30
- cartography/models/aws/ec2/network_acls.py +38 -29
- cartography/models/aws/ec2/networkinterface_instance.py +52 -39
- cartography/models/aws/ec2/networkinterfaces.py +53 -37
- cartography/models/aws/ec2/privateip_networkinterface.py +32 -22
- cartography/models/aws/ec2/reservations.py +18 -14
- cartography/models/aws/ec2/route_table_associations.py +97 -0
- cartography/models/aws/ec2/route_tables.py +128 -0
- cartography/models/aws/ec2/routes.py +85 -0
- cartography/models/aws/ec2/securitygroup_instance.py +29 -20
- cartography/models/aws/ec2/securitygroup_networkinterface.py +24 -15
- cartography/models/aws/ec2/subnet_instance.py +24 -19
- cartography/models/aws/ec2/subnet_networkinterface.py +40 -31
- cartography/models/aws/ec2/volumes.py +47 -40
- cartography/models/aws/eks/clusters.py +23 -21
- cartography/models/aws/emr.py +32 -30
- cartography/models/aws/iam/instanceprofile.py +33 -24
- cartography/models/aws/identitycenter/awsidentitycenter.py +18 -14
- cartography/models/aws/identitycenter/awspermissionset.py +37 -29
- cartography/models/aws/identitycenter/awsssouser.py +23 -21
- cartography/models/aws/inspector/findings.py +77 -65
- cartography/models/aws/inspector/packages.py +35 -29
- cartography/models/aws/s3/__init__.py +0 -0
- cartography/models/aws/s3/account_public_access_block.py +51 -0
- cartography/models/aws/sns/__init__.py +0 -0
- cartography/models/aws/sns/topic.py +50 -0
- cartography/models/aws/ssm/instance_information.py +51 -39
- cartography/models/aws/ssm/instance_patch.py +32 -26
- cartography/models/bigfix/bigfix_computer.py +42 -38
- cartography/models/bigfix/bigfix_root.py +3 -3
- cartography/models/core/common.py +12 -10
- cartography/models/core/nodes.py +5 -2
- cartography/models/core/relationships.py +14 -6
- cartography/models/crowdstrike/hosts.py +37 -35
- cartography/models/cve/cve.py +34 -32
- cartography/models/cve/cve_feed.py +6 -6
- cartography/models/digitalocean/__init__.py +0 -0
- cartography/models/digitalocean/account.py +21 -0
- cartography/models/digitalocean/droplet.py +56 -0
- cartography/models/digitalocean/project.py +48 -0
- cartography/models/duo/api_host.py +3 -3
- cartography/models/duo/endpoint.py +43 -41
- cartography/models/duo/group.py +14 -14
- cartography/models/duo/phone.py +27 -27
- cartography/models/duo/token.py +16 -16
- cartography/models/duo/user.py +46 -44
- cartography/models/duo/web_authn_credential.py +27 -19
- cartography/models/entra/ou.py +48 -0
- cartography/models/entra/tenant.py +24 -18
- cartography/models/entra/user.py +64 -48
- cartography/models/gcp/iam.py +23 -23
- cartography/models/github/orgs.py +5 -4
- cartography/models/github/teams.py +37 -31
- cartography/models/github/users.py +34 -23
- cartography/models/kandji/device.py +22 -16
- cartography/models/kandji/tenant.py +6 -4
- cartography/models/lastpass/tenant.py +3 -3
- cartography/models/lastpass/user.py +32 -28
- cartography/models/semgrep/dependencies.py +36 -24
- cartography/models/semgrep/deployment.py +5 -5
- cartography/models/semgrep/findings.py +58 -42
- cartography/models/semgrep/locations.py +27 -21
- cartography/models/snipeit/asset.py +30 -21
- cartography/models/snipeit/tenant.py +6 -4
- cartography/models/snipeit/user.py +19 -12
- cartography/stats.py +3 -3
- cartography/sync.py +107 -31
- cartography/util.py +84 -62
- {cartography-0.102.0rc1.dist-info → cartography-0.103.0rc1.dist-info}/METADATA +3 -14
- cartography-0.103.0rc1.dist-info/RECORD +396 -0
- {cartography-0.102.0rc1.dist-info → cartography-0.103.0rc1.dist-info}/WHEEL +1 -1
- cartography-0.102.0rc1.dist-info/RECORD +0 -377
- {cartography-0.102.0rc1.dist-info → cartography-0.103.0rc1.dist-info}/entry_points.txt +0 -0
- {cartography-0.102.0rc1.dist-info → cartography-0.103.0rc1.dist-info}/licenses/LICENSE +0 -0
- {cartography-0.102.0rc1.dist-info → cartography-0.103.0rc1.dist-info}/top_level.txt +0 -0
cartography/models/duo/phone.py
CHANGED
|
@@ -13,60 +13,60 @@ from cartography.models.core.relationships import TargetNodeMatcher
|
|
|
13
13
|
|
|
14
14
|
@dataclass(frozen=True)
|
|
15
15
|
class DuoPhoneNodeProperties(CartographyNodeProperties):
|
|
16
|
-
id: PropertyRef = PropertyRef(
|
|
17
|
-
lastupdated: PropertyRef = PropertyRef(
|
|
18
|
-
activated: PropertyRef = PropertyRef(
|
|
19
|
-
capabilities: PropertyRef = PropertyRef(
|
|
20
|
-
encrypted: PropertyRef = PropertyRef(
|
|
21
|
-
extension: PropertyRef = PropertyRef(
|
|
22
|
-
fingerprint: PropertyRef = PropertyRef(
|
|
23
|
-
last_seen: PropertyRef = PropertyRef(
|
|
24
|
-
model: PropertyRef = PropertyRef(
|
|
25
|
-
name: PropertyRef = PropertyRef(
|
|
26
|
-
phone_id: PropertyRef = PropertyRef(
|
|
27
|
-
platform: PropertyRef = PropertyRef(
|
|
28
|
-
postdelay: PropertyRef = PropertyRef(
|
|
29
|
-
predelay: PropertyRef = PropertyRef(
|
|
30
|
-
screenlock: PropertyRef = PropertyRef(
|
|
31
|
-
sms_passcodes_sent: PropertyRef = PropertyRef(
|
|
32
|
-
tampered: PropertyRef = PropertyRef(
|
|
33
|
-
type: PropertyRef = PropertyRef(
|
|
16
|
+
id: PropertyRef = PropertyRef("phone_id")
|
|
17
|
+
lastupdated: PropertyRef = PropertyRef("lastupdated", set_in_kwargs=True)
|
|
18
|
+
activated: PropertyRef = PropertyRef("activated")
|
|
19
|
+
capabilities: PropertyRef = PropertyRef("capabilities")
|
|
20
|
+
encrypted: PropertyRef = PropertyRef("encrypted")
|
|
21
|
+
extension: PropertyRef = PropertyRef("extension")
|
|
22
|
+
fingerprint: PropertyRef = PropertyRef("fingerprint")
|
|
23
|
+
last_seen: PropertyRef = PropertyRef("last_seen")
|
|
24
|
+
model: PropertyRef = PropertyRef("model")
|
|
25
|
+
name: PropertyRef = PropertyRef("name")
|
|
26
|
+
phone_id: PropertyRef = PropertyRef("phone_id", extra_index=True)
|
|
27
|
+
platform: PropertyRef = PropertyRef("platform")
|
|
28
|
+
postdelay: PropertyRef = PropertyRef("postdelay")
|
|
29
|
+
predelay: PropertyRef = PropertyRef("predelay")
|
|
30
|
+
screenlock: PropertyRef = PropertyRef("screenlock")
|
|
31
|
+
sms_passcodes_sent: PropertyRef = PropertyRef("sms_passcodes_sent")
|
|
32
|
+
tampered: PropertyRef = PropertyRef("tampered")
|
|
33
|
+
type: PropertyRef = PropertyRef("type")
|
|
34
34
|
|
|
35
35
|
|
|
36
36
|
@dataclass(frozen=True)
|
|
37
37
|
class DuoPhoneToDuoApiHostRelProperties(CartographyRelProperties):
|
|
38
|
-
lastupdated: PropertyRef = PropertyRef(
|
|
38
|
+
lastupdated: PropertyRef = PropertyRef("lastupdated", set_in_kwargs=True)
|
|
39
39
|
|
|
40
40
|
|
|
41
41
|
@dataclass(frozen=True)
|
|
42
42
|
class DuoPhoneToDuoApiHostRel(CartographyRelSchema):
|
|
43
|
-
target_node_label: str =
|
|
43
|
+
target_node_label: str = "DuoApiHost"
|
|
44
44
|
target_node_matcher: TargetNodeMatcher = make_target_node_matcher(
|
|
45
|
-
{
|
|
45
|
+
{"id": PropertyRef("DUO_API_HOSTNAME", set_in_kwargs=True)},
|
|
46
46
|
)
|
|
47
47
|
direction: LinkDirection = LinkDirection.INWARD
|
|
48
48
|
rel_label: str = "RESOURCE"
|
|
49
49
|
properties: DuoPhoneToDuoApiHostRelProperties = DuoPhoneToDuoApiHostRelProperties()
|
|
50
50
|
|
|
51
51
|
|
|
52
|
-
class
|
|
53
|
-
lastupdated: PropertyRef = PropertyRef(
|
|
52
|
+
class DuoPhoneToDuoUserRelProperties(CartographyRelProperties):
|
|
53
|
+
lastupdated: PropertyRef = PropertyRef("lastupdated", set_in_kwargs=True)
|
|
54
54
|
|
|
55
55
|
|
|
56
56
|
@dataclass(frozen=True)
|
|
57
57
|
class DuoPhoneToDuoUserRel(CartographyRelSchema):
|
|
58
|
-
target_node_label: str =
|
|
58
|
+
target_node_label: str = "DuoUser"
|
|
59
59
|
target_node_matcher: TargetNodeMatcher = make_target_node_matcher(
|
|
60
|
-
{
|
|
60
|
+
{"user_id": PropertyRef("user_id")},
|
|
61
61
|
)
|
|
62
62
|
direction: LinkDirection = LinkDirection.INWARD
|
|
63
63
|
rel_label: str = "HAS_DUO_PHONE"
|
|
64
|
-
properties:
|
|
64
|
+
properties: DuoPhoneToDuoUserRelProperties = DuoPhoneToDuoUserRelProperties()
|
|
65
65
|
|
|
66
66
|
|
|
67
67
|
@dataclass(frozen=True)
|
|
68
68
|
class DuoPhoneSchema(CartographyNodeSchema):
|
|
69
|
-
label: str =
|
|
69
|
+
label: str = "DuoPhone"
|
|
70
70
|
properties: DuoPhoneNodeProperties = DuoPhoneNodeProperties()
|
|
71
71
|
sub_resource_relationship: DuoPhoneToDuoApiHostRel = DuoPhoneToDuoApiHostRel()
|
|
72
72
|
other_relationships: OtherRelationships = OtherRelationships(
|
cartography/models/duo/token.py
CHANGED
|
@@ -13,49 +13,49 @@ from cartography.models.core.relationships import TargetNodeMatcher
|
|
|
13
13
|
|
|
14
14
|
@dataclass(frozen=True)
|
|
15
15
|
class DuoTokenNodeProperties(CartographyNodeProperties):
|
|
16
|
-
id: PropertyRef = PropertyRef(
|
|
17
|
-
lastupdated: PropertyRef = PropertyRef(
|
|
18
|
-
admins: PropertyRef = PropertyRef(
|
|
19
|
-
serial: PropertyRef = PropertyRef(
|
|
20
|
-
token_id: PropertyRef = PropertyRef(
|
|
21
|
-
totp_step: PropertyRef = PropertyRef(
|
|
22
|
-
type: PropertyRef = PropertyRef(
|
|
16
|
+
id: PropertyRef = PropertyRef("token_id")
|
|
17
|
+
lastupdated: PropertyRef = PropertyRef("lastupdated", set_in_kwargs=True)
|
|
18
|
+
admins: PropertyRef = PropertyRef("admins")
|
|
19
|
+
serial: PropertyRef = PropertyRef("serial", extra_index=True)
|
|
20
|
+
token_id: PropertyRef = PropertyRef("token_id", extra_index=True)
|
|
21
|
+
totp_step: PropertyRef = PropertyRef("totp_step")
|
|
22
|
+
type: PropertyRef = PropertyRef("type")
|
|
23
23
|
|
|
24
24
|
|
|
25
25
|
@dataclass(frozen=True)
|
|
26
26
|
class DuoTokenToDuoApiHostRelProperties(CartographyRelProperties):
|
|
27
|
-
lastupdated: PropertyRef = PropertyRef(
|
|
27
|
+
lastupdated: PropertyRef = PropertyRef("lastupdated", set_in_kwargs=True)
|
|
28
28
|
|
|
29
29
|
|
|
30
30
|
@dataclass(frozen=True)
|
|
31
31
|
class DuoTokenToDuoApiHostRel(CartographyRelSchema):
|
|
32
|
-
target_node_label: str =
|
|
32
|
+
target_node_label: str = "DuoApiHost"
|
|
33
33
|
target_node_matcher: TargetNodeMatcher = make_target_node_matcher(
|
|
34
|
-
{
|
|
34
|
+
{"id": PropertyRef("DUO_API_HOSTNAME", set_in_kwargs=True)},
|
|
35
35
|
)
|
|
36
36
|
direction: LinkDirection = LinkDirection.INWARD
|
|
37
37
|
rel_label: str = "RESOURCE"
|
|
38
38
|
properties: DuoTokenToDuoApiHostRelProperties = DuoTokenToDuoApiHostRelProperties()
|
|
39
39
|
|
|
40
40
|
|
|
41
|
-
class
|
|
42
|
-
lastupdated: PropertyRef = PropertyRef(
|
|
41
|
+
class DuoTokenToDuoUserRelProperties(CartographyRelProperties):
|
|
42
|
+
lastupdated: PropertyRef = PropertyRef("lastupdated", set_in_kwargs=True)
|
|
43
43
|
|
|
44
44
|
|
|
45
45
|
@dataclass(frozen=True)
|
|
46
46
|
class DuoTokenToDuoUserRel(CartographyRelSchema):
|
|
47
|
-
target_node_label: str =
|
|
47
|
+
target_node_label: str = "DuoUser"
|
|
48
48
|
target_node_matcher: TargetNodeMatcher = make_target_node_matcher(
|
|
49
|
-
{
|
|
49
|
+
{"user_id": PropertyRef("user_id")},
|
|
50
50
|
)
|
|
51
51
|
direction: LinkDirection = LinkDirection.INWARD
|
|
52
52
|
rel_label: str = "HAS_DUO_TOKEN"
|
|
53
|
-
properties:
|
|
53
|
+
properties: DuoTokenToDuoUserRelProperties = DuoTokenToDuoUserRelProperties()
|
|
54
54
|
|
|
55
55
|
|
|
56
56
|
@dataclass(frozen=True)
|
|
57
57
|
class DuoTokenSchema(CartographyNodeSchema):
|
|
58
|
-
label: str =
|
|
58
|
+
label: str = "DuoToken"
|
|
59
59
|
properties: DuoTokenNodeProperties = DuoTokenNodeProperties()
|
|
60
60
|
sub_resource_relationship: DuoTokenToDuoApiHostRel = DuoTokenToDuoApiHostRel()
|
|
61
61
|
other_relationships: OtherRelationships = OtherRelationships(
|
cartography/models/duo/user.py
CHANGED
|
@@ -13,39 +13,39 @@ from cartography.models.core.relationships import TargetNodeMatcher
|
|
|
13
13
|
|
|
14
14
|
@dataclass(frozen=True)
|
|
15
15
|
class DuoUserNodeProperties(CartographyNodeProperties):
|
|
16
|
-
id: PropertyRef = PropertyRef(
|
|
17
|
-
lastupdated: PropertyRef = PropertyRef(
|
|
18
|
-
alias1: PropertyRef = PropertyRef(
|
|
19
|
-
alias2: PropertyRef = PropertyRef(
|
|
20
|
-
alias3: PropertyRef = PropertyRef(
|
|
21
|
-
alias4: PropertyRef = PropertyRef(
|
|
22
|
-
aliases: PropertyRef = PropertyRef(
|
|
23
|
-
created: PropertyRef = PropertyRef(
|
|
24
|
-
desktoptokens: PropertyRef = PropertyRef(
|
|
25
|
-
email: PropertyRef = PropertyRef(
|
|
26
|
-
firstname: PropertyRef = PropertyRef(
|
|
27
|
-
is_enrolled: PropertyRef = PropertyRef(
|
|
28
|
-
last_directory_sync: PropertyRef = PropertyRef(
|
|
29
|
-
last_login: PropertyRef = PropertyRef(
|
|
30
|
-
lastname: PropertyRef = PropertyRef(
|
|
31
|
-
notes: PropertyRef = PropertyRef(
|
|
32
|
-
realname: PropertyRef = PropertyRef(
|
|
33
|
-
status: PropertyRef = PropertyRef(
|
|
34
|
-
u2ftokens: PropertyRef = PropertyRef(
|
|
35
|
-
user_id: PropertyRef = PropertyRef(
|
|
36
|
-
username: PropertyRef = PropertyRef(
|
|
16
|
+
id: PropertyRef = PropertyRef("user_id")
|
|
17
|
+
lastupdated: PropertyRef = PropertyRef("lastupdated", set_in_kwargs=True)
|
|
18
|
+
alias1: PropertyRef = PropertyRef("alias1")
|
|
19
|
+
alias2: PropertyRef = PropertyRef("alias2")
|
|
20
|
+
alias3: PropertyRef = PropertyRef("alias3")
|
|
21
|
+
alias4: PropertyRef = PropertyRef("alias4")
|
|
22
|
+
aliases: PropertyRef = PropertyRef("aliases")
|
|
23
|
+
created: PropertyRef = PropertyRef("created")
|
|
24
|
+
desktoptokens: PropertyRef = PropertyRef("desktoptokens")
|
|
25
|
+
email: PropertyRef = PropertyRef("email", extra_index=True)
|
|
26
|
+
firstname: PropertyRef = PropertyRef("firstname")
|
|
27
|
+
is_enrolled: PropertyRef = PropertyRef("is_enrolled")
|
|
28
|
+
last_directory_sync: PropertyRef = PropertyRef("last_directory_sync")
|
|
29
|
+
last_login: PropertyRef = PropertyRef("last_login")
|
|
30
|
+
lastname: PropertyRef = PropertyRef("lastname")
|
|
31
|
+
notes: PropertyRef = PropertyRef("notes")
|
|
32
|
+
realname: PropertyRef = PropertyRef("realname")
|
|
33
|
+
status: PropertyRef = PropertyRef("status")
|
|
34
|
+
u2ftokens: PropertyRef = PropertyRef("u2ftokens")
|
|
35
|
+
user_id: PropertyRef = PropertyRef("user_id", extra_index=True)
|
|
36
|
+
username: PropertyRef = PropertyRef("username", extra_index=True)
|
|
37
37
|
|
|
38
38
|
|
|
39
39
|
@dataclass(frozen=True)
|
|
40
40
|
class DuoUserToDuoApiHostRelProperties(CartographyRelProperties):
|
|
41
|
-
lastupdated: PropertyRef = PropertyRef(
|
|
41
|
+
lastupdated: PropertyRef = PropertyRef("lastupdated", set_in_kwargs=True)
|
|
42
42
|
|
|
43
43
|
|
|
44
44
|
@dataclass(frozen=True)
|
|
45
45
|
class DuoUserToDuoApiHostRel(CartographyRelSchema):
|
|
46
|
-
target_node_label: str =
|
|
46
|
+
target_node_label: str = "DuoApiHost"
|
|
47
47
|
target_node_matcher: TargetNodeMatcher = make_target_node_matcher(
|
|
48
|
-
{
|
|
48
|
+
{"id": PropertyRef("DUO_API_HOSTNAME", set_in_kwargs=True)},
|
|
49
49
|
)
|
|
50
50
|
direction: LinkDirection = LinkDirection.INWARD
|
|
51
51
|
rel_label: str = "RESOURCE"
|
|
@@ -53,29 +53,31 @@ class DuoUserToDuoApiHostRel(CartographyRelSchema):
|
|
|
53
53
|
|
|
54
54
|
|
|
55
55
|
class DuoWebAuthnCredentialToDuoUserRelProperties(CartographyRelProperties):
|
|
56
|
-
lastupdated: PropertyRef = PropertyRef(
|
|
56
|
+
lastupdated: PropertyRef = PropertyRef("lastupdated", set_in_kwargs=True)
|
|
57
57
|
|
|
58
58
|
|
|
59
59
|
@dataclass(frozen=True)
|
|
60
60
|
class DuoWebAuthnCredentialToDuoUserRel(CartographyRelSchema):
|
|
61
|
-
target_node_label: str =
|
|
61
|
+
target_node_label: str = "DuoWebAuthnCredential"
|
|
62
62
|
target_node_matcher: TargetNodeMatcher = make_target_node_matcher(
|
|
63
|
-
{
|
|
63
|
+
{"webauthnkey": PropertyRef("webauthnkey")},
|
|
64
64
|
)
|
|
65
65
|
direction: LinkDirection = LinkDirection.OUTWARD
|
|
66
66
|
rel_label: str = "HAS_DUO_WEB_AUTHN_CREDENTIAL"
|
|
67
|
-
properties: DuoWebAuthnCredentialToDuoUserRelProperties =
|
|
67
|
+
properties: DuoWebAuthnCredentialToDuoUserRelProperties = (
|
|
68
|
+
DuoWebAuthnCredentialToDuoUserRelProperties()
|
|
69
|
+
)
|
|
68
70
|
|
|
69
71
|
|
|
70
72
|
class DuoTokenToDuoUserRelProperties(CartographyRelProperties):
|
|
71
|
-
lastupdated: PropertyRef = PropertyRef(
|
|
73
|
+
lastupdated: PropertyRef = PropertyRef("lastupdated", set_in_kwargs=True)
|
|
72
74
|
|
|
73
75
|
|
|
74
76
|
@dataclass(frozen=True)
|
|
75
77
|
class DuoTokenToDuoUserRel(CartographyRelSchema):
|
|
76
|
-
target_node_label: str =
|
|
78
|
+
target_node_label: str = "DuoToken"
|
|
77
79
|
target_node_matcher: TargetNodeMatcher = make_target_node_matcher(
|
|
78
|
-
{
|
|
80
|
+
{"token_id": PropertyRef("token_id")},
|
|
79
81
|
)
|
|
80
82
|
direction: LinkDirection = LinkDirection.OUTWARD
|
|
81
83
|
rel_label: str = "HAS_DUO_TOKEN"
|
|
@@ -83,14 +85,14 @@ class DuoTokenToDuoUserRel(CartographyRelSchema):
|
|
|
83
85
|
|
|
84
86
|
|
|
85
87
|
class DuoPhoneToDuoUserRelProperties(CartographyRelProperties):
|
|
86
|
-
lastupdated: PropertyRef = PropertyRef(
|
|
88
|
+
lastupdated: PropertyRef = PropertyRef("lastupdated", set_in_kwargs=True)
|
|
87
89
|
|
|
88
90
|
|
|
89
91
|
@dataclass(frozen=True)
|
|
90
92
|
class DuoPhoneToDuoUserRel(CartographyRelSchema):
|
|
91
|
-
target_node_label: str =
|
|
93
|
+
target_node_label: str = "DuoPhone"
|
|
92
94
|
target_node_matcher: TargetNodeMatcher = make_target_node_matcher(
|
|
93
|
-
{
|
|
95
|
+
{"phone_id": PropertyRef("phone_id")},
|
|
94
96
|
)
|
|
95
97
|
direction: LinkDirection = LinkDirection.OUTWARD
|
|
96
98
|
rel_label: str = "HAS_DUO_PHONE"
|
|
@@ -98,14 +100,14 @@ class DuoPhoneToDuoUserRel(CartographyRelSchema):
|
|
|
98
100
|
|
|
99
101
|
|
|
100
102
|
class DuoEndpointToDuoUserRelProperties(CartographyRelProperties):
|
|
101
|
-
lastupdated: PropertyRef = PropertyRef(
|
|
103
|
+
lastupdated: PropertyRef = PropertyRef("lastupdated", set_in_kwargs=True)
|
|
102
104
|
|
|
103
105
|
|
|
104
106
|
@dataclass(frozen=True)
|
|
105
107
|
class DuoEndpointToDuoUserRel(CartographyRelSchema):
|
|
106
|
-
target_node_label: str =
|
|
108
|
+
target_node_label: str = "DuoEndpoint"
|
|
107
109
|
target_node_matcher: TargetNodeMatcher = make_target_node_matcher(
|
|
108
|
-
{
|
|
110
|
+
{"email": PropertyRef("email")},
|
|
109
111
|
)
|
|
110
112
|
direction: LinkDirection = LinkDirection.OUTWARD
|
|
111
113
|
rel_label: str = "HAS_DUO_ENDPOINT"
|
|
@@ -113,14 +115,14 @@ class DuoEndpointToDuoUserRel(CartographyRelSchema):
|
|
|
113
115
|
|
|
114
116
|
|
|
115
117
|
class DuoGroupToDuoUserRelProperties(CartographyRelProperties):
|
|
116
|
-
lastupdated: PropertyRef = PropertyRef(
|
|
118
|
+
lastupdated: PropertyRef = PropertyRef("lastupdated", set_in_kwargs=True)
|
|
117
119
|
|
|
118
120
|
|
|
119
121
|
@dataclass(frozen=True)
|
|
120
122
|
class DuoGroupToDuoUserRel(CartographyRelSchema):
|
|
121
|
-
target_node_label: str =
|
|
123
|
+
target_node_label: str = "DuoGroup"
|
|
122
124
|
target_node_matcher: TargetNodeMatcher = make_target_node_matcher(
|
|
123
|
-
{
|
|
125
|
+
{"group_id": PropertyRef("group_id")},
|
|
124
126
|
)
|
|
125
127
|
direction: LinkDirection = LinkDirection.OUTWARD
|
|
126
128
|
rel_label: str = "MEMBER_OF_DUO_GROUP"
|
|
@@ -129,15 +131,15 @@ class DuoGroupToDuoUserRel(CartographyRelSchema):
|
|
|
129
131
|
|
|
130
132
|
@dataclass(frozen=True)
|
|
131
133
|
class DuoUserToHumanRelProperties(CartographyRelProperties):
|
|
132
|
-
lastupdated: PropertyRef = PropertyRef(
|
|
134
|
+
lastupdated: PropertyRef = PropertyRef("lastupdated", set_in_kwargs=True)
|
|
133
135
|
|
|
134
136
|
|
|
135
137
|
@dataclass(frozen=True)
|
|
136
138
|
# (:DuoUser)<-[:IDENTITY_DUO]-(:Human)
|
|
137
139
|
class DuoUserToHumanRel(CartographyRelSchema):
|
|
138
|
-
target_node_label: str =
|
|
140
|
+
target_node_label: str = "Human"
|
|
139
141
|
target_node_matcher: TargetNodeMatcher = make_target_node_matcher(
|
|
140
|
-
{
|
|
142
|
+
{"email": PropertyRef("email")},
|
|
141
143
|
)
|
|
142
144
|
direction: LinkDirection = LinkDirection.INWARD
|
|
143
145
|
rel_label: str = "IDENTITY_DUO"
|
|
@@ -146,7 +148,7 @@ class DuoUserToHumanRel(CartographyRelSchema):
|
|
|
146
148
|
|
|
147
149
|
@dataclass(frozen=True)
|
|
148
150
|
class DuoUserSchema(CartographyNodeSchema):
|
|
149
|
-
label: str =
|
|
151
|
+
label: str = "DuoUser"
|
|
150
152
|
properties: DuoUserNodeProperties = DuoUserNodeProperties()
|
|
151
153
|
sub_resource_relationship: DuoUserToDuoApiHostRel = DuoUserToDuoApiHostRel()
|
|
152
154
|
other_relationships: OtherRelationships = OtherRelationships(
|
|
@@ -13,51 +13,59 @@ from cartography.models.core.relationships import TargetNodeMatcher
|
|
|
13
13
|
|
|
14
14
|
@dataclass(frozen=True)
|
|
15
15
|
class DuoWebAuthnCredentialNodeProperties(CartographyNodeProperties):
|
|
16
|
-
id: PropertyRef = PropertyRef(
|
|
17
|
-
lastupdated: PropertyRef = PropertyRef(
|
|
18
|
-
admin: PropertyRef = PropertyRef(
|
|
19
|
-
credential_name: PropertyRef = PropertyRef(
|
|
20
|
-
date_added: PropertyRef = PropertyRef(
|
|
21
|
-
label: PropertyRef = PropertyRef(
|
|
22
|
-
webauthnkey: PropertyRef = PropertyRef(
|
|
16
|
+
id: PropertyRef = PropertyRef("webauthnkey")
|
|
17
|
+
lastupdated: PropertyRef = PropertyRef("lastupdated", set_in_kwargs=True)
|
|
18
|
+
admin: PropertyRef = PropertyRef("admin")
|
|
19
|
+
credential_name: PropertyRef = PropertyRef("credential_name", extra_index=True)
|
|
20
|
+
date_added: PropertyRef = PropertyRef("date_added")
|
|
21
|
+
label: PropertyRef = PropertyRef("label")
|
|
22
|
+
webauthnkey: PropertyRef = PropertyRef("webauthnkey", extra_index=True)
|
|
23
23
|
|
|
24
24
|
|
|
25
25
|
@dataclass(frozen=True)
|
|
26
26
|
class DuoWebAuthnCredentialToDuoApiHostRelProperties(CartographyRelProperties):
|
|
27
|
-
lastupdated: PropertyRef = PropertyRef(
|
|
27
|
+
lastupdated: PropertyRef = PropertyRef("lastupdated", set_in_kwargs=True)
|
|
28
28
|
|
|
29
29
|
|
|
30
30
|
@dataclass(frozen=True)
|
|
31
31
|
class DuoWebAuthnCredentialToDuoApiHostRel(CartographyRelSchema):
|
|
32
|
-
target_node_label: str =
|
|
32
|
+
target_node_label: str = "DuoApiHost"
|
|
33
33
|
target_node_matcher: TargetNodeMatcher = make_target_node_matcher(
|
|
34
|
-
{
|
|
34
|
+
{"id": PropertyRef("DUO_API_HOSTNAME", set_in_kwargs=True)},
|
|
35
35
|
)
|
|
36
36
|
direction: LinkDirection = LinkDirection.INWARD
|
|
37
37
|
rel_label: str = "RESOURCE"
|
|
38
|
-
properties: DuoWebAuthnCredentialToDuoApiHostRelProperties =
|
|
38
|
+
properties: DuoWebAuthnCredentialToDuoApiHostRelProperties = (
|
|
39
|
+
DuoWebAuthnCredentialToDuoApiHostRelProperties()
|
|
40
|
+
)
|
|
39
41
|
|
|
40
42
|
|
|
41
|
-
class
|
|
42
|
-
lastupdated: PropertyRef = PropertyRef(
|
|
43
|
+
class DuoWebAuthnCredentialToDuoUserRelProperties(CartographyRelProperties):
|
|
44
|
+
lastupdated: PropertyRef = PropertyRef("lastupdated", set_in_kwargs=True)
|
|
43
45
|
|
|
44
46
|
|
|
45
47
|
@dataclass(frozen=True)
|
|
46
48
|
class DuoWebAuthnCredentialToDuoUserRel(CartographyRelSchema):
|
|
47
|
-
target_node_label: str =
|
|
49
|
+
target_node_label: str = "DuoUser"
|
|
48
50
|
target_node_matcher: TargetNodeMatcher = make_target_node_matcher(
|
|
49
|
-
{
|
|
51
|
+
{"user_id": PropertyRef("user_id")},
|
|
50
52
|
)
|
|
51
53
|
direction: LinkDirection = LinkDirection.INWARD
|
|
52
54
|
rel_label: str = "HAS_DUO_WEB_AUTHN_CREDENTIAL"
|
|
53
|
-
properties:
|
|
55
|
+
properties: DuoWebAuthnCredentialToDuoUserRelProperties = (
|
|
56
|
+
DuoWebAuthnCredentialToDuoUserRelProperties()
|
|
57
|
+
)
|
|
54
58
|
|
|
55
59
|
|
|
56
60
|
@dataclass(frozen=True)
|
|
57
61
|
class DuoWebAuthnCredentialSchema(CartographyNodeSchema):
|
|
58
|
-
label: str =
|
|
59
|
-
properties: DuoWebAuthnCredentialNodeProperties =
|
|
60
|
-
|
|
62
|
+
label: str = "DuoWebAuthnCredential"
|
|
63
|
+
properties: DuoWebAuthnCredentialNodeProperties = (
|
|
64
|
+
DuoWebAuthnCredentialNodeProperties()
|
|
65
|
+
)
|
|
66
|
+
sub_resource_relationship: DuoWebAuthnCredentialToDuoApiHostRel = (
|
|
67
|
+
DuoWebAuthnCredentialToDuoApiHostRel()
|
|
68
|
+
)
|
|
61
69
|
other_relationships: OtherRelationships = OtherRelationships(
|
|
62
70
|
rels=[
|
|
63
71
|
DuoWebAuthnCredentialToDuoUserRel(),
|
|
@@ -0,0 +1,48 @@
|
|
|
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 TargetNodeMatcher
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
@dataclass(frozen=True)
|
|
14
|
+
class EntraOUNodeProperties(CartographyNodeProperties):
|
|
15
|
+
id: PropertyRef = PropertyRef("id")
|
|
16
|
+
display_name: PropertyRef = PropertyRef("display_name")
|
|
17
|
+
description: PropertyRef = PropertyRef("description")
|
|
18
|
+
visibility: PropertyRef = PropertyRef("visibility")
|
|
19
|
+
membership_type: PropertyRef = PropertyRef("membership_type")
|
|
20
|
+
is_member_management_restricted: PropertyRef = PropertyRef(
|
|
21
|
+
"is_member_management_restricted"
|
|
22
|
+
)
|
|
23
|
+
deleted_date_time: PropertyRef = PropertyRef("deleted_date_time")
|
|
24
|
+
lastupdated: PropertyRef = PropertyRef("lastupdated", set_in_kwargs=True)
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
@dataclass(frozen=True)
|
|
28
|
+
class EntraTenantToOURelProperties(CartographyRelProperties):
|
|
29
|
+
lastupdated: PropertyRef = PropertyRef("lastupdated", set_in_kwargs=True)
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
@dataclass(frozen=True)
|
|
33
|
+
# (:EntraOU)<-[:RESOURCE]-(:AzureTenant)
|
|
34
|
+
class EntraOUToTenantRel(CartographyRelSchema):
|
|
35
|
+
target_node_label: str = "EntraTenant"
|
|
36
|
+
target_node_matcher: TargetNodeMatcher = make_target_node_matcher(
|
|
37
|
+
{"id": PropertyRef("TENANT_ID", set_in_kwargs=True)},
|
|
38
|
+
)
|
|
39
|
+
direction: LinkDirection = LinkDirection.INWARD
|
|
40
|
+
rel_label: str = "RESOURCE"
|
|
41
|
+
properties: EntraTenantToOURelProperties = EntraTenantToOURelProperties()
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
@dataclass(frozen=True)
|
|
45
|
+
class EntraOUSchema(CartographyNodeSchema):
|
|
46
|
+
label: str = "EntraOU"
|
|
47
|
+
properties: EntraOUNodeProperties = EntraOUNodeProperties()
|
|
48
|
+
sub_resource_relationship: EntraOUToTenantRel = EntraOUToTenantRel()
|
|
@@ -8,26 +8,32 @@ from cartography.models.core.nodes import ExtraNodeLabels
|
|
|
8
8
|
|
|
9
9
|
@dataclass(frozen=True)
|
|
10
10
|
class EntraTenantNodeProperties(CartographyNodeProperties):
|
|
11
|
-
id: PropertyRef = PropertyRef(
|
|
12
|
-
created_date_time: PropertyRef = PropertyRef(
|
|
13
|
-
default_usage_location: PropertyRef = PropertyRef(
|
|
14
|
-
deleted_date_time: PropertyRef = PropertyRef(
|
|
15
|
-
display_name: PropertyRef = PropertyRef(
|
|
16
|
-
marketing_notification_emails: PropertyRef = PropertyRef(
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
11
|
+
id: PropertyRef = PropertyRef("id")
|
|
12
|
+
created_date_time: PropertyRef = PropertyRef("created_date_time")
|
|
13
|
+
default_usage_location: PropertyRef = PropertyRef("default_usage_location")
|
|
14
|
+
deleted_date_time: PropertyRef = PropertyRef("deleted_date_time")
|
|
15
|
+
display_name: PropertyRef = PropertyRef("display_name")
|
|
16
|
+
marketing_notification_emails: PropertyRef = PropertyRef(
|
|
17
|
+
"marketing_notification_emails"
|
|
18
|
+
)
|
|
19
|
+
mobile_device_management_authority: PropertyRef = PropertyRef(
|
|
20
|
+
"mobile_device_management_authority"
|
|
21
|
+
)
|
|
22
|
+
on_premises_last_sync_date_time: PropertyRef = PropertyRef(
|
|
23
|
+
"on_premises_last_sync_date_time"
|
|
24
|
+
)
|
|
25
|
+
on_premises_sync_enabled: PropertyRef = PropertyRef("on_premises_sync_enabled")
|
|
26
|
+
partner_tenant_type: PropertyRef = PropertyRef("partner_tenant_type")
|
|
27
|
+
postal_code: PropertyRef = PropertyRef("postal_code")
|
|
28
|
+
preferred_language: PropertyRef = PropertyRef("preferred_language")
|
|
29
|
+
state: PropertyRef = PropertyRef("state")
|
|
30
|
+
street: PropertyRef = PropertyRef("street")
|
|
31
|
+
tenant_type: PropertyRef = PropertyRef("tenant_type")
|
|
32
|
+
lastupdated: PropertyRef = PropertyRef("lastupdated", set_in_kwargs=True)
|
|
27
33
|
|
|
28
34
|
|
|
29
35
|
@dataclass(frozen=True)
|
|
30
36
|
class EntraTenantSchema(CartographyNodeSchema):
|
|
31
|
-
label: str =
|
|
37
|
+
label: str = "AzureTenant"
|
|
32
38
|
properties: EntraTenantNodeProperties = EntraTenantNodeProperties()
|
|
33
|
-
extra_node_labels: ExtraNodeLabels = ExtraNodeLabels([
|
|
39
|
+
extra_node_labels: ExtraNodeLabels = ExtraNodeLabels(["EntraTenant"])
|