Already a NinjaOne customer? Log in to view more guides and the latest updates.

NinjaOne Patching: Apple macOS Patching Policy Setup

reviewed by Ian Crego

Topic

This article discusses operating system (OS) patching for Apple macOS in NinjaOne and explains how to activate, configure, and view patching activity. For more information about software patching, refer to NinjaOne Patching: Software Patching for Apple macOS.

Environment

  • NinjaOne Patching
  • macOS

Description

NinjaOne Patching enables you to create patching policies that automatically scan for and apply new OS patches for your macOS devices.

Select a topic to continue.

Important Considerations

NinjaOne supports OS patching on macOS Catalina and later. Consider the following notes before proceeding:

  • Installing macOS updates requires a local account credential. On Apple silicon devices, the account must be a volume owner. See Patching Credential Requirements.
  • If the credential is missing or invalid, all approved patches fail, and an activity appears in the device’s Activity feed.
  • If an approved update requires a restart, NinjaOne installs it only after the policy’s reboot settings allow a reboot (for example, after the user accepts the prompt or the scheduled time arrives). The restart is part of the installation.
  • While a restart is pending, NinjaOne doesn’t run scans or install other patches on the device. Scans and installs resume after the device restarts.

Patching Credential Requirements

Due to enhanced Apple security, applying macOS patches requires a local account with volume owner (secure token) permissions. You can add secure token permissions to either a standard user or an administrator account. Refer to Apple's Use secure token, bootstrap token, and volume ownership in deployments article (external link) to learn more.

To check the secure token status of accounts on a device, or to grant secure token permissions to an account, refer to NinjaOne Endpoint Management: Secure Token Automation Scripts.

Configure the Default Credential

Follow these steps to configure your local account with volume owner permissions as the default credential:

  1. In NinjaOne, navigate to Administration → Organizations → Organizations. Select an organization.
  2. Click Credentials, then click Add Credential.
organization_add credential.png
Figure 1: Credentials → Add Credential (click to enlarge)
  1. In the New Credential window, select the credential type. The option you choose will affect what type of data you are required to provide in the next steps.
new credential_select type.png
Figure 2: Select credential type (click to enlarge)
  1. Enter the credentials for the local account that has secure token permissions, then click Add.
  2. Open the Defaults tab in the Credentials section. Click the macOS Patching drop-down menu and select your new credential. When finished, click Save.
credentials_defaults_mac script.png
Figure 3: Select credential default for macOS scripts (click to enlarge)

Enabling OS Patch Management

Activating OS patching in a policy enables NinjaOne to scan the devices in that policy for OS patches and apply them.

  1. In NinjaOne, navigate to Administration → Policies, then select a macOS policy from the Agent policies list.
3OO Mac_Nav.png
Figure 4: Administration → Policies → Agent policies (click to enlarge)
  1. On the policy's configuration page, click OS patching, then activate the Enable OS patching toggle.
macOS_Patching_Enable.png
Figure 5: OS patching → Enable OS patching (click to enlarge)

Configuring OS Patching Settings

The Settings tab includes options for scheduling scans and updates, enabling end user self service, rebooting devices, and approving patches. When you finish your configuration, click Save to apply the new settings.

macOS_Patching_Settings.png
Figure 6: Patching configuration settings (click to enlarge)

General Settings Explained

Use the table below to learn more about each setting.

SettingDescription
Scan schedule

These settings determine when the NinjaOne agent scans devices for available patches.

  • Schedule: Use the drop-down menu to select the scan frequency.
  • Days of the week: If your scan interval is longer than daily, select the days of the week on which scans run. Scans run only on the days you select. If you do not select any days, an error message appears.
  • Day of the month: If you select a monthly schedule, use the drop-down menu to select the day of the month on which scans run.
  • Time and Time zone: Select the time of day and the appropriate time zone to perform the scan. By default, scans start at 8 a.m. local device time. This default applies only to new policies.
  • Stagger over: Set a stagger interval to distribute scan start times across your devices and avoid simultaneous scans. For more information about the Stagger feature, refer to NinjaOne Patch Management: Load Balancing Patch Installations With the Stagger feature.
  • Duration: Set the maximum amount of time for the agent to run an action before stopping. This setting applies to both scheduled and manually initiated actions.
  • Run scan immediately, if missed: Select this checkbox to run a scan as soon as possible after a device misses its scheduled scan.
Update schedule

These settings specify when NinjaOne should apply the updates it finds when scanning.

  • Schedule: Use the drop-down menu to select the update frequency.
  • Days of the week: If your update schedule is longer than daily, select the days of the week on which updates run. Updates run only on the days you select. If you do not select any days, an error message appears.
  • Time and Time zone: Select the time of day and the appropriate time zone to perform the update. By default, updates start at 5 p.m. local device time. This default applies only to new policies.
  • Stagger over: Set a stagger interval to distribute patch installation times across your devices and avoid simultaneous updates. For more information about the Stagger feature, refer to NinjaOne Patch Management: Load Balancing Patch Installations With the Stagger feature.
  • Duration: Set the maximum amount of time for the agent to run an action before stopping. This setting applies to both scheduled and manually initiated actions.
  • Run update immediately, if missed: Select this checkbox to run an update as soon as possible after a device misses its scheduled update.
  • Maintenance mode: Select this checkbox to prevent NinjaOne from sending alerts caused by actions occurring during the update (such as device reboots). You can refine this setting by selecting the Suppress condition alerts and Suppress notification channels checkboxes. For more information about Maintenance Mode, refer to NinjaOne Endpoint Management: Maintenance Mode.
Self serviceActivate the Enable end users to apply OS patches via the end user portal toggle to enable end users to apply OS patches from the end user portal.
Reboot options

These settings enable you to specify reboot behavior after NinjaOne patches a device. You can configure settings for when any user is logged in and for when no users are logged in. A Reboot prompt schedule summary below the options describes the behavior of the option you select. If an end user interacts with a reboot prompt, an activity appears in the device's Activity feed. For more information about the device activity feed, refer to NinjaOne Endpoint Management: Device and System Activity Notification Feed.

Reboot options: when any user is logged in

Configure the following settings:

  • Prompt on interval until accepted: The NinjaOne agent displays a reboot prompt immediately after patching completes, then repeats it at the configured interval until the end user accepts. The device does not reboot until the end user accepts the prompt, unless you select Force reboot after.
    • Use Prompt interval and Unit to set how often the prompt reappears.
    • Select the Force reboot after checkbox to set the number of prompts before the NinjaOne agent reboots the device automatically. After the final prompt, the end user receives a 5-minute warning before the reboot.
    • Select the Custom reboot dialog checkbox to replace the default prompt with your own text.
  • Notify once, then reboot: The NinjaOne platform sends the end user a single notification with a countdown timer, then reboots the device automatically when the timer expires. Use Time before reboot and Unit to set the time interval before the reboot starts. For more information about notification channels and alerts, refer to NinjaOne Endpoint Management: Notification Channels and Alerts.
  • Reboot without notification: The NinjaOne agent reboots the device after a configured delay, with no prompt or notification to the end user. Use Delay before reboot and Unit to set the amount of time the agent waits before rebooting the device.

Reboot options: when no users are logged in

Configure the following settings:

  • On schedule, retry if needed: The NinjaOne agent keeps trying to reboot the device, even if a reboot fails, until the reboot completes. Use the following options to set the frequency of reboot attempts:
    • Reboot schedule: Use the drop-down menu to select the reboot frequency.
    • Time and Time zone: Select the time of day and the appropriate time zone to perform the reboot.
  • Reboot immediately: The NinjaOne agent reboots the device immediately after patching completes.
General approvals

For macOS, NinjaOne specifies two patch categories:

  • Critical: Patches associated with a known CVE.
  • Unassigned: All other patches.

The current approval setting for each category appears next to its name. To change the settings, click Edit. Each patch category has the following approval options: Approve, Manual, and Reject.

  • Approve: This option automatically approves all patches for that category for installation in the next update cycle.
  • Manual: When found, patches in this category will appear as pending and require manual approval or rejection (either for the device or the entire policy).
  • Reject: This option automatically rejects all patches for that category, so NinjaOne will not install them on the device.
Approval overridesYou can approve or reject specific patches regardless of the category approval setting. A summary shows how many patches you have approved and rejected. Click Edit to open the Overrides list, then search for the patch names. Use the second drop-down menu to Auto-approve or Reject the selected patches.

Pending Reboots

If a patch requires a reboot that you have not yet performed on a device, the NinjaOne platform displays a Pending reboot icon. To learn more about pending reboots, refer to Pending Reboots.

While a reboot is pending, NinjaOne does not scan for or apply patches on that device. To resume scanning and applying patches, reboot the device.

Viewing Patch Scan and Installation Attempts

NinjaOne provides multiple ways to view patches installed on your system, patches pending installation, or patches that failed to install.

Viewing by Status in NinjaOne Dashboard

You can view patches found and patches installed in the System dashboard's Patching → OS patches tab. Use the flyout menu to filter by patch status.

MacOSPatching_PatchStatus.png
Figure 7: Dashboard → Patching → OS patches (click to enlarge)

Viewing Patches by Release Date

Check the Release date column to learn the patch release date. If the manufacturer does not provide the release date, NinjaOne will use the first detected date instead.

Viewing Applicable Devices for a Patch

At the System or Organization dashboard level, you can click the number in the Devices column to list the devices to which the patch status applies. For example, clicking the number for a patch in the Approved tab shows the devices for which it is approved (but not yet installed).

Manually Scanning for or Applying Updates

You can run a manual patching cycle at any time.

On a Single Device

You can run a manual patch scan and update cycle on demand from any endpoint. To do so, navigate to the Device overview, move your cursor over the Actions button, and select Patching → OS scan (to scan for new patches) or Patching → OS update (to apply existing patches).

MacOS_Patching_SingleDeviceScanAndUpdate.png
Figure 8: Actions button → Patching → OS scan and update (click to enlarge)

On Multiple Devices

Before you scan and apply patches on multiple devices, confirm the following requirements:

  • The devices must be the same type.
  • You must activate OS patching for the policy that governs the device.
  • Selected devices must be online.
Procedure
  1. In the Devices tab, select the checkboxes for the devices on which to run the scan and update cycle.
  2. Move your cursor over the Run button, then select Patching → OS scan (to scan for new patches) or Patching → OS update (to apply existing patches). The OS patching status appears at the device level. If you have patches set to approve or reject manually, you can take those actions from the Device overview.
MacOS_Patching_MultiDeviceScanAndUpdate.png
Figure 9: Run button → Patching → OS scan and update (click to enlarge)

Additional Resources

To learn more about patching on macOS devices, refer to the following articles:

FAQ

Next Steps