fortios_dlp_profile
Manage FortiOS configuration through native controller HTTPAPI; requires httpapi inventory and fortinet.fortios.fortios network OS
Collection: fortinet.fortios
Full Name: fortinet.fortios.fortios_dlp_profile
Controller module — runs on the local controller, not on remote hosts.
Synopsis
Manage FortiOS configuration through native controller HTTPAPI; requires httpapi inventory and fortinet.fortios.fortios network OS
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| access_token | str | |||
| dlp_profile | dict | |||
| enable_log | bool | false | ||
| member_path | str | |||
| member_state | str | |||
| state | str | yes | ||
| vdom | str | root |
Example
yaml
# Define these inventory variables: fortios_access_token.
- fortinet.fortios.fortios_dlp_profile:
access_token: '{{ fortios_access_token }}'
dlp_profile:
comment: Comment.
dlp_log: enable
extended_log: enable
feature_set: flow
fortidata_error_action: log-only
full_archive_proto: smtp
nac_quar_log: enable
name: default_name_10
rule:
- action: allow
archive: disable
file_size: "0"
file_type: "0"
filter_by: sensor
id: "19"
match_percentage: "10"
name: default_name_22
proto: smtp
sensitivity:
- name: default_name_25 (source dlp.sensitivity.name)
sensor:
- name: default_name_27 (source dlp.sensor.name)
severity: info
type: file
summary_proto: smtp
state: present
vdom: root
name: Configure DLP profiles.