Skip to content

Commit ba3e20a

Browse files
authored
Update module mapping with IdentityProtection singleton (#1306)
* Replace riskyUsers and riskDetections with IdentityProtection singleton. * Update profiles. * Update pester tests.
1 parent 41cbac8 commit ba3e20a

File tree

79 files changed

+7128
-5250
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

79 files changed

+7128
-5250
lines changed

config/ModulesMapping.jsonc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"Groups": "^groups.group$|^groups.directoryObject$|^groups.conversation$|^groups.endpoint$|^groups.extension$|^groups.resourceSpecificPermissionGrant$|^groups.profilePhoto$|^groups.conversationThread$|^groupLifecyclePolicies\\.|^users.group$|^groups.directorySetting$|^groups.Actions$|^groups.Functions$",
2222
"Identity.DirectoryManagement": "^administrativeUnits\\.|^contacts\\.|^devices\\.|^domains\\.|^directoryRoles\\.|^directoryRoleTemplates\\.|^directorySettingTemplates\\.|^settings\\.|^subscribedSkus\\.|^contracts\\.|^directory\\.|^users.scopedRoleMembership$|^organization.organization$|^organization.organizationalBranding$|^organization.organizationSettings$|^organization.Actions$|^organization.extension$",
2323
"Identity.Governance": "^accessReviews\\.|^businessFlowTemplates\\.|^programs\\.|^programControls\\.|^programControlTypes\\.|^privilegedRoles\\.|^privilegedRoleAssignments\\.|^privilegedRoleAssignmentRequests\\.|^privilegedApproval\\.|^privilegedOperationEvents\\.|^privilegedAccess\\.|^agreements\\.|^users.agreementAcceptance$|^identityGovernance\\.",
24-
"Identity.SignIns": "^organization.certificateBasedAuthConfiguration$|^invitations\\.|^identityProviders\\.|^oauth2PermissionGrants\\.|^riskDetections\\.|^riskyUsers\\.|^dataPolicyOperations\\.|^identity.identityUserFlow$|^trustFramework\\.|^informationProtection\\.|^policies\\.|^users.authentication$|^users.informationProtection$|^identity.conditionalAccessRoot$",
24+
"Identity.SignIns": "^organization.certificateBasedAuthConfiguration$|^invitations\\.|^identityProviders\\.|^oauth2PermissionGrants\\.|^identityProtection\\.|^dataPolicyOperations\\.|^identity.identityUserFlow$|^trustFramework\\.|^informationProtection\\.|^policies\\.|^users.authentication$|^users.informationProtection$|^identity.conditionalAccessRoot$",
2525
"Mail": "^users.inferenceClassification$|^users.mailFolder$|^users.message$",
2626
"Notes": "^users.onenote$|^groups.onenote$|^sites.onenote$",
2727
"People": "^users.person$|^users.profile$|^users.officeGraphInsights$|^users.userAnalytics$",

openApiDocs/beta/Applications.yml

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ paths:
1515
parameters:
1616
- name: ConsistencyLevel
1717
in: header
18-
description: 'Indicates the requested consistency level. Documentation URL: https://developer.microsoft.com/en-us/office/blogs/microsoft-graph-advanced-queries-for-directory-objects-are-now-generally-available/'
18+
description: 'Indicates the requested consistency level. Documentation URL: https://docs.microsoft.com/graph/aad-advanced-queries'
1919
schema:
2020
type: string
2121
examples:
@@ -87,6 +87,8 @@ paths:
8787
- publisherDomain desc
8888
- requiredResourceAccess
8989
- requiredResourceAccess desc
90+
- samlMetadataUrl
91+
- samlMetadataUrl desc
9092
- serviceManagementReference
9193
- serviceManagementReference desc
9294
- signInAudience
@@ -143,6 +145,7 @@ paths:
143145
- publicClient
144146
- publisherDomain
145147
- requiredResourceAccess
148+
- samlMetadataUrl
146149
- serviceManagementReference
147150
- signInAudience
148151
- spa
@@ -266,6 +269,7 @@ paths:
266269
- publicClient
267270
- publisherDomain
268271
- requiredResourceAccess
272+
- samlMetadataUrl
269273
- serviceManagementReference
270274
- signInAudience
271275
- spa
@@ -7591,6 +7595,8 @@ paths:
75917595
- publisherDomain desc
75927596
- requiredResourceAccess
75937597
- requiredResourceAccess desc
7598+
- samlMetadataUrl
7599+
- samlMetadataUrl desc
75947600
- serviceManagementReference
75957601
- serviceManagementReference desc
75967602
- signInAudience
@@ -7647,6 +7653,7 @@ paths:
76477653
- publicClient
76487654
- publisherDomain
76497655
- requiredResourceAccess
7656+
- samlMetadataUrl
76507657
- serviceManagementReference
76517658
- signInAudience
76527659
- spa
@@ -7762,6 +7769,7 @@ paths:
77627769
- publicClient
77637770
- publisherDomain
77647771
- requiredResourceAccess
7772+
- samlMetadataUrl
77657773
- serviceManagementReference
77667774
- signInAudience
77677775
- spa
@@ -9149,7 +9157,7 @@ paths:
91499157
parameters:
91509158
- name: ConsistencyLevel
91519159
in: header
9152-
description: 'Indicates the requested consistency level. Documentation URL: https://developer.microsoft.com/en-us/office/blogs/microsoft-graph-advanced-queries-for-directory-objects-are-now-generally-available/'
9160+
description: 'Indicates the requested consistency level. Documentation URL: https://docs.microsoft.com/graph/aad-advanced-queries'
91539161
schema:
91549162
type: string
91559163
examples:
@@ -15692,6 +15700,10 @@ components:
1569215700
items:
1569315701
$ref: '#/components/schemas/microsoft.graph.requiredResourceAccess'
1569415702
description: 'Specifies the resources that the application needs to access. This property also specifies the set of delegated permissions and application roles that it needs for each of those resources. This configuration of access to the required resources drives the consent experience. No more than 50 resource services (APIs) can be configured. Beginning mid-October 2021, the total number of required permissions must not exceed 400. Not nullable. Supports $filter (eq, not, ge, le).'
15703+
samlMetadataUrl:
15704+
type: string
15705+
description: The URL where the service exposes SAML metadata for federation. This property is valid only for single-tenant applications. Nullable.
15706+
nullable: true
1569515707
serviceManagementReference:
1569615708
type: string
1569715709
description: References application or service contact information from a Service or Asset Management database. Nullable.
@@ -15786,12 +15798,10 @@ components:
1578615798
type: array
1578715799
items:
1578815800
$ref: '#/components/schemas/microsoft.graph.application'
15789-
description: Read-only. Nullable.
1579015801
members:
1579115802
type: array
1579215803
items:
1579315804
$ref: '#/components/schemas/microsoft.graph.connector'
15794-
description: Read-only. Nullable.
1579515805
additionalProperties:
1579615806
type: object
1579715807
ReferenceUpdateSchema:
@@ -17300,7 +17310,6 @@ components:
1730017310
properties:
1730117311
id:
1730217312
type: string
17303-
description: Read-only.
1730417313
additionalProperties:
1730517314
type: object
1730617315
microsoft.graph.connectorGroupType:

openApiDocs/beta/Bookings.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2905,7 +2905,6 @@ components:
29052905
properties:
29062906
id:
29072907
type: string
2908-
description: Read-only.
29092908
additionalProperties:
29102909
type: object
29112910
microsoft.graph.location:

openApiDocs/beta/Calendar.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117384,7 +117384,6 @@ components:
117384117384
properties:
117385117385
id:
117386117386
type: string
117387-
description: Read-only.
117388117387
additionalProperties:
117389117388
type: object
117390117389
microsoft.graph.onlineMeetingProviderType:

openApiDocs/beta/ChangeNotifications.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,6 @@ components:
270270
properties:
271271
id:
272272
type: string
273-
description: Read-only.
274273
additionalProperties:
275274
type: object
276275
microsoft.graph.subscriptionCollectionResponse:

openApiDocs/beta/CloudCommunications.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7327,22 +7327,18 @@ components:
73277327
type: array
73287328
items:
73297329
$ref: '#/components/schemas/microsoft.graph.audioRoutingGroup'
7330-
description: Read-only. Nullable.
73317330
contentSharingSessions:
73327331
type: array
73337332
items:
73347333
$ref: '#/components/schemas/microsoft.graph.contentSharingSession'
7335-
description: Read-only. Nullable.
73367334
operations:
73377335
type: array
73387336
items:
73397337
$ref: '#/components/schemas/microsoft.graph.commsOperation'
7340-
description: Read-only. Nullable.
73417338
participants:
73427339
type: array
73437340
items:
73447341
$ref: '#/components/schemas/microsoft.graph.participant'
7345-
description: Read-only. Nullable.
73467342
additionalProperties:
73477343
type: object
73487344
microsoft.graph.audioRoutingGroup:
@@ -8007,7 +8003,6 @@ components:
80078003
properties:
80088004
id:
80098005
type: string
8010-
description: Read-only.
80118006
additionalProperties:
80128007
type: object
80138008
microsoft.graph.callRecords.modality:

openApiDocs/beta/Compliance.yml

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8002,7 +8002,6 @@ components:
80028002
type: array
80038003
items:
80048004
$ref: '#/components/schemas/microsoft.graph.ediscovery.reviewSetQuery'
8005-
description: Read-only. Nullable.
80068005
additionalProperties:
80078006
type: object
80088007
microsoft.graph.ediscovery.sourceCollection:
@@ -8228,7 +8227,6 @@ components:
82288227
properties:
82298228
id:
82308229
type: string
8231-
description: Read-only.
82328230
additionalProperties:
82338231
type: object
82348232
microsoft.graph.identitySet:
@@ -9425,7 +9423,6 @@ components:
94259423
type: array
94269424
items:
94279425
$ref: '#/components/schemas/microsoft.graph.post'
9428-
description: Read-only. Nullable.
94299426
additionalProperties:
94309427
type: object
94319428
microsoft.graph.extension:
@@ -10444,7 +10441,6 @@ components:
1044410441
type: array
1044510442
items:
1044610443
$ref: '#/components/schemas/microsoft.graph.group'
10447-
description: Read-only. Nullable.
1044810444
mailFolders:
1044910445
type: array
1045010446
items:
@@ -10551,7 +10547,6 @@ components:
1055110547
type: array
1055210548
items:
1055310549
$ref: '#/components/schemas/microsoft.graph.profilePhoto'
10554-
description: Read-only. Nullable.
1055510550
profile:
1055610551
$ref: '#/components/schemas/microsoft.graph.profile'
1055710552
activities:
@@ -21721,7 +21716,6 @@ components:
2172121716
type: array
2172221717
items:
2172321718
$ref: '#/components/schemas/microsoft.graph.workbookCommentReply'
21724-
description: Read-only. Nullable.
2172521719
additionalProperties:
2172621720
type: object
2172721721
microsoft.graph.workbookFunctions:
@@ -25040,7 +25034,7 @@ components:
2504025034
attachments:
2504125035
type: array
2504225036
items:
25043-
$ref: '#/components/schemas/microsoft.graph.attachment_v2'
25037+
$ref: '#/components/schemas/microsoft.graph.attachmentBase'
2504425038
attachmentSessions:
2504525039
type: array
2504625040
items:
@@ -25879,7 +25873,6 @@ components:
2587925873
type: array
2588025874
items:
2588125875
$ref: '#/components/schemas/microsoft.graph.printDocument'
25882-
description: Read-only.
2588325876
tasks:
2588425877
type: array
2588525878
items:
@@ -26744,10 +26737,10 @@ components:
2674426737
- unknownFutureValue
2674526738
- emailUser
2674626739
type: string
26747-
microsoft.graph.attachment_v2:
26740+
microsoft.graph.attachmentBase:
2674826741
allOf:
2674926742
- $ref: '#/components/schemas/microsoft.graph.entity'
26750-
- title: attachment_v2
26743+
- title: attachmentBase
2675126744
type: object
2675226745
properties:
2675326746
contentType:

openApiDocs/beta/CrossDeviceExperiences.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2981,7 +2981,6 @@ components:
29812981
properties:
29822982
id:
29832983
type: string
2984-
description: Read-only.
29852984
additionalProperties:
29862985
type: object
29872986
microsoft.graph.Json:

openApiDocs/beta/DeviceManagement.Actions.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12765,7 +12765,6 @@ components:
1276512765
properties:
1276612766
id:
1276712767
type: string
12768-
description: Read-only.
1276912768
additionalProperties:
1277012769
type: object
1277112770
microsoft.graph.devicePlatformType:

0 commit comments

Comments
 (0)