id: pwpolicy_max_inactivity_enforce
title: Ensure Maximum Auto-Lock is Set to $ODV Minutes or Less
discussion: |
  The iOS or visionOS _MUST_ be configured to auto-lock after $ODV minutes.
references:
  nist:
    cce:
      ios_27:
        - CCE-XXXXX-X
      ios_26:
        - CCE-96721-6
      ios_18:
        - CCE-94476-9
      ios_17:
        - CCE-93459-6
      visionos_27:
        - CCE-XXXXX-X
      visionos_26:
        - CCE-96718-2
    800-53r5:
      - AC-11
      - IA-11
  disa:
    cci:
      - CCI-000057
    disa_stig:
      ios_26:
        - AIOS-26-006800
      ios_18:
        - AIOS-18-006800
      ios_17:
        - AIOS-17-006800
        - AIOS-17-706800
      visionos_26:
        - AVOS-26-006800
    sfr:
      - 'FMT_SMF_EXT.1.1 #2b'
    cmmc:
      - AC.L2-3.1.10
  bsi:
    indigo:
      ios_26:
        - ANNEX D (Section 5.9.1 - Device-Code)
        - ANNEX K
      ios_18:
        - ANNEX D (Section 5.9.1 - Device-Code)
        - ANNEX K
      ios_17:
        - ANNEX D (Section 5.9.1 - Device-Code)
        - ANNEX K
  cis:
    benchmark:
      ios_26:
        - 2.4.4 (level 1 - End-User Owned Devices)
        - 3.4.4 (level 1 - Institutionally-Owned Devices)
      ios_18:
        - 2.4.4 (level 1 - End-User Owned Devices)
        - 3.4.4 (level 1 - Institutionally-Owned Devices)
      ios_17:
        - 2.4.4 (level 1 - End-User Owned Devices)
        - 3.4.4 (level 1 - Institutionally-Owned Devices)
    controls_v8:
      - 4.3
platforms:
  iOS:
    '27.0':
      supervised: false
    '26.0':
      supervised: false
      benchmarks:
        - name: cis_lvl1_byod
        - name: cis_lvl2_byod
        - name: cis_lvl1_enterprise
        - name: cis_lvl2_enterprise
        - name: ios_stig
          severity: medium
        - name: indigo_base
          severity: medium
        - name: indigo_high
          severity: medium
    '18.0':
      supervised: false
      benchmarks:
        - name: cis_lvl1_byod
        - name: cis_lvl2_byod
        - name: cis_lvl1_enterprise
        - name: cis_lvl2_enterprise
        - name: ios_stig
          severity: medium
        - name: indigo_base
          severity: medium
        - name: indigo_high
          severity: medium
    '17.0':
      supervised: false
      benchmarks:
        - name: cis_lvl1_byod
        - name: cis_lvl2_byod
        - name: cis_lvl1_enterprise
        - name: cis_lvl2_enterprise
        - name: ios_stig
          severity: medium
        - name: ios_stig_byoad
          severity: medium
        - name: indigo_base
          severity: medium
        - name: indigo_high
          severity: medium
    introduced: '4.0'
  visionOS:
    '27.0':
      supervised: false
    '26.0':
      supervised: false
      benchmarks:
        - name: visionos_stig
          severity: medium
    introduced: '2.0'
odv:
  hint:
    datatype: number
    description: Number of minutes, e.g. 5
    validation:
      min: 1
  recommended: 2
  cis_lvl1_byod: 2
  cis_lvl2_byod: 2
  cis_lvl1_enterprise: 2
  cis_lvl2_enterprise: 2
  ios_stig: 5
  ios_stig_byoad: 5
  indigo_base: 2
  indigo_high: 2
  visionos_stig: 5
tags:
  - 800-53r5_low
  - 800-53r5_moderate
  - 800-53r5_high
  - cisv8
  - cmmc_lvl2
  - cmmc_lvl3
  - cnssi-1253_moderate
  - cnssi-1253_low
  - cnssi-1253_high
mobileconfig_info:
  - PayloadType: com.apple.mobiledevice.passwordpolicy
    PayloadContent:
      - maxInactivity: $ODV
