The following is a description of the elements, types, and attributes that compose the Apple iOS specific tests found in Open Vulnerability and Assessment Language (OVAL). Each item is an extension of the standard item element defined in the Core Definition Schema. Through extension, each item inherits a set of elements and attributes that are shared amongst all OVAL Items. Each item is described in detail and should provide the information necessary to understand what each element and attribute represents. This document is intended for developers and assumes some familiarity with XML. A high level description of the interaction between the different tests and their relationship to the Core Definition Schema is not outlined here. The OVAL Schema is maintained by the OVAL Community. For more information, including how to get involved in the project and how to submit change requests, please visit the OVAL website at http://oval.cisecurity.org. See public documentation at https://developer.apple.com/library/ios/featuredarticles/iPhoneConfigurationProfileRef/Introduction/Introduction.html Apple iOS Definition 5.11.1:1.2 11/30/2016 09:00:00 AM Copyright (c) 2016, Center for Internet Security. All rights reserved. The contents of this file are subject to the terms of the OVAL License located at https://oval.cisecurity.org/terms. See the OVAL License for the specific language governing permissions and limitations for use of this schema. When distributing copies of the OVAL Schema, this license header must be included. The globalrestrictions_test is used to check the status of the global restrictions in place on the device. It extends the standard TestType as defined in the oval-definitions-schema and one should refer to the TestType description for more information. The required object element references a globalrestrictions_object and the optional state element specifies the data to check. globalrestrictions_test globalrestrictions_object globalrestrictions_state globalrestrictions_item - the object child element of a globalrestrictions_test must reference a globalrestrictions_object - the state child element of a globalrestrictions_test must reference a globalrestrictions_state The globalrestrictions_object element is used by a global restrictions test to define those objects to be evaluated based on a specified state. Any OVAL Test written to check global restrictions status will reference the same globalrestrictions_object which is basically an empty object element. Information on global restrictions in place on the device Optional. Supervised only. If set to false, account modification is disabled. Available only in iOS 7.0 and later. Optional. Supervised only. If set to false, AirDrop is disabled. Available only in iOS 7.0 and later. Optional. Supervised only. If set to false, changes to cellular data usage for apps are disabled. Available only in iOS 7.0 and later. Optional. When false, the App Store is disabled and its icon is removed from the Home screen. Users are unable to install or update their applications. Optional. When false, disables Siri. Defaults to true. Optional. Supervised only. When false, prevents Siri from querying user-generated content from the web. Available only in iOS 7.0 and later. Optional. When false, the user is unable to use Siri when the device is locked. Defaults to true. This restriction is ignored if the device does not have a passcode set. Available only in iOS 5.1 and later. Optional. Supervised only. If set to false, iBookstore will be disabled. This will default to true. Available in iOS 6.0 and later. Optional. Supervised only prior to iOS 6.1. If set to false, the user will not be able to download media from the iBookstore that has been tagged as erotica. This will default to true. Available in iOS 6.0 and later. Optional. When false, the camera is completely disabled and its icon is removed from the Home screen. Users are unable to take photographs. Optional. When false, disables backing up the device to iCloud. Available in iOS 5.0 and later. Optional. When false, disables document and key-value syncing to iCloud. Available in iOS 5.0 and later. Optional. If false, disables keychain syncing to iCloud. Default is true. Available only in iOS 7.0 and later. Optional. When false, this prevents the device from automatically submitting diagnostic reports to Apple. Defaults to true. Available only in iOS 6.0 and later. Optional. When false, explicit music or video content purchased from the iTunes Store is hidden. Explicit content is marked as such by content providers, such as record labels, when sold through the iTunes Store. Optional. Supervised only. If set to false, changes to Find My Friends are disabled. Available only in iOS 7.0 and later. Optional. If false, prevents Touch ID from unlocking a device. Available in iOS 7 and later. Optional. Supervised only. When false, Game Center is disabled and its icon is removed from the Home screen. Default is true. Available only in iOS 6.0 and later. Supervised only. If set to false, host pairing is disabled with the exception of the supervision host. If no supervision host certificate has been configured, all pairing is disabled. Available only in iOS 7.0 and later. Optional. If false, prevents Control Center from appearing on the Lock screen. Available in iOS 7 and later. Optional. If set to false, the Notifications view in Notification Center on the lock screen is disabled. Available only in iOS 7.0 and later. Optional. If set to false, the Today view in Notification Center on the lock screen is disabled. Available only in iOS 7.0 and later. Optional. If false, documents in managed apps and accounts only open in other managed apps and accounts. Default is true. Available only in iOS 7.0 and later. Optional. If set to false, documents in unmanaged apps and accounts will only open in other unmanaged apps and accounts. Default is true. Available only in iOS 7.0 and later. Optional. If false, over-the-air PKI updates are disabled. Default is true. Available only in iOS 7.0 and later. Optional. If set to false, Passbook notifications will not be shown on the lock screen. This will default to true. Available in iOS 6.0 and later. Optional. When false, disables Photo Stream. Available in iOS 5.0 and later. Optional. When false, the Safari web browser application is disabled and its icon removed from the Home screen. This also prevents users from opening web clips. Optional. When false, users are unable to save a screenshot of the display. Optional. If set to false, Shared Photo Stream will be disabled. This will default to true. Available in iOS 6.0 and later. Optional. Supervised only. If set to false, the user is prohibited from installing configuration profiles and certificates interactively. This will default to true. Available in iOS 6.0 and later. Optional. When false, automatically rejects untrusted HTTPS certificates without prompting the user. Available in iOS 5.0 and later. Optional. When false, disables voice dialing. Optional. When false, the YouTube application is disabled and its icon is removed from the Home screen. This key is ignored in iOS 6 and later because the YouTube app is not provided. Optional. When false, the iTunes Music Store is disabled and its icon is removed from the Home screen. Users cannot preview, purchase, or download content. Optional. If present, allows the identified apps to autonomously enter Single App Mode. Available only in iOS 7.0 and later. Optional. When true, encrypts all backups. Optional. When true, forces user to enter their iTunes password for each transaction. Available in iOS 5.0 and later. Optional. If true, limits ad tracking. Default is false. Available only in iOS 7.0 and later. Optional. When false, Safari auto-fill is disabled. Defaults to true. The passcodepolicy_test is used to check the status of the passcode policy in place on the device. It extends the standard TestType as defined in the oval-definitions-schema and one should refer to the TestType description for more information. The required object element references a passcodepolicy_object and the optional state element specifies the data to check. passcodepolicy_test passcodepolicy_object passcodepolicy_state passcodepolicy_item - the object child element of a passcodepolicy_test must reference a passcodepolicy_object - the state child element of a passcodepolicy_test must reference a passcodepolicy_state The passcodepolicy_object element is used by a passcode policy test to define those objects to be evaluated based on a specified state. Any OVAL Test written to check passcode policy status will reference the same passcodepolicy_object which is basically an empty object element. Passcode Policy Items from public Apple Configuration Profile Reference Optional. Default true. Determines whether a simple passcode is allowed. A simple passcode is defined as containing repeated characters, or increasing/decreasing characters (such as 123 or CBA). Setting this value to false is synonymous to setting minComplexChars to "1". Optional. Default false. Determines whether the user is forced to set a PIN. Simply setting this value (and not others) forces the user to enter a passcode, without imposing a length or quality. Optional. Default 11. Allowed range [2...11]. Specifies the number of allowed failed attempts to enter the passcode at the device's lock screen. Once this number is exceeded, the device is locked and must be connected to its designated iTunes in order to be unlocked. Optional. Default Infinity. Specifies the number of minutes for which the device can be idle (without being unlocked by the user) before it gets locked by the system. Once this limit is reached, the device is locked and the passcode must be entered. In OS X, this will be translated to screensaver settings. Optional. Default Infinity. Specifies the number of days for which the passcode can remain unchanged. After this number of days, the user is forced to change the passcode before the device is unlocked. Optional. Default 0. Specifies the minimum number of complex characters that a passcode must contain. A "complex" character is a character other than a number or a letter. Optional. Default 0. Specifies the minimum overall length of the passcode. This parameter is independent of the also optional minComplexChars argument. Optional. Default false. Specifies whether the user must enter alphabetic characters ("abcd"), or if numbers are sufficient. Optional. When the user changes the passcode, it has to be unique within the last N entries in the history. Minimum value is 1, maximum value is 50. Optional. The maximum grace period, in minutes, to unlock the phone without entering a passcode. Default is 0, that is no grace period, which requires a passcode immediately. In OS X, this will be translated to screensaver settings. The profile_test is used to check the status of the profiles in place on the device. It extends the standard TestType as defined in the oval-definitions-schema and one should refer to the TestType description for more information. The required object element references a profile_object and the optional state element specifies the data to check. profile_test profile_object profile_state profile_item - the object child element of a profile_test must reference a profile_object - the state child element of a profile_test must reference a profile_state The profile_object element is used by a profile test to define those objects to be evaluated based on a specified state. Each object extends the standard ObjectType as defined in the oval-definitions-schema and one should refer to the ObjectType description for more information. The common set element allows complex objects to be created using filters and set logic. State referenced in filter for '' is of the wrong type. A reverse-DNS style identifier (com.example.myprofile, for example) that identifies the profile. This string is used to determine whether a new profile should replace an existing one or should be added. A globally unique identifier for the payload. The actual content is unimportant, but it must be globally unique. Represents information about each configuration profile installed on the device. Optional. Set to true if there is a removal passcode. Optional. Set to true if the profile is encrypted. Optional. Contains information about each payload inside the configuration profile. Optional. A description of the profile, shown on the Detail screen for the profile. Optional. A human-readable name for the profile. This value is displayed on the Detail screen. It does not have to be unique. A reverse-DNS style identifier (com.example.myprofile, for example) that identifies the profile. This string is used to determine whether a new profile should replace an existing one or should be added. Optional. A human-readable string containing the name of the organization that provided the profile. Optional. If present and set to true, the user cannot delete the profile (unless the profile has a removal password and the user provides it). A globally unique identifier for the payload. The actual content is unimportant, but it must be globally unique. The version number of the profile format. This describes the version of the configuration profile as a whole, not of the individual profiles within it. Currently, this value should be 1.