For the complete documentation index, see llms.txt. This page is also available as Markdown.

NinjaOne Deployment (macOS)

Overview

Deploy Akto Endpoint Shield to macOS endpoints from NinjaOne using a script directly stored in NinjaOne Automation Library (Option A).

Replace placeholder values before rollout:

  • <AKTO_MACOS_PKG_URL>

Prerequisites

  • NinjaOne admin access with script and policy permissions

  • macOS device policy in NinjaOne

  • Akto-hosted macOS package URL (.pkg)

  • Pilot device group for staged rollout

Deployment Steps

1

Create the macOS automation script

In NinjaOne:

  1. Go to Administration → Library → Automation

  2. Click Add and choose Script

  3. Configure:

    • Language: ShellScript

    • OS: macOS

    • Run As: System

  4. Save as: Akto Endpoint Shield - macOS Install

2

Use this script content

Download direct script file:

Show script
#!/bin/bash
set -euo pipefail

PKG_URL="<AKTO_MACOS_PKG_URL>"
PKG_PATH="/tmp/akto-endpoint-shield.pkg"

echo "[Akto] Downloading package..."
curl -fsSL "$PKG_URL" -o "$PKG_PATH"

echo "[Akto] Installing package..."
installer -pkg "$PKG_PATH" -target /

echo "[Akto] Installation script finished."

If you use customer-specific signed packages, keep one package URL per tenant/version.

3

Attach to policy and schedule

  1. Open target macOS policy

  2. Add a Scheduled Script

  3. Select Akto Endpoint Shield - macOS Install

  4. Schedule:

    • Pilot: immediate run

    • Production: daily

  5. Save policy

4

Validate on endpoint

Run on a test Mac:

ls -l /usr/local/bin/akto-endpoint-shield
launchctl list | grep -i akto-endpoint-shield || true

Expected:

  • /usr/local/bin/akto-endpoint-shield exists

  • Akto launch services appear for logged-in users

Troubleshooting

Script exits early

  • Confirm script runs as System

  • Verify download from <AKTO_MACOS_PKG_URL> succeeds

  • Confirm the package is signed and valid for managed installs

Binary missing after run

  • Re-run script on pilot endpoint

  • Check NinjaOne script output logs for install-stage failure

Support

  1. In-app Intercom in Akto dashboard

  2. support@akto.io

Last updated