// Code generated by msgraph-generate.go DO NOT EDIT. package msgraph // AndroidForWorkCompliancePolicy This class contains compliance settings for Android for Work. type AndroidForWorkCompliancePolicy struct { // DeviceCompliancePolicy is the base model of AndroidForWorkCompliancePolicy DeviceCompliancePolicy // PasswordRequired Require a password to unlock device. PasswordRequired *bool `json:"passwordRequired,omitempty"` // PasswordMinimumLength Minimum password length. Valid values 4 to 16 PasswordMinimumLength *int `json:"passwordMinimumLength,omitempty"` // PasswordRequiredType Type of characters in password PasswordRequiredType *AndroidRequiredPasswordType `json:"passwordRequiredType,omitempty"` // PasswordMinutesOfInactivityBeforeLock Minutes of inactivity before a password is required. PasswordMinutesOfInactivityBeforeLock *int `json:"passwordMinutesOfInactivityBeforeLock,omitempty"` // PasswordExpirationDays Number of days before the password expires. Valid values 1 to 365 PasswordExpirationDays *int `json:"passwordExpirationDays,omitempty"` // PasswordPreviousPasswordBlockCount Number of previous passwords to block. Valid values 1 to 24 PasswordPreviousPasswordBlockCount *int `json:"passwordPreviousPasswordBlockCount,omitempty"` // PasswordSignInFailureCountBeforeFactoryReset Number of sign-in failures allowed before factory reset. Valid values 1 to 16 PasswordSignInFailureCountBeforeFactoryReset *int `json:"passwordSignInFailureCountBeforeFactoryReset,omitempty"` // SecurityPreventInstallAppsFromUnknownSources Require that devices disallow installation of apps from unknown sources. SecurityPreventInstallAppsFromUnknownSources *bool `json:"securityPreventInstallAppsFromUnknownSources,omitempty"` // SecurityDisableUsbDebugging Disable USB debugging on Android devices. SecurityDisableUsbDebugging *bool `json:"securityDisableUsbDebugging,omitempty"` // SecurityRequireVerifyApps Require the Android Verify apps feature is turned on. SecurityRequireVerifyApps *bool `json:"securityRequireVerifyApps,omitempty"` // DeviceThreatProtectionEnabled Require that devices have enabled device threat protection. DeviceThreatProtectionEnabled *bool `json:"deviceThreatProtectionEnabled,omitempty"` // DeviceThreatProtectionRequiredSecurityLevel Require Mobile Threat Protection minimum risk level to report noncompliance. DeviceThreatProtectionRequiredSecurityLevel *DeviceThreatProtectionLevel `json:"deviceThreatProtectionRequiredSecurityLevel,omitempty"` // SecurityBlockJailbrokenDevices Devices must not be jailbroken or rooted. SecurityBlockJailbrokenDevices *bool `json:"securityBlockJailbrokenDevices,omitempty"` // OsMinimumVersion Minimum Android version. OsMinimumVersion *string `json:"osMinimumVersion,omitempty"` // OsMaximumVersion Maximum Android version. OsMaximumVersion *string `json:"osMaximumVersion,omitempty"` // MinAndroidSecurityPatchLevel Minimum Android security patch level. MinAndroidSecurityPatchLevel *string `json:"minAndroidSecurityPatchLevel,omitempty"` // StorageRequireEncryption Require encryption on Android devices. StorageRequireEncryption *bool `json:"storageRequireEncryption,omitempty"` // SecurityRequireSafetyNetAttestationBasicIntegrity Require the device to pass the SafetyNet basic integrity check. SecurityRequireSafetyNetAttestationBasicIntegrity *bool `json:"securityRequireSafetyNetAttestationBasicIntegrity,omitempty"` // SecurityRequireSafetyNetAttestationCertifiedDevice Require the device to pass the SafetyNet certified device check. SecurityRequireSafetyNetAttestationCertifiedDevice *bool `json:"securityRequireSafetyNetAttestationCertifiedDevice,omitempty"` // SecurityRequireGooglePlayServices Require Google Play Services to be installed and enabled on the device. SecurityRequireGooglePlayServices *bool `json:"securityRequireGooglePlayServices,omitempty"` // SecurityRequireUpToDateSecurityProviders Require the device to have up to date security providers. The device will require Google Play Services to be enabled and up to date. SecurityRequireUpToDateSecurityProviders *bool `json:"securityRequireUpToDateSecurityProviders,omitempty"` // SecurityRequireCompanyPortalAppIntegrity Require the device to pass the Company Portal client app runtime integrity check. SecurityRequireCompanyPortalAppIntegrity *bool `json:"securityRequireCompanyPortalAppIntegrity,omitempty"` }