community.fortios.fmgr_secprof_profile_group – Manage security profiles within FortiManager

Note

This plugin 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 Choices/Defaults Comments
adom
string
Default:
"root"
The ADOM the configuration should belong to.
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
    Choices:
  • add
  • set
  • delete
  • update
Sets one of three modes for managing the object.
Allows use of soft-adds instead of overwriting existing values.
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 Returned Description
api_result
string
always
full API response, includes status code and message



Authors

  • Luke Weighall (@lweighall)
  • Andrew Welsh (@Ghilli3)
  • Jim Huber (@p4r4n0y1ng)

© 2012–2018 Michael DeHaan
© 2018–2021 Red Hat, Inc.
Licensed under the GNU General Public License version 3.
https://docs.ansible.com/ansible/latest/collections/community/fortios/fmgr_secprof_profile_group_module.html