> ## Documentation Index
> Fetch the complete documentation index at: https://docs.iru.com/llms.txt
> Use this file to discover all available pages before exploring further.

# CrowdStrike を Custom App として展開する

> Iru Endpoint で CrowdStrike Falcon センサーをカスタムアプリとして Mac コンピュータに展開します。インストーラをパッケージ化し、カスタマー ID を追加して、拡張機能を承認します。

<Callout icon="apple" color="#B84A7A" iconType="regular">このガイドは Mac コンピュータに適用されます</Callout>

### 前提条件

<Warning>
  Crowdstrike の Firmware Analysis 機能を使用する場合、Intel ベースの Mac コンピュータでは KEXT バージョンの Crowdstrike 設定プロファイルが必要です。Firmware Analysis を使用しない場合は、以下の非 KEXT バージョンのカスタム設定を使用することをお勧めします。
</Warning>

* ベンダーから入手した CrowdStrike インストーラ(Hosts > Sensor Downloads)
* Crowdstrike カスタム設定
  * **すべての Mac アーキテクチャ**
    * macOS 15 (Sequoia) 以降([GitHub リンク](https://github.com/kandji-inc/support/blob/main/custom-apps/crowdstrike/crowdstrike_settings_macOS15.mobileconfig))
  * **Apple Silicon**
    * すべての macOS バージョン([GitHub リンク](https://github.com/kandji-inc/support/blob/main/custom-apps/crowdstrike/crowdstrike_settings.mobileconfig))
  * **Intel(KEXT あり)**
    * すべての macOS バージョン([GitHub リンク](https://github.com/kandji-inc/support/blob/main/custom-apps/crowdstrike/crowdstrike_settings_with_kext.mobileconfig))
* CrowdStrike サービス管理プロファイル
  * macOS 13 (Ventura) 以降([GitHub リンク](https://github.com/kandji-inc/support/blob/main/custom-apps/crowdstrike/crowdstrike_service_management.mobileconfig))
* CrowdStrike 監査スクリプト([GitHub リンク](https://github.com/kandji-inc/support/blob/main/custom-apps/crowdstrike/crowdstrike_falcon_ae_script.zsh))
* CrowdStrike ポストインストールスクリプト([GitHub リンク](https://github.com/kandji-inc/support/blob/main/custom-apps/crowdstrike/crowdstrike_falcon_postinstall_script.zsh))

### 考慮事項

* **CrowdStrike 設定プロファイル**は、ネットワークコンテンツフィルタ、Kernel Extension、System Extension、PPPC、および Web フィルタリングの要件について CrowdStrike を承認します。このプロファイルは、Kernel Extension を使用する旧 Falcon エージェントと、System Extension を使用する最新バージョンの両方に対応しています
  * **crowdstrike\_settings\_macOS15** と **crowdstrike\_settings** の両方のプロファイルを、[Assignment Maps を使用して展開する](/ja/endpoint/library/deployment-guides/apple/deploy-crowdstrike-as-a-custom-app#deploying-with-assignment-maps)セクションの手順に従って正しく割り当てて展開する必要があります
* **CrowdStrike サービス管理プロファイル**は、必要なログイン項目とバックグラウンドプロセスを処理します
* 必要に応じて、**レガシー System Extension (KEXT) 設定プロファイル**を [GitHub](https://github.com/kandji-inc/support/blob/main/custom-apps/crowdstrike/crowdstrike_settings_with_kext.mobileconfig) からダウンロードしてください
  * このプロファイルは、Kernel Extension を使用する Falcon エージェントと、System Extension を使用する新しいバージョンの両方をサポートします
  * KEXT ペイロードは、Intel ベースの Mac コンピュータで CrowdStrike Firmware Analysis 機能を使用する場合にのみ必要です
* インストールされている特定の CrowdStrike 製品とバージョンによって、アプリのパス、プライバシーアクセス設定、Kernel Extension または System Extension の要件が異なる場合があることに注意してください。他の Custom App と同様に、本番環境の Mac に展開する前に十分にテストすることを強くお勧めします

### Custom Profile を追加して構成する

<Note>
  Crowdstrike Falcon のサービス管理プロファイルは、macOS 13 Ventura 以降に対応しています。macOS Monterey 12 以前では、サービス管理プロファイルがこれらのデバイスに割り当てられないように、Assignment Map を使用した高度なスコープ設定が必要です。Assignment Maps での Crowdstrike の展開について詳しくは、[Assignment Maps を使用して展開する](/ja/endpoint/library/deployment-guides/apple/deploy-crowdstrike-as-a-custom-app#deploying-with-assignment-maps)セクションを参照してください。
</Note>

この Library Item を Iru Endpoint Library に追加するには、[Library の概要](/ja/endpoint/library/library-items-profiles/library-overview)の記事に記載されている手順に従ってください。

<Steps>
  <Step title="プロファイルに名前を付ける">
    Custom Profile に **名前** を付けます。
  </Step>

  <Step title="プラットフォームを選択する">
    **インストール先** で Mac を選択します。
  </Step>

  <Step title="Blueprint に割り当てる">
    目的の [Blueprints](/ja/endpoint/getting-started/blueprints-and-library/configuring-blueprints) に割り当てます。
  </Step>

  <Step title="設定プロファイルをアップロードする">
    CrowdStrike 設定プロファイル(またはレガシー System Extension (KEXT) 設定プロファイル)をアップロードします。

    <Frame>
      <img src="https://mintcdn.com/iru/gptx2MM5S_bBcDGe/assets/media/images/iru-crowdstrike-settings-mobileconfig-custom-profile.png?fit=max&auto=format&n=gptx2MM5S_bBcDGe&q=85&s=f598dc88847016ddf03e09e6f9485e75" alt="crowdstrike_settings.mobileconfig がアップロードされた Custom Profile" width="2480" height="1534" data-path="assets/media/images/iru-crowdstrike-settings-mobileconfig-custom-profile.png" />
    </Frame>
  </Step>

  <Step title="プロファイルを保存する">
    **保存** を選択します。
  </Step>

  <Step title="追加のプロファイルを作成する">
    **crowdstrike\_settings\_macOS15** および **crowdstrike\_service\_management** プロファイルについて、このセクションの前の手順を繰り返します。
  </Step>
</Steps>

### Custom App を追加して構成する

この Library Item を Iru Endpoint Library に追加するには、[Library の概要](/ja/endpoint/library/library-items-profiles/library-overview)の記事に記載されている手順に従ってください。

<Steps>
  <Step title="Custom App に名前を付ける">
    Custom App に **名前** を付けます。必要に応じて、カスタムアイコンを追加します。
  </Step>

  <Step title="Blueprint に割り当てる">
    目的の [Blueprints](/ja/endpoint/getting-started/blueprints-and-library/configuring-blueprints) に割り当てます。
  </Step>

  <Step title="インストールタイプを設定する">
    **Installation** を Audit and Enforce に変更します。
  </Step>

  <Step title="監査スクリプトを構成する">
    [前提条件](/ja/endpoint/library/deployment-guides/apple/deploy-crowdstrike-as-a-custom-app#prerequisites)の crowdstrike\_ae\_script.zsh スクリプトをコピーして、**Audit & Enforce** テキストボックスに貼り付けます。変更は不要です。

    <Frame>
      <img src="https://mintcdn.com/iru/gptx2MM5S_bBcDGe/assets/media/images/iru-crowdstrike-custom-app-audit-enforce.png?fit=max&auto=format&n=gptx2MM5S_bBcDGe&q=85&s=617f9f60b6478b6490d95ac093f61b9a" alt="CrowdStrike 用の Custom App の Audit and enforce スクリプト" width="2760" height="1262" data-path="assets/media/images/iru-crowdstrike-custom-app-audit-enforce.png" />
    </Frame>
  </Step>

  <Step title="展開タイプを選択する">
    展開タイプとして Installer **Package (install .pkg or .mpkg)** を選択します。
  </Step>

  <Step title="インストーラをアップロードする">
    インストーラパッケージをアップロードします。
  </Step>

  <Step title="ポストインストールスクリプトを構成する">
    [前提条件](/ja/endpoint/library/deployment-guides/apple/deploy-crowdstrike-as-a-custom-app#prerequisites)に記載されている **Postinstall Script** を貼り付けます。

    * ポストインストールスクリプトで、55 行目の **customerIDChecksum** 変数をカスタマー ID で更新します
    * 必要に応じて、59 行目の **installToken** 変数内にインストールトークンを貼り付けます。それ以外の場合は空白のままにします

    <Frame>
      <img src="https://mintcdn.com/iru/gptx2MM5S_bBcDGe/assets/media/images/iru-crowdstrike-custom-app-postinstall.png?fit=max&auto=format&n=gptx2MM5S_bBcDGe&q=85&s=938b9e6692565e969f0a6315527347d8" alt="CrowdStrike FalconSensorMacOS.pkg 用の Custom App ポストインストールスクリプト" width="2768" height="2146" data-path="assets/media/images/iru-crowdstrike-custom-app-postinstall.png" />
    </Frame>
  </Step>

  <Step title="Custom App を保存する">
    **保存** を選択します。
  </Step>
</Steps>

### Assignment Maps を使用して展開する

Crowdstrike の Custom Profile のうち 4 つは、正しいデバイスに展開されるように条件ロジックが必要です。Assignment Map を使用すると、すべてのデバイスを 1 つの便利なビューで簡単に管理できます。

[Blueprint の作成](/ja/endpoint/getting-started/blueprints-and-library/configuring-blueprints)および [Blueprint での条件ロジックの使用](/ja/endpoint/blueprints/assignment-maps/using-conditional-logic-in-blueprints)の記事を確認してください。

<Steps>
  <Step title="基本の条件ブロックを作成する">
    **For All devices on this Blueprint** 条件ブロックから始めます。
  </Step>

  <Step title="Custom App を割り当てる">
    **Crowdstrike** Custom App をブロックに割り当てます。

    複数の Custom Apps が必要な場合は、インストーラの異なるバージョンごとの条件を持つ条件ブロックを作成します。
  </Step>

  <Step title="macOS 15 以降の条件を設定する">
    条件ブロックの上部を **If** **macOS is greater than or equal to 15.0** に設定します。
  </Step>

  <Step title="macOS 15 以降の設定プロファイルを割り当てる">
    **crowdstrike\_settings\_macOS15** Custom Profile を条件ブロックに割り当てます。
  </Step>

  <Step title="Apple Silicon の条件を設定する">
    条件ブロックの上部を **If** **Chip type is Apple Silicon** に設定します。
  </Step>

  <Step title="Apple Silicon 用の設定プロファイルを割り当てる">
    **crowdstrike\_settings** Custom Profile を条件ブロックに割り当てます。
  </Step>

  <Step title="Intel の条件を設定する">
    下部の条件ブロックを **else if Chip type is Intel** に設定します。
  </Step>

  <Step title="Intel KEXT 設定プロファイルを割り当てる">
    **crowdstrike\_settings\_with\_kext** Custom Profile を条件ブロックに割り当てます。
  </Step>

  <Step title="macOS 13 以降の条件を設定する">
    条件ブロックの上部を **If macOS is greater than or equal to 13.0** に設定します。
  </Step>

  <Step title="サービス管理プロファイルを割り当てる">
    **crowdstrike\_service\_management** Custom Profile を条件ブロックに割り当てます。

    <Frame>
      <img src="https://mintcdn.com/iru/gptx2MM5S_bBcDGe/assets/media/images/iru-crowdstrike-assignment-map-conditional.png?fit=max&auto=format&n=gptx2MM5S_bBcDGe&q=85&s=7927e82608bf5b22b2b5d43c36dfdeba" alt="macOS バージョンとチップタイプによる CrowdStrike の条件ロジックを含む Assignment Map" width="5450" height="1776" data-path="assets/media/images/iru-crowdstrike-assignment-map-conditional.png" />
    </Frame>
  </Step>
</Steps>
