Skip to content

Commit b35bbf6

Browse files
author
Igor Komlew
authored
fixed microsoft.policies.adminConsentRequestPolicy (#5722)
1 parent 12a2c95 commit b35bbf6

File tree

4 files changed

+317
-22
lines changed

4 files changed

+317
-22
lines changed

providers/ms365/resources/ms365.lr

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1056,7 +1056,7 @@ microsoft.policies {
10561056
// Identity security default enforcement policy
10571057
identitySecurityDefaultsEnforcementPolicy() dict
10581058
// Admin consent request policy
1059-
adminConsentRequestPolicy() dict
1059+
adminConsentRequestPolicy() microsoft.adminConsentRequestPolicy
10601060
// Permission grant policies
10611061
permissionGrantPolicies() []dict
10621062
// Consent policy settings
@@ -1065,6 +1065,30 @@ microsoft.policies {
10651065
authenticationMethodsPolicy() microsoft.policies.authenticationMethodsPolicy
10661066
}
10671067

1068+
private microsoft.adminConsentRequestPolicy @defaults("isEnabled notifyReviewers") {
1069+
// Specifies whether the admin consent request feature is enabled or disabled
1070+
isEnabled bool
1071+
// Specifies whether reviewers will receive notifications
1072+
notifyReviewers bool
1073+
// Specifies whether reviewers will receive reminder emails
1074+
remindersEnabled bool
1075+
// Specifies the duration the request is active before it automatically expires if no decision is applied
1076+
requestDurationInDays int
1077+
// The list of reviewers for the admin consent
1078+
reviewers []microsoft.graph.accessReviewReviewerScope
1079+
// Specifies the version of this policy
1080+
version int
1081+
}
1082+
1083+
private microsoft.graph.accessReviewReviewerScope @defaults("query queryType") {
1084+
// The query specifying who will be the reviewer
1085+
query string
1086+
// In the scenario where reviewers need to be specified dynamically, this property is used to indicate the relative source of the query
1087+
queryRoot string
1088+
// The type of query
1089+
queryType string
1090+
}
1091+
10681092
// The tenant-wide policy that controls which authentication methods are allowed
10691093
private microsoft.policies.authenticationMethodsPolicy @defaults("displayName") {
10701094
// Policy ID

providers/ms365/resources/ms365.lr.go

Lines changed: 217 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

providers/ms365/resources/ms365.lr.manifest.yaml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,16 @@ resources:
1616
tenantDomainName: {}
1717
users: {}
1818
min_mondoo_version: 9.0.0
19+
microsoft.adminConsentRequestPolicy:
20+
fields:
21+
isEnabled: {}
22+
notifyReviewers: {}
23+
remindersEnabled: {}
24+
requestDurationInDays: {}
25+
reviewers: {}
26+
version: {}
27+
is_private: true
28+
min_mondoo_version: 9.0.0
1929
microsoft.application:
2030
fields:
2131
api: {}
@@ -373,6 +383,13 @@ resources:
373383
ttl: {}
374384
is_private: true
375385
min_mondoo_version: 9.0.0
386+
microsoft.graph.accessReviewReviewerScope:
387+
fields:
388+
query: {}
389+
queryRoot: {}
390+
queryType: {}
391+
is_private: true
392+
min_mondoo_version: 9.0.0
376393
microsoft.group:
377394
fields:
378395
displayName: {}

0 commit comments

Comments
 (0)