{% extends 'base.html' %} {% load base_extras ui_extras %} {% block content %}

{{ object.udid|privacywrapper }}

Device

{% with object.enrolleduser_set.count as users_count %} {% endwith %} {% if object.platform == "macOS" %} {% with object.security_info as security_info %} {% if security_info %} {% endif %} {% endwith %} {% if object.platform == "macOS" %} {% endif %} {% with object.security_info.SecureBoot as secure_boot %} {% if secure_boot %} {% endif %} {% endwith %} {% endif %}
UDID {{ object.udid|privacywrapper }}
Serial number {% with object.get_urlsafe_serial_number as urlsafe_serial_number %} {% if urlsafe_serial_number %} {% if perms.inventory.view_machinesnapshot %} {{ object.serial_number|privacywrapper }} {% else %} {{ object.serial_number|privacywrapper }} {% endif %} {% else %} - {% endif %} {% endwith %}
Model {{ object.model|default:"-" }}
Name {{ object.name|default:"-" }}
Platform {% with object.get_architecture_for_display as architecture %} {% with object.full_os_version as full_os_version %} {{ object.get_platform_display }} {% if full_os_version %} - {{ full_os_version }}{% endif %} {% if architecture %} - {{ architecture }}{% endif %} {% endwith %} {% endwith %}
Available update{{ available_software_updates|length|pluralize }} {% if available_software_updates %}{{ available_software_updates|join:", " }}{% else %}-{% endif %}
MDM user{{ users_count|pluralize }} {% if users_count %}
    {% for user in object.enrolleduser_set.all %}
  • {% if perms.mdm.view_enrolleduser %} {{ user.long_name }} {% else %} {{ user.long_name }} {% endif %}
  • {% endfor %}
{% else %} - {% endif %}

Management status

Push certificate {% if perms.mdm.view_pushcertificate %} {{ object.push_certificate }} {% else %} {{ object.push_certificate }} {% endif %}
Blueprint {% if object.blueprint %} {% if perms.mdm.view_blueprint %} {{ object.blueprint }} {% else %} {{ object.blueprint }} {% endif %} {% else %} no blueprint {% endif %} {% if perms.mdm.change_enrolleddevice %} Change {% endif %}
Declarative management {{ object.declarative_management|yesno }}
DEP assignment {% if dep_device %} {% if perms.mdm.view_depvirtualserver %} {{ dep_device.virtual_server }} {% else %} {{ dep_device.virtual_server }} {% endif %} {% else %} - {% endif %}
Certificate fingerprint {{ object.cert_fingerprint.hex }}
Certificate expiry {{ object.cert_not_valid_after|date:"SHORT_DATETIME_FORMAT" }}
DEP enrollment? {{ object.dep_enrollment|yesno }}
User enrollment? {{ object.user_enrollment|yesno }}
User approved? {{ object.user_approved_enrollment|yesno }}
Activation lock manageable? {{ object.activation_lock_manageable|yesno }}
Supervised? {{ object.supervised|yesno }}
Checkout {{ object.checkout_at|date:"SHORT_DATETIME_FORMAT"|default:"-" }}
Blocked? {{ object.blocked_at|date:"SHORT_DATETIME_FORMAT"|default:"No" }} {% if perms.mdm.change_enrolleddevice %} {% if object.blocked_at %} Unblock {% else %} Block {% endif %} {% endif %}

Bootstrap token

Set? {{ object.bootstrap_token|yesno }}
Allowed for authentication? {% if object.bootstrap_token_allowed_for_authentication is None %} ? {% else %} {{ object.bootstrap_token_allowed_for_authentication|yesno }} {% endif %}
Required for software update? {% if object.bootstrap_token_required_for_software_update is None %} ? {% else %} {{ object.bootstrap_token_required_for_software_update|yesno }} {% endif %}
Required for kext approval? {% if object.bootstrap_token_required_for_kext_approval is None %} ? {% else %} {{ object.bootstrap_token_required_for_kext_approval|yesno }} {% endif %}

SIP

Enabled? {{ security_info.SystemIntegrityProtectionEnabled|yesno }}

FDE

Enabled? {{ security_info.FDE_Enabled|yesno }}
Personal recovery key {% if object.filevault_prk and perms.mdm.view_filevault_prk %} {% else %} {{ security_info.FDE_HasPersonalRecoveryKey|yesno }} {% endif %}
Institutional recovery key? {{ security_info.FDE_HasInstitutionalRecoveryKey|yesno }}

Recovery OS

{% if object.apple_silicon %}Recovery lock{% else %}Firmware password{% endif %} {% if object.recovery_password %} {% if perms.mdm.view_recovery_password %} {% else %} Yes {% endif %} {% else %} No {% endif %} {% if object.pending_firmware_password_created_at %}
Pending change, {{ object.pending_firmware_password_created_at }} {% endif %}

Secure boot

Level {{ secure_boot.SecureBootLevel }}
Windows boot level {{ secure_boot.WindowsBootLevel }}
External boot level {{ secure_boot.ExternalBootLevel }}

Artifact{{ target_artifacts_count|pluralize }} ({{ target_artifacts_count }})

{% if target_artifacts_count %} {% for target_artifact in target_artifacts %} {% with target_artifact.artifact_version as artifact_version %} {% with artifact_version.artifact as artifact %} {% endwith %} {% endwith %} {% endfor %}
Type Artifact Version Status Last updated
{{ artifact.get_type_display }} {% if perms.mdm.view_artifact %} {{ artifact }} {% else %} {{ artifact }} {% endif %} {% if perms.mdm.view_artifact %} {{ artifact_version.version }} {% else %} {{ artifact_version.version }} {% endif %} {{ target_artifact.get_status_display }} {% if target_artifact.extra_info.reasons %} more info
{% for reason in target_artifact.extra_info.reasons %} {{ reason|pythonprettyprint }} {% endfor %}
{% endif %}
{{ target_artifact.updated_at|date:"SHORT_DATETIME_FORMAT" }}
{% endif %}

Last commands

{% if perms.mdm.change_enrolleddevice %}
{% csrf_token %}
{% endif %} {% if perms.mdm.add_devicecommand and create_command_links %}
{% endif %}
{% if commands_count %} {% for loaded_command in loaded_commands %} {% with loaded_command.db_command as command %} {% endwith %} {% endfor %}
Name Artifact Time Result time Status
{{ command.name }}{% if command.name != loaded_command.request_type %} ({{ loaded_command.request_type }}){% endif %} {% if command.artifact_version %} {% if perms.mdm.view_artifactversion %} {{ command.artifact_version }} {% else %} {{ command.artifact_version }} {% endif %} {% else %} - {% endif %} {% if command.time %} {{ command.time|date:"SHORT_DATETIME_FORMAT" }} {% else %} Queued since {{ command.created_at|date:"SHORT_DATETIME_FORMAT" }} {% endif %} {{ command.result_time|date:"SHORT_DATETIME_FORMAT"|default:"-" }} {{ command.get_status_display|default:"-" }} {% if command.result %} {% url 'mdm:download_enrolled_device_command_result' command.uuid as url %} {% button 'DOWNLOAD' url "Download Result" %} {% endif %}
{% if commands_count > 1 %}

See all commands

{% endif %} {% endif %} {% if enrollment_session_info_count %}

Enrollment session{{ enrollment_session_info_count|pluralize }} ({{ enrollment_session_info_count }})

{% include "mdm/_enrollment_session_info_list.html" %} {% endif %} {% endblock %} {% block extrajs %} {% endblock %}