Skip to content

Commit

Permalink
Types for ConditionalAccessRiskLevel
Browse files Browse the repository at this point in the history
  • Loading branch information
manicminer committed Nov 22, 2021
1 parent 6cb1c2f commit 639a53e
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
2 changes: 1 addition & 1 deletion msgraph/models.go
Original file line number Diff line number Diff line change
Expand Up @@ -542,7 +542,7 @@ type ConditionalAccessConditionSet struct {
DeviceStates *ConditionalAccessDeviceStates `json:"deviceStates,omitempty"`
Locations *ConditionalAccessLocations `json:"locations,omitempty"`
Platforms *ConditionalAccessPlatforms `json:"platforms,omitempty"`
SignInRiskLevels *[]string `json:"signInRiskLevels,omitempty"`
SignInRiskLevels *[]ConditionalAccessRiskLevel `json:"signInRiskLevels,omitempty"`
UserRiskLevels *[]string `json:"userRiskLevels,omitempty"`
Users *ConditionalAccessUsers `json:"users,omitempty"`
}
Expand Down
11 changes: 11 additions & 0 deletions msgraph/valuetypes.go
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,17 @@ const (
ConditionalAccessPolicyStateEnabledForReportingButNotEnforced ConditionalAccessPolicyState = "enabledForReportingButNotEnforced"
)

type ConditionalAccessRiskLevel = string

const (
ConditionalAccessRiskLevelHidden ConditionalAccessRiskLevel = "hidden"
ConditionalAccessRiskLevelHigh ConditionalAccessRiskLevel = "high"
ConditionalAccessRiskLevelLow ConditionalAccessRiskLevel = "low"
ConditionalAccessRiskLevelMedium ConditionalAccessRiskLevel = "medium"
ConditionalAccessRiskLevelNone ConditionalAccessRiskLevel = "none"
ConditionalAccessRiskLevelUnknownFutureValue ConditionalAccessRiskLevel = "unknownFutureValue"
)

type ExtensionSchemaTargetType = string

const (
Expand Down

0 comments on commit 639a53e

Please sign in to comment.