-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathazure-ad.sgnl.yaml
780 lines (779 loc) · 23.5 KB
/
azure-ad.sgnl.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
# Azure AD Configuration YAML for DS2.0
displayName: "Azure AD"
icon: |
PHN2ZyB3aWR0aD0iNjQiIGhlaWdodD0iNjQiIHZpZXdCb3g9IjAgMCA2NCA2NCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHJlY3Qgd2lkdGg9IjY0IiBoZWlnaHQ9IjY0IiBmaWxsPSIjMDEzRjg2Ii8+CjxwYXRoIGQ9Ik0xMi4yNzYzIDMyLjk1NTVMMzIgNDUuODI2MVY5LjVMMTIuMjc2MyAzMi45NTU1WiIgZmlsbD0iIzRGRTZGRiIvPgo8cGF0aCBkPSJNOCAzOC4wNTA0TDMyIDUzLjk3ODZWNDguODUwN0wxMC43NjY1IDM0Ljc1NzhMOCAzOC4wNTA0WiIgZmlsbD0iIzRGRTZGRiIvPgo8cGF0aCBkPSJNNTYgMzguMDUwNEwzMiA1My45Nzg2VjQ4Ljg1MDdMNTMuMjMzNSAzNC43NTc4TDU2IDM4LjA1MDRaIiBmaWxsPSIjMzY5QkU1Ii8+CjxwYXRoIGQ9Ik01MS43MjM3IDMyLjk1NTVMMzIgNDUuODI2MVY5LjVMNTEuNzIzNyAzMi45NTU1WiIgZmlsbD0iIzQyQTJFOCIvPgo8cGF0aCBkPSJNMTIuMjgxMiAzMi45NTA2TDEyLjI3NjMgMzIuOTU1NUwzMiA0NS44MjYxVjI4LjI0NzNMMTIuMjgxMiAzMi45NTA2WiIgZmlsbD0iIzk5RUNGQSIvPgo8cGF0aCBkPSJNNTEuNzIgMzIuOTUwNkw1MS43MjM3IDMyLjk1NTVMMzIgNDUuODI2MVYyOC4yNDczTDUxLjcyIDMyLjk1MDZaIiBmaWxsPSIjNTJCMURGIi8+Cjwvc3ZnPg==
description: "Azure AD as a System of Record"
hostname: "graph.microsoft.com"
defaultSyncFrequency: HOURLY
defaultSyncMinInterval: 1
defaultApiCallFrequency: SECONDLY
defaultApiCallMinInterval: 1
type: "AzureAD-1.0.1"
# Example Config:
# {"requestTimeoutSeconds": 10, "apiVersion": "v1.0"}
adapterConfig: "eyJyZXF1ZXN0VGltZW91dFNlY29uZHMiOiAxMCwgImFwaVZlcnNpb24iOiAidjEuMCJ9"
# All auth mechanisms specified below must be supported by the specified Adapter.
auth:
- oAuth2ClientCredentials:
clientId: "{{Input Required: Client-ID}}"
scope: "https://graph.microsoft.com/.default"
tokenUrl: "https://login.microsoftonline.com/{{Input Required: Tenant-ID}}/oauth2/v2.0/token"
authStyle: InParams
clientSecret: "{{Input Required: Client-Secret}}"
entities:
# Configuring complex attributes will cap the page size in AAD's API response to 100.
# See: https://learn.microsoft.com/en-us/graph/known-issues?view=graph-rest-1.0#some-limitations-apply-to-query-parameters
# We use the `$expand` filter to retrieve complex attributes.
User:
displayName: User
externalId: User
description: User Entity in Azure AD
pageSize: 999
pagesOrderedById: false
attributes:
- name: id
externalId: id
description: ID of the user
type: String
indexed: true
uniqueId: true
- name: userPrincipalName
externalId: userPrincipalName
type: String
indexed: true
- name: displayName
externalId: displayName
type: String
- name: givenName
externalId: givenName
type: String
- name: jobTitle
externalId: jobTitle
type: String
- name: mail
externalId: mail
type: String
indexed: true
- name: mobilePhone
externalId: mobilePhone
type: String
- name: officeLocation
externalId: officeLocation
type: String
- name: preferredLanguage
externalId: preferredLanguage
type: String
- name: surname
externalId: surname
type: String
- name: accountEnabled
externalId: accountEnabled
type: Bool
- name: ageGroup
externalId: ageGroup
type: String
- name: city
externalId: city
type: String
- name: companyName
externalId: companyName
type: String
- name: consentProvidedForMinor
externalId: consentProvidedForMinor
type: String
- name: country
externalId: country
type: String
- name: createdDateTime
externalId: createdDateTime
type: DateTime
- name: creationType
externalId: creationType
type: String
- name: deletedDateTime
externalId: deletedDateTime
type: DateTime
- name: department
externalId: department
type: String
- name: employeeHireDate
externalId: employeeHireDate
type: DateTime
- name: employeeId
externalId: employeeId
type: String
- name: employeeType
externalId: employeeType
type: String
- name: externalUserState
externalId: externalUserState
type: String
- name: externalUserStateChangeDateTime
externalId: externalUserStateChangeDateTime
type: DateTime
- name: faxNumber
externalId: faxNumber
type: String
- name: ipAddress
externalId: ipAddress
type: String
- name: isResourceAccount
externalId: isResourceAccount
type: Bool
- name: lastPasswordChangeDateTime
externalId: lastPasswordChangeDateTime
type: DateTime
- name: legalAgeGroupClassification
externalId: legalAgeGroupClassification
type: String
- name: mailNickname
externalId: mailNickname
type: String
# Configuring `manager__id` will cause the page size in the AAD Users API to be capped at 100.
- name: manager__id
externalId: manager__id
type: String
indexed: true
- name: onPremisesDistinguishedName
externalId: onPremisesDistinguishedName
type: String
- name: onPremisesDomainName
externalId: onPremisesDomainName
type: String
- name: onPremisesImmutableId
externalId: onPremisesImmutableId
type: String
- name: onPremisesLastSyncDateTime
externalId: onPremisesLastSyncDateTime
type: DateTime
- name: onPremisesSamAccountName
externalId: onPremisesSamAccountName
type: String
- name: onPremisesSecurityIdentifier
externalId: onPremisessecurityIdentifier
type: String
- name: onPremisesSyncEnabled
externalId: onPremisesSyncEnabled
type: Bool
- name: onPremisesUserPrincipalName
externalId: onPremisesUserPrincipalName
type: String
- name: passwordPolicies
externalId: passwordPolicies
type: String
- name: postalCode
externalId: postalCode
type: String
- name: preferredDataLocation
externalId: preferredDataLocation
type: String
- name: showInAddressList
externalId: showInAddressList
type: Bool
- name: signInSessionsValidFromDateTime
externalId: signInSessionValidFromDateTime
type: DateTime
- name: state
externalId: state
type: String
- name: streetAddress
externalId: streetAddress
type: String
- name: usageLocation
externalId: usageLocation
type: String
- name: userType
externalId: userType
type: String
- name: businessPhones
externalId: businessPhones
type: String
list: true
- name: proxyAddresses
externalId: proxyAddresses
type: String
list: true
- name: otherMails
externalId: otherMails
type: String
list: true
- name: employeeOrgData__costCenter
externalId: employeeOrgData__costCenter
type: String
- name: employeeOrgData__division
externalId: employeeOrgData__division
type: String
- name: passwordProfile__forceChangePasswordNextSignIn
externalId: passwordProfile__forceChangePasswordNextSignIn
type: Bool
- name: passwordProfile__forceChangePasswordNextSignInWithMfa
externalId: passwordProfile__forceChangePasswordNextSignInWithMfa
type: Bool
Group:
description: "Group Entity in Azure AD"
displayName: Group
externalId: Group
pageSize: 999
pagesOrderedById: false
attributes:
- name: id
externalId: id
type: String
indexed: true
uniqueId: true
- name: classification
externalId: classification
type: String
- name: createdDateTime
externalId: createdDateTime
type: DateTime
- name: creationOptions
externalId: creationOptions
type: String
list: true
- name: deletedDateTime
externalId: deletedDateTime
type: DateTime
- name: description
externalId: description
type: String
- name: displayName
externalId: displayName
type: String
- name: expirationDateTime
externalId: expirationDateTime
type: DateTime
- name: groupTypes
externalId: groupTypes
type: String
list: true
- name: isAssignableToRole
externalId: isAssignableToRole
type: Bool
- name: mail
externalId: mail
type: String
- name: mailEnabled
externalId: mailEnabled
type: Bool
- name: mailNickname
externalId: mailNickname
type: String
- name: membershipRule
externalId: membershipRule
type: String
- name: membershipRuleProcessingState
externalId: membershipRuleProcessingState
type: String
- name: onPremisesDomainName
externalId: onPremisesDomainName
type: String
- name: onPremisesLastSyncDateTime
externalId: onPremisesLastSyncDateTime
type: DateTime
- name: onPremisesNetBiosName
externalId: onPremisesNetBiosName
type: String
- name: onPremisesSamAccountName
externalId: onPremisesSamAccountName
type: String
- name: onPremisesSecurityIdentifier
externalId: onPremisesSecurityIdentifier
type: String
- name: onPremisesSyncEnabled
externalId: onPremisesSyncEnabled
type: Bool
- name: preferredDataLocation
externalId: preferredDataLocation
type: String
- name: preferredLanguage
externalId: preferredLanguage
type: String
- name: proxyAddresses
externalId: proxyAddresses
type: String
list: true
- name: renewedDateTime
externalId: renewedDateTime
type: DateTime
- name: resourceBehaviorOptions
externalId: resourceBehaviorOptions
type: String
list: true
- name: resourceProvisioningOptions
externalId: resourceProvisioningOptions
type: String
list: true
- name: securityEnabled
externalId: securityEnabled
type: Bool
- name: securityIdentifier
externalId: securityIdentifier
type: String
- name: theme
externalId: theme
type: String
- name: visibility
externalId: visibility
type: String
- name: assignedLabels
externalId: assignedLabels
type: String
list: true
- name: licenseProcessingState
externalId: licenseProcessingState
type: String
GroupMember:
description: "Group Member Entity in Azure AD"
displayName: GroupMember
externalId: GroupMember
pageSize: 999
pagesOrderedById: false
attributes:
- name: id
externalId: id
type: String
indexed: true
uniqueId: true
- name: groupId
externalId: groupId
type: String
indexed: true
- name: memberId
externalId: memberId
type: String
indexed: true
Application:
description: "Application Entity in Azure AD"
displayName: Application
externalId: Application
pageSize: 999
pagesOrderedById: false
attributes:
- name: id
externalId: id
type: String
indexed: true
uniqueId: true
- name: appId
externalId: appId
type: String
indexed: true
- name: tags
externalId: tags
type: String
list: true
- name: applicationTemplateId
externalId: applicationTemplateId
type: String
- name: certification__certificationDetailsUrl
externalId: certification__certificationDetailsUrl
type: String
- name: certification__certificationExpirationDateTime
externalId: certification__certificationExpirationDateTime
type: DateTime
- name: certification__isCertifiedByMicrosoft
externalId: certification__isCertifiedByMicrosoft
type: Bool
- name: certification__isPublisherAttested
externalId: certification__isPublisherAttested
type: Bool
- name: certification__lastCertificationDateTime
externalId: certification__lastCertificationDateTime
type: DateTime
- name: createdDateTime
externalId: createdDateTime
type: DateTime
- name: deletedDateTime
externalId: deletedDateTime
type: DateTime
- name: description
externalId: description
type: String
- name: disabledByMicrosoftStatus
externalId: disabledByMicrosoftStatus
type: String
- name: displayName
externalId: displayName
type: String
- name: groupMembershipClaims
externalId: groupMembershipClaims
type: String
- name: identifierUris
externalId: identifierUris
type: String
list: true
- name: isDeviceOnlyAuthSupported
externalId: isDeviceOnlyAuthSupported
type: Bool
- name: isFallbackPublicClient
externalId: isFallbackPublicClient
type: Bool
- name: keyCredential__displayName
externalId: keyCredential__displayName
type: String
- name: keyCredential__endDateTime
externalId: keyCredential__endDateTime
type: DateTime
- name: keyCredential__keyId
externalId: keyCredential__keyId
type: String
- name: keyCredential__startDateTime
externalId: keyCredential__startDateTime
type: DateTime
- name: keyCredential__type
externalId: keyCredential__type
type: String
- name: keyCredential__usage
externalId: keyCredential__usage
type: String
- name: notes
externalId: notes
type: String
- name: oauth2RequiredPostResponse
externalId: oauth2RequiredPostResponse
type: Bool
- name: parentalControlSettings__countriesBlockedForMinors
externalId: parentalControlSettings__countriesBlockedForMinors
list: true
type: String
- name: parentalControlSettings__legalGroupRule
externalId: parentalControlSettings__legalGroupRule
type: String
- name: passwordCredential__displayName
externalId: passwordCredential__displayName
type: String
- name: passwordCredential__endDateTime
externalId: passwordCredential__endDateTime
type: DateTime
- name: passwordCredential__keyId
externalId: passwordCredential__keyId
type: String
- name: passwordCredential__startDateTime
externalId: passwordCredential__startDateTime
type: DateTime
- name: publisherDomain
externalId: publisherDomain
type: String
- name: requestSignatureVerification__allowedWeakAlgorithms
externalId: requestSignatureVerification__allowedWeakAlgorithms
type: String
- name: requestSignatureVerification__isSignedRequestRequired
externalId: requestSignatureVerification__isSignedRequestRequired
type: Bool
- name: samlMetadataUrl
externalId: samlMetadataUrl
type: String
- name: serviceManagementReference
externalId: serviceManagementReference
type: String
- name: signInAudience
externalId: signInAudience
type: String
- name: verifiedPublisher__addedDateTime
externalId: verifiedPublisher__addedDateTime
type: DateTime
- name: verifiedPublisher__displayName
externalId: verifiedPublisher__displayName
type: String
- name: verifiedPublisher__verifiedPublisherId
externalId: verifiedPublisher__verifiedPublisherId
type: String
- name: webApplication__homePageUrl
externalId: webApplication__homePageUrl
type: String
- name: webApplication__logoutUrl
externalId: webApplication__logoutUrl
type: String
Device:
description: "Device Entity in Azure AD"
displayName: Device
externalId: Device
pageSize: 999
pagesOrderedById: false
attributes:
- name: id
externalId: id
type: String
indexed: true
uniqueId: true
- name: accountEnabled
externalId: accountEnabled
type: Bool
- name: approximateLastSignInDateTime
externalId: approximateLastSignInDateTime
type: DateTime
- name: complianceExpirationDateTime
externalId: complianceExpirationDateTime
type: DateTime
- name: deviceCategory
externalId: deviceCategory
type: String
- name: deviceId
externalId: deviceId
type: String
indexed: true
- name: deviceMetadata
externalId: deviceMetadata
type: String
- name: deviceOwnership
externalId: deviceOwnership
type: String
- name: deviceVersion
externalId: deviceVersion
type: Int64
- name: displayName
externalId: displayName
type: String
- name: enrollmentProfileName
externalId: enrollmentProfileName
type: String
- name: isCompliant
externalId: isCompliant
type: Bool
- name: isManaged
externalId: isManaged
type: Bool
- name: manufacturer
externalId: manufacturer
type: String
- name: mdmAppId
externalId: mdmAppId
type: String
- name: model
externalId: model
type: String
- name: onPremisesLastSyncDateTime
externalId: onPremisesLastSyncDateTime
type: DateTime
- name: onPremisesSyncEnabled
externalId: onPremisesSyncEnabled
type: Bool
- name: operatingSystem
externalId: operatingSystem
type: String
- name: operatingSystemVersion
externalId: operatingSystemVersion
type: String
- name: physicalIds
externalId: physicalIds
type: String
list: true
- name: profileType
externalId: profileType
type: String
- name: registrationDateTime
externalId: registrationDateTime
type: DateTime
- name: registeredOwner
externalId: $.registeredOwners[0].id
type: String
attributeAlias: deviceRegisteredOwner
indexed: true
- name: systemLabels
externalId: systemLabels
type: String
list: true
- name: trustType
externalId: trustType
type: String
Role:
description: "Directory Role Entity in Azure AD"
displayName: Role
externalId: Role
pageSize: 999
pagesOrderedById: false
attributes:
- name: id
externalId: id
type: String
indexed: true
uniqueId: true
- name: displayName
externalId: displayName
type: String
indexed: true
- name: description
externalId: description
type: String
- name: roleTemplateId
externalId: roleTemplateId
type: String
- name: deletedDateTime
externalId: deletedDateTime
type: DateTime
RoleMember:
description: "Directory Role Member Entity in Azure AD"
displayName: RoleMember
externalId: RoleMember
pageSize: 999
pagesOrderedById: false
attributes:
- name: id
externalId: id
type: String
indexed: true
uniqueId: true
- name: roleId
externalId: roleId
type: String
indexed: true
- name: memberId
externalId: memberId
type: String
indexed: true
RoleAssignment:
description: "Role Assignment in Azure AD"
displayName: RoleAssignment
externalId: RoleAssignment
pageSize: 999
pagesOrderedById: false
attributes:
- name: id
externalId: id
type: String
indexed: true
uniqueId: true
- name: principalId
externalId: principalId
type: String
- name: roleDefinitionId
externalId: roleDefinitionId
type: String
RoleRequest:
description: "Role Assignment Schedule Request in Azure AD"
displayName: RoleRequest
externalId: RoleAssignmentScheduleRequest
pageSize: 999
pagesOrderedById: false
attributes:
- name: id
externalId: id
type: String
indexed: true
uniqueId: true
- name: action
externalId: action
type: String
- name: approvalId
externalId: approvalId
type: String
- name: justification
externalId: justification
type: String
- name: principalId
externalId: principalId
type: String
- name: completedDateTime
externalId: completedDateTime
type: DateTime
- name: createdDateTime
externalId: createdDateTime
type: DateTime
GroupRequest:
description: "Group Assignment Schedule Request in Azure AD"
displayName: GroupRequest
externalId: GroupAssignmentScheduleRequest
pageSize: 999
pagesOrderedById: false
attributes:
- name: id
externalId: id
type: String
indexed: true
uniqueId: true
- name: accessId
externalId: accessId
type: String
- name: approvalId
externalId: approvalId
type: String
- name: groupId
externalId: groupId
type: String
- name: principalId
externalId: principalId
type: String
- name: status
externalId: status
type: String
- name: action
externalId: action
type: String
- name: completedDateTime
externalId: completedDateTime
type: DateTime
relationships:
UserRoleMember:
name: Member
displayName: User Role Member
fromAttribute: RoleMember.memberId
toAttribute: User.id
RoleMember:
name: Member
displayName: Role Member
fromAttribute: RoleMember.roleId
toAttribute: Role.id
RoleMemberOf:
name: MemberOf
displayName: Role Member Of
fromAttribute: RoleMember.memberId
toAttribute: Role.id
UserMemberRole:
name: Role
displayName: User Member Role
path:
- relationship: UserRoleMember
direction: Backward
- relationship: RoleMemberOf
direction: Forward
RoleMemberRole:
name: Role
displayName: Role Member Role
path:
- relationship: RoleMember
direction: Backward
- relationship: RoleMemberOf
direction: Forward
DeviceOwner:
name: DeviceOwner
displayName: Device Owner
fromAttribute: deviceRegisteredOwner
toAttribute: User.id
UserManager:
name: Manager
fromAttribute: User.manager__id
toAttribute: User.id
# [TODO sc-11020] Give these a unique ID, rename both of these to Member,
# and keep corresponding path relationships unique below
UserMember:
name: Member
displayName: User Member
fromAttribute: GroupMember.memberId
toAttribute: User.id
GroupMember:
name: Member
displayName: Group Member
fromAttribute: GroupMember.memberId
toAttribute: Group.id
MemberOf:
name: MemberOf
displayName: Member Of
fromAttribute: GroupMember.groupId
toAttribute: Group.id
UserMemberGroup:
name: Group
displayName: User Member Group
path:
- relationship: UserMember
direction: Backward
- relationship: MemberOf
direction: Forward
GroupMemberGroup:
name: Group
displayName: Group Member Group
path:
- relationship: GroupMember
direction: Backward
- relationship: MemberOf
direction: Forward