endpoint_protection_profiles - Protection Profile Resource ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ .. versionadded:: 1.0.0 .. contents:: :local: :depth: 1 Synopsis -------- Protection Profile Resource. Use API "/resource-api/v2/endpoint/protection-profiles/{primaryKey}". Requirements ------------ The below requirements are needed on the host that executes this module. - ansible>=2.17.0 Parameters ---------- .. raw:: html Examples ------------- .. code-block:: yaml - name: Update protection profile hosts: fortisase gather_facts: false vars: primary_key: "policy1" tasks: - name: Create a new endpoint profile, do nothing if the endpoint profile already exists fortinet.fortisase.endpoint_policies: state: present params: primary_key: "{{ primary_key }}" enabled: true - name: Update protection profile fortinet.fortisase.endpoint_protection_profiles: params: primary_key: "{{ primary_key }}" antiransomware: "disable" antivirus: "enable" automatically_patch_vulnerabilities: "disable" default_action: "allow" event_based_scanning: "enable" notify_endpoint_of_blocks: "enable" rules: [] scheduled_scan: day: 1 repeat: "weekly" time: "00:00" vulnerability_scan: "enable" Return Values ------------- .. raw:: html Authors ------- - Xinwei Du (@dux-fortinet)