Fortinet black logo

Handbook

Configuring a DLP Sensor object

Configuring a DLP Sensor object

A DLP Sensor defines which dictionaries to check. You can match any dictionary or all dictionaries. It can also count the number of dictionary matches to trigger the sensor.

Before you begin:
Predefined DLP Sensor objects

You can use the following predefined DLP Sensor objects in Data Loss Prevention rules.

Predefined DLP Sensor object

Match Type

Description

Dictionaries

can-hia

Any

Canadian Health Information Act (HIA) Sensor

  • can-pass-dict

  • can-natl_id-sin-dict

  • can-phin-dict

  • can-health_service-dict

can-pii

Any

Canadian Personal Identifiable Information (PII) Sensor
  • can-dl-dict

  • can-natl_id-sin-dict

  • can-pass-dict

  • can-health_service-dict

  • can-bank_account-dict

  • can-phin-dict

source_code

Any

Source Code Sensor
  • source_code-python

  • source_code-c

  • source_code-java

To configure a DLP Sensor:
  1. Go to Web Application Firewall > Data Loss Prevention.
  2. Click the DLP Sensor tab.
  3. Click Create New to display the configuration editor.
  4. Configure the following DLP Sensor settings:

    Setting

    Description

    Name Specify a name for the DLP Sensor object.
    Valid characters are A-Z, a-z, 0-9, _, and -. No spaces. The configuration name cannot be edited once it has been saved.
    Match Type

    Select the match type:

    • Any — Data meeting the criteria specified by any one of the dictionaries will be identified as a match.

    • All — Data meeting the criteria specified by all dictionaries will be identified as a match.

    The default is Any.

    DescriptionComments about this DLP Sensor object.
  5. Click Save.
    After the DLP Sensor configuration is saved, the Dictionaries section becomes available to configure.
  6. Under the Dictionaries section, click Create New to display the configuration editor.
  7. Configure the following Dictionaries settings for the DLP Sensor:

    Setting

    Description

    StatusEnable the Status if you intend to apply this sensor.
    DLP Dictionary Select a DLP Dictionary object from the drop-down menu.
    Count

    Specify the occurrence threshold for the dictionary match. The sensor will be triggered when the dictionary match reaches the specified number of times. Default: 1 Range: 1-255.

    For example, if the dictionary applies to credit card numbers and the count is set to 4, the sensor will be triggered when credit card number occurs four times in the HTTP request or response.

  8. Click Save.
    Once the Dictionaries configuration is saved, the editor dialog closes.
  9. Click Save to update the DLP Sensor configuration.
    Once the DLP Sensor is saved, you can reference it in a DLP Policy.

Configuring a DLP Sensor object

A DLP Sensor defines which dictionaries to check. You can match any dictionary or all dictionaries. It can also count the number of dictionary matches to trigger the sensor.

Before you begin:
Predefined DLP Sensor objects

You can use the following predefined DLP Sensor objects in Data Loss Prevention rules.

Predefined DLP Sensor object

Match Type

Description

Dictionaries

can-hia

Any

Canadian Health Information Act (HIA) Sensor

  • can-pass-dict

  • can-natl_id-sin-dict

  • can-phin-dict

  • can-health_service-dict

can-pii

Any

Canadian Personal Identifiable Information (PII) Sensor
  • can-dl-dict

  • can-natl_id-sin-dict

  • can-pass-dict

  • can-health_service-dict

  • can-bank_account-dict

  • can-phin-dict

source_code

Any

Source Code Sensor
  • source_code-python

  • source_code-c

  • source_code-java

To configure a DLP Sensor:
  1. Go to Web Application Firewall > Data Loss Prevention.
  2. Click the DLP Sensor tab.
  3. Click Create New to display the configuration editor.
  4. Configure the following DLP Sensor settings:

    Setting

    Description

    Name Specify a name for the DLP Sensor object.
    Valid characters are A-Z, a-z, 0-9, _, and -. No spaces. The configuration name cannot be edited once it has been saved.
    Match Type

    Select the match type:

    • Any — Data meeting the criteria specified by any one of the dictionaries will be identified as a match.

    • All — Data meeting the criteria specified by all dictionaries will be identified as a match.

    The default is Any.

    DescriptionComments about this DLP Sensor object.
  5. Click Save.
    After the DLP Sensor configuration is saved, the Dictionaries section becomes available to configure.
  6. Under the Dictionaries section, click Create New to display the configuration editor.
  7. Configure the following Dictionaries settings for the DLP Sensor:

    Setting

    Description

    StatusEnable the Status if you intend to apply this sensor.
    DLP Dictionary Select a DLP Dictionary object from the drop-down menu.
    Count

    Specify the occurrence threshold for the dictionary match. The sensor will be triggered when the dictionary match reaches the specified number of times. Default: 1 Range: 1-255.

    For example, if the dictionary applies to credit card numbers and the count is set to 4, the sensor will be triggered when credit card number occurs four times in the HTTP request or response.

  8. Click Save.
    Once the Dictionaries configuration is saved, the editor dialog closes.
  9. Click Save to update the DLP Sensor configuration.
    Once the DLP Sensor is saved, you can reference it in a DLP Policy.