Fortinet white logo
Fortinet white logo

CLI Reference

profile dlp

profile dlp

Use this command to add scan rules/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_order>

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

profile dlp

Use this command to add scan rules/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_order>

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.