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 comment {var-string}
        set look-ahead {integer}
        set look-back {integer}
        set match-around {string}
        set pattern {string}
        set transform {string}
        set verify {string}
        set verify-transformed-pattern [enable|disable]
    next
end

config dlp data-type

Parameter

Description

Type

Size

Default

comment

Optional comments.

var-string

Maximum length: 255

look-ahead

Number of characters to obtain in advance for verification.

integer

Minimum value: 1 Maximum value: 255

1

look-back

Number of characters required to save for verification.

integer

Minimum value: 1 Maximum value: 255

1

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

name

Name of table containing the data type.

string

Maximum length: 35

pattern

Regular expression pattern string without look around.

string

Maximum length: 255

transform

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

string

Maximum length: 255

verify

Regular expression pattern string used to verify the data type.

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.

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 comment {var-string}
        set look-ahead {integer}
        set look-back {integer}
        set match-around {string}
        set pattern {string}
        set transform {string}
        set verify {string}
        set verify-transformed-pattern [enable|disable]
    next
end

config dlp data-type

Parameter

Description

Type

Size

Default

comment

Optional comments.

var-string

Maximum length: 255

look-ahead

Number of characters to obtain in advance for verification.

integer

Minimum value: 1 Maximum value: 255

1

look-back

Number of characters required to save for verification.

integer

Minimum value: 1 Maximum value: 255

1

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

name

Name of table containing the data type.

string

Maximum length: 35

pattern

Regular expression pattern string without look around.

string

Maximum length: 255

transform

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

string

Maximum length: 255

verify

Regular expression pattern string used to verify the data type.

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.