Sensitive Data Protection 可協助您瞭解、管理及保護機密資料。有了 Sensitive Data Protection,您就能輕鬆分類及遮蓋文字內容和圖片中的機密資料,包括儲存在Google Cloud 儲存空間存放區中的內容。
文字分類
如果是下列的文字輸入:
Please update my records with the following information: Email address: foo@example.com National Provider Identifier: 1245319599 Driver's license: AC333991
輸出是發現項目清單,分成下列類別:
InfoTypeLikelihoodOffset(在字串中找到潛在InfoType的位置)
輸出的範例如下表所示。
InfoType |
Likelihood |
Offset |
|---|---|---|
US_HEALTHCARE_NPI |
VERY_LIKELY |
122 |
EMAIL_ADDRESS |
LIKELY |
72 |
US_DRIVERS_LICENSE_NUMBER |
LIKELY |
155 |
CANADA_BC_PHN |
VERY_UNLIKELY |
122 |
UK_TAXPAYER_REFERENCE |
VERY_UNLIKELY |
122 |
CANADA_PASSPORT |
VERY_UNLIKELY |
155 |
自動遮蓋文字
自動遮蓋產生的輸出,即是將與機密資料相符的內容移除,而不是提供發現項目的清單。
自動遮蓋的輸入範例如下:
Please update my records with the following information: Email address: foo@example.com National Provider Identifier: 1245319599 Driver's license: AC333991
使用 "***" 預留位置的輸出範例:
Please update my records with the following information: Email address: *** National Provider Identifier: *** Driver's license: ***
圖片分類
Sensitive Data Protection 會先使用光學字元辨識 (OCR) 技術辨識文字,再進行分類。和文字分類的做法類似,Cloud DLP 會傳回發現項目,但也會在找到的文字處加入定界框。
儲存空間分類
儲存空間分類會掃描儲存在 Cloud Storage、Datastore 模式 Firestore (Datastore) 和 BigQuery 中的資料。您不必將資料串流至 Sensitive Data Protection,只要在要求中指定 Cloud Storage bucket、Datastore 種類或 BigQuery 資料表的儲存位置,Sensitive Data Protection 就會掃描該位置。
掃描 Cloud Storage 位置中的檔案時,Sensitive Data Protection 支援掃描二進位、文字、圖片、Microsoft Word、Microsoft Excel、Microsoft PowerPoint、PDF 和 Apache Avro 檔案。如要查看 Sensitive Data Protection 可掃描的 Cloud Storage 檔案類型副檔名清單,請前往 FileType 的 API 參考資料頁面。系統會將無法辨識的檔案類型視為二進位檔案進行掃描。
掃描結果可以儲存至新的 BigQuery 資料表,或發布至 Pub/Sub 主題。接著,您可以使用內建的 BigQuery 工具執行豐富的 SQL 數據分析,或使用數據分析等工具產生報表。
如要進一步瞭解如何使用 Sensitive Data Protection 掃描儲存空間存放區中的私密資料,請參閱「檢查儲存空間與資料庫內私密資料」。
如要進一步瞭解如何使用其他 Google Cloud工具,以視覺化方式呈現掃描結果,請參閱「分析及回報 Sensitive Data Protection 發現項目」。
後續步驟
- 進一步瞭解圖片檢查和遮蓋。
- 瞭解可搭配 Sensitive Data Protection 使用的轉換方法。
- 完成「使用 Sensitive Data Protection 遮蓋機密資料」程式碼實驗室。
- 進一步瞭解如何建立去識別化的儲存空間資料副本。