概要
本說明針對負責 Email DLP 初始設定及日常管理的管理員,說明規則群組設定檔案的欄位(項目)。
透過設定檔案,您可以一次性註冊或更新 Email DLP 的設定。
有關設定檔案的建立方法及匯入步驟,請參考以下文章。
[Email DLP]匯入資料(設定檔案)建立
注意事項
- 本文章內容係根據 2026 年 5 月時的產品規格撰寫,未來可能會有變更,恕不另行通知。
- 實際畫面確認或變更設定時,需具備 Email DLP 的管理員權限。
管理員的設定方法請參考以下文章。
[Email DLP]管理員權限設定 - 關於如何存取 Email DLP 管理介面,請參考以下文章。
[Email DLP]登入管理介面的方法
項目
- 檔案格式支援 YAML 及 JSON。
- 唯一鍵為「name」(規則群組名稱)。
- 若為「更新」,上述唯一鍵所對應的資訊將會全部覆寫。
即使僅需修改部分規則,也請保留規則單位所需的資訊。
| 欄位 | 說明 |
|---|---|
| version | 請指定 1。(固定值) |
| rule_groups | 建立下方所指定的規則群組。 ※ JSON 格式請使用「AddressGroups:」。 |
| name | 指定規則群組名稱。 |
| description | 填寫規則群組的描述。 |
| rules | 建立下方所指定的規則。 |
| priority | 設定規則的優先順序。 |
| name | 指定規則名稱。 |
| description | 填寫各規則的描述。 |
| action | 建立下方所指定的動作。 |
| type |
指定 action 的類型。 ・send…送出 |
| attribute | 當 type 為 send、delete、request_approval 時,請指定「{}」。 若 type 為 suspend,僅需指定項目名稱,無需指定值。 |
| auto_release | 當 type 為 suspend 時可指定本項目。 若需自動送出,請指定 true。 若不自動送出(密碼永久有效),則無需指定值。 |
| visible_to_from_address_group | 當 type 為 suspend 時可指定本項目。 若需讓寄件者郵件地址群組成員可見,請指定 true。 若不允許寄件者郵件地址群組成員可見,則無需指定本項目。 |
| duration | 當 action 的 type 為 suspend 時,請指定暫停的時間(分鐘)。 ※ 若 auto_release 未指定值,則以密碼永久有效為優先。 |
secure_transfer |
若需以 Secure Download 傳送附件,請指定 true。 若不使用 Secure Download 傳送附件,則無需指定本項目。 |
| box_upload | 若需以 Secure Download for Box 傳送附件,請指定 true。 若不使用 Secure Download for Box 傳送附件,則無需指定本項目。 |
| encrypt | 若需加密附件,請指定 true。 若不加密附件,則無需指定本項目。 |
| forwards | 若需新增 BCC 時可指定本項目。 若不新增 BCC,則無需指定本項目。 |
| envelope_to |
指定要新增 BCC 的郵件地址。 ※ 最多可指定 5 個郵件地址。 |
各 target 可設定的 predicate 值
| target(對象) | 可設定的 predicate(條件)值 |
|---|---|
| header:to:address | ・exist ・not-exist ・match ・not-match ・exist-in-address-group |
| header:cc:address | ・exist ・not-exist ・match ・not-match ・exist-in-address-group |
| header:tocc:address | ・exist ・not-exist ・match ・not-match ・exist-in-address-group |
| header:to:domain | ・exist ・not-exist ・match ・not-match |
| header:cc:domain | ・exist ・not-exist ・match ・not-match |
| header:tocc:domain | ・exist ・not-exist ・match ・not-match |
| bcc | ・exist ・not-exist ・match ・not-match |
| header:subject | ・exist ・not-exist ・match ・not-match |
| header:<選填的標頭名稱> | ・header-exist ・header-not-exist ・match ・not-match |
| envelope:to | ・match ・not-match |
| envelope:from | ・match ・not-match ・not-approver |
| body | ・match ・not-match |
| attachment | ・attachment-exist ・attachment-not-exist ・filename-match ・content-type-match ・all-password-protected-data ・has-password-protected-data |
參考
設定檔案範例請於以下文章的「■規則群組定義」下載範例檔案。
[Email DLP]匯入用設定檔案範例