> For the complete documentation index, see [llms.txt](https://docs.keeper.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.keeper.io/keeperpam/jp/endpoint-privilege-manager/custom-tooling/jobs-and-plugins.md).

# ジョブとプラグイン

<figure><img src="https://859776093-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPL6k1aGsLiFiiJ3Y7zCl%2Fuploads%2Fgit-blob-37bbf2dcc83c0dfbc303237832ce6f8aaa5f6c7f%2Fimage%20(580).png?alt=media" alt=""><figcaption></figcaption></figure>

ジョブとプラグインは、Keeper EPMがエンドポイント上で処理を行う仕組みであり、機能を拡張する手段でもあります。本ページでは、それぞれの概要と、配下のページで取り扱う内容を紹介します。どこから読み始めるかを決める際にご活用ください。

***

## ジョブとは <a href="#what-jobs-are" id="what-jobs-are"></a>

ジョブは、Keeper EPMエージェントがエンドポイント上で実行する、名前付きの繰り返し可能な自動化処理です。ジョブは1つ以上のタスクで構成されます。タスクは、プログラムの実行、Webサービスの呼び出し、メッセージの発行といった単一のステップで、エージェントはジョブのタスクを順番に実行します。

ジョブは、トリガーが発生すると開始されます。トリガーには、イベント、エージェントの起動、スケジュール、エージェントのローカルAPIを介したオンデマンドのリクエストがあります。ジョブには条件も設定でき、特定のオペレーティングシステムの場合や、エンドポイントが特定の状態にある場合にのみ実行されるようにできます。

ジョブは短時間で完了します。ジョブのタスクは、開始して処理を行い、終了します。エージェントはその結果を記録します。エージェント自身も、MFA、正当な理由、承認プロンプトなどのポリシーコントロール、アプリケーションの昇格起動、インベントリの収集にジョブを使用しています。独自のジョブを追加すれば、スキャン、レポート、ヘルスチェック、メンテナンスタスクを、スケジュールやイベントに応じて実行できます。

## プラグインとは <a href="#what-plugins-are" id="what-plugins-are"></a>

プラグインは、エージェントの一部として動作するコンポーネントです。プラグインは常駐します。エージェントは、自身のライフサイクルの一環としてプラグインを起動し、監視し、再起動します。各プラグインは、Keeperとの通信、ポリシーの評価、ログの書き込み、ユーザーインターフェイスの表示など、1つの役割を担います。ほとんどのプラグインは製品に同梱されています。

ツールを1回実行して終了させるのではなく、常駐させてイベントに応答させる必要がある場合は、独自のプラグインを登録することもできます。

***

## ジョブとプラグインの使い分け <a href="#jobs-or-plugins" id="jobs-or-plugins"></a>

<table><thead><tr><th width="156"></th><th>ジョブ</th><th>プラグイン</th></tr></thead><tbody><tr><td><strong>実行方法</strong></td><td>開始して処理を行い、終了</td><td>エージェントの稼働中は常駐</td></tr><tr><td><strong>起動のきっかけ</strong></td><td>トリガー (イベント、起動時、スケジュール、リクエスト)</td><td>プラグインの起動設定に従ってエージェントが起動</td></tr><tr><td><strong>適した用途</strong></td><td>スキャン、レポート、チェック、メンテナンスタスク</td><td>常駐するサービスや、イベントに応答するコンポーネント</td></tr><tr><td><strong>登録に使用するファイル</strong></td><td>ジョブファイル</td><td>プラグインファイル</td></tr></tbody></table>

ジョブとプラグインは、同じ補助的な仕組みを共有しています。どちらも同じ方法でエージェントに登録され、同じ場所から設定を読み取り、MQTTトピックの権限によって送受信できるメッセージを制御します。

***

## 配下のページの内容 <a href="#what-is-on-the-pages-beneath-this-one" id="what-is-on-the-pages-beneath-this-one"></a>

### リファレンスページ <a href="#reference-pages" id="reference-pages"></a>

* [**ジョブとプラグイン: 登録**](https://docs.keeper.io/keeperpam/jp/endpoint-privilege-manager/custom-tooling/jobs-and-plugins/plugin-and-job-registration.md): エージェントがジョブファイルとプラグインファイルを検出、検証、読み込む方法
* [**ジョブとプラグイン: 設定キー**](https://docs.keeper.io/keeperpam/jp/endpoint-privilege-manager/custom-tooling/jobs-and-plugins/job-and-plugin-settings-keys.md): ジョブとプラグインを制御する設定と、エージェントが複数のソースから設定をマージする方法
* [**ジョブとプラグイン: MQTTトピックの権限**](https://docs.keeper.io/keeperpam/jp/endpoint-privilege-manager/custom-tooling/jobs-and-plugins/job-and-plugin-mqtt-topic-permissions.md): ジョブまたはプラグインが使用できるMQTTトピックを宣言する方法と、ブローカーが権限を適用する方法

### カスタムジョブガイド <a href="#custom-job-guide" id="custom-job-guide"></a>

* [**カスタムジョブガイド**](https://docs.keeper.io/keeperpam/jp/endpoint-privilege-manager/custom-tooling/jobs-and-plugins/custom-job-guide.md): 独自の実行ファイルをジョブタスクとして実行するためのステップバイステップガイド。バイナリのビルドとデプロイ、ジョブファイルの作成、MQTTを介したログ出力など
  * [**ジョブリファレンス**](https://docs.keeper.io/keeperpam/jp/endpoint-privilege-manager/custom-tooling/jobs-and-plugins/custom-job-guide/jobs-reference.md): ジョブの詳細。エージェントに同梱されるデフォルトジョブ、ジョブの定義と形式、KeeperAdminCLI実行ガイドを使ったコマンドラインからのジョブ実行など
  * [**ジョブの例**](https://docs.keeper.io/keeperpam/jp/endpoint-privilege-manager/custom-tooling/jobs-and-plugins/custom-job-guide/job-examples.md): イベントトリガー、スケジュール、起動時、プラットフォーム別の最小構成、セキュリティツールのヘルスチェックのジョブなど、すぐに使えるジョブファイルの例

### カスタムプラグインガイド <a href="#custom-plugin-guide" id="custom-plugin-guide"></a>

* [**カスタムプラグインガイド**](https://docs.keeper.io/keeperpam/jp/endpoint-privilege-manager/custom-tooling/jobs-and-plugins/custom-plugin-guide.md): 独自の実行ファイルを管理対象のプラグインとして登録するためのステップバイステップガイド。プラグインファイル、エージェントによる起動と監視の仕組み、通信方法など
  * [**プラグインリファレンス**](https://docs.keeper.io/keeperpam/jp/endpoint-privilege-manager/custom-tooling/jobs-and-plugins/custom-plugin-guide/plugins-reference.md): プラグインの詳細。プラグインとタスクの設定、プラグインがプロセスの起動を別の経路に振り向けるために使用するリダイレクト機能など
  * [**プラグインの例**](https://docs.keeper.io/keeperpam/jp/endpoint-privilege-manager/custom-tooling/jobs-and-plugins/custom-plugin-guide/plugin-examples.md): プラットフォーム別の最小構成、MQTTでのコマンドとレスポンス、手動起動、Redirect Evaluator、Windows Install Launcherなど、すぐに使えるプラグインファイルの例

***

## どこから始めるか <a href="#where-to-start" id="where-to-start"></a>

* スケジュール、起動時、イベントに応じて処理を実行する場合は、[**カスタムジョブガイド**](https://docs.keeper.io/keeperpam/jp/endpoint-privilege-manager/custom-tooling/jobs-and-plugins/custom-job-guide.md)から始めます。
* エージェントと並行して常駐するコンポーネントを実行する場合は、[**カスタムプラグインガイド**](https://docs.keeper.io/keeperpam/jp/endpoint-privilege-manager/custom-tooling/jobs-and-plugins/custom-plugin-guide.md)から始めます。
* 正確なフィールド、設定、デフォルト値を調べる場合は、リファレンスページと[**ジョブリファレンス**](https://docs.keeper.io/keeperpam/jp/endpoint-privilege-manager/custom-tooling/jobs-and-plugins/custom-job-guide/jobs-reference.md)、[**プラグインリファレンス**](https://docs.keeper.io/keeperpam/jp/endpoint-privilege-manager/custom-tooling/jobs-and-plugins/custom-plugin-guide/plugins-reference.md)をご利用ください。
* そのまま使える出発点が必要な場合は、[**ジョブの例**](https://docs.keeper.io/keeperpam/jp/endpoint-privilege-manager/custom-tooling/jobs-and-plugins/custom-job-guide/job-examples.md)と[**プラグインの例**](https://docs.keeper.io/keeperpam/jp/endpoint-privilege-manager/custom-tooling/jobs-and-plugins/custom-plugin-guide/plugin-examples.md)をご利用ください。

[**カスタムツール**](https://docs.keeper.io/keeperpam/jp/endpoint-privilege-manager/custom-tooling.md)をまだお読みでない場合は、先にお読みください。主要な用語の定義と、各要素のつながりを確認できます。


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.keeper.io/keeperpam/jp/endpoint-privilege-manager/custom-tooling/jobs-and-plugins.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
