Skip to content

Commit

Permalink
Merge pull request #235 from benoit74/fix_issue_234
Browse files Browse the repository at this point in the history
Add support for clientApplications in conditionalAccessConditionSet
  • Loading branch information
manicminer authored Mar 24, 2023
2 parents d185bae + 58540e2 commit 3519709
Showing 1 changed file with 15 additions and 9 deletions.
24 changes: 15 additions & 9 deletions msgraph/models.go
Original file line number Diff line number Diff line change
Expand Up @@ -608,16 +608,22 @@ type ConditionalAccessApplications struct {
IncludeUserActions *[]string `json:"includeUserActions,omitempty"`
}

type ConditionalAccessClientApplications struct {
ExcludeServicePrincipals *[]string `json:"excludeServicePrincipals,omitempty"`
IncludeServicePrincipals *[]string `json:"includeServicePrincipals,omitempty"`
}

type ConditionalAccessConditionSet struct {
Applications *ConditionalAccessApplications `json:"applications,omitempty"`
ClientAppTypes *[]ConditionalAccessClientAppType `json:"clientAppTypes,omitempty"`
Devices *ConditionalAccessDevices `json:"devices,omitempty"`
DeviceStates *ConditionalAccessDeviceStates `json:"deviceStates,omitempty"`
Locations *ConditionalAccessLocations `json:"locations"`
Platforms *ConditionalAccessPlatforms `json:"platforms"`
SignInRiskLevels *[]ConditionalAccessRiskLevel `json:"signInRiskLevels,omitempty"`
UserRiskLevels *[]ConditionalAccessRiskLevel `json:"userRiskLevels,omitempty"`
Users *ConditionalAccessUsers `json:"users,omitempty"`
Applications *ConditionalAccessApplications `json:"applications,omitempty"`
ClientApplications *ConditionalAccessClientApplications `json:"clientApplications,omitempty"`
ClientAppTypes *[]ConditionalAccessClientAppType `json:"clientAppTypes,omitempty"`
Devices *ConditionalAccessDevices `json:"devices,omitempty"`
DeviceStates *ConditionalAccessDeviceStates `json:"deviceStates,omitempty"`
Locations *ConditionalAccessLocations `json:"locations"`
Platforms *ConditionalAccessPlatforms `json:"platforms"`
SignInRiskLevels *[]ConditionalAccessRiskLevel `json:"signInRiskLevels,omitempty"`
UserRiskLevels *[]ConditionalAccessRiskLevel `json:"userRiskLevels,omitempty"`
Users *ConditionalAccessUsers `json:"users,omitempty"`
}

type ConditionalAccessDevices struct {
Expand Down

0 comments on commit 3519709

Please sign in to comment.