MICROSOFT.INTUNE

Android_AddAppForMAMPolicy

valid {
    input.Body.properties.url == STRING
    input.ReqMap.hostName == STRING
    input.ReqMap.policyName == STRING
    input.ReqMap.appName == STRING
    input.Qs.api-version == STRING
    input.ProviderMetadata.Region == STRING
}

Android_AddGroupForMAMPolicy

valid {
    input.Body.properties.url == STRING
    input.ReqMap.hostName == STRING
    input.ReqMap.policyName == STRING
    input.ReqMap.groupId == STRING
    input.Qs.api-version == STRING
    input.ProviderMetadata.Region == STRING
}

Android_CreateOrUpdateMAMPolicy

enum_AndroidMAMPolicyPropertiesFileEncryption := [ "required", "notRequired" ]
enum_AndroidMAMPolicyPropertiesScreenCapture := [ "allow", "block" ]
enum_MAMPolicyPropertiesAppSharingFromLevel := [ "none", "policyManagedApps", "allApps" ]
enum_MAMPolicyPropertiesAppSharingToLevel := [ "none", "policyManagedApps", "allApps" ]
enum_MAMPolicyPropertiesAuthentication := [ "required", "notRequired" ]
enum_MAMPolicyPropertiesClipboardSharingLevel := [ "blocked", "policyManagedApps", "policyManagedAppsWithPasteIn", "allApps" ]
enum_MAMPolicyPropertiesDataBackup := [ "allow", "block" ]
enum_MAMPolicyPropertiesDeviceCompliance := [ "enable", "disable" ]
enum_MAMPolicyPropertiesFileSharingSaveAs := [ "allow", "block" ]
enum_MAMPolicyPropertiesManagedBrowser := [ "required", "notRequired" ]
enum_MAMPolicyPropertiesPin := [ "required", "notRequired" ]

valid {
    input.Body.properties.screenCapture == enum_AndroidMAMPolicyPropertiesScreenCapture[_]
    input.Body.properties.fileEncryption == enum_AndroidMAMPolicyPropertiesFileEncryption[_]
    input.Body.properties.friendlyName == STRING
    input.Body.properties.description == STRING
    input.Body.properties.appSharingFromLevel == enum_MAMPolicyPropertiesAppSharingFromLevel[_]
    input.Body.properties.appSharingToLevel == enum_MAMPolicyPropertiesAppSharingToLevel[_]
    input.Body.properties.authentication == enum_MAMPolicyPropertiesAuthentication[_]
    input.Body.properties.clipboardSharingLevel == enum_MAMPolicyPropertiesClipboardSharingLevel[_]
    input.Body.properties.dataBackup == enum_MAMPolicyPropertiesDataBackup[_]
    input.Body.properties.fileSharingSaveAs == enum_MAMPolicyPropertiesFileSharingSaveAs[_]
    input.Body.properties.pin == enum_MAMPolicyPropertiesPin[_]
    input.Body.properties.pinNumRetry == INTEGER
    input.Body.properties.deviceCompliance == enum_MAMPolicyPropertiesDeviceCompliance[_]
    input.Body.properties.managedBrowser == enum_MAMPolicyPropertiesManagedBrowser[_]
    input.Body.properties.accessRecheckOfflineTimeout == STRING
    input.Body.properties.accessRecheckOnlineTimeout == STRING
    input.Body.properties.offlineWipeTimeout == STRING
    input.Body.tags.STRING == STRING
    input.Body.location == STRING
    input.ReqMap.hostName == STRING
    input.ReqMap.policyName == STRING
    input.Qs.api-version == STRING
    input.ProviderMetadata.Region == STRING
}

Android_DeleteAppForMAMPolicy

valid {
    input.ReqMap.hostName == STRING
    input.ReqMap.policyName == STRING
    input.ReqMap.appName == STRING
    input.Qs.api-version == STRING
    input.ProviderMetadata.Region == STRING
}

Android_DeleteGroupForMAMPolicy

valid {
    input.ReqMap.hostName == STRING
    input.ReqMap.policyName == STRING
    input.ReqMap.groupId == STRING
    input.Qs.api-version == STRING
    input.ProviderMetadata.Region == STRING
}

Android_DeleteMAMPolicy

valid {
    input.ReqMap.hostName == STRING
    input.ReqMap.policyName == STRING
    input.Qs.api-version == STRING
    input.ProviderMetadata.Region == STRING
}

Android_GetAppForMAMPolicy

valid {
    input.ReqMap.hostName == STRING
    input.ReqMap.policyName == STRING
    input.Qs.api-version == STRING
    input.Qs.$filter == STRING
    input.Qs.$top == INTEGER
    input.Qs.$select == STRING
    input.ProviderMetadata.Region == STRING
}

Android_GetGroupsForMAMPolicy

valid {
    input.ReqMap.hostName == STRING
    input.ReqMap.policyName == STRING
    input.Qs.api-version == STRING
    input.ProviderMetadata.Region == STRING
}

Android_GetMAMPolicies

valid {
    input.ReqMap.hostName == STRING
    input.Qs.api-version == STRING
    input.Qs.$filter == STRING
    input.Qs.$top == INTEGER
    input.Qs.$select == STRING
    input.ProviderMetadata.Region == STRING
}

Android_GetMAMPolicyByName

valid {
    input.ReqMap.hostName == STRING
    input.ReqMap.policyName == STRING
    input.Qs.api-version == STRING
    input.Qs.$select == STRING
    input.ProviderMetadata.Region == STRING
}

Android_PatchMAMPolicy

enum_AndroidMAMPolicyPropertiesFileEncryption := [ "required", "notRequired" ]
enum_AndroidMAMPolicyPropertiesScreenCapture := [ "allow", "block" ]

valid {
    input.Body.properties.screenCapture == enum_AndroidMAMPolicyPropertiesScreenCapture[_]
    input.Body.properties.fileEncryption == enum_AndroidMAMPolicyPropertiesFileEncryption[_]
    input.ReqMap.hostName == STRING
    input.ReqMap.policyName == STRING
    input.Qs.api-version == STRING
    input.ProviderMetadata.Region == STRING
}

GetApps

valid {
    input.ReqMap.hostName == STRING
    input.Qs.api-version == STRING
    input.Qs.$filter == STRING
    input.Qs.$top == INTEGER
    input.Qs.$select == STRING
    input.ProviderMetadata.Region == STRING
}

GetLocationByHostName

valid {
    input.Qs.api-version == STRING
    input.ProviderMetadata.Region == STRING
}

GetLocations

valid {
    input.Qs.api-version == STRING
    input.ProviderMetadata.Region == STRING
}

GetMAMFlaggedUserByName

valid {
    input.ReqMap.hostName == STRING
    input.ReqMap.userName == STRING
    input.Qs.api-version == STRING
    input.Qs.$select == STRING
    input.ProviderMetadata.Region == STRING
}

GetMAMFlaggedUsers

valid {
    input.ReqMap.hostName == STRING
    input.Qs.api-version == STRING
    input.Qs.$filter == STRING
    input.Qs.$top == INTEGER
    input.Qs.$select == STRING
    input.ProviderMetadata.Region == STRING
}

GetMAMStatuses

valid {
    input.ReqMap.hostName == STRING
    input.Qs.api-version == STRING
    input.ProviderMetadata.Region == STRING
}

GetMAMUserDeviceByDeviceName

valid {
    input.ReqMap.hostName == STRING
    input.ReqMap.userName == STRING
    input.ReqMap.deviceName == STRING
    input.Qs.api-version == STRING
    input.Qs.$select == STRING
    input.ProviderMetadata.Region == STRING
}

GetMAMUserDevices

valid {
    input.ReqMap.hostName == STRING
    input.ReqMap.userName == STRING
    input.Qs.api-version == STRING
    input.Qs.$filter == STRING
    input.Qs.$top == INTEGER
    input.Qs.$select == STRING
    input.ProviderMetadata.Region == STRING
}

GetMAMUserFlaggedEnrolledApps

valid {
    input.ReqMap.hostName == STRING
    input.ReqMap.userName == STRING
    input.Qs.api-version == STRING
    input.Qs.$filter == STRING
    input.Qs.$top == INTEGER
    input.Qs.$select == STRING
    input.ProviderMetadata.Region == STRING
}

GetOperationResults

valid {
    input.ReqMap.hostName == STRING
    input.Qs.api-version == STRING
    input.Qs.$filter == STRING
    input.Qs.$top == INTEGER
    input.Qs.$select == STRING
    input.ProviderMetadata.Region == STRING
}

Ios_AddAppForMAMPolicy

valid {
    input.Body.properties.url == STRING
    input.ReqMap.hostName == STRING
    input.ReqMap.policyName == STRING
    input.ReqMap.appName == STRING
    input.Qs.api-version == STRING
    input.ProviderMetadata.Region == STRING
}

Ios_AddGroupForMAMPolicy

valid {
    input.Body.properties.url == STRING
    input.ReqMap.hostName == STRING
    input.ReqMap.policyName == STRING
    input.ReqMap.groupId == STRING
    input.Qs.api-version == STRING
    input.ProviderMetadata.Region == STRING
}

Ios_CreateOrUpdateMAMPolicy

enum_MAMPolicyPropertiesAppSharingFromLevel := [ "none", "policyManagedApps", "allApps" ]
enum_MAMPolicyPropertiesAppSharingToLevel := [ "none", "policyManagedApps", "allApps" ]
enum_MAMPolicyPropertiesAuthentication := [ "required", "notRequired" ]
enum_MAMPolicyPropertiesClipboardSharingLevel := [ "blocked", "policyManagedApps", "policyManagedAppsWithPasteIn", "allApps" ]
enum_MAMPolicyPropertiesDataBackup := [ "allow", "block" ]
enum_MAMPolicyPropertiesDeviceCompliance := [ "enable", "disable" ]
enum_MAMPolicyPropertiesFileSharingSaveAs := [ "allow", "block" ]
enum_MAMPolicyPropertiesManagedBrowser := [ "required", "notRequired" ]
enum_MAMPolicyPropertiesPin := [ "required", "notRequired" ]
enum_iOSMAMPolicyPropertiesFileEncryptionLevel := [ "deviceLocked", "deviceLockedExceptFilesOpen", "afterDeviceRestart", "useDeviceSettings" ]
enum_iOSMAMPolicyPropertiesTouchId := [ "enable", "disable" ]

valid {
    input.Body.properties.fileEncryptionLevel == enum_iOSMAMPolicyPropertiesFileEncryptionLevel[_]
    input.Body.properties.touchId == enum_iOSMAMPolicyPropertiesTouchId[_]
    input.Body.properties.friendlyName == STRING
    input.Body.properties.description == STRING
    input.Body.properties.appSharingFromLevel == enum_MAMPolicyPropertiesAppSharingFromLevel[_]
    input.Body.properties.appSharingToLevel == enum_MAMPolicyPropertiesAppSharingToLevel[_]
    input.Body.properties.authentication == enum_MAMPolicyPropertiesAuthentication[_]
    input.Body.properties.clipboardSharingLevel == enum_MAMPolicyPropertiesClipboardSharingLevel[_]
    input.Body.properties.dataBackup == enum_MAMPolicyPropertiesDataBackup[_]
    input.Body.properties.fileSharingSaveAs == enum_MAMPolicyPropertiesFileSharingSaveAs[_]
    input.Body.properties.pin == enum_MAMPolicyPropertiesPin[_]
    input.Body.properties.pinNumRetry == INTEGER
    input.Body.properties.deviceCompliance == enum_MAMPolicyPropertiesDeviceCompliance[_]
    input.Body.properties.managedBrowser == enum_MAMPolicyPropertiesManagedBrowser[_]
    input.Body.properties.accessRecheckOfflineTimeout == STRING
    input.Body.properties.accessRecheckOnlineTimeout == STRING
    input.Body.properties.offlineWipeTimeout == STRING
    input.Body.tags.STRING == STRING
    input.Body.location == STRING
    input.ReqMap.hostName == STRING
    input.ReqMap.policyName == STRING
    input.Qs.api-version == STRING
    input.ProviderMetadata.Region == STRING
}

Ios_DeleteAppForMAMPolicy

valid {
    input.ReqMap.hostName == STRING
    input.ReqMap.policyName == STRING
    input.ReqMap.appName == STRING
    input.Qs.api-version == STRING
    input.ProviderMetadata.Region == STRING
}

Ios_DeleteGroupForMAMPolicy

valid {
    input.ReqMap.hostName == STRING
    input.ReqMap.policyName == STRING
    input.ReqMap.groupId == STRING
    input.Qs.api-version == STRING
    input.ProviderMetadata.Region == STRING
}

Ios_DeleteMAMPolicy

valid {
    input.ReqMap.hostName == STRING
    input.ReqMap.policyName == STRING
    input.Qs.api-version == STRING
    input.ProviderMetadata.Region == STRING
}

Ios_GetAppForMAMPolicy

valid {
    input.ReqMap.hostName == STRING
    input.ReqMap.policyName == STRING
    input.Qs.api-version == STRING
    input.Qs.$filter == STRING
    input.Qs.$top == INTEGER
    input.Qs.$select == STRING
    input.ProviderMetadata.Region == STRING
}

Ios_GetGroupsForMAMPolicy

valid {
    input.ReqMap.hostName == STRING
    input.ReqMap.policyName == STRING
    input.Qs.api-version == STRING
    input.ProviderMetadata.Region == STRING
}

Ios_GetMAMPolicies

valid {
    input.ReqMap.hostName == STRING
    input.Qs.api-version == STRING
    input.Qs.$filter == STRING
    input.Qs.$top == INTEGER
    input.Qs.$select == STRING
    input.ProviderMetadata.Region == STRING
}

Ios_GetMAMPolicyByName

valid {
    input.ReqMap.hostName == STRING
    input.ReqMap.policyName == STRING
    input.Qs.api-version == STRING
    input.Qs.$select == STRING
    input.ProviderMetadata.Region == STRING
}

Ios_PatchMAMPolicy

enum_iOSMAMPolicyPropertiesFileEncryptionLevel := [ "deviceLocked", "deviceLockedExceptFilesOpen", "afterDeviceRestart", "useDeviceSettings" ]
enum_iOSMAMPolicyPropertiesTouchId := [ "enable", "disable" ]

valid {
    input.Body.properties.fileEncryptionLevel == enum_iOSMAMPolicyPropertiesFileEncryptionLevel[_]
    input.Body.properties.touchId == enum_iOSMAMPolicyPropertiesTouchId[_]
    input.ReqMap.hostName == STRING
    input.ReqMap.policyName == STRING
    input.Qs.api-version == STRING
    input.ProviderMetadata.Region == STRING
}

WipeMAMUserDevice

valid {
    input.ReqMap.hostName == STRING
    input.ReqMap.userName == STRING
    input.ReqMap.deviceName == STRING
    input.Qs.api-version == STRING
    input.ProviderMetadata.Region == STRING
}