# URLパターンとリソースURLパターン

## 概要

本セクションでは、PAMリモートブラウザレコードの以下のPAM設定項目について取り扱います。

* URLパターン
* リソースURLパターン

## URLパターンとリソースURLパターン

「許可されたURLパターン」および「許可されたリソースURLパターン」パラメータで使用できるURLパターンの形式は一般的なURLと同じで、どのURLが使用可能かを厳密に指定します。パターンは以下の基準に従って適用されます。

* パターンから省略された部分は無視され (必須条件として適用されません)、スキームが指定されている場合は標準ポート番号が指定されたものと見なされます。
* ドメイン名には「特定のドメインの任意のサブドメイン」を示すために \*. ワイルドカードを使用できます。
* パスには \* ワイルドカードを使用して任意の値が許可されることを示すことができます。
* パスの末尾に \* ワイルドカードを使用すると、そのパスの任意のサブパスが許可されることを示します。
* ポート番号の代わりに \* ワイルドカードを使用すると、任意のポートが許可されることを示します。

以下はパターンの例となります。

<table><thead><tr><th width="284.25">パターン</th><th>意味</th></tr></thead><tbody><tr><td><code>accounts.google.com</code></td><td>任意のプロトコルおよび任意のパスに関する、ドメイン<code>accounts.google.com</code>へのリクエストを許可します。リクエストは、関与するプロトコルの標準ポートに対して行われる必要があります。</td></tr><tr><td><code>*.youtube.com</code></td><td>任意のプロトコルおよび任意のパスに関する、<code>youtube.com</code>の任意のサブドメインへのリクエストを許可します。リクエストは、関与するプロトコルの標準ポートに対して行われる必要があります。</td></tr><tr><td><code>http://10.10.10.10:8080</code></td><td>ポート8080を使用し、HTTP (HTTPSではなく) で<code>10.10.10.10</code>へのリクエストを任意のパスで許可します。</td></tr><tr><td><code>10.10.10.10:*</code></td><td>任意のプロトコルおよび任意のパスを使用して、任意のポートで<code>10.10.10.10</code>へのリクエストを許可します。</td></tr><tr><td><code>https://example.net/foo</code></td><td>HTTPS (HTTPではなく) を使用し、パス「/foo」に対する<code>example.net</code>へのリクエストを許可します。リクエストは、HTTPSの標準ポートに対して行われる必要があります。</td></tr><tr><td><code>https://example.net/foo/*</code></td><td>HTTPS (HTTPではなく) を使用し、パス「/foo」の下の任意のパスに対する<code>example.net</code>へのリクエストを許可します。リクエストは、HTTPSの標準ポートに対して行われる必要があります。</td></tr><tr><td><code>google.com</code></td><td><code>google.com</code>のルートドメインからの任意のプロトコルやパスを許可しますが、サブドメインは許可しません。</td></tr></tbody></table>

次のページでは自動入力機能について取り扱います。


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.keeper.io/keeperpam/jp/privileged-access-manager/remote-browser-isolation/setting-up-rbi/url-patterns-and-resource-url-patterns.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
