---
schema_version: "1"
id: dd4649f55f3ef978a0c72f5f5bde7c5f36d61c7a92a8f137c3a8c7d465c899fe
title: ポリシーの適用
collection: mulesoft
version: current
locale: ja-jp
portal_url: https://docs.salesforce.com/mulesoft/current/ja-jp/mule-gateway/policies-included-apply.md
canonical_url: https://docs.mulesoft.com/jp/mule-gateway/policies-included-apply
source_site: docs.mulesoft.com
content_type: documentation
content_hash: fb2aab52e8f8a1b57d11b7d6419102acb51cdc99d2cda3f3155a8cce80ace282
description: MuleSoft Documentation Site
latest: true
---
# ポリシーの適用

Mule ゲートウェイでは、​**API Manager**​ を介して内部ポリシーを適用します。次の手順でこの方法を示します。

ポリシーは、API 全体 (デフォルト) または API の特定のメソッドやリソースに適用できます。

<table>
<tbody><tr>
<td class="icon">
<i class="fa icon-note" title="Note"></i>
</td>
<td class="content">
<div class="paragraph">
<p>Mule ゲートウェイでポリシーを適用するには、自動検出によって API にリンクされている ​<a href="https://docs.mulesoft.com/jp/http-connector/1.10/http-listener-ref" class="xref page">HTTP ベースまたは HTTPS ベースのフロー</a>​を使用して、最初に Mule アプリケーションがデプロイされている必要があります。</p>
</div>
</td>
</tr>
</tbody></table>

ポリシーを適用する手順は次のとおりです。

1. **\[Anypoint Platform\] > \[API Manager\]**​ に移動します。
2. **\[API Administration (API 管理)\]**​ で、ポリシーを適用する API の名前をクリックします。
3. 左側のナビゲーションメニューから、​**\[Policies (ポリシー)\]**​ をクリックします。
4. **\[+ Add policy (+ ポリシーを追加)\]**​ をクリックします。
5. 適用するポリシーを選択します。
6. 必須の設定パラメーターを設定します。
    
    ポリシー設定パラメーターについては、​[「内部ポリシーディレクトリ」](https://docs.mulesoft.com/jp/mule-gateway/policies-included-directory)​を参照してください。
7. **\[Apply (適用)\]**​ をクリックします。