security_ips_profile - IPS Profile Resource +++++++++++++++++++++++++++++++++++++++++++ .. versionadded:: 1.0.0 .. contents:: :local: :depth: 1 Synopsis -------- IPS Profile Resource. Use API "/resource-api/v2/security/ips-profile/{direction}/{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 security ips profile hosts: fortisase gather_facts: false vars: direction: "outbound-profiles" # outbound-profiles or internal-profiles profile_group: "profile_ansible" tasks: - name: Ensure security group exists, otherwise create it fortinet.fortisase.security_profile_group: params: direction: "{{ direction }}" primary_key: "{{ profile_group }}" - name: Update security ips profile fortinet.fortisase.security_ips_profile: params: direction: "{{ direction }}" primary_key: "{{ profile_group }}" botnet_scanning: "block" comment: "Recommended" custom_rule_groups: [] entries: - action: "default" application: "all" cve: [] default_action: "all" default_status: "all" exempt_ip: [] location: "all" log: "enable" log_attack_context: "disable" log_packet: "disable" os: "all" protocol: "all" quarantine: "none" rule: [] severity: "all" status: "default" vuln_type: [] is_blocking_malicious_url: false is_extended_log_enabled: false profile_type: "recommended" Return Values ------------- .. raw:: html Authors ------- - Xinwei Du (@dux-fortinet)