fortios_dlp_sensor
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_sensor
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_sensor | 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_sensor:
access_token: '{{ fortios_access_token }}'
dlp_sensor:
comment: Optional comments.
dlp_log: enable
entries:
- count: "1"
id: "8"
status: enable
extended_log: enable
feature_set: flow
filter:
- action: allow
archive: disable
company_identifier: myId_16
file_size: "10"
file_type: "0"
filter_by: credit-card
fp_sensitivity:
- name: default_name_22 (source dlp.fp-sensitivity.name)
id: "23"
match_percentage: "10"
name: default_name_25
proto: smtp
sensitivity:
- name: default_name_29 (source dlp.sensitivity.name)
severity: info
type: file
flow_based: enable
full_archive_proto: smtp
match_type: match-all
nac_quar_log: enable
name: default_name_36
summary_proto: smtp
state: present
vdom: root
name: Configure sensors used by DLP blocking.