Fortinet white logo
Fortinet white logo

CLI Reference

config dlp data-type

config dlp data-type

Configure predefined data type used by DLP blocking.

config dlp data-type
    Description: Configure predefined data type used by DLP blocking.
    edit <name>
        set pattern {string}
        set verify {string}
        set match-around {string}
        set look-back {integer}
        set look-ahead {integer}
        set transform {string}
        set verify-transformed-pattern [enable|disable]
        set comment {var-string}
    next
end

config dlp data-type

Parameter

Description

Type

Size

Default

name

Name of table containing the data type.

string

Maximum length: 35

pattern

Regular expression pattern string without look around.

string

Maximum length: 255

verify

Regular expression pattern string used to verify the data type.

string

Maximum length: 255

match-around

Dictionary to check whether it has a match around (Only support match-any and basic types, no repeat supported).

string

Maximum length: 35

look-back

Number of characters required to save for verification.

integer

Minimum value: 1 Maximum value: 255

1

look-ahead

Number of characters to obtain in advance for verification.

integer

Minimum value: 1 Maximum value: 255

1

transform

Template to transform user input to a pattern using capture group from 'pattern'.

string

Maximum length: 255

verify-transformed-pattern

Enable/disable verification for transformed pattern.

option

-

disable

Option

Description

enable

Enable verification for transformed pattern.

disable

Disable verification for transformed pattern.

comment

Optional comments.

var-string

Maximum length: 255

config dlp data-type

config dlp data-type

Configure predefined data type used by DLP blocking.

config dlp data-type
    Description: Configure predefined data type used by DLP blocking.
    edit <name>
        set pattern {string}
        set verify {string}
        set match-around {string}
        set look-back {integer}
        set look-ahead {integer}
        set transform {string}
        set verify-transformed-pattern [enable|disable]
        set comment {var-string}
    next
end

config dlp data-type

Parameter

Description

Type

Size

Default

name

Name of table containing the data type.

string

Maximum length: 35

pattern

Regular expression pattern string without look around.

string

Maximum length: 255

verify

Regular expression pattern string used to verify the data type.

string

Maximum length: 255

match-around

Dictionary to check whether it has a match around (Only support match-any and basic types, no repeat supported).

string

Maximum length: 35

look-back

Number of characters required to save for verification.

integer

Minimum value: 1 Maximum value: 255

1

look-ahead

Number of characters to obtain in advance for verification.

integer

Minimum value: 1 Maximum value: 255

1

transform

Template to transform user input to a pattern using capture group from 'pattern'.

string

Maximum length: 255

verify-transformed-pattern

Enable/disable verification for transformed pattern.

option

-

disable

Option

Description

enable

Enable verification for transformed pattern.

disable

Disable verification for transformed pattern.

comment

Optional comments.

var-string

Maximum length: 255