> For the complete documentation index, see [llms.txt](https://docs.flosum.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.flosum.com/data-migrator/data-migrator-ja/tenpurto/tenpurtodezain/frudohenodtamasukinguno.md).

# フィールドへのデータマスキングの適用

## ![](https://1278659608-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvaxzColPOlNbsq4imqpd%2Fuploads%2FcfMTqg4Brbm9baWutclZ%2FSummary2-Small-Icon.svg?alt=media\&token=d1cf162d-c02d-4184-988e-7f7350e450fc) 概要

この記事では、データマスキングとは何か、また機密データが移行先の組織に移行されないように特定のフィールドにどのように適用するかを説明します。データマスキングは、実際の顧客情報を絶対に公開してはならないサンドボックスやテスト環境で役立ちます。フィールドを選択的にマスクすることで、チームはデータプライバシー要件への準拠を確保しながら、検証用の現実的なデータ構造を維持できます。

### データマスキングの仕組み

データマスキングは、移行中にフィールドの値をランダム化されたデータに置き換えます。マスキング処理は次の手順で行われます。

1. レコードはソース組織から取得されます。
2. データマスキングが **有効な** フィールドの場合、値は同じフィールドタイプのランダムに生成された値に、正しい形式で置き換えられます。
3. データマスキングが **無効な** フィールドの場合、元の値は変更されません。
4. マスクされたフィールドを含むレコードは、移行先組織に展開されます。

{% hint style="info" %}
マスキングは移行中に動的に実行され、データが移行先環境に書き込まれる前に発生します。マスクされたフィールドでは、元の値はソースデータから派生しないランダム化された値に置き換えられるため、元の値を特定することはできません。
{% endhint %}

### データマスクの状態

下の表には、さまざまなデータマスク状態アイコンと、それぞれの説明が示されています。

<table><thead><tr><th width="160.33331298828125">状態</th><th width="80.33331298828125">アイコン</th><th>説明</th></tr></thead><tbody><tr><td><strong>マスクなし</strong></td><td><img src="https://1278659608-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvaxzColPOlNbsq4imqpd%2Fuploads%2FC3SG98ZpzVUvfwiB57aS%2FAppyingDataMasking-State-Unmasked.png?alt=media&amp;token=531af0de-3fb6-4a85-a8e7-a383e1b2b886" alt=""></td><td>このフィールドのソースデータが移行されます。</td></tr><tr><td><strong>マスク済み</strong></td><td><img src="https://1278659608-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvaxzColPOlNbsq4imqpd%2Fuploads%2FtFFa2XcoU6u0AUwAjy2d%2FAppyingDataMasking-State-Masked.png?alt=media&amp;token=b9cd5b0e-632d-4c76-bdff-f17f8d8ddf10" alt=""></td><td>このフィールドのマスクされたデータが移行されます。</td></tr><tr><td><strong>マスク不可</strong></td><td><img src="https://1278659608-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvaxzColPOlNbsq4imqpd%2Fuploads%2F5kt9c3BeBEQMSNCD04Ot%2FAppyingDataMasking-State-Non-Maskable.png?alt=media&amp;token=385a6f47-882d-4cb7-899b-01004a6261f1" alt=""></td><td>このフィールドのデータはマスクできず、このフィールドのソースデータは常に移行されます。</td></tr></tbody></table>

## データマスキングを適用

{% stepper %}
{% step %}

### テンプレートを選択

1. クリック **テンプレート** を左側のサイドバーメニューから選択します。
2. データマスキングを追加するテンプレートをクリックします。

   <div align="left"><figure><img src="https://1278659608-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvaxzColPOlNbsq4imqpd%2Fuploads%2FI6U0hz6jUb55uBCTi2xH%2FAppyingDataMasking-S01-01.png?alt=media&amp;token=a60d6468-dde0-4743-a18b-14e7366fcad7" alt="" width="563"><figcaption></figcaption></figure></div>

{% endstep %}

{% step %}

### データマスキングを適用

1. データマスキングを適用するオブジェクトをクリックします。

   <div align="left"><figure><img src="https://1278659608-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvaxzColPOlNbsq4imqpd%2Fuploads%2FzIcwfE7pFXAuaSfbGW82%2FAppyingDataMasking-S02-01.png?alt=media&amp;token=90885798-3945-4b2a-9a7b-3bd56630b1f4" alt="" width="563"><figcaption></figcaption></figure></div>
2. 次の **目** アイコンをクリックして、マスクするフィールドを選択します。

   <div align="left"><figure><img src="https://1278659608-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvaxzColPOlNbsq4imqpd%2Fuploads%2FDF6r3GKVJ1jCbjnac09L%2FAppyingDataMasking-S02-02.png?alt=media&amp;token=ebf6acd1-f232-44fe-b92f-85faabae4fc4" alt="" width="563"><figcaption></figcaption></figure></div>

{% hint style="info" %}
各 **データマスクの状態** アイコンの説明については、上記の **目** セクションを参照してください。
{% endhint %}

3. クリック **マスキングを追加**.

   <div align="left"><figure><img src="https://1278659608-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvaxzColPOlNbsq4imqpd%2Fuploads%2FddcjXekRvKGMNjoB9R6o%2FAppyingDataMasking-S02-03.png?alt=media&amp;token=55c445f9-9663-4410-bcb6-ae7dcdae312d" alt="" width="563"><figcaption></figcaption></figure></div>
4. 次の **データマスキング方式** ドロップダウンメニュー。
5. 使用するマスキング方式を選択します。

   <div align="left"><figure><img src="https://1278659608-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvaxzColPOlNbsq4imqpd%2Fuploads%2Fav5shlYyGeSDfl8h6y9P%2FAppyingDataMasking-S02-04.png?alt=media&amp;token=aa0a2a43-a5d4-402b-a393-6f3c16758a9e" alt="" width="563"><figcaption></figcaption></figure></div>

{% hint style="info" %}
現在、使用できるマスキング方式は **ランダム**のみです。この方式では、移行時にマスク用のランダムデータを生成します。
{% endhint %}

6. クリック **戻る**。なお、 **X** をクリックするとデータマスクは破棄されます。

   <div align="left"><figure><img src="https://1278659608-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvaxzColPOlNbsq4imqpd%2Fuploads%2FtHvxWeJTmccf2h8v3aTM%2FAppyingDataMasking-S02-05.png?alt=media&amp;token=039afbe0-6401-44c3-9681-b07ae06288ac" alt="" width="563"><figcaption></figcaption></figure></div>
7. データマスク状態アイコンは、このフィールドが現在マスクされていることを示します。
8. クリック **保存** は、すべてのデータマスクを適用した後にクリックします。

   <div align="left"><figure><img src="https://1278659608-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvaxzColPOlNbsq4imqpd%2Fuploads%2FgLYhC4c1ZujnH0Hz9fpH%2FAppyingDataMasking-S02-06.png?alt=media&amp;token=d5333427-fb7d-48a4-a415-d068f7042ca0" alt="" width="563"><figcaption></figcaption></figure></div>

{% endstep %}

{% step %}

### データマスキングを削除

1. データマスキングを削除するオブジェクトをクリックします。

   <div align="left"><figure><img src="https://1278659608-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvaxzColPOlNbsq4imqpd%2Fuploads%2FIWn05uNeL4hCgixE6Mal%2FAppyingDataMasking-S03-01.png?alt=media&amp;token=8ff46232-c6b7-4e2e-93c9-c19c4ed4e117" alt="" width="563"><figcaption></figcaption></figure></div>
2. 次の **目** データマスキングを削除するフィールドのアイコンをクリックします。

   <div align="left"><figure><img src="https://1278659608-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvaxzColPOlNbsq4imqpd%2Fuploads%2FpPBVi5sfyOfx6cO5cEiz%2FAppyingDataMasking-S03-02.png?alt=media&amp;token=949d7e70-4af6-4540-9b23-7dc9977706d9" alt="" width="563"><figcaption></figcaption></figure></div>
3. 次の **削除** マスキング方式の右側にあるアイコン。

   <div align="left"><figure><img src="https://1278659608-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvaxzColPOlNbsq4imqpd%2Fuploads%2Fj272oPAoUcz6wW6aeiKB%2FAppyingDataMasking-S03-03.png?alt=media&amp;token=6db974fe-e1ae-4daa-9441-21c6fe59b6a4" alt="" width="563"><figcaption></figcaption></figure></div>
4. クリック **戻る**。なお、 **X** はデータマスクを変更しません。

   <div align="left"><figure><img src="https://1278659608-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvaxzColPOlNbsq4imqpd%2Fuploads%2FRKELUhae4qsZfM9KCKvV%2FAppyingDataMasking-S03-04.png?alt=media&amp;token=c4155021-c503-4240-8fd2-8786aa1c4e21" alt="" width="563"><figcaption></figcaption></figure></div>
5. データマスク状態アイコンは、このフィールドが現在マスク解除されていることを示します。
6. クリック **保存** 目的のデータマスクを削除したら、

   <div align="left"><figure><img src="https://1278659608-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvaxzColPOlNbsq4imqpd%2Fuploads%2FBslLabMXSrk4qlcF7faV%2FAppyingDataMasking-S03-05.png?alt=media&amp;token=403adbc1-5635-4d05-abf3-320997abb4b9" alt="" width="563"><figcaption></figcaption></figure></div>

{% endstep %}

{% step %}

### テンプレートを保存

フィールドへのデータマスキングの適用または削除が完了したら：

1. クリック **テンプレートを保存** して変更を保存します。

   <div align="left"><figure><img src="https://1278659608-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvaxzColPOlNbsq4imqpd%2Fuploads%2FpJCYO051RUNiHvGvST9a%2FAppyingDataMasking-S04-01.png?alt=media&amp;token=7592baaa-9da0-435d-9420-324f3b3fa6d7" alt="" width="563"><figcaption></figcaption></figure></div>

{% endstep %}
{% endstepper %}


---

# 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.flosum.com/data-migrator/data-migrator-ja/tenpurto/tenpurtodezain/frudohenodtamasukinguno.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.
