Files
apple-device-management-mdm/declarative/status/passcode.is-present.yaml
2025-09-15 20:38:03 -04:00

49 lines
1.2 KiB
YAML

title: Status Passcode Is Present
description: A status report of the passcode on the device.
payload:
statusitemtype: passcode.is-present
supportedOS:
iOS:
introduced: '16.0'
allowed-enrollments:
- supervised
- device
- user
- local
allowed-scopes:
- system
sharedipad:
allowed-scopes:
- system
- user
macOS:
introduced: n/a
tvOS:
introduced: n/a
visionOS:
introduced: '1.1'
allowed-enrollments:
- supervised
- device
- user
- local
allowed-scopes:
- system
watchOS:
introduced: '10.0'
allowed-enrollments:
- supervised
- local
allowed-scopes:
- system
payloadkeys:
- key: passcode.is-present
title: Status item value.
type: <boolean>
presence: required
content: If `true`, a passcode is present on the device. If `false`, a passcode
isn't present on the device. When a passcode is present, the specific attributes
of the passcode, such as length or number of complex characters, aren't reported.
Instead, use the `passcode.is-compliant` status item to verify that the passcode
complies with all passcode policies set on the device.