共用方式為


自訂敏感性資訊類型篩選參照

在 Microsoft Purview 中,您可以在 SIT) 建立自定義敏感性資訊類型 (定義篩選或其他檢查。

提示

如果您不是 E5 客戶,請使用 90 天Microsoft Purview 解決方案試用版來探索其他 Purview 功能如何協助貴組織管理數據安全性與合規性需求。 立即從 Microsoft Purview 試用中樞開始。 瞭解 有關註冊和試用版條款的詳細數據

支援的篩選和使用案例清單

AllDigitsSame Exclude

描述:可讓您排除所有數位為重複數位的相符專案,例如111111111或 111-111-111

定義篩選:

<Filters id="ssn_filters">
    <Filter type="AllDigitsSameFilter"></Filter>
</Filters>

在實體層級的規則套件中使用它:

<Entity id="50842eb7-edc8-4019-85dd-5a5c1f2bb085" patternsProximity="300" recommendedConfidence="85"  filters="ssn_filters">
      <Pattern confidenceLevel="85">
        <IdMatch idRef="Func_ssn" />
      </Pattern>
</Entity>

在模式層級的規則套件中使用它:

<Entity id="50842eb7-edc8-4019-85dd-5a5c1f2bb085" patternsProximity="300" recommendedConfidence="85">
      <Pattern confidenceLevel="85"  filters="ssn_filters">
        <IdMatch idRef="Func_ssn" />
      </Pattern>
</Entity>

TextMatchFilter StartsWith

描述:可讓您定義實體的開始字元。 它有兩個變體: 排除包含

例如,若要 排除 清單中從 0500、91、091、010 開始的數位,如下所示:

  • 0500-4500-027
  • 91564721450
  • 91-8523697410
  • 700-8956-7844
  • 1000-3265-9874
  • 0100-7892-3012

您可以使用下列 XML:

<Filters id="phone_number_filters_exc">
    <Filter type="TextMatchFilter" direction="StartsWith" logic="Exclude" textProcessorId="Keyword_false_positives_sw">
</Filter>
</Filters>

  <Keyword id="Keyword_false_positives_sw">
    <Group matchStyle="string">
      <Term>0500</Term>
      <Term>91</Term>
      <Term>091</Term>
      <Term>0100</Term>
    </Group>
  </Keyword>

同樣地,若要在清單中 包含 從 0500、91、091、0100 開始的數位,如下所示:

  • 0500-4500-027
  • 91564721450
  • 91-8523697410
  • 700-8956-7844
  • 1000-3265-9874
  • 0100-7892-3012

您可以使用下列 XML:

<Filters id="phone_filters_inc">
    <Filter type="TextMatchFilter" direction="StartsWith" logic="Include" textProcessorId="Keyword_false_positives_sw">
</Filter>

TextMatchFilter EndsWith

描述:可讓您定義實體的結束字元。

例如,若要 排除 清單中結尾為 0500,91,091, 0100 的數位,如下所示:

  • 1234567891
  • 1234-5678-0091
  • 1234.4567.7091
  • 1234-8091-4564

您可以使用下列 XML:

<Filters id="phone_number_filters_exc">
    <Filter type="TextMatchFilter" direction="EndsWith" logic="Exclude" textProcessorId="Keyword_false_positives_sw">
</Filter>

  <Keyword id="Keyword_false_positives_sw">
    <Group matchStyle="string">
      <Term>0500</Term>
      <Term>91</Term>
      <Term>091</Term>
      <Term>0100</Term>
    </Group>
  </Keyword>

例如,若要在如下的清單中 包含 結尾為 0500、91、091、0100 的數位:

  • 1234567891
  • 1234-5678-0091
  • 1234.4567.7091
  • 1234-8091-4564

您可以使用下列 XML:

<Filters id="phone_filters_inc">
    <Filter type="TextMatchFilter" direction=" EndsWith" logic="Include" textProcessorId="Keyword_false_positives_sw">
</Filter>

TextMatchFilter Full

描述:可讓您禁止特定相符專案,以防止它們觸發規則,例如從有效信用卡相符專案清單中排除4111111111111111。

例如,若要 清單中排除信用卡號碼,例如4111111111111111和3241891031113111,如下所示:

  • 4485 3647 3952 7352
  • 4111111111111111
  • 3241891031113111

您可以使用下列 XML:

<Filters id="cc_number_filters_exc">
    <Filter type="TextMatchFilter" direction="Full" logic="Exclude" textProcessorId="Keyword_false_positives_full">
</Filter>

  <Keyword id="Keyword_false_positives_full">
    <Group matchStyle="string">
      <Term>4111111111111111</Term>
      <Term>3241891031113111</Term>
    </Group>
  </Keyword>

同樣地,若要在清單中 包含 信用卡號碼,例如4111111111111111和3241891031113111,如下所示:

  • 4485 3647 3952 7352
  • 4111111111111111
  • 3241891031113111

您可以使用下列 XML:

<Filters id="cc_filters_inc">
    <Filter type="TextMatchFilter" direction="Full" logic="Include" textProcessorId="Keyword_false_positives_full">
</Filter>

TextMatchFilter 前置詞

描述:可讓您定義應一律排除或包含的上述字元。 例如,如果 信用卡號碼 前面加上 『Order ID:』,則從有效的相符專案中移除相符專案。

例如,若要排除電話號碼的出現次數 ,並在電話號碼 前面的字串 撥打我 ,請在如下的清單中:

  • 電話號碼 091-8974-653278
  • 電話 45-124576532-123
  • 45-124576532-123

您可以使用下列 XML:

<Filters id="cc_number_filters_exc">
    <Filter type="TextMatchFilter" direction="Prefix" logic="Exclude" textProcessorId="Keyword_false_positives_prefix">
</Filter>
  <Keyword id="Keyword_false_positives_prefix">
    <Group matchStyle="string">
      <Term>phone number</Term>
      <Term>call me at</Term>
    </Group>
  </Keyword>

同樣地,若要在信用卡號碼之前包含信用卡和卡片字串的出現專案,請在如下的清單中:

  • 信用卡 45-124576532-123
  • 45-124576532-123 (可能是電話號碼)

您可以使用下列 XML:

<Filters id="cc_filters_inc">
    <Filter type="TextMatchFilter" direction="Full" logic="Include" textProcessorId="Keyword_true_positives_prefix">
</Filter>

  <Keyword id="Keyword_true_positives_prefix">
    <Group matchStyle="string">
      <Term>credit card</Term>
      <Term>card #</Term>
    </Group>
  </Keyword

TextMatchFilter 後綴

描述:可讓您定義下列應一律排除或包含的字元。 例如,如果信用卡號碼後面接著 『/xuid』,則從有效的相符專案中移除相符專案。

例如,如果清單中有五個以上四位數的實例做為後綴,則會出現最上層排除專案,如下所示:

  • 1234-5678-9321 4500 9870 6321 48925566
  • 1234-5678-9321

您可以使用下列 XML:

<Filters id="cc_number_filters_exc">
    <Filter type="TextMatchFilter" direction="Prefix" logic="Exclude" textProcessorId="Regex_false_positives_suffix">
</Filter>

  <Regexid="Regex_false_positives_suffix">(\d{4}){5,}</Regex>

如果後面接著 /xuidsuffix,您也可以排除發生次數,如下列清單所示:

  • 1234-5678-9321 /xuid
  • 1234-5678-9321

您可以使用此 XML:

<Filters id="cc_number_filters_exc">
    <Filter type="TextMatchFilter" direction="Prefix" logic="Exclude" textProcessorId="Keyword_false_positives_suffix">
</Filter>

  <Keyword id="Keyword_false_positives_suffix">
    <Group matchStyle="string">
      <Term>/xuid</Term>
    </Group>
  </Keyword>

同樣地,只有在 cvv到期之後才包含發生專案,例如此列表中的兩個:

  • 45-124576532-123
  • 45-124576532-123 cvv 966
  • 45-124576532-123 將於 03/23 到期

您可以使用此 XML:

<Filters id="cc_filters_inc">
    <Filter type="TextMatchFilter" direction="Full" logic="Include" textProcessorId="Keyword_true_positives_suffix">
</Filter>

  <Keyword id="Keyword_true_positives_suffix">
    <Group matchStyle="string">
      <Term>cvv</Term>
      <Term>expires</Term>
    </Group>
  </Keyword>

在規則套件中使用篩選

篩選可以定義在整個 SIT 或模式上。 下列提供一些範例。

在敏感性資訊類型層級

實體的篩選 - 將涵蓋所有子模式

篩選會套用至該實體/敏感性資訊類型中任何模式分類 的所有 實例。

<Entity id="6443b88f-2808-482a-8e1a-3ae5026645e1" patternsProximity="300" recommendedConfidence="85" filters="CompositeFiltersAtEntityLevel">
      <Pattern confidenceLevel="85">
        <IdMatch idRef="Regex_denmark_id" />
      </Pattern>
</Entity>

在敏感性資訊類型層級的個別模式

僅在模式層級篩選。

篩選只會套用至模式所比對的實例。

<Entity id="50842eb7-edc8-4019-85dd-5a5c1f2bb085" patternsProximity="300" recommendedConfidence="85">
      <Pattern confidenceLevel="85"  filters="CompositeFiltersAtPattern">
        <IdMatch idRef="Keyword_cc_verification" />
      </Pattern>
</Entity>

在敏感性資訊類型層級,並針對該實體的某些模式進行其他篩選

實體 + 模式的篩選

篩選會套用至該實體/敏感性資訊類型中任何模式分類 的所有 實例。 模式層級篩選會篩選該模式所比對的實例。

<Entity id="6443b88f-2808-482a-8e1a-3ae5026645e1" patternsProximity="300" recommendedConfidence="85" filters="CompositeFiltersAtEntityLevel">
      <Pattern confidenceLevel="85" filters="CompositeFiltersAtPattern">
        <IdMatch idRef="Regex_denmark_id" />
      </Pattern>
</Entity>

其他相關資訊