{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":[]},"type":"markdown"},"seo":{"title":"Tanium Distribution","description":"Control the power of AI Agents in runtime.","llmstxt":{"hide":false,"sections":[{"title":"Table of contents","includeFiles":["**/*"],"excludeFiles":[]}],"excludeFiles":[]}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"tanium-distribution","__idx":0},"children":["Tanium Distribution"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Deploy Capsule Security hooks for AI coding assistants across your fleet using Tanium. This guide covers deployment for Cursor, Windsurf, GitHub Copilot, and Claude Code on both Windows and macOS using Tanium Deploy packages."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"prerequisites","__idx":1},"children":["Prerequisites"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Access to the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Tanium Console"]}," with administrative privileges"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Tanium Deploy"]}," module enabled"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["A ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Capsule Security"]}," account with admin access"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Target endpoints managed by Tanium"]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"cursor","__idx":2},"children":["Cursor"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Deploy the Cursor hooks configuration using a Tanium Deploy package."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"step-1-download-the-configuration","__idx":3},"children":["Step 1: Download the Configuration"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Log in to the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Capsule Security"]}," portal"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Navigate to ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Settings > Integrations"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Locate the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Cursor"]}," integration"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Download the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["hooks.json"]}," file"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"windows-deployment","__idx":4},"children":["Windows Deployment"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Log in to the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Tanium Console"]}]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Navigate to ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Tanium Deploy > Packages"]}]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Click ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Create Package"]}," and configure:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Name"]},": Capsule Security – Cursor Hooks (Windows)"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Description"]},": Deploys Capsule Security hooks configuration for Cursor"]}]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Upload the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["hooks.json"]}," file to the package files"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Set the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Command"]}," to run the following script:"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"cmd","header":{"controls":{"copy":{}}},"source":"cmd.exe /c mkdir \"C:\\ProgramData\\Cursor\" & copy /Y \"hooks.json\" \"C:\\ProgramData\\Cursor\\hooks.json\"\n","lang":"cmd"},"children":[]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Create a ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Deployment"]},":"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Navigate to ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Tanium Deploy > Deployments"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Click ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Create Deployment"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Select the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Capsule Security – Cursor Hooks (Windows)"]}," package"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Target the appropriate ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Computer Groups"]}," or use a Tanium question to filter endpoints"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Configure the schedule:",{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Type"]},": Single or Recurring"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Restart required"]},": No"]}]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Deploy"]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"macos-deployment","__idx":5},"children":["macOS Deployment"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Navigate to ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Tanium Deploy > Packages"]}]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Click ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Create Package"]}," and configure:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Name"]},": Capsule Security – Cursor Hooks (macOS)"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Description"]},": Deploys Capsule Security hooks configuration for Cursor on macOS"]}]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Upload the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["hooks.json"]}," file to the package files"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Set the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Command"]}," to run the following script:"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"bash","header":{"controls":{"copy":{}}},"source":"#!/bin/bash\nHOOKS_DIR=\"/Library/Application Support/Cursor\"\nmkdir -p \"$HOOKS_DIR\"\ncp hooks.json \"$HOOKS_DIR/hooks.json\"\nchmod 644 \"$HOOKS_DIR/hooks.json\"\nexit 0\n","lang":"bash"},"children":[]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Create a ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Deployment"]}," targeting macOS endpoints using the appropriate Computer Groups"]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"verification","__idx":6},"children":["Verification"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["After deployment, restart Cursor on target devices, then:"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Open Cursor Settings"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Navigate to the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Hooks"]}," tab"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Confirm the hooks are listed and enabled"]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"windsurf","__idx":7},"children":["Windsurf"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Deploy the Windsurf hooks configuration using a Tanium Deploy package."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"step-1-download-the-configuration-1","__idx":8},"children":["Step 1: Download the Configuration"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Log in to the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Capsule Security"]}," portal"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Navigate to ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Settings > Integrations"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Locate the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Windsurf"]}," integration"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Download the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["hooks.json"]}," file"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"windows-deployment-1","__idx":9},"children":["Windows Deployment"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Log in to the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Tanium Console"]}]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Navigate to ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Tanium Deploy > Packages"]}]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Click ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Create Package"]}," and configure:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Name"]},": Capsule Security – Windsurf Hooks (Windows)"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Description"]},": Deploys Capsule Security hooks configuration for Windsurf"]}]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Upload the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["hooks.json"]}," file to the package files"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Set the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Command"]}," to run the following script:"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"cmd","header":{"controls":{"copy":{}}},"source":"cmd.exe /c mkdir \"C:\\ProgramData\\Windsurf\" & copy /Y \"hooks.json\" \"C:\\ProgramData\\Windsurf\\hooks.json\"\n","lang":"cmd"},"children":[]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Create a ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Deployment"]},":"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Navigate to ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Tanium Deploy > Deployments"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Click ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Create Deployment"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Select the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Capsule Security – Windsurf Hooks (Windows)"]}," package"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Target the appropriate ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Computer Groups"]}," or use a Tanium question to filter endpoints"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Configure the schedule:",{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Type"]},": Single or Recurring"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Restart required"]},": No"]}]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Deploy"]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"macos-deployment-1","__idx":10},"children":["macOS Deployment"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Navigate to ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Tanium Deploy > Packages"]}]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Click ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Create Package"]}," and configure:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Name"]},": Capsule Security – Windsurf Hooks (macOS)"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Description"]},": Deploys Capsule Security hooks configuration for Windsurf on macOS"]}]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Upload the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["hooks.json"]}," file to the package files"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Set the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Command"]}," to run the following script:"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"bash","header":{"controls":{"copy":{}}},"source":"#!/bin/bash\nHOOKS_DIR=\"/Library/Application Support/Windsurf\"\nmkdir -p \"$HOOKS_DIR\"\ncp hooks.json \"$HOOKS_DIR/hooks.json\"\nchmod 644 \"$HOOKS_DIR/hooks.json\"\nexit 0\n","lang":"bash"},"children":[]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Create a ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Deployment"]}," targeting macOS endpoints using the appropriate Computer Groups"]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"verification-1","__idx":11},"children":["Verification"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["After deployment, restart Windsurf on target devices, then:"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Open Windsurf Settings"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Navigate to the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Hooks"]}," tab"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Confirm the hooks are listed and enabled"]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"github-copilot","__idx":12},"children":["GitHub Copilot"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Deploy the GitHub Copilot hooks configuration using a Tanium Deploy package."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"step-1-download-the-configuration-2","__idx":13},"children":["Step 1: Download the Configuration"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Log in to the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Capsule Security"]}," portal"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Navigate to ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Settings > Integrations"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Locate the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["GitHub Copilot"]}," integration"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Download the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["hooks.json"]}," file"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"windows-deployment-2","__idx":14},"children":["Windows Deployment"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Log in to the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Tanium Console"]}]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Navigate to ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Tanium Deploy > Packages"]}]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Click ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Create Package"]}," and configure:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Name"]},": Capsule Security – GitHub Copilot Hooks (Windows)"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Description"]},": Deploys Capsule Security hooks configuration for GitHub Copilot in VS Code"]}]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Upload the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["hooks.json"]}," file to the package files"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Set the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Command"]}," to run the following PowerShell script:"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"powershell","header":{"controls":{"copy":{}}},"source":"$userProfiles = Get-ChildItem \"C:\\Users\" -Directory | Where-Object { $_.Name -notin @('Public', 'Default', 'Default User') }\n\nforeach ($profile in $userProfiles) {\n    $hooksDir = Join-Path $profile.FullName \"AppData\\Roaming\\Code\\User\\hooks\"\n    if (-not (Test-Path $hooksDir)) {\n        New-Item -ItemType Directory -Path $hooksDir -Force | Out-Null\n    }\n    Copy-Item -Path \"hooks.json\" -Destination \"$hooksDir\\hooks.json\" -Force\n}\n\nWrite-Output \"Capsule hooks configuration deployed successfully.\"\nexit 0\n","lang":"powershell"},"children":[]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Create a ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Deployment"]},":"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Navigate to ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Tanium Deploy > Deployments"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Click ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Create Deployment"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Select the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Capsule Security – GitHub Copilot Hooks (Windows)"]}," package"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Target the appropriate ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Computer Groups"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Deploy"]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"macos-deployment-2","__idx":15},"children":["macOS Deployment"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Navigate to ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Tanium Deploy > Packages"]}]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Click ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Create Package"]}," and configure:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Name"]},": Capsule Security – GitHub Copilot Hooks (macOS)"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Description"]},": Deploys Capsule Security hooks configuration for GitHub Copilot on macOS"]}]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Upload the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["hooks.json"]}," file to the package files"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Set the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Command"]}," to run the following script:"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"bash","header":{"controls":{"copy":{}}},"source":"#!/bin/bash\nfor USER_HOME in /Users/*/; do\n    USERNAME=$(basename \"$USER_HOME\")\n    if [ \"$USERNAME\" = \"Shared\" ] || [ \"$USERNAME\" = \".localized\" ]; then\n        continue\n    fi\n    HOOKS_DIR=\"$USER_HOME/Library/Application Support/Code/User/hooks\"\n    mkdir -p \"$HOOKS_DIR\"\n    cp hooks.json \"$HOOKS_DIR/hooks.json\"\n    chmod 644 \"$HOOKS_DIR/hooks.json\"\n    chown \"$USERNAME\" \"$HOOKS_DIR/hooks.json\"\ndone\nexit 0\n","lang":"bash"},"children":[]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Create a ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Deployment"]}," targeting macOS endpoints using the appropriate Computer Groups"]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"verification-2","__idx":16},"children":["Verification"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["After deployment, restart VS Code on target devices, then:"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Right-click in the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Chat"]}," view and select ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Diagnostics"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Confirm the hooks are loaded and enabled"]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"claude-code","__idx":17},"children":["Claude Code"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Deploy the Claude Code managed settings configuration using a Tanium Deploy package."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"step-1-download-the-configuration-3","__idx":18},"children":["Step 1: Download the Configuration"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Log in to the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Capsule Security"]}," portal"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Navigate to ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Settings > Integrations"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Locate the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Claude Code"]}," integration"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Click ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Install"]}," and select your target platform"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Download the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["managed-settings.json"]}," file"]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"windows-deployment-3","__idx":19},"children":["Windows Deployment"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Log in to the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Tanium Console"]}]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Navigate to ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Tanium Deploy > Packages"]}]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Click ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Create Package"]}," and configure:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Name"]},": Capsule Security – Claude Code Hooks (Windows)"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Description"]},": Deploys Capsule Security managed settings for Claude Code"]}]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Upload the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["managed-settings.json"]}," file to the package files"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Set the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Command"]}," to run the following script:"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"cmd","header":{"controls":{"copy":{}}},"source":"cmd.exe /c mkdir \"C:\\Program Files\\ClaudeCode\" & copy /Y \"managed-settings.json\" \"C:\\Program Files\\ClaudeCode\\managed-settings.json\"\n","lang":"cmd"},"children":[]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Create a ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Deployment"]},":"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Navigate to ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Tanium Deploy > Deployments"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Click ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Create Deployment"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Select the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Capsule Security – Claude Code Hooks (Windows)"]}," package"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Target the appropriate ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Computer Groups"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Deploy"]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"macos-deployment-3","__idx":20},"children":["macOS Deployment"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Navigate to ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Tanium Deploy > Packages"]}]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Click ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Create Package"]}," and configure:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Name"]},": Capsule Security – Claude Code Hooks (macOS)"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Description"]},": Deploys Capsule Security managed settings for Claude Code on macOS"]}]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Upload the ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["managed-settings.json"]}," file to the package files"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Set the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Command"]}," to run the following script:"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"bash","header":{"controls":{"copy":{}}},"source":"#!/bin/bash\nSETTINGS_DIR=\"/Library/Application Support/ClaudeCode\"\nmkdir -p \"$SETTINGS_DIR\"\ncp managed-settings.json \"$SETTINGS_DIR/managed-settings.json\"\nchmod 644 \"$SETTINGS_DIR/managed-settings.json\"\nexit 0\n","lang":"bash"},"children":[]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Create a ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Deployment"]}," targeting macOS endpoints using the appropriate Computer Groups"]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"verification-3","__idx":21},"children":["Verification"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["After deployment, restart Claude Code on target devices, then:"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Run ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["/hooks"]}," in Claude Code to confirm all hooks are listed"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Start a session and verify events appear in the Capsule Security portal"]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"monitoring-deployments","__idx":22},"children":["Monitoring Deployments"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["After deploying packages, monitor status in the Tanium Console:"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Navigate to ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Tanium Deploy > Deployments"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Select the relevant deployment"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Review the deployment status:",{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Complete"]},": Configuration successfully deployed"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Pending"]},": Deployment waiting for endpoint check-in"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Failed"]},": Review error details and retry"]}]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["You can also use ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Tanium Interact"]}," to ask questions across your fleet to verify deployment:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Windows (Cursor): ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Get File Exists[C:\\ProgramData\\Cursor\\hooks.json] from all machines"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Windows (Windsurf): ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Get File Exists[C:\\ProgramData\\Windsurf\\hooks.json] from all machines"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Windows (Claude Code): ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Get File Exists[C:\\Program Files\\ClaudeCode\\managed-settings.json] from all machines"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["macOS (Cursor): ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Get File Exists[/Library/Application Support/Cursor/hooks.json] from all machines"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["macOS (Windsurf): ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Get File Exists[/Library/Application Support/Windsurf/hooks.json] from all machines"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["macOS (Claude Code): ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["Get File Exists[/Library/Application Support/ClaudeCode/managed-settings.json] from all machines"]}]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"key-considerations","__idx":23},"children":["Key Considerations"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Tanium packages run as SYSTEM (Windows) or root (macOS) by default"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Cursor"]},", ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Windsurf"]},", and ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Claude Code"]}," use system-level paths — deploy to ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Device"]}," computer groups"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["GitHub Copilot"]}," uses user-level paths — the deployment scripts iterate over all user profiles to cover each user on the endpoint"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["For GitHub Copilot CLI users, create an additional package targeting ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["%USERPROFILE%\\.github\\hooks\\hooks.json"]}," (Windows) or ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["~/.github/hooks/hooks.json"]}," (macOS)"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Use Tanium Computer Groups or saved questions to target specific OS versions or departments"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["All four integrations can be deployed as separate packages and assigned independently"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["For recurring enforcement, configure deployments with a recurring schedule"]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"support","__idx":24},"children":["Support"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["For help with deployment:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Email"]},": support@capsule.security"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Include"]},": Your organization ID, Tanium environment details, and any error messages"]}]},{"$$mdtype":"Tag","name":"hr","attributes":{},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"references","__idx":25},"children":["References"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"a","attributes":{"href":"https://docs.tanium.com/deploy/deploy/index.html"},"children":["Tanium Deploy User Guide"]}]}]}]},"headings":[{"value":"Tanium Distribution","id":"tanium-distribution","depth":1},{"value":"Prerequisites","id":"prerequisites","depth":2},{"value":"Cursor","id":"cursor","depth":2},{"value":"Step 1: Download the Configuration","id":"step-1-download-the-configuration","depth":3},{"value":"Windows Deployment","id":"windows-deployment","depth":3},{"value":"macOS Deployment","id":"macos-deployment","depth":3},{"value":"Verification","id":"verification","depth":3},{"value":"Windsurf","id":"windsurf","depth":2},{"value":"Step 1: Download the Configuration","id":"step-1-download-the-configuration-1","depth":3},{"value":"Windows Deployment","id":"windows-deployment-1","depth":3},{"value":"macOS Deployment","id":"macos-deployment-1","depth":3},{"value":"Verification","id":"verification-1","depth":3},{"value":"GitHub Copilot","id":"github-copilot","depth":2},{"value":"Step 1: Download the Configuration","id":"step-1-download-the-configuration-2","depth":3},{"value":"Windows Deployment","id":"windows-deployment-2","depth":3},{"value":"macOS Deployment","id":"macos-deployment-2","depth":3},{"value":"Verification","id":"verification-2","depth":3},{"value":"Claude Code","id":"claude-code","depth":2},{"value":"Step 1: Download the Configuration","id":"step-1-download-the-configuration-3","depth":3},{"value":"Windows Deployment","id":"windows-deployment-3","depth":3},{"value":"macOS Deployment","id":"macos-deployment-3","depth":3},{"value":"Verification","id":"verification-3","depth":3},{"value":"Monitoring Deployments","id":"monitoring-deployments","depth":2},{"value":"Key Considerations","id":"key-considerations","depth":2},{"value":"Support","id":"support","depth":2},{"value":"References","id":"references","depth":2}],"frontmatter":{"seo":{"title":"Tanium Distribution"}},"lastModified":"2026-04-02T14:39:28.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/guides/mdm-tanium","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}