community.fortios.fmgr_secprof_profile_group module – Manage security profiles within FortiManager

Note

This module is part of the community.fortios collection (version 1.0.0).

You might already have this collection installed if you are using the ansible package. It is not included in ansible-core. To check whether it is installed, run ansible-galaxy collection list.

To install it, use: ansible-galaxy collection install community.fortios.

To use it in a playbook, specify: community.fortios.fmgr_secprof_profile_group.

Synopsis

  • Manage security profile group which allows you to create a group of security profiles and apply that to a policy.

Parameters

Parameter

Comments

adom

string

The ADOM the configuration should belong to.

Default: "root"

application_list

string

Name of an existing Application list.

av_profile

string

Name of an existing Antivirus profile.

dlp_sensor

string

Name of an existing DLP sensor.

dnsfilter_profile

string

Name of an existing DNS filter profile.

icap_profile

string

Name of an existing ICAP profile.

ips_sensor

string

Name of an existing IPS sensor.

mms_profile

string

Name of an existing MMS profile.

mode

string

Sets one of three modes for managing the object.

Allows use of soft-adds instead of overwriting existing values.

Choices:

  • "add" ← (default)

  • "set"

  • "delete"

  • "update"

name

string

Profile group name.

profile_protocol_options

string

Name of an existing Protocol options profile.

spamfilter_profile

string

Name of an existing Spam filter profile.

ssh_filter_profile

string

Name of an existing SSH filter profile.

ssl_ssh_profile

string

Name of an existing SSL SSH profile.

voip_profile

string

Name of an existing VoIP profile.

waf_profile

string

Name of an existing Web application firewall profile.

webfilter_profile

string

Name of an existing Web filter profile.

Notes

Examples

- name: DELETE Profile
  community.fortios.fmgr_secprof_profile_group:
    name: "Ansible_TEST_Profile_Group"
    mode: "delete"

- name: CREATE Profile
  community.fortios.fmgr_secprof_profile_group:
    name: "Ansible_TEST_Profile_Group"
    mode: "set"
    av_profile: "Ansible_AV_Profile"
    profile_protocol_options: "default"

Return Values

Common return values are documented here, the following are the fields unique to this module:

Key

Description

api_result

string

full API response, includes status code and message

Returned: always

Authors

  • Luke Weighall (@lweighall)

  • Andrew Welsh (@Ghilli3)

  • Jim Huber (@p4r4n0y1ng)