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_av
.
Parameter | Choices/Defaults | Comments |
---|---|---|
adom string | Default: "root" | The ADOM the configuration should belong to. |
analytics_bl_filetype string | Only submit files matching this DLP file-pattern to FortiSandbox. | |
analytics_db string |
| Enable/disable using the FortiSandbox signature database to supplement the AV signature databases. |
analytics_max_upload string | Maximum size of files that can be uploaded to FortiSandbox (1 - 395 MBytes, default = 10). | |
analytics_wl_filetype string | Do not submit files matching this DLP file-pattern to FortiSandbox. | |
av_block_log string |
| Enable/disable logging for AntiVirus file blocking. |
av_virus_log string |
| Enable/disable AntiVirus logging. |
comment string | Comment. | |
content_disarm string | EXPERTS ONLY! KNOWLEDGE OF FMGR JSON API IS REQUIRED! List of multiple child objects to be added. Expects a list of dictionaries. Dictionaries must use FortiManager API parameters, not the ansible ones listed below. If submitted, all other prefixed sub-parameters ARE IGNORED. This object is MUTUALLY EXCLUSIVE with its options. We expect that you know what you are doing with these list parameters, and are leveraging the JSON API Guide. WHEN IN DOUBT, USE THE SUB OPTIONS BELOW INSTEAD TO CREATE OBJECTS WITH MULTIPLE TASKS | |
content_disarm_cover_page string |
| Enable/disable inserting a cover page into the disarmed document. |
content_disarm_detect_only string |
| Enable/disable only detect disarmable files, do not alter content. |
content_disarm_office_embed string |
| Enable/disable stripping of embedded objects in Microsoft Office documents. |
content_disarm_office_hylink string |
| Enable/disable stripping of hyperlinks in Microsoft Office documents. |
content_disarm_office_linked string |
| Enable/disable stripping of linked objects in Microsoft Office documents. |
content_disarm_office_macro string |
| Enable/disable stripping of macros in Microsoft Office documents. |
content_disarm_original_file_destination string |
| Destination to send original file if active content is removed. |
content_disarm_pdf_act_form string |
| Enable/disable stripping of actions that submit data to other targets in PDF documents. |
content_disarm_pdf_act_gotor string |
| Enable/disable stripping of links to other PDFs in PDF documents. |
content_disarm_pdf_act_java string |
| Enable/disable stripping of actions that execute JavaScript code in PDF documents. |
content_disarm_pdf_act_launch string |
| Enable/disable stripping of links to external applications in PDF documents. |
content_disarm_pdf_act_movie string |
| Enable/disable stripping of embedded movies in PDF documents. |
content_disarm_pdf_act_sound string |
| Enable/disable stripping of embedded sound files in PDF documents. |
content_disarm_pdf_embedfile string |
| Enable/disable stripping of embedded files in PDF documents. |
content_disarm_pdf_hyperlink string |
| Enable/disable stripping of hyperlinks from PDF documents. |
content_disarm_pdf_javacode string |
| Enable/disable stripping of JavaScript code in PDF documents. |
extended_log string |
| Enable/disable extended logging for antivirus. |
ftgd_analytics string |
| Settings to control which files are uploaded to FortiSandbox. |
ftp string | EXPERTS ONLY! KNOWLEDGE OF FMGR JSON API IS REQUIRED! List of multiple child objects to be added. Expects a list of dictionaries. Dictionaries must use FortiManager API parameters, not the ansible ones listed below. If submitted, all other prefixed sub-parameters ARE IGNORED. This object is MUTUALLY EXCLUSIVE with its options. We expect that you know what you are doing with these list parameters, and are leveraging the JSON API Guide. WHEN IN DOUBT, USE THE SUB OPTIONS BELOW INSTEAD TO CREATE OBJECTS WITH MULTIPLE TASKS | |
ftp_archive_block string |
| Select the archive types to block. FLAG Based Options. Specify multiple in list form. |
ftp_archive_log string |
| Select the archive types to log. FLAG Based Options. Specify multiple in list form. |
ftp_emulator string |
| Enable/disable the virus emulator. |
ftp_options string |
| Enable/disable FTP AntiVirus scanning, monitoring, and quarantine. FLAG Based Options. Specify multiple in list form. |
ftp_outbreak_prevention string |
| Enable FortiGuard Virus Outbreak Prevention service. |
http string | EXPERTS ONLY! KNOWLEDGE OF FMGR JSON API IS REQUIRED! List of multiple child objects to be added. Expects a list of dictionaries. Dictionaries must use FortiManager API parameters, not the ansible ones listed below. If submitted, all other prefixed sub-parameters ARE IGNORED. This object is MUTUALLY EXCLUSIVE with its options. We expect that you know what you are doing with these list parameters, and are leveraging the JSON API Guide. WHEN IN DOUBT, USE THE SUB OPTIONS BELOW INSTEAD TO CREATE OBJECTS WITH MULTIPLE TASKS | |
http_archive_block string |
| Select the archive types to block. FLAG Based Options. Specify multiple in list form. |
http_archive_log string |
| Select the archive types to log. FLAG Based Options. Specify multiple in list form. |
http_content_disarm string |
| Enable Content Disarm and Reconstruction for this protocol. |
http_emulator string |
| Enable/disable the virus emulator. |
http_options string |
| Enable/disable HTTP AntiVirus scanning, monitoring, and quarantine. FLAG Based Options. Specify multiple in list form. |
http_outbreak_prevention string |
| Enable FortiGuard Virus Outbreak Prevention service. |
imap string | EXPERTS ONLY! KNOWLEDGE OF FMGR JSON API IS REQUIRED! List of multiple child objects to be added. Expects a list of dictionaries. Dictionaries must use FortiManager API parameters, not the ansible ones listed below. If submitted, all other prefixed sub-parameters ARE IGNORED. This object is MUTUALLY EXCLUSIVE with its options. We expect that you know what you are doing with these list parameters, and are leveraging the JSON API Guide. WHEN IN DOUBT, USE THE SUB OPTIONS BELOW INSTEAD TO CREATE OBJECTS WITH MULTIPLE TASKS | |
imap_archive_block string |
| Select the archive types to block. FLAG Based Options. Specify multiple in list form. |
imap_archive_log string |
| Select the archive types to log. FLAG Based Options. Specify multiple in list form. |
imap_content_disarm string |
| Enable Content Disarm and Reconstruction for this protocol. |
imap_emulator string |
| Enable/disable the virus emulator. |
imap_executables string |
| Treat Windows executable files as viruses for the purpose of blocking or monitoring. |
imap_options string |
| Enable/disable IMAP AntiVirus scanning, monitoring, and quarantine. FLAG Based Options. Specify multiple in list form. |
imap_outbreak_prevention string |
| Enable FortiGuard Virus Outbreak Prevention service. |
inspection_mode string |
| Inspection mode. |
mapi string | EXPERTS ONLY! KNOWLEDGE OF FMGR JSON API IS REQUIRED! List of multiple child objects to be added. Expects a list of dictionaries. Dictionaries must use FortiManager API parameters, not the ansible ones listed below. If submitted, all other prefixed sub-parameters ARE IGNORED. This object is MUTUALLY EXCLUSIVE with its options. We expect that you know what you are doing with these list parameters, and are leveraging the JSON API Guide. WHEN IN DOUBT, USE THE SUB OPTIONS BELOW INSTEAD TO CREATE OBJECTS WITH MULTIPLE TASKS | |
mapi_archive_block string |
| Select the archive types to block. FLAG Based Options. Specify multiple in list form. |
mapi_archive_log string |
| Select the archive types to log. FLAG Based Options. Specify multiple in list form. |
mapi_emulator string |
| Enable/disable the virus emulator. |
mapi_executables string |
| Treat Windows executable files as viruses for the purpose of blocking or monitoring. |
mapi_options string |
| Enable/disable MAPI AntiVirus scanning, monitoring, and quarantine. FLAG Based Options. Specify multiple in list form. |
mapi_outbreak_prevention string |
| Enable FortiGuard Virus Outbreak Prevention service. |
mobile_malware_db string |
| Enable/disable using the mobile malware signature database. |
mode string |
| Sets one of three modes for managing the object. Allows use of soft-adds instead of overwriting existing values |
nac_quar string | EXPERTS ONLY! KNOWLEDGE OF FMGR JSON API IS REQUIRED! List of multiple child objects to be added. Expects a list of dictionaries. Dictionaries must use FortiManager API parameters, not the ansible ones listed below. If submitted, all other prefixed sub-parameters ARE IGNORED. This object is MUTUALLY EXCLUSIVE with its options. We expect that you know what you are doing with these list parameters, and are leveraging the JSON API Guide. WHEN IN DOUBT, USE THE SUB OPTIONS BELOW INSTEAD TO CREATE OBJECTS WITH MULTIPLE TASKS | |
nac_quar_expiry string | Duration of quarantine. | |
nac_quar_infected string |
| Enable/Disable quarantining infected hosts to the banned user list. |
nac_quar_log string |
| Enable/disable AntiVirus quarantine logging. |
name string | Profile name. | |
nntp string | EXPERTS ONLY! KNOWLEDGE OF FMGR JSON API IS REQUIRED! List of multiple child objects to be added. Expects a list of dictionaries. Dictionaries must use FortiManager API parameters, not the ansible ones listed below. If submitted, all other prefixed sub-parameters ARE IGNORED. This object is MUTUALLY EXCLUSIVE with its options. We expect that you know what you are doing with these list parameters, and are leveraging the JSON API Guide. WHEN IN DOUBT, USE THE SUB OPTIONS BELOW INSTEAD TO CREATE OBJECTS WITH MULTIPLE TASKS | |
nntp_archive_block string |
| Select the archive types to block. FLAG Based Options. Specify multiple in list form. |
nntp_archive_log string |
| Select the archive types to log. FLAG Based Options. Specify multiple in list form. |
nntp_emulator string |
| Enable/disable the virus emulator. |
nntp_options string |
| Enable/disable NNTP AntiVirus scanning, monitoring, and quarantine. FLAG Based Options. Specify multiple in list form. |
nntp_outbreak_prevention string |
| Enable FortiGuard Virus Outbreak Prevention service. |
pop3 string | EXPERTS ONLY! KNOWLEDGE OF FMGR JSON API IS REQUIRED! List of multiple child objects to be added. Expects a list of dictionaries. Dictionaries must use FortiManager API parameters, not the ansible ones listed below. If submitted, all other prefixed sub-parameters ARE IGNORED. This object is MUTUALLY EXCLUSIVE with its options. We expect that you know what you are doing with these list parameters, and are leveraging the JSON API Guide. WHEN IN DOUBT, USE THE SUB OPTIONS BELOW INSTEAD TO CREATE OBJECTS WITH MULTIPLE TASKS | |
pop3_archive_block string |
| Select the archive types to block. FLAG Based Options. Specify multiple in list form. |
pop3_archive_log string |
| Select the archive types to log. FLAG Based Options. Specify multiple in list form. |
pop3_content_disarm string |
| Enable Content Disarm and Reconstruction for this protocol. |
pop3_emulator string |
| Enable/disable the virus emulator. |
pop3_executables string |
| Treat Windows executable files as viruses for the purpose of blocking or monitoring. |
pop3_options string |
| Enable/disable POP3 AntiVirus scanning, monitoring, and quarantine. FLAG Based Options. Specify multiple in list form. |
pop3_outbreak_prevention string |
| Enable FortiGuard Virus Outbreak Prevention service. |
replacemsg_group string | Replacement message group customized for this profile. | |
scan_mode string |
| Choose between full scan mode and quick scan mode. |
smb string | EXPERTS ONLY! KNOWLEDGE OF FMGR JSON API IS REQUIRED! List of multiple child objects to be added. Expects a list of dictionaries. Dictionaries must use FortiManager API parameters, not the ansible ones listed below. If submitted, all other prefixed sub-parameters ARE IGNORED. This object is MUTUALLY EXCLUSIVE with its options. We expect that you know what you are doing with these list parameters, and are leveraging the JSON API Guide. WHEN IN DOUBT, USE THE SUB OPTIONS BELOW INSTEAD TO CREATE OBJECTS WITH MULTIPLE TASKS | |
smb_archive_block string |
| Select the archive types to block. FLAG Based Options. Specify multiple in list form. |
smb_archive_log string |
| Select the archive types to log. FLAG Based Options. Specify multiple in list form. |
smb_emulator string |
| Enable/disable the virus emulator. |
smb_options string |
| Enable/disable SMB AntiVirus scanning, monitoring, and quarantine. FLAG Based Options. Specify multiple in list form. |
smb_outbreak_prevention string |
| Enable FortiGuard Virus Outbreak Prevention service. |
smtp string | EXPERTS ONLY! KNOWLEDGE OF FMGR JSON API IS REQUIRED! List of multiple child objects to be added. Expects a list of dictionaries. Dictionaries must use FortiManager API parameters, not the ansible ones listed below. If submitted, all other prefixed sub-parameters ARE IGNORED. This object is MUTUALLY EXCLUSIVE with its options. We expect that you know what you are doing with these list parameters, and are leveraging the JSON API Guide. WHEN IN DOUBT, USE THE SUB OPTIONS BELOW INSTEAD TO CREATE OBJECTS WITH MULTIPLE TASKS | |
smtp_archive_block string |
| Select the archive types to block. FLAG Based Options. Specify multiple in list form. |
smtp_archive_log string |
| Select the archive types to log. FLAG Based Options. Specify multiple in list form. |
smtp_content_disarm string |
| Enable Content Disarm and Reconstruction for this protocol. |
smtp_emulator string |
| Enable/disable the virus emulator. |
smtp_executables string |
| Treat Windows executable files as viruses for the purpose of blocking or monitoring. |
smtp_options string |
| Enable/disable SMTP AntiVirus scanning, monitoring, and quarantine. FLAG Based Options. Specify multiple in list form. |
smtp_outbreak_prevention string |
| Enable FortiGuard Virus Outbreak Prevention service. |
Note
- name: DELETE Profile community.fortios.fmgr_secprof_av: name: "Ansible_AV_Profile" mode: "delete" - name: CREATE Profile community.fortios.fmgr_secprof_av: name: "Ansible_AV_Profile" comment: "Created by Ansible Module TEST" mode: "set" inspection_mode: "proxy" ftgd_analytics: "everything" av_block_log: "enable" av_virus_log: "enable" scan_mode: "full" mobile_malware_db: "enable" ftp_archive_block: "encrypted" ftp_outbreak_prevention: "files" ftp_archive_log: "timeout" ftp_emulator: "disable" ftp_options: "scan"
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 |
© 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_av_module.html