Fortinet black logo

CLI Reference

profile dlp

profile dlp

Use this command to add scan rules and conditions to Data Loss Prevention (DLP) profiles. Specify what actions to take and then apply DLP profiles to IP or recipient based policies.

Syntax

config profile dlp

edit <profile_name>

config content-scan

edit <rule_index>

set action {Discard | Encrypt_Pull | Reject | Replace | SystemQuarantine | UserQuarantine}

set name <scan_rule_name>

set status {enable | disable}

end

set comment <string>

set action-default {Discard | Encrypt_Pull | Reject | Replace | SystemQuarantine | UserQuarantine}

end

Variable

Description

Default

action {Discard | Encrypt_Pull | Reject | Replace | SystemQuarantine | UserQuarantine}

Specify the action for this rule.

name <scan_rule_name>

Enter a scan rule name.

status {enable | disable}

Enable or disable this rule.

enable

comment <string>

Enter optional comments for the profile.

action-default {Discard | Encrypt_Pull | Reject | Replace | SystemQuarantine | UserQuarantine}

Specify the default action for this profile.

profile dlp

Use this command to add scan rules and conditions to Data Loss Prevention (DLP) profiles. Specify what actions to take and then apply DLP profiles to IP or recipient based policies.

Syntax

config profile dlp

edit <profile_name>

config content-scan

edit <rule_index>

set action {Discard | Encrypt_Pull | Reject | Replace | SystemQuarantine | UserQuarantine}

set name <scan_rule_name>

set status {enable | disable}

end

set comment <string>

set action-default {Discard | Encrypt_Pull | Reject | Replace | SystemQuarantine | UserQuarantine}

end

Variable

Description

Default

action {Discard | Encrypt_Pull | Reject | Replace | SystemQuarantine | UserQuarantine}

Specify the action for this rule.

name <scan_rule_name>

Enter a scan rule name.

status {enable | disable}

Enable or disable this rule.

enable

comment <string>

Enter optional comments for the profile.

action-default {Discard | Encrypt_Pull | Reject | Replace | SystemQuarantine | UserQuarantine}

Specify the default action for this profile.