:source: fmgd_antivirus_profile.py
:orphan:
.. _fmgd_antivirus_profile:
fmgd_antivirus_profile -- Configure AntiVirus profiles.
+++++++++++++++++++++++++++++++++++++++++++++++++++++++
.. versionadded:: 1.1.0
.. contents::
:local:
:depth: 1
Synopsis
--------
- This module is able to configure a FortiManager device.
- Examples include all parameters and values need to be adjusted to data sources before usage.
- Tested with FortiManager v7.x.
Requirements
------------
The below requirements are needed on the host that executes this module.
- ansible-core>=2.16.0
FortiManager Version Compatibility
----------------------------------
.. raw:: html
Supported Version Ranges: v7.4.8 -> v7.4.10, v7.6.4 -> latest
Parameters
----------
.. raw:: html
- access_token -The token to access FortiManager without using username and password. type: str required: false
- bypass_validation - Only set to True when module schema diffs with FortiManager API structure, module continues to execute without validating parameters. type: bool required: false default: False
- enable_log - Enable/Disable logging for task. type: bool required: false default: False
- forticloud_access_token - Access token of forticloud managed API users, this option is available with FortiManager later than 6.4.0. type: str required: false
- proposed_method - The overridden method for the underlying Json RPC request. type: str required: false choices: set, update, add
- rc_succeeded - The rc codes list with which the conditions to succeed will be overriden. type: list required: false
- rc_failed - The rc codes list with which the conditions to fail will be overriden. type: list required: false
- state - The directive to create, update or delete an object type: str required: true choices: present, absent
- workspace_locking_adom - Acquire the workspace lock if FortiManager is running in workspace mode. type: str required: false choices: global, custom adom including root
- workspace_locking_timeout - The maximum time in seconds to wait for other users to release workspace lock. type: integer required: false default: 300
- device - The parameter in requested url type: str required: true
- vdom - The parameter in requested url type: str required: true
- antivirus_profile - Configure AntiVirus profiles. type: dict
- analytics_accept_filetype (Alias name: analytics-accept-filetype) Only submit files matching this dlp file-pattern to fortisandbox (post-transfer scan only). type: list
more...
Supported Version Ranges: v7.4.8 -> v7.4.10, v7.6.4 -> latest
- analytics_db (Alias name: analytics-db) Enable/disable using the fortisandbox signature database to supplement the av signature databases. type: str choices: [disable, enable]
more...
Supported Version Ranges: v7.4.8 -> v7.4.10, v7.6.4 -> latest
- analytics_ignore_filetype (Alias name: analytics-ignore-filetype) Do not submit files matching this dlp file-pattern to fortisandbox (post-transfer scan only). type: list
more...
Supported Version Ranges: v7.4.8 -> v7.4.10, v7.6.4 -> latest
- av_block_log (Alias name: av-block-log) Enable/disable logging for antivirus file blocking. type: str choices: [disable, enable]
more...
Supported Version Ranges: v7.4.8 -> v7.4.10, v7.6.4 -> latest
- av_virus_log (Alias name: av-virus-log) Enable/disable antivirus logging. type: str choices: [disable, enable]
more...
Supported Version Ranges: v7.4.8 -> v7.4.10, v7.6.4 -> latest
- cifs Cifs. type: dict
more...
Supported Version Ranges: v7.4.8 -> v7.4.10, v7.6.4 -> latest
- archive_block (Alias name: archive-block) Select the archive types to block. type: list choices: [encrypted, corrupted, multipart, nested, mailbomb, unhandled, partiallycorrupted, timeout, fileslimit]
more...
Supported Version Ranges: v7.4.8 -> v7.4.10, v7.6.4 -> latest
- archive_log (Alias name: archive-log) Select the archive types to log. type: list choices: [encrypted, corrupted, multipart, nested, mailbomb, unhandled, partiallycorrupted, timeout, fileslimit]
more...
Supported Version Ranges: v7.4.8 -> v7.4.10, v7.6.4 -> latest
- av_scan (Alias name: av-scan) Enable antivirus scan service. type: str choices: [disable, monitor, block]
more...
Supported Version Ranges: v7.4.8 -> v7.4.10, v7.6.4 -> latest
- emulator Enable/disable the virus emulator. type: str choices: [disable, enable]
more...
Supported Version Ranges: v7.4.8 -> v7.4.10, v7.6.4 -> latest
- external_blocklist (Alias name: external-blocklist) Enable external-blocklist. type: str choices: [disable, monitor, block]
more...
Supported Version Ranges: v7.4.8 -> v7.4.10, v7.6.4 -> latest
- fortindr Enable scanning of files by fortindr. type: str choices: [disable, block, monitor]
more...
Supported Version Ranges: v7.4.8 -> v7.4.10, v7.6.4 -> latest
- fortisandbox Enable scanning of files by fortisandbox. type: str choices: [disable, block, monitor]
more...
Supported Version Ranges: v7.4.8 -> v7.4.10, v7.6.4 -> latest
- outbreak_prevention (Alias name: outbreak-prevention) Enable virus outbreak prevention service. type: str choices: [disable, block, monitor, files, disabled, full-archive]
more...
Supported Version Ranges: v7.4.8 -> v7.4.10, v7.6.4 -> latest
- quarantine Enable/disable quarantine for infected files. type: str choices: [disable, enable]
more...
Supported Version Ranges: v7.4.8 -> v7.4.10, v7.6.4 -> latest
- fortiai Enable/disable scanning of files by fortiai server. type: str choices: [disable, monitor, block]
more...
Supported Version Ranges: v7.4.8 -> v7.4.10, v7.6.4 -> latest
- options Enable/disable cifs antivirus scanning, monitoring, and quarantine. type: list choices: [scan, quarantine, avmonitor]
more...
Supported Version Ranges: v7.4.8 -> v7.4.10, v7.6.4 -> latest
- malware_stream (Alias name: malware-stream) Enable 0-day malware-stream scanning. type: str choices: [disable, monitor, block]
more...
Supported Version Ranges: v7.6.4 -> latest
- comment Comment. type: str
more...
Supported Version Ranges: v7.4.8 -> v7.4.10, v7.6.4 -> latest
- content_disarm (Alias name: content-disarm) Content disarm. type: dict
more...
Supported Version Ranges: v7.4.8 -> v7.4.10, v7.6.4 -> latest
- cover_page (Alias name: cover-page) Enable/disable inserting a cover page into the disarmed document. type: str choices: [disable, enable]
more...
Supported Version Ranges: v7.4.8 -> v7.4.10, v7.6.4 -> latest
- detect_only (Alias name: detect-only) Enable/disable only detect disarmable files, do not alter content. type: str choices: [disable, enable]
more...
Supported Version Ranges: v7.4.8 -> v7.4.10, v7.6.4 -> latest
- error_action (Alias name: error-action) Action to be taken if cdr engine encounters an unrecoverable error. type: str choices: [block, log-only, ignore]
more...
Supported Version Ranges: v7.4.8 -> v7.4.10, v7.6.4 -> latest
- office_action (Alias name: office-action) Enable/disable stripping of powerpoint action events in microsoft office documents. type: str choices: [disable, enable]
more...
Supported Version Ranges: v7.4.8 -> v7.4.10, v7.6.4 -> latest
- office_dde (Alias name: office-dde) Enable/disable stripping of dynamic data exchange events in microsoft office documents. type: str choices: [disable, enable]
more...
Supported Version Ranges: v7.4.8 -> v7.4.10, v7.6.4 -> latest
- office_embed (Alias name: office-embed) Enable/disable stripping of embedded objects in microsoft office documents. type: str choices: [disable, enable]
more...
Supported Version Ranges: v7.4.8 -> v7.4.10, v7.6.4 -> latest
- office_hylink (Alias name: office-hylink) Enable/disable stripping of hyperlinks in microsoft office documents. type: str choices: [disable, enable]
more...
Supported Version Ranges: v7.4.8 -> v7.4.10, v7.6.4 -> latest
- office_linked (Alias name: office-linked) Enable/disable stripping of linked objects in microsoft office documents. type: str choices: [disable, enable]
more...
Supported Version Ranges: v7.4.8 -> v7.4.10, v7.6.4 -> latest
- office_macro (Alias name: office-macro) Enable/disable stripping of macros in microsoft office documents. type: str choices: [disable, enable]
more...
Supported Version Ranges: v7.4.8 -> v7.4.10, v7.6.4 -> latest
- original_file_destination (Alias name: original-file-destination) Destination to send original file if active content is removed. type: str choices: [fortisandbox, quarantine, discard]
more...
Supported Version Ranges: v7.4.8 -> v7.4.10, v7.6.4 -> latest
- pdf_act_form (Alias name: pdf-act-form) Enable/disable stripping of pdf document actions that submit data to other targets. type: str choices: [disable, enable]
more...
Supported Version Ranges: v7.4.8 -> v7.4.10, v7.6.4 -> latest
- pdf_act_gotor (Alias name: pdf-act-gotor) Enable/disable stripping of pdf document actions that access other pdf documents. type: str choices: [disable, enable]
more...
Supported Version Ranges: v7.4.8 -> v7.4.10, v7.6.4 -> latest
- pdf_act_java (Alias name: pdf-act-java) Enable/disable stripping of pdf document actions that execute javascript code. type: str choices: [disable, enable]
more...
Supported Version Ranges: v7.4.8 -> v7.4.10, v7.6.4 -> latest
- pdf_act_launch (Alias name: pdf-act-launch) Enable/disable stripping of pdf document actions that launch other applications. type: str choices: [disable, enable]
more...
Supported Version Ranges: v7.4.8 -> v7.4.10, v7.6.4 -> latest
- pdf_act_movie (Alias name: pdf-act-movie) Enable/disable stripping of pdf document actions that play a movie. type: str choices: [disable, enable]
more...
Supported Version Ranges: v7.4.8 -> v7.4.10, v7.6.4 -> latest
- pdf_act_sound (Alias name: pdf-act-sound) Enable/disable stripping of pdf document actions that play a sound. type: str choices: [disable, enable]
more...
Supported Version Ranges: v7.4.8 -> v7.4.10, v7.6.4 -> latest
- pdf_embedfile (Alias name: pdf-embedfile) Enable/disable stripping of embedded files in pdf documents. type: str choices: [disable, enable]
more...
Supported Version Ranges: v7.4.8 -> v7.4.10, v7.6.4 -> latest
- pdf_hyperlink (Alias name: pdf-hyperlink) Enable/disable stripping of hyperlinks from pdf documents. type: str choices: [disable, enable]
more...
Supported Version Ranges: v7.4.8 -> v7.4.10, v7.6.4 -> latest
- pdf_javacode (Alias name: pdf-javacode) Enable/disable stripping of javascript code in pdf documents. type: str choices: [disable, enable]
more...
Supported Version Ranges: v7.4.8 -> v7.4.10, v7.6.4 -> latest
- analytics_suspicious (Alias name: analytics-suspicious) Enable/disable using cdr as a secondary method for determining suspicous files for analytics. type: str choices: [disable, enable]
more...
Supported Version Ranges: v7.4.8 -> v7.4.10, v7.6.4 -> latest
- ems_threat_feed (Alias name: ems-threat-feed) Enable/disable use of ems threat feed when performing antivirus scan. type: str choices: [disable, enable]
more...
Supported Version Ranges: v7.4.8 -> v7.4.10, v7.6.4 -> latest
- external_blocklist (Alias name: external-blocklist) One or more external malware block lists. type: list
more...
Supported Version Ranges: v7.4.8 -> v7.4.10, v7.6.4 -> latest
- external_blocklist_enable_all (Alias name: external-blocklist-enable-all) Enable/disable all external blocklists. type: str choices: [disable, enable]
more...
Supported Version Ranges: v7.4.8 -> v7.4.10, v7.6.4 -> latest
- fortindr_error_action (Alias name: fortindr-error-action) Action to take if fortindr encounters an error. type: str choices: [log-only, block, ignore]
more...
Supported Version Ranges: v7.4.8 -> v7.4.10, v7.6.4 -> latest
- fortindr_timeout_action (Alias name: fortindr-timeout-action) Action to take if fortindr encounters a scan timeout. type: str choices: [log-only, block, ignore]
more...
Supported Version Ranges: v7.4.8 -> v7.4.10, v7.6.4 -> latest
- fortisandbox_error_action (Alias name: fortisandbox-error-action) Action to take if fortisandbox inline scan encounters an error. type: str choices: [log-only, block, ignore]
more...
Supported Version Ranges: v7.4.8 -> v7.4.10, v7.6.4 -> latest
- fortisandbox_max_upload (Alias name: fortisandbox-max-upload) Maximum size of files that can be uploaded to fortisandbox in mbytes. type: int
more...
Supported Version Ranges: v7.4.8 -> v7.4.10, v7.6.4 -> latest
- fortisandbox_mode (Alias name: fortisandbox-mode) Fortisandbox scan modes. type: str choices: [inline, analytics-suspicious, analytics-everything]
more...
Supported Version Ranges: v7.4.8 -> v7.4.10, v7.6.4 -> latest
- fortisandbox_timeout_action (Alias name: fortisandbox-timeout-action) Action to take if fortisandbox inline scan encounters a scan timeout. type: str choices: [log-only, block, ignore]
more...
Supported Version Ranges: v7.4.8 -> v7.4.10, v7.6.4 -> latest
- ftp Ftp. type: dict
more...
Supported Version Ranges: v7.4.8 -> v7.4.10, v7.6.4 -> latest
- archive_block (Alias name: archive-block) Select the archive types to block. type: list choices: [encrypted, corrupted, multipart, nested, mailbomb, unhandled, partiallycorrupted, timeout, fileslimit]
more...
Supported Version Ranges: v7.4.8 -> v7.4.10, v7.6.4 -> latest
- archive_log (Alias name: archive-log) Select the archive types to log. type: list choices: [encrypted, corrupted, multipart, nested, mailbomb, unhandled, partiallycorrupted, timeout, fileslimit]
more...
Supported Version Ranges: v7.4.8 -> v7.4.10, v7.6.4 -> latest
- av_scan (Alias name: av-scan) Enable antivirus scan service. type: str choices: [disable, monitor, block]
more...
Supported Version Ranges: v7.4.8 -> v7.4.10, v7.6.4 -> latest
- emulator Enable/disable the virus emulator. type: str choices: [disable, enable]
more...
Supported Version Ranges: v7.4.8 -> v7.4.10, v7.6.4 -> latest
- external_blocklist (Alias name: external-blocklist) Enable external-blocklist. type: str choices: [disable, monitor, block]
more...
Supported Version Ranges: v7.4.8 -> v7.4.10, v7.6.4 -> latest
- fortindr Enable scanning of files by fortindr. type: str choices: [disable, block, monitor]
more...
Supported Version Ranges: v7.4.8 -> v7.4.10, v7.6.4 -> latest
- fortisandbox Enable scanning of files by fortisandbox. type: str choices: [disable, block, monitor]
more...
Supported Version Ranges: v7.4.8 -> v7.4.10, v7.6.4 -> latest
- outbreak_prevention (Alias name: outbreak-prevention) Enable virus outbreak prevention service. type: str choices: [disable, block, monitor, files, disabled, full-archive]
more...
Supported Version Ranges: v7.4.8 -> v7.4.10, v7.6.4 -> latest
- quarantine Enable/disable quarantine for infected files. type: str choices: [disable, enable]
more...
Supported Version Ranges: v7.4.8 -> v7.4.10, v7.6.4 -> latest
- fortiai Enable/disable scanning of files by fortiai server. type: str choices: [disable, monitor, block]
more...
Supported Version Ranges: v7.4.8 -> v7.4.10, v7.6.4 -> latest
- options Enable/disable ftp antivirus scanning, monitoring, and quarantine. type: list choices: [scan, quarantine, avmonitor]
more...
Supported Version Ranges: v7.4.8 -> v7.4.10, v7.6.4 -> latest
- malware_stream (Alias name: malware-stream) Enable 0-day malware-stream scanning. type: str choices: [disable, monitor, block]
more...
Supported Version Ranges: v7.6.4 -> latest
- http Http. type: dict
more...
Supported Version Ranges: v7.4.8 -> v7.4.10, v7.6.4 -> latest
- archive_block (Alias name: archive-block) Select the archive types to block. type: list choices: [encrypted, corrupted, multipart, nested, mailbomb, unhandled, partiallycorrupted, timeout, fileslimit]
more...
Supported Version Ranges: v7.4.8 -> v7.4.10, v7.6.4 -> latest
- archive_log (Alias name: archive-log) Select the archive types to log. type: list choices: [encrypted, corrupted, multipart, nested, mailbomb, unhandled, partiallycorrupted, timeout, fileslimit]
more...
Supported Version Ranges: v7.4.8 -> v7.4.10, v7.6.4 -> latest
- av_scan (Alias name: av-scan) Enable antivirus scan service. type: str choices: [disable, monitor, block]
more...
Supported Version Ranges: v7.4.8 -> v7.4.10, v7.6.4 -> latest
- content_disarm (Alias name: content-disarm) Enable/disable content disarm and reconstruction when performing antivirus scan. type: str choices: [disable, enable]
more...
Supported Version Ranges: v7.4.8 -> v7.4.10, v7.6.4 -> latest
- emulator Enable/disable the virus emulator. type: str choices: [disable, enable]
more...
Supported Version Ranges: v7.4.8 -> v7.4.10, v7.6.4 -> latest
- external_blocklist (Alias name: external-blocklist) Enable external-blocklist. type: str choices: [disable, monitor, block]
more...
Supported Version Ranges: v7.4.8 -> v7.4.10, v7.6.4 -> latest
- fortindr Enable scanning of files by fortindr. type: str choices: [disable, block, monitor]
more...
Supported Version Ranges: v7.4.8 -> v7.4.10, v7.6.4 -> latest
- fortisandbox Enable scanning of files by fortisandbox. type: str choices: [disable, block, monitor]
more...
Supported Version Ranges: v7.4.8 -> v7.4.10, v7.6.4 -> latest
- outbreak_prevention (Alias name: outbreak-prevention) Enable virus outbreak prevention service. type: str choices: [disable, block, monitor, files, disabled, full-archive]
more...
Supported Version Ranges: v7.4.8 -> v7.4.10, v7.6.4 -> latest
- quarantine Enable/disable quarantine for infected files. type: str choices: [disable, enable]
more...
Supported Version Ranges: v7.4.8 -> v7.4.10, v7.6.4 -> latest
- unknown_content_encoding (Alias name: unknown-content-encoding) Configure the action the fortigate unit will take on unknown content-encoding. type: str choices: [block, inspect, bypass]
more...
Supported Version Ranges: v7.4.8 -> v7.4.10, v7.6.4 -> latest
- fortiai Enable/disable scanning of files by fortiai server. type: str choices: [disable, monitor, block]
more...
Supported Version Ranges: v7.4.8 -> v7.4.10, v7.6.4 -> latest
- options Enable/disable http antivirus scanning, monitoring, and quarantine. type: list choices: [scan, quarantine, avmonitor]
more...
Supported Version Ranges: v7.4.8 -> v7.4.10, v7.6.4 -> latest
- av_optimize (Alias name: av-optimize) Av optimize. type: str choices: [disable, enable]
more...
Supported Version Ranges: v7.4.8 -> v7.4.10
- malware_stream (Alias name: malware-stream) Enable 0-day malware-stream scanning. type: str choices: [disable, monitor, block]
more...
Supported Version Ranges: v7.6.4 -> latest
- imap Imap. type: dict
more...
Supported Version Ranges: v7.4.8 -> v7.4.10, v7.6.4 -> latest
- archive_block (Alias name: archive-block) Select the archive types to block. type: list choices: [encrypted, corrupted, multipart, nested, mailbomb, unhandled, partiallycorrupted, timeout, fileslimit]
more...
Supported Version Ranges: v7.4.8 -> v7.4.10, v7.6.4 -> latest
- archive_log (Alias name: archive-log) Select the archive types to log. type: list choices: [encrypted, corrupted, multipart, nested, mailbomb, unhandled, partiallycorrupted, timeout, fileslimit]
more...
Supported Version Ranges: v7.4.8 -> v7.4.10, v7.6.4 -> latest
- av_scan (Alias name: av-scan) Enable antivirus scan service. type: str choices: [disable, monitor, block]
more...
Supported Version Ranges: v7.4.8 -> v7.4.10, v7.6.4 -> latest
- content_disarm (Alias name: content-disarm) Enable/disable content disarm and reconstruction when performing antivirus scan. type: str choices: [disable, enable]
more...
Supported Version Ranges: v7.4.8 -> v7.4.10, v7.6.4 -> latest
- emulator Enable/disable the virus emulator. type: str choices: [disable, enable]
more...
Supported Version Ranges: v7.4.8 -> v7.4.10, v7.6.4 -> latest
- executables Treat windows executable files as viruses for the purpose of blocking or monitoring. type: str choices: [default, virus]
more...
Supported Version Ranges: v7.4.8 -> v7.4.10, v7.6.4 -> latest
- external_blocklist (Alias name: external-blocklist) Enable external-blocklist. type: str choices: [disable, monitor, block]
more...
Supported Version Ranges: v7.4.8 -> v7.4.10, v7.6.4 -> latest
- fortindr Enable scanning of files by fortindr. type: str choices: [disable, block, monitor]
more...
Supported Version Ranges: v7.4.8 -> v7.4.10, v7.6.4 -> latest
- fortisandbox Enable scanning of files by fortisandbox. type: str choices: [disable, block, monitor]
more...
Supported Version Ranges: v7.4.8 -> v7.4.10, v7.6.4 -> latest
- outbreak_prevention (Alias name: outbreak-prevention) Enable virus outbreak prevention service. type: str choices: [disable, block, monitor, files, disabled, full-archive]
more...
Supported Version Ranges: v7.4.8 -> v7.4.10, v7.6.4 -> latest
- quarantine Enable/disable quarantine for infected files. type: str choices: [disable, enable]
more...
Supported Version Ranges: v7.4.8 -> v7.4.10, v7.6.4 -> latest
- fortiai Enable/disable scanning of files by fortiai server. type: str choices: [disable, monitor, block]
more...
Supported Version Ranges: v7.4.8 -> v7.4.10, v7.6.4 -> latest
- options Enable/disable imap antivirus scanning, monitoring, and quarantine. type: list choices: [scan, quarantine, avmonitor]
more...
Supported Version Ranges: v7.4.8 -> v7.4.10, v7.6.4 -> latest
- malware_stream (Alias name: malware-stream) Enable 0-day malware-stream scanning. type: str choices: [disable, monitor, block]
more...
Supported Version Ranges: v7.6.4 -> latest
- mapi Mapi. type: dict
more...
Supported Version Ranges: v7.4.8 -> v7.4.10, v7.6.4 -> latest
- archive_block (Alias name: archive-block) Select the archive types to block. type: list choices: [encrypted, corrupted, multipart, nested, mailbomb, unhandled, partiallycorrupted, timeout, fileslimit]
more...
Supported Version Ranges: v7.4.8 -> v7.4.10, v7.6.4 -> latest
- archive_log (Alias name: archive-log) Select the archive types to log. type: list choices: [encrypted, corrupted, multipart, nested, mailbomb, unhandled, partiallycorrupted, timeout, fileslimit]
more...
Supported Version Ranges: v7.4.8 -> v7.4.10, v7.6.4 -> latest
- av_scan (Alias name: av-scan) Enable antivirus scan service. type: str choices: [disable, monitor, block]
more...
Supported Version Ranges: v7.4.8 -> v7.4.10, v7.6.4 -> latest
- emulator Enable/disable the virus emulator. type: str choices: [disable, enable]
more...
Supported Version Ranges: v7.4.8 -> v7.4.10, v7.6.4 -> latest
- executables Treat windows executable files as viruses for the purpose of blocking or monitoring. type: str choices: [default, virus]
more...
Supported Version Ranges: v7.4.8 -> v7.4.10, v7.6.4 -> latest
- external_blocklist (Alias name: external-blocklist) Enable external-blocklist. type: str choices: [disable, monitor, block]
more...
Supported Version Ranges: v7.4.8 -> v7.4.10, v7.6.4 -> latest
- fortindr Enable scanning of files by fortindr. type: str choices: [disable, block, monitor]
more...
Supported Version Ranges: v7.4.8 -> v7.4.10, v7.6.4 -> latest
- fortisandbox Enable scanning of files by fortisandbox. type: str choices: [disable, block, monitor]
more...
Supported Version Ranges: v7.4.8 -> v7.4.10, v7.6.4 -> latest
- outbreak_prevention (Alias name: outbreak-prevention) Enable virus outbreak prevention service. type: str choices: [disable, block, monitor, files, disabled, full-archive]
more...
Supported Version Ranges: v7.4.8 -> v7.4.10, v7.6.4 -> latest
- quarantine Enable/disable quarantine for infected files. type: str choices: [disable, enable]
more...
Supported Version Ranges: v7.4.8 -> v7.4.10, v7.6.4 -> latest
- fortiai Enable/disable scanning of files by fortiai server. type: str choices: [disable, monitor, block]
more...
Supported Version Ranges: v7.4.8 -> v7.4.10, v7.6.4 -> latest
- options Enable/disable mapi antivirus scanning, monitoring, and quarantine. type: list choices: [scan, quarantine, avmonitor]
more...
Supported Version Ranges: v7.4.8 -> v7.4.10, v7.6.4 -> latest
- malware_stream (Alias name: malware-stream) Enable 0-day malware-stream scanning. type: str choices: [disable, monitor, block]
more...
Supported Version Ranges: v7.6.4 -> latest
- mobile_malware_db (Alias name: mobile-malware-db) Enable/disable using the mobile malware signature database. type: str choices: [disable, enable]
more...
Supported Version Ranges: v7.4.8 -> v7.4.10, v7.6.4 -> latest
- nac_quar (Alias name: nac-quar) Nac quar. type: dict
more...
Supported Version Ranges: v7.4.8 -> v7.4.10, v7.6.4 -> latest
- expiry Duration of quarantine. type: str
more...
Supported Version Ranges: v7.4.8 -> v7.4.10, v7.6.4 -> latest
- infected Enable/disable quarantining infected hosts to the banned user list. type: str choices: [none, quar-src-ip]
more...
Supported Version Ranges: v7.4.8 -> v7.4.10, v7.6.4 -> latest
- log Enable/disable antivirus quarantine logging. type: str choices: [disable, enable]
more...
Supported Version Ranges: v7.4.8 -> v7.4.10, v7.6.4 -> latest
- name Profile name. type: str
more...
Supported Version Ranges: v7.4.8 -> v7.4.10, v7.6.4 -> latest
- nntp Nntp. type: dict
more...
Supported Version Ranges: v7.4.8 -> v7.4.10, v7.6.4 -> latest
- archive_block (Alias name: archive-block) Select the archive types to block. type: list choices: [encrypted, corrupted, multipart, nested, mailbomb, unhandled, partiallycorrupted, timeout, fileslimit]
more...
Supported Version Ranges: v7.4.8 -> v7.4.10, v7.6.4 -> latest
- archive_log (Alias name: archive-log) Select the archive types to log. type: list choices: [encrypted, corrupted, multipart, nested, mailbomb, unhandled, partiallycorrupted, timeout, fileslimit]
more...
Supported Version Ranges: v7.4.8 -> v7.4.10, v7.6.4 -> latest
- av_scan (Alias name: av-scan) Enable antivirus scan service. type: str choices: [disable, monitor, block]
more...
Supported Version Ranges: v7.4.8 -> v7.4.10, v7.6.4 -> latest
- emulator Enable/disable the virus emulator. type: str choices: [disable, enable]
more...
Supported Version Ranges: v7.4.8 -> v7.4.10, v7.6.4 -> latest
- external_blocklist (Alias name: external-blocklist) Enable external-blocklist. type: str choices: [disable, monitor, block]
more...
Supported Version Ranges: v7.4.8 -> v7.4.10, v7.6.4 -> latest
- fortindr Enable scanning of files by fortindr. type: str choices: [disable, block, monitor]
more...
Supported Version Ranges: v7.4.8 -> v7.4.10, v7.6.4 -> latest
- fortisandbox Enable scanning of files by fortisandbox. type: str choices: [disable, block, monitor]
more...
Supported Version Ranges: v7.4.8 -> v7.4.10, v7.6.4 -> latest
- outbreak_prevention (Alias name: outbreak-prevention) Enable virus outbreak prevention service. type: str choices: [disable, block, monitor, files, disabled, full-archive]
more...
Supported Version Ranges: v7.4.8 -> v7.4.10, v7.6.4 -> latest
- quarantine Enable/disable quarantine for infected files. type: str choices: [disable, enable]
more...
Supported Version Ranges: v7.4.8 -> v7.4.10, v7.6.4 -> latest
- fortiai Enable/disable scanning of files by fortiai server. type: str choices: [disable, monitor, block]
more...
Supported Version Ranges: v7.4.8 -> v7.4.10, v7.6.4 -> latest
- options Enable/disable nntp antivirus scanning, monitoring, and quarantine. type: list choices: [scan, quarantine, avmonitor]
more...
Supported Version Ranges: v7.4.8 -> v7.4.10, v7.6.4 -> latest
- malware_stream (Alias name: malware-stream) Enable 0-day malware-stream scanning. type: str choices: [disable, monitor, block]
more...
Supported Version Ranges: v7.6.4 -> latest
- outbreak_prevention_archive_scan (Alias name: outbreak-prevention-archive-scan) Enable/disable outbreak-prevention archive scanning. type: str choices: [disable, enable]
more...
Supported Version Ranges: v7.4.8 -> v7.4.10, v7.6.4 -> latest
- pop3 Pop3. type: dict
more...
Supported Version Ranges: v7.4.8 -> v7.4.10, v7.6.4 -> latest
- archive_block (Alias name: archive-block) Select the archive types to block. type: list choices: [encrypted, corrupted, multipart, nested, mailbomb, unhandled, partiallycorrupted, timeout, fileslimit]
more...
Supported Version Ranges: v7.4.8 -> v7.4.10, v7.6.4 -> latest
- archive_log (Alias name: archive-log) Select the archive types to log. type: list choices: [encrypted, corrupted, multipart, nested, mailbomb, unhandled, partiallycorrupted, timeout, fileslimit]
more...
Supported Version Ranges: v7.4.8 -> v7.4.10, v7.6.4 -> latest
- av_scan (Alias name: av-scan) Enable antivirus scan service. type: str choices: [disable, monitor, block]
more...
Supported Version Ranges: v7.4.8 -> v7.4.10, v7.6.4 -> latest
- content_disarm (Alias name: content-disarm) Enable/disable content disarm and reconstruction when performing antivirus scan. type: str choices: [disable, enable]
more...
Supported Version Ranges: v7.4.8 -> v7.4.10, v7.6.4 -> latest
- emulator Enable/disable the virus emulator. type: str choices: [disable, enable]
more...
Supported Version Ranges: v7.4.8 -> v7.4.10, v7.6.4 -> latest
- executables Treat windows executable files as viruses for the purpose of blocking or monitoring. type: str choices: [default, virus]
more...
Supported Version Ranges: v7.4.8 -> v7.4.10, v7.6.4 -> latest
- external_blocklist (Alias name: external-blocklist) Enable external-blocklist. type: str choices: [disable, monitor, block]
more...
Supported Version Ranges: v7.4.8 -> v7.4.10, v7.6.4 -> latest
- fortindr Enable scanning of files by fortindr. type: str choices: [disable, block, monitor]
more...
Supported Version Ranges: v7.4.8 -> v7.4.10, v7.6.4 -> latest
- fortisandbox Enable scanning of files by fortisandbox. type: str choices: [disable, block, monitor]
more...
Supported Version Ranges: v7.4.8 -> v7.4.10, v7.6.4 -> latest
- outbreak_prevention (Alias name: outbreak-prevention) Enable virus outbreak prevention service. type: str choices: [disable, block, monitor, files, disabled, full-archive]
more...
Supported Version Ranges: v7.4.8 -> v7.4.10, v7.6.4 -> latest
- quarantine Enable/disable quarantine for infected files. type: str choices: [disable, enable]
more...
Supported Version Ranges: v7.4.8 -> v7.4.10, v7.6.4 -> latest
- fortiai Enable/disable scanning of files by fortiai server. type: str choices: [disable, monitor, block]
more...
Supported Version Ranges: v7.4.8 -> v7.4.10, v7.6.4 -> latest
- options Enable/disable pop3 antivirus scanning, monitoring, and quarantine. type: list choices: [scan, quarantine, avmonitor]
more...
Supported Version Ranges: v7.4.8 -> v7.4.10, v7.6.4 -> latest
- malware_stream (Alias name: malware-stream) Enable 0-day malware-stream scanning. type: str choices: [disable, monitor, block]
more...
Supported Version Ranges: v7.6.4 -> latest
- replacemsg_group (Alias name: replacemsg-group) Replacement message group customized for this profile. type: list
more...
Supported Version Ranges: v7.4.8 -> v7.4.10, v7.6.4 -> latest
- scan_mode (Alias name: scan-mode) Configure scan mode (default or legacy). type: str choices: [legacy, default, full, quick]
more...
Supported Version Ranges: v7.4.8 -> v7.4.10, v7.6.4 -> latest
- smtp Smtp. type: dict
more...
Supported Version Ranges: v7.4.8 -> v7.4.10, v7.6.4 -> latest
- archive_block (Alias name: archive-block) Select the archive types to block. type: list choices: [encrypted, corrupted, multipart, nested, mailbomb, unhandled, partiallycorrupted, timeout, fileslimit]
more...
Supported Version Ranges: v7.4.8 -> v7.4.10, v7.6.4 -> latest
- archive_log (Alias name: archive-log) Select the archive types to log. type: list choices: [encrypted, corrupted, multipart, nested, mailbomb, unhandled, partiallycorrupted, timeout, fileslimit]
more...
Supported Version Ranges: v7.4.8 -> v7.4.10, v7.6.4 -> latest
- av_scan (Alias name: av-scan) Enable antivirus scan service. type: str choices: [disable, monitor, block]
more...
Supported Version Ranges: v7.4.8 -> v7.4.10, v7.6.4 -> latest
- content_disarm (Alias name: content-disarm) Enable/disable content disarm and reconstruction when performing antivirus scan. type: str choices: [disable, enable]
more...
Supported Version Ranges: v7.4.8 -> v7.4.10, v7.6.4 -> latest
- emulator Enable/disable the virus emulator. type: str choices: [disable, enable]
more...
Supported Version Ranges: v7.4.8 -> v7.4.10, v7.6.4 -> latest
- executables Treat windows executable files as viruses for the purpose of blocking or monitoring. type: str choices: [default, virus]
more...
Supported Version Ranges: v7.4.8 -> v7.4.10, v7.6.4 -> latest
- external_blocklist (Alias name: external-blocklist) Enable external-blocklist. type: str choices: [disable, monitor, block]
more...
Supported Version Ranges: v7.4.8 -> v7.4.10, v7.6.4 -> latest
- fortindr Enable scanning of files by fortindr. type: str choices: [disable, block, monitor]
more...
Supported Version Ranges: v7.4.8 -> v7.4.10, v7.6.4 -> latest
- fortisandbox Enable scanning of files by fortisandbox. type: str choices: [disable, block, monitor]
more...
Supported Version Ranges: v7.4.8 -> v7.4.10, v7.6.4 -> latest
- outbreak_prevention (Alias name: outbreak-prevention) Enable virus outbreak prevention service. type: str choices: [disable, block, monitor, files, disabled, full-archive]
more...
Supported Version Ranges: v7.4.8 -> v7.4.10, v7.6.4 -> latest
- quarantine Enable/disable quarantine for infected files. type: str choices: [disable, enable]
more...
Supported Version Ranges: v7.4.8 -> v7.4.10, v7.6.4 -> latest
- fortiai Enable/disable scanning of files by fortiai server. type: str choices: [disable, monitor, block]
more...
Supported Version Ranges: v7.4.8 -> v7.4.10, v7.6.4 -> latest
- options Enable/disable smtp antivirus scanning, monitoring, and quarantine. type: list choices: [scan, quarantine, avmonitor]
more...
Supported Version Ranges: v7.4.8 -> v7.4.10, v7.6.4 -> latest
- malware_stream (Alias name: malware-stream) Enable 0-day malware-stream scanning. type: str choices: [disable, monitor, block]
more...
Supported Version Ranges: v7.6.4 -> latest
- ssh Ssh. type: dict
more...
Supported Version Ranges: v7.4.8 -> v7.4.10, v7.6.4 -> latest
- archive_block (Alias name: archive-block) Select the archive types to block. type: list choices: [encrypted, corrupted, multipart, nested, mailbomb, unhandled, partiallycorrupted, timeout, fileslimit]
more...
Supported Version Ranges: v7.4.8 -> v7.4.10, v7.6.4 -> latest
- archive_log (Alias name: archive-log) Select the archive types to log. type: list choices: [encrypted, corrupted, multipart, nested, mailbomb, unhandled, partiallycorrupted, timeout, fileslimit]
more...
Supported Version Ranges: v7.4.8 -> v7.4.10, v7.6.4 -> latest
- av_scan (Alias name: av-scan) Enable antivirus scan service. type: str choices: [disable, monitor, block]
more...
Supported Version Ranges: v7.4.8 -> v7.4.10, v7.6.4 -> latest
- emulator Enable/disable the virus emulator. type: str choices: [disable, enable]
more...
Supported Version Ranges: v7.4.8 -> v7.4.10, v7.6.4 -> latest
- external_blocklist (Alias name: external-blocklist) Enable external-blocklist. type: str choices: [disable, monitor, block]
more...
Supported Version Ranges: v7.4.8 -> v7.4.10, v7.6.4 -> latest
- fortindr Enable scanning of files by fortindr. type: str choices: [disable, block, monitor]
more...
Supported Version Ranges: v7.4.8 -> v7.4.10, v7.6.4 -> latest
- fortisandbox Enable scanning of files by fortisandbox. type: str choices: [disable, block, monitor]
more...
Supported Version Ranges: v7.4.8 -> v7.4.10, v7.6.4 -> latest
- outbreak_prevention (Alias name: outbreak-prevention) Enable virus outbreak prevention service. type: str choices: [disable, block, monitor, files, disabled, full-archive]
more...
Supported Version Ranges: v7.4.8 -> v7.4.10, v7.6.4 -> latest
- quarantine Enable/disable quarantine for infected files. type: str choices: [disable, enable]
more...
Supported Version Ranges: v7.4.8 -> v7.4.10, v7.6.4 -> latest
- fortiai Enable/disable scanning of files by fortiai server. type: str choices: [disable, monitor, block]
more...
Supported Version Ranges: v7.4.8 -> v7.4.10, v7.6.4 -> latest
- options Enable/disable sftp and scp antivirus scanning, monitoring, and quarantine. type: list choices: [avmonitor, quarantine, scan]
more...
Supported Version Ranges: v7.4.8 -> v7.4.10, v7.6.4 -> latest
- malware_stream (Alias name: malware-stream) Enable 0-day malware-stream scanning. type: str choices: [disable, monitor, block]
more...
Supported Version Ranges: v7.6.4 -> latest
- feature_set (Alias name: feature-set) Flow/proxy feature set. type: str choices: [proxy, flow]
more...
Supported Version Ranges: v7.4.8 -> v7.4.10, v7.6.4 -> latest
- extended_log (Alias name: extended-log) Enable/disable extended logging for antivirus. type: str choices: [disable, enable]
more...
Supported Version Ranges: v7.4.8 -> v7.4.10, v7.6.4 -> latest
- ftgd_analytics (Alias name: ftgd-analytics) Settings to control which files are uploaded to fortisandbox. type: str choices: [disable, suspicious, everything]
more...
Supported Version Ranges: v7.4.8 -> v7.4.10, v7.6.4 -> latest
- analytics_max_upload (Alias name: analytics-max-upload) Maximum size of files that can be uploaded to fortisandbox. type: int
more...
Supported Version Ranges: v7.4.8 -> v7.4.10, v7.6.4 -> latest
- fortiai_error_action (Alias name: fortiai-error-action) Action to take if fortiai encounters an error. type: str choices: [block, log-only, ignore]
more...
Supported Version Ranges: v7.4.8 -> v7.4.10, v7.6.4 -> latest
- fortiai_timeout_action (Alias name: fortiai-timeout-action) Fortiai timeout action. type: str choices: [block, log-only, ignore]
more...
Supported Version Ranges: v7.4.8 -> v7.4.10, v7.6.4 -> latest
- external_blocklist_archive_scan (Alias name: external-blocklist-archive-scan) External blocklist archive scan. type: str choices: [disable, enable]
more...
Supported Version Ranges: v7.4.8 -> v7.4.10, v7.6.4 -> latest
- outbreak_prevention (Alias name: outbreak-prevention) Outbreak prevention. type: dict
more...
Supported Version Ranges: v7.4.8 -> v7.4.10, v7.6.4 -> latest
- external_blocklist (Alias name: external-blocklist) Enable/disable external malware blocklist. type: str choices: [disable, enable]
more...
Supported Version Ranges: v7.4.8 -> v7.4.10, v7.6.4 -> latest
- ftgd_service (Alias name: ftgd-service) Enable/disable fortiguard virus outbreak prevention service. type: str choices: [disable, enable]
more...
Supported Version Ranges: v7.4.8 -> v7.4.10, v7.6.4 -> latest
- analytics_bl_filetype (Alias name: analytics-bl-filetype) Only submit files matching this dlp file-pattern to fortisandbox. type: list
more...
Supported Version Ranges: v7.4.8 -> v7.4.10, v7.6.4 -> latest
- analytics_wl_filetype (Alias name: analytics-wl-filetype) Do not submit files matching this dlp file-pattern to fortisandbox. type: list
more...
Supported Version Ranges: v7.4.8 -> v7.4.10, v7.6.4 -> latest
- fortisandbox_scan_timeout (Alias name: fortisandbox-scan-timeout) Fortisandbox inline scan timeout in seconds (30 - 180, default = 60). type: int
more...
Supported Version Ranges: v7.6.5 -> latest
Notes
-----
.. note::
- Running in workspace locking mode is supported in this FortiManager module, the top level parameters workspace_locking_adom and workspace_locking_timeout help do the work.
- To create or update an object, use state: present directive.
- To delete an object, use state: absent directive
- Normally, running one module can fail when a non-zero rc is returned. you can also override the conditions to fail or succeed with parameters rc_failed and rc_succeeded
Examples
--------
.. code-block:: yaml+jinja
- name: Example playbook (generated based on argument schema)
hosts: fortimanagers
connection: httpapi
gather_facts: false
vars:
ansible_httpapi_use_ssl: true
ansible_httpapi_validate_certs: false
ansible_httpapi_port: 443
tasks:
- name: Configure AntiVirus profiles.
fortinet.fmgdevice.fmgd_antivirus_profile:
# bypass_validation: false
# workspace_locking_adom:
# workspace_locking_timeout: 300
# rc_succeeded: [0, -2, -3, ...]
# rc_failed: [-2, -3, ...]
device:
vdom:
state: present #
antivirus_profile:
name: "your value" # Required variable, string
# analytics_accept_filetype:
# analytics_db:
# analytics_ignore_filetype:
# av_block_log:
# av_virus_log:
# cifs:
# archive_block:
# - "encrypted"
# - "corrupted"
# - "multipart"
# - "nested"
# - "mailbomb"
# - "unhandled"
# - "partiallycorrupted"
# - "timeout"
# - "fileslimit"
# archive_log:
# - "encrypted"
# - "corrupted"
# - "multipart"
# - "nested"
# - "mailbomb"
# - "unhandled"
# - "partiallycorrupted"
# - "timeout"
# - "fileslimit"
# av_scan:
# emulator:
# external_blocklist:
# fortindr:
# fortisandbox:
# outbreak_prevention:
# quarantine:
# fortiai:
# options:
# - "scan"
# - "quarantine"
# - "avmonitor"
# malware_stream:
# comment:
# content_disarm:
# cover_page:
# detect_only:
# error_action:
# office_action:
# office_dde:
# office_embed:
# office_hylink:
# office_linked:
# office_macro:
# original_file_destination:
# pdf_act_form:
# pdf_act_gotor:
# pdf_act_java:
# pdf_act_launch:
# pdf_act_movie:
# pdf_act_sound:
# pdf_embedfile:
# pdf_hyperlink:
# pdf_javacode:
# analytics_suspicious:
# ems_threat_feed:
# external_blocklist:
# external_blocklist_enable_all:
# fortindr_error_action:
# fortindr_timeout_action:
# fortisandbox_error_action:
# fortisandbox_max_upload:
# fortisandbox_mode:
# fortisandbox_timeout_action:
# ftp:
# archive_block:
# - "encrypted"
# - "corrupted"
# - "multipart"
# - "nested"
# - "mailbomb"
# - "unhandled"
# - "partiallycorrupted"
# - "timeout"
# - "fileslimit"
# archive_log:
# - "encrypted"
# - "corrupted"
# - "multipart"
# - "nested"
# - "mailbomb"
# - "unhandled"
# - "partiallycorrupted"
# - "timeout"
# - "fileslimit"
# av_scan:
# emulator:
# external_blocklist:
# fortindr:
# fortisandbox:
# outbreak_prevention:
# quarantine:
# fortiai:
# options:
# - "scan"
# - "quarantine"
# - "avmonitor"
# malware_stream:
# http:
# archive_block:
# - "encrypted"
# - "corrupted"
# - "multipart"
# - "nested"
# - "mailbomb"
# - "unhandled"
# - "partiallycorrupted"
# - "timeout"
# - "fileslimit"
# archive_log:
# - "encrypted"
# - "corrupted"
# - "multipart"
# - "nested"
# - "mailbomb"
# - "unhandled"
# - "partiallycorrupted"
# - "timeout"
# - "fileslimit"
# av_scan:
# content_disarm:
# emulator:
# external_blocklist:
# fortindr:
# fortisandbox:
# outbreak_prevention:
# quarantine:
# unknown_content_encoding:
# fortiai:
# options:
# - "scan"
# - "quarantine"
# - "avmonitor"
# av_optimize:
# malware_stream:
# imap:
# archive_block:
# - "encrypted"
# - "corrupted"
# - "multipart"
# - "nested"
# - "mailbomb"
# - "unhandled"
# - "partiallycorrupted"
# - "timeout"
# - "fileslimit"
# archive_log:
# - "encrypted"
# - "corrupted"
# - "multipart"
# - "nested"
# - "mailbomb"
# - "unhandled"
# - "partiallycorrupted"
# - "timeout"
# - "fileslimit"
# av_scan:
# content_disarm:
# emulator:
# executables:
# external_blocklist:
# fortindr:
# fortisandbox:
# outbreak_prevention:
# quarantine:
# fortiai:
# options:
# - "scan"
# - "quarantine"
# - "avmonitor"
# malware_stream:
# mapi:
# archive_block:
# - "encrypted"
# - "corrupted"
# - "multipart"
# - "nested"
# - "mailbomb"
# - "unhandled"
# - "partiallycorrupted"
# - "timeout"
# - "fileslimit"
# archive_log:
# - "encrypted"
# - "corrupted"
# - "multipart"
# - "nested"
# - "mailbomb"
# - "unhandled"
# - "partiallycorrupted"
# - "timeout"
# - "fileslimit"
# av_scan:
# emulator:
# executables:
# external_blocklist:
# fortindr:
# fortisandbox:
# outbreak_prevention:
# quarantine:
# fortiai:
# options:
# - "scan"
# - "quarantine"
# - "avmonitor"
# malware_stream:
# mobile_malware_db:
# nac_quar:
# expiry:
# infected:
# log:
# nntp:
# archive_block:
# - "encrypted"
# - "corrupted"
# - "multipart"
# - "nested"
# - "mailbomb"
# - "unhandled"
# - "partiallycorrupted"
# - "timeout"
# - "fileslimit"
# archive_log:
# - "encrypted"
# - "corrupted"
# - "multipart"
# - "nested"
# - "mailbomb"
# - "unhandled"
# - "partiallycorrupted"
# - "timeout"
# - "fileslimit"
# av_scan:
# emulator:
# external_blocklist:
# fortindr:
# fortisandbox:
# outbreak_prevention:
# quarantine:
# fortiai:
# options:
# - "scan"
# - "quarantine"
# - "avmonitor"
# malware_stream:
# outbreak_prevention_archive_scan:
# pop3:
# archive_block:
# - "encrypted"
# - "corrupted"
# - "multipart"
# - "nested"
# - "mailbomb"
# - "unhandled"
# - "partiallycorrupted"
# - "timeout"
# - "fileslimit"
# archive_log:
# - "encrypted"
# - "corrupted"
# - "multipart"
# - "nested"
# - "mailbomb"
# - "unhandled"
# - "partiallycorrupted"
# - "timeout"
# - "fileslimit"
# av_scan:
# content_disarm:
# emulator:
# executables:
# external_blocklist:
# fortindr:
# fortisandbox:
# outbreak_prevention:
# quarantine:
# fortiai:
# options:
# - "scan"
# - "quarantine"
# - "avmonitor"
# malware_stream:
# replacemsg_group:
# scan_mode:
# smtp:
# archive_block:
# - "encrypted"
# - "corrupted"
# - "multipart"
# - "nested"
# - "mailbomb"
# - "unhandled"
# - "partiallycorrupted"
# - "timeout"
# - "fileslimit"
# archive_log:
# - "encrypted"
# - "corrupted"
# - "multipart"
# - "nested"
# - "mailbomb"
# - "unhandled"
# - "partiallycorrupted"
# - "timeout"
# - "fileslimit"
# av_scan:
# content_disarm:
# emulator:
# executables:
# external_blocklist:
# fortindr:
# fortisandbox:
# outbreak_prevention:
# quarantine:
# fortiai:
# options:
# - "scan"
# - "quarantine"
# - "avmonitor"
# malware_stream:
# ssh:
# archive_block:
# - "encrypted"
# - "corrupted"
# - "multipart"
# - "nested"
# - "mailbomb"
# - "unhandled"
# - "partiallycorrupted"
# - "timeout"
# - "fileslimit"
# archive_log:
# - "encrypted"
# - "corrupted"
# - "multipart"
# - "nested"
# - "mailbomb"
# - "unhandled"
# - "partiallycorrupted"
# - "timeout"
# - "fileslimit"
# av_scan:
# emulator:
# external_blocklist:
# fortindr:
# fortisandbox:
# outbreak_prevention:
# quarantine:
# fortiai:
# options:
# - "avmonitor"
# - "quarantine"
# - "scan"
# malware_stream:
# feature_set:
# extended_log:
# ftgd_analytics:
# analytics_max_upload:
# fortiai_error_action:
# fortiai_timeout_action:
# external_blocklist_archive_scan:
# outbreak_prevention:
# external_blocklist:
# ftgd_service:
# analytics_bl_filetype:
# analytics_wl_filetype:
# fortisandbox_scan_timeout:
Return Values
-------------
Common return values are documented: https://docs.ansible.com/ansible/latest/reference_appendices/common_return_values.html#common-return-values, the following are the fields unique to this module:
.. raw:: html
- meta - The result of the request.returned: always type: dict
- request_url - The full url requested. returned: always type: str sample: /sys/login/user
- response_code - The status of api request. returned: always type: int sample: 0
- response_data - The data body of the api response. returned: optional type: list or dict
- response_message - The descriptive message of the api response. returned: always type: str sample: OK
- system_information - The information of the target system. returned: always type: dict
- rc - The status the request. returned: always type: int sample: 0
- version_check_warning - Warning if the parameters used in the playbook are not supported by the current FortiManager version. returned: if at least one parameter not supported by the current FortiManager version type: list
Status
------
- This module is not guaranteed to have a backwards compatible interface.
Authors
-------
- Xinwei Du (@dux-fortinet)
- Xing Li (@lix-fortinet)
- Jie Xue (@JieX19)
- Link Zheng (@chillancezen)
- Frank Shen (@fshen01)
- Hongbin Lu (@fgtdev-hblu)