> 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/getting-started/how-plugins-and-settings-work.md). Agents can also search and read this documentation through its [MCP server](https://docs.keeper.io/~gitbook/mcp).

# プラグインと設定の仕組み

<figure><img src="https://859776093-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FPL6k1aGsLiFiiJ3Y7zCl%2Fuploads%2Fgit-blob-afc68df68a39ce7dae589519ca558a0e580174af%2Fhow-plugins-and-settings-work1.png?alt=media" alt=""><figcaption></figcaption></figure>

各エンドポイント上のKeeper EPMエージェントは、サービスとプラグイン群で構成されます。サービスがすべてを稼働させ、各プラグインは、Keeperとの通信、ポリシーの評価、ログの書き込み、ユーザーインターフェースの表示といった役割を1つずつ担います。設定を変更すると、再インストールせずに動作を調整できます。本ページでは、プラグインと設定の両方を取り扱います。

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

プラグインは、エージェントのサービスと並行して動作するコンポーネントです。プラグインは製品の一部であり、個別にインストールする必要はありません。サービスがプラグインを起動し、監視します。

<table><thead><tr><th width="188">プラグイン</th><th width="456.199951171875">機能</th><th>プラットフォーム</th></tr></thead><tbody><tr><td>KeeperApi</td><td>登録、ポリシーの同期、レポートのために、Keeperバックエンドと通信</td><td>Windows、macOS、Linux</td></tr><tr><td>KeeperPolicy</td><td>エンドポイント上でポリシーを評価し、許可、拒否、またはMFA、承認、正当な理由の要求を判断</td><td>Windows、macOS、Linux</td></tr><tr><td>Logger</td><td>指定したレベル、保持期間、保存場所でエージェントのログを書き込み</td><td>Windows、macOS、Linux</td></tr><tr><td>Keeper Privilege Manager (KeeperClient)</td><td>システムトレイのアイコンとパネル。通知とユーザー操作を提供</td><td>Windows、macOS、Linux</td></tr><tr><td>Keeper User Session Manager</td><td>昇格したアプリケーションを実行する一時アカウントの作成と管理</td><td>Windows</td></tr><tr><td>PAM Module</td><td>エンドポイント上でポリシーを適用し、昇格、承認、監査を調整</td><td>macOS、Linux</td></tr><tr><td>System Extension</td><td>プロセスとファイルのアクティビティを監視および制御するために必要な、オペレーティングシステムのフックをエージェントに提供</td><td>macOS</td></tr></tbody></table>

MFA、正当な理由、承認を求めるウィンドウなど、その他のコンポーネントは、これらのプラグインと連携して動作します。詳しくは、[ジョブとタスクの仕組み](https://docs.keeper.io/keeperpam/jp/endpoint-privilege-manager/getting-started/how-jobs-and-tasks-work.md)をご参照ください。

上の表は、コアプラグインです。すべてを網羅したものではありません。以下のプラグインは、ジョブと昇格を実行します。

<table><thead><tr><th width="176">プラグイン</th><th width="466.2000732421875">機能</th><th>プラットフォーム</th></tr></thead><tbody><tr><td>JobService</td><td>スケジュールおよびイベント駆動のジョブを実行</td><td>Windows、macOS、Linux</td></tr><tr><td>KeeperRunAs</td><td>昇格の第1段階。昇格リクエストを受け取り、第2段階を開始</td><td>Windows、macOS、Linux</td></tr><tr><td>KeeperRunElevated</td><td>昇格の第2段階。承認されたアプリケーションを昇格した状態で起動</td><td>Windows</td></tr><tr><td>RedirectEvaluator</td><td>昇格リクエストを代替のアプリケーションにリダイレクトするかどうかを判断</td><td>Windows、macOS、Linux</td></tr></tbody></table>

すべてのプラグインについては、[プラグインリファレンス](https://docs.keeper.io/keeperpam/jp/endpoint-privilege-manager/custom-tooling/jobs-and-plugins/custom-plugin-guide/plugins-reference.md)をご参照ください。

### 信頼されたコンポーネントのみ <a href="#trusted-components-only" id="trusted-components-only"></a>

エージェントの制御インターフェースは、エンドポイント内にとどまります。プラグインは、サービスや他のプラグインとローカルで通信し、エージェントは、コマンドを受け付ける前に、呼び出し元が信頼されたKeeperコンポーネントであることを確認します。これにより、プラグインになりすましたりエージェントを制御したりしようとする他のプログラム (ローカルユーザーが実行するプログラムを含む) から、エージェントを保護します。詳しくは、[セキュリティの仕組み](https://docs.keeper.io/keeperpam/jp/endpoint-privilege-manager/getting-started/how-security-works.md)をご参照ください。

### プラグインを管理する必要はあるか <a href="#do-you-need-to-manage-plugins" id="do-you-need-to-manage-plugins"></a>

通常の運用では、必要ありません。サービスが、必要なプラグインを起動して監視します。設定を変更した場合は、反映のためにプラグインまたはサービスの再起動が必要になることがあります。

## 独自のプラグイン <a href="#your-own-plugins" id="your-own-plugins"></a>

Keeperの標準機能にない動作を追加するために、独自のプラグインを作成できます。たとえば、エージェントを環境内のシステムに接続できます。独自のプラグインは、Keeperのプラグインと並行して動作し、同じサービスによって管理されます。構築とデプロイの方法については[カスタムプラグインガイド](https://docs.keeper.io/keeperpam/jp/endpoint-privilege-manager/custom-tooling/jobs-and-plugins/custom-plugin-guide.md)、Windows、macOS、Linuxの動作サンプルについては[プラグインの例](https://docs.keeper.io/keeperpam/jp/endpoint-privilege-manager/custom-tooling/jobs-and-plugins/custom-plugin-guide/plugin-examples.md)をご参照ください。デフォルトでは、エージェントはKeeperが署名したプラグインのみを読み込むため、独自のプラグインを実行するには、その署名証明書を明示的に信頼する必要があります。詳しくは、[セキュリティ強化](https://docs.keeper.io/keeperpam/jp/endpoint-privilege-manager/deployment/deployment-reference/security-hardening.md)をご参照ください。

## 設定とは <a href="#what-settings-are" id="what-settings-are"></a>

設定は、エージェントとそのプラグインの動作を制御します。設定には2つのレベルがあります。

### プラグイン設定 <a href="#plugin-settings" id="plugin-settings"></a>

各プラグインには、独自のオプションがあります。例:

* KeeperPolicy: ローカルポート、メッセージングトピック、タイムアウト、レート制限、一致するポリシーがない場合に管理者にポリシーを適用するかどうか
* KeeperApi: バックエンドのアドレスと、エージェントが同期する頻度
* Logger: ログレベル、ファイルの保存場所、保持期間、ローテーション

### グローバル設定 <a href="#global-settings" id="global-settings"></a>

グローバル設定は、エージェント全体に適用されます。ポート (HTTP、HTTPS、メッセージング)、ストレージとプラグインの場所、ログレベルなどが含まれます。エージェントの `appsettings.json` ファイルで管理されます。

## 設定の変更場所 <a href="#where-you-change-settings" id="where-you-change-settings"></a>

管理コンソールを使用してください。これにより、デプロイグループ内のすべてのエージェントに同じ設定が適用され、個々のエンドポイント上でファイルを編集する必要がなくなります。プラグイン設定は、プラグイン更新ポリシーで配信します。詳しくは、[プラグイン更新](https://docs.keeper.io/keeperpam/jp/endpoint-privilege-manager/policies/policy-types/advanced-policy-types/update-settings-policy-type.md)をご参照ください。設定の一覧については、[構成設定](https://docs.keeper.io/keeperpam/jp/endpoint-privilege-manager/custom-tooling/configuration-settings.md)をご参照ください。

### 例: RedirectEvaluatorプラグインの更新 <a href="#example-updating-the-redirectevaluator-plugin" id="example-updating-the-redirectevaluator-plugin"></a>

このプラグイン更新ポリシーは、すべてのマシン上のRedirectEvaluatorプラグインに、新しい設定を送信します。プラグインのリダイレクトルールにより、リスクのある起動を、より安全な代替に振り向けます。たとえば、昇格リクエストが `rundll32.exe` を `ncpa.cpl` 付きで起動する場合、ユーザーにはKeeper Network Connectionsが表示されます。

```json
{
	"PolicyName": "0009-Update RedirectEvaluator Settings",
	"PolicyType": "SettingsUpdate",
	"PolicyId": "7l8cdJePktdGTpNR_p_jHA",
	"Status": "enforce",
	"Actions": {
		"OnSuccess": {
			"Controls": []
		},
		"OnFailure": {
			"Command": ""
		}
	},
	"NotificationMessage": "Plugin settings have been updated.",
	"NotificationRequiresAcknowledge": false,
	"RiskLevel": 50,
	"Operator": "And",
	"UserCheck": [
		"*"
	],
	"MachineCheck": [
		"*"
	],
	"ApplicationCheck": [
		"*"
	],
	"DayCheck": [],
	"DateCheck": [],
	"TimeCheck": [],
	"CertificationCheck": [],
	"Extension": {
		"PluginName": "RedirectEvaluator",
		"Action": "Update",
		"SettingsJson": {
			"id": "RedirectEvaluator",
			"name": "Redirect Evaluator",
			"description": "Evaluates launch redirect rules for privilege elevation.",
			"version": "1.0.0",
			"pluginType": "Executable",
			"executablePath": "../Jobs/bin/RedirectEvaluator/RedirectEvaluator.exe",
			"debugExecutablePath": "../../../../../Jobs/RedirectEvaluator/bin/Debug/net8.0/RedirectEvaluator.exe",
			"arguments": "--baseurl {KeeperApiBaseUrl}",
			"supportedPlatforms": [
				"Windows",
				"Linux",
				"macOS"
			],
			"startupPriority": 0,
			"autoStart": false,
			"executionContext": "Service",
			"requiresMonitoring": false,
			"Subscription": {
				"Topic": "RedirectEvaluator"
			},
			"modifiedAt": "2026-02-17T00:00:00Z",
			"metadata": {
				"mqttRole": [
					"publisher"
				],
				"mqttTopics": {
					"subscribe": [],
					"publish": [
						"KeeperLogger"
					]
				},
				"redirect": {
					"enabled": true,
					"rules": [
						{
							"sourceExePattern": "rundll32\\.exe",
							"commandLinePattern": "ncpa\\.cpl",
							"elevationOnly": true,
							"nonAdminOnly": false,
							"targetExe": "Keeper.NetworkConnections",
							"targetArguments": ""
						},
						{
							"sourceExePattern": "Notepad\\.exe",
							"commandLinePattern": "WindowsApps",
							"elevationOnly": true,
							"nonAdminOnly": false,
							"targetExe": "C:\\\\Windows\\\\System32\\\\notepad.exe",
							"targetArguments": ""
						},
						{
							"sourceExePattern": "WindowsTerminal\\.exe",
							"commandLinePattern": ".*",
							"elevationOnly": true,
							"nonAdminOnly": false,
							"targetExe": "C:\\\\Windows\\\\System32\\\\cmd.exe",
							"targetArguments": ""
						},
						{
							"sourceExePattern": "pwsh\\.exe",
							"commandLinePattern": ".*",
							"elevationOnly": true,
							"nonAdminOnly": false,
							"targetExe": "C:\\\\Windows\\\\System32\\\\WindowsPowerShell\\\\v1.0\\\\powershell.exe",
							"targetArguments": ""
						}
					]
				}
			}
		}
	}
}
```

ポリシーの読み方:

* PolicyType: `SettingsUpdate` は、プラグイン更新ポリシーのタイプです。
* Status: `enforce` は、ポリシーを適用します。
* UserCheck、MachineCheck、ApplicationCheck: 更新を受け取る対象です。`*` はすべてを意味します。コレクションに置き換えると、段階的にロールアウトできます。
* Extension: `PluginName` は変更するプラグイン、`Action` は `Update`、`SettingsJson` はプラグインの設定です。
* metadata.redirect.rules: 各ルールは、`sourceExePattern` でプログラムを、`commandLinePattern` でそのコマンドラインを照合し、`targetExe` で置き換え先を指定します。

### 設定の復元 <a href="#reverting-settings" id="reverting-settings"></a>

変更が想定どおりに動作しない場合は、プラグインの設定を、最後の構成プッシュ時の値またはデフォルト値に戻せます。これにより、エージェントは意図した構成を再び取得します。具体的な操作は、コンソールのバージョンによって異なります。

## 関連ページ <a href="#related-pages" id="related-pages"></a>

* [プラグインリファレンス](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/plugins-reference/plugin-and-task-settings.md)
* [ジョブとタスクの仕組み](https://docs.keeper.io/keeperpam/jp/endpoint-privilege-manager/getting-started/how-jobs-and-tasks-work.md)
* [セキュリティの仕組み](https://docs.keeper.io/keeperpam/jp/endpoint-privilege-manager/getting-started/how-security-works.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/getting-started/how-plugins-and-settings-work.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.
