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 |
---|---|
The ADOM the configuration should belong to. Default: |
|
Name of an existing Application list. |
|
Name of an existing Antivirus profile. |
|
Name of an existing DLP sensor. |
|
Name of an existing DNS filter profile. |
|
Name of an existing ICAP profile. |
|
Name of an existing IPS sensor. |
|
Name of an existing MMS profile. |
|
Sets one of three modes for managing the object. Allows use of soft-adds instead of overwriting existing values. Choices:
|
|
Profile group name. |
|
Name of an existing Protocol options profile. |
|
Name of an existing Spam filter profile. |
|
Name of an existing SSH filter profile. |
|
Name of an existing SSL SSH profile. |
|
Name of an existing VoIP profile. |
|
Name of an existing Web application firewall profile. |
|
Name of an existing Web filter profile. |
Notes
Note
Full Documentation at https://ftnt-ansible-docs.readthedocs.io/en/latest/.
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 |
---|---|
full API response, includes status code and message Returned: always |