Skip to content

Commit

Permalink
Release fortios galaxy document:2.3.2
Browse files Browse the repository at this point in the history
Signed-off-by: FTNT-HQCM <hq-devops-admin@fortinet.com>
  • Loading branch information
FTNT-HQCM committed Sep 1, 2023
1 parent 116f522 commit d582d18
Show file tree
Hide file tree
Showing 256 changed files with 787 additions and 541 deletions.
13 changes: 4 additions & 9 deletions conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
# -- Project information -----------------------------------------------------

project = 'Ansible Galaxy FortiOS Collection'
copyright = '2020-2021, Fortinet'
copyright = '2020-2023, Fortinet'
author = 'Fortinet'

# The full version, including alpha/beta/rc tags
Expand All @@ -31,6 +31,7 @@
'collapse.css',
]


html_js_files = [
'util.js',
]
Expand All @@ -42,11 +43,10 @@
# Add any Sphinx extension module names here, as strings. They can be
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
# ones.
extensions = [
]
extensions = []

# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']
templates_path = ['templates']

# List of patterns, relative to source directory, that match files and
# directories to ignore when looking for source files.
Expand All @@ -61,8 +61,3 @@
#
html_theme = 'sphinx_rtd_theme'

# Add any paths that contain custom static files (such as style sheets) here,
# relative to this directory. They are copied after the builtin static files,
# so a file named "default.css" will overwrite the builtin "default.css".
# html_static_path = ['_static']
# html4_writer=True
35 changes: 35 additions & 0 deletions faq.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ Frequently Asked Questions (FAQ)
- `How to use the set_fact module in a task?`_
- `How to use the member operation to add an element in an object?`_
- `Set up FortiToken multi-factor authentication`_
- `Avoid using the special placeholder 0 as the mkey in some modules`_

|
Expand Down Expand Up @@ -486,6 +487,40 @@ It uses one of the two free mobile FortiTokens that is already installed on the
method: email
email: abc@gmail.com

Avoid using the special placeholder 0 as the mkey in some modules
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

While '0' is a special placeholder that allows the backend to assign the latest available number for the entity, it does have limitations, for example, when you create a new router_static entity that has the identical configurations with an existing one, if the 'seq_num' is '0' or seq_num is absent, there will be an error thrown out from the backend and complain "duplicate entry already exists". Also, it's required to provide the mkey when updating or deleting an entity. Therefore, using your own value for this purpose to avoid any potential issues in the future.

::

tasks:
- name: Configuring Static Routing 1
fortios_router_static:
enable_log: true
state: present
router_static:
seq_num: 1
dst: "180.0.1.11/32"
gateway: "192.168.0.1"
device: "port1"
status: "enable"
distance: 10

- name: Update the distance parameter
fortios_router_static:
enable_log: true
state: present
router_static:
seq_num: 1
distance: 15

- name: Delete the specific router static entity
fortios_router_static:
enable_log: true
state: absent
router_static:
seq_num: 1

.. _Run Your Playbook: playbook.html
.. _How To Generate Access Token Dynamically: faq.html#what-s-access-token
Expand Down
4 changes: 3 additions & 1 deletion gen/fortios_antivirus_mms_checksum.rst
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ Parameters
</div>
</li>
</ul>
<li> <span class="li-head">id</span> - ID. <span class="li-normal">type: int</span> <span class="li-required">required: true</span>
<li> <span class="li-head">id</span> - ID. see <a href='#notes'>Notes</a>. <span class="li-normal">type: int</span> <span class="li-required">required: true</span>
<a id='label12' href="javascript:ContentClick('label13', 'label12');" onmouseover="ContentPreview('label13');" onmouseout="ContentUnpreview('label13');" title="click to collapse or expand..."> more... </a>
<div id="label13" style="display:none">
<table border="1">
Expand Down Expand Up @@ -325,6 +325,8 @@ Notes

.. note::

- We highly recommend using your own value as the id instead of 0, while '0' is a special placeholder that allows the backend to assign the latest available number for the object, it does have limitations. Please find more details in Q&A.

- Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks


Expand Down
4 changes: 3 additions & 1 deletion gen/fortios_antivirus_notification.rst
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ Parameters
</div>
</li>
</ul>
<li> <span class="li-head">id</span> - ID. <span class="li-normal">type: int</span> <span class="li-required">required: true</span>
<li> <span class="li-head">id</span> - ID. see <a href='#notes'>Notes</a>. <span class="li-normal">type: int</span> <span class="li-required">required: true</span>
<a id='label12' href="javascript:ContentClick('label13', 'label12');" onmouseover="ContentPreview('label13');" onmouseout="ContentUnpreview('label13');" title="click to collapse or expand..."> more... </a>
<div id="label13" style="display:none">
<table border="1">
Expand Down Expand Up @@ -345,6 +345,8 @@ Notes

.. note::

- We highly recommend using your own value as the id instead of 0, while '0' is a special placeholder that allows the backend to assign the latest available number for the object, it does have limitations. Please find more details in Q&A.

- Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks


Expand Down
8 changes: 4 additions & 4 deletions gen/fortios_application_group.rst
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ Parameters
</div>
</li>
<ul class="ul-self">
<li> <span class="li-head">id</span> - Application IDs. <span class="li-normal">type: int</span> <span class="li-required">required: true</span>
<li> <span class="li-head">id</span> - Application IDs. see <a href='#notes'>Notes</a>. <span class="li-normal">type: int</span> <span class="li-required">required: true</span>
<a id='label4' href="javascript:ContentClick('label5', 'label4');" onmouseover="ContentPreview('label5');" onmouseout="ContentUnpreview('label5');" title="click to collapse or expand..."> more... </a>
<div id="label5" style="display:none">
<table border="1">
Expand Down Expand Up @@ -370,7 +370,7 @@ Parameters
</div>
</li>
<ul class="ul-self">
<li> <span class="li-head">id</span> - Category IDs. <span class="li-normal">type: int</span> <span class="li-required">required: true</span>
<li> <span class="li-head">id</span> - Category IDs. see <a href='#notes'>Notes</a>. <span class="li-normal">type: int</span> <span class="li-required">required: true</span>
<a id='label8' href="javascript:ContentClick('label9', 'label8');" onmouseover="ContentPreview('label9');" onmouseout="ContentUnpreview('label9');" title="click to collapse or expand..."> more... </a>
<div id="label9" style="display:none">
<table border="1">
Expand Down Expand Up @@ -828,7 +828,7 @@ Parameters
</div>
</li>
<ul class="ul-self">
<li> <span class="li-head">level</span> - Risk, or impact, of allowing traffic from this application to occur (1 - 5; Low, Elevated, Medium, High, and Critical). <span class="li-normal">type: int</span> <span class="li-required">required: true</span>
<li> <span class="li-head">level</span> - Risk, or impact, of allowing traffic from this application to occur (1 - 5; Low, Elevated, Medium, High, and Critical). see <a href='#notes'>Notes</a>. <span class="li-normal">type: int</span> <span class="li-required">required: true</span>
<a id='label18' href="javascript:ContentClick('label19', 'label18');" onmouseover="ContentPreview('label19');" onmouseout="ContentUnpreview('label19');" title="click to collapse or expand..."> more... </a>
<div id="label19" style="display:none">
<table border="1">
Expand Down Expand Up @@ -1068,7 +1068,7 @@ Examples
protocols: "<your_own_value>"
risk:
-
level: "0"
level: "<you_own_value>"
technology: "<your_own_value>"
type: "application"
vendor: "<your_own_value>"
Expand Down
20 changes: 10 additions & 10 deletions gen/fortios_application_list.rst
Original file line number Diff line number Diff line change
Expand Up @@ -661,7 +661,7 @@ Parameters
</div>
</li>
<ul class="ul-self">
<li> <span class="li-head">id</span> - Entry ID. <span class="li-normal">type: int</span> <span class="li-required">required: true</span>
<li> <span class="li-head">id</span> - Entry ID. see <a href='#notes'>Notes</a>. <span class="li-normal">type: int</span> <span class="li-required">required: true</span>
<a id='label12' href="javascript:ContentClick('label13', 'label12');" onmouseover="ContentPreview('label13');" onmouseout="ContentUnpreview('label13');" title="click to collapse or expand..."> more... </a>
<div id="label13" style="display:none">
<table border="1">
Expand Down Expand Up @@ -1634,7 +1634,7 @@ Parameters
</div>
</li>
<ul class="ul-self">
<li> <span class="li-head">id</span> - Application IDs. <span class="li-normal">type: int</span> <span class="li-required">required: true</span>
<li> <span class="li-head">id</span> - Application IDs. see <a href='#notes'>Notes</a>. <span class="li-normal">type: int</span> <span class="li-required">required: true</span>
<a id='label28' href="javascript:ContentClick('label29', 'label28');" onmouseover="ContentPreview('label29');" onmouseout="ContentUnpreview('label29');" title="click to collapse or expand..."> more... </a>
<div id="label29" style="display:none">
<table border="1">
Expand Down Expand Up @@ -1763,7 +1763,7 @@ Parameters
</div>
</li>
<ul class="ul-self">
<li> <span class="li-head">id</span> - Application category ID. <span class="li-normal">type: int</span> <span class="li-required">required: true</span>
<li> <span class="li-head">id</span> - Application category ID. see <a href='#notes'>Notes</a>. <span class="li-normal">type: int</span> <span class="li-required">required: true</span>
<a id='label32' href="javascript:ContentClick('label33', 'label32');" onmouseover="ContentPreview('label33');" onmouseout="ContentUnpreview('label33');" title="click to collapse or expand..."> more... </a>
<div id="label33" style="display:none">
<table border="1">
Expand Down Expand Up @@ -1891,7 +1891,7 @@ Parameters
</div>
</li>
<ul class="ul-self">
<li> <span class="li-head">id</span> - Excluded application IDs. <span class="li-normal">type: int</span> <span class="li-required">required: true</span>
<li> <span class="li-head">id</span> - Excluded application IDs. see <a href='#notes'>Notes</a>. <span class="li-normal">type: int</span> <span class="li-required">required: true</span>
<a id='label36' href="javascript:ContentClick('label37', 'label36');" onmouseover="ContentPreview('label37');" onmouseout="ContentUnpreview('label37');" title="click to collapse or expand..."> more... </a>
<div id="label37" style="display:none">
<table border="1">
Expand Down Expand Up @@ -1939,7 +1939,7 @@ Parameters
</div>
</li>
</ul>
<li> <span class="li-head">id</span> - Entry ID. <span class="li-normal">type: int</span> <span class="li-required">required: true</span>
<li> <span class="li-head">id</span> - Entry ID. see <a href='#notes'>Notes</a>. <span class="li-normal">type: int</span> <span class="li-required">required: true</span>
<a id='label38' href="javascript:ContentClick('label39', 'label38');" onmouseover="ContentPreview('label39');" onmouseout="ContentUnpreview('label39');" title="click to collapse or expand..."> more... </a>
<div id="label39" style="display:none">
<table border="1">
Expand Down Expand Up @@ -2304,7 +2304,7 @@ Parameters
</div>
</li>
<ul class="ul-self">
<li> <span class="li-head">id</span> - Parameter tuple ID. <span class="li-normal">type: int</span> <span class="li-required">required: true</span>
<li> <span class="li-head">id</span> - Parameter tuple ID. see <a href='#notes'>Notes</a>. <span class="li-normal">type: int</span> <span class="li-required">required: true</span>
<a id='label46' href="javascript:ContentClick('label47', 'label46');" onmouseover="ContentPreview('label47');" onmouseout="ContentUnpreview('label47');" title="click to collapse or expand..."> more... </a>
<div id="label47" style="display:none">
<table border="1">
Expand Down Expand Up @@ -2431,7 +2431,7 @@ Parameters
</div>
</li>
<ul class="ul-self">
<li> <span class="li-head">id</span> - Parameter. <span class="li-normal">type: int</span> <span class="li-required">required: true</span>
<li> <span class="li-head">id</span> - Parameter. see <a href='#notes'>Notes</a>. <span class="li-normal">type: int</span> <span class="li-required">required: true</span>
<a id='label50' href="javascript:ContentClick('label51', 'label50');" onmouseover="ContentPreview('label51');" onmouseout="ContentUnpreview('label51');" title="click to collapse or expand..."> more... </a>
<div id="label51" style="display:none">
<table border="1">
Expand Down Expand Up @@ -3687,7 +3687,7 @@ Parameters
</div>
</li>
<ul class="ul-self">
<li> <span class="li-head">level</span> - Risk, or impact, of allowing traffic from this application to occur (1 - 5; Low, Elevated, Medium, High, and Critical). <span class="li-normal">type: int</span> <span class="li-required">required: true</span>
<li> <span class="li-head">level</span> - Risk, or impact, of allowing traffic from this application to occur (1 - 5; Low, Elevated, Medium, High, and Critical). see <a href='#notes'>Notes</a>. <span class="li-normal">type: int</span> <span class="li-required">required: true</span>
<a id='label78' href="javascript:ContentClick('label79', 'label78');" onmouseover="ContentPreview('label79');" onmouseout="ContentUnpreview('label79');" title="click to collapse or expand..."> more... </a>
<div id="label79" style="display:none">
<table border="1">
Expand Down Expand Up @@ -3968,7 +3968,7 @@ Parameters
</div>
</li>
<ul class="ul-self">
<li> <span class="li-head">id</span> - Application sub-category ID. <span class="li-normal">type: int</span> <span class="li-required">required: true</span>
<li> <span class="li-head">id</span> - Application sub-category ID. see <a href='#notes'>Notes</a>. <span class="li-normal">type: int</span> <span class="li-required">required: true</span>
<a id='label88' href="javascript:ContentClick('label89', 'label88');" onmouseover="ContentPreview('label89');" onmouseout="ContentUnpreview('label89');" title="click to collapse or expand..."> more... </a>
<div id="label89" style="display:none">
<table border="1">
Expand Down Expand Up @@ -5343,7 +5343,7 @@ Examples
rate_track: "none"
risk:
-
level: "0"
level: "<you_own_value>"
session_ttl: "0"
shaper: "<your_own_value> (source firewall.shaper.traffic-shaper.name)"
shaper_reverse: "<your_own_value> (source firewall.shaper.traffic-shaper.name)"
Expand Down
2 changes: 1 addition & 1 deletion gen/fortios_application_name.rst
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ Parameters
</div>
</li>
<ul class="ul-self">
<li> <span class="li-head">id</span> - ID. <span class="li-normal">type: int</span> <span class="li-required">required: true</span>
<li> <span class="li-head">id</span> - ID. see <a href='#notes'>Notes</a>. <span class="li-normal">type: int</span> <span class="li-required">required: true</span>
<a id='label10' href="javascript:ContentClick('label11', 'label10');" onmouseover="ContentPreview('label11');" onmouseout="ContentUnpreview('label11');" title="click to collapse or expand..."> more... </a>
<div id="label11" style="display:none">
<table border="1">
Expand Down
4 changes: 3 additions & 1 deletion gen/fortios_application_rule_settings.rst
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ Parameters
</div>
</li>
<ul class="ul-self">
<li> <span class="li-head">id</span> - Rule ID. <span class="li-normal">type: int</span> <span class="li-required">required: true</span>
<li> <span class="li-head">id</span> - Rule ID. see <a href='#notes'>Notes</a>. <span class="li-normal">type: int</span> <span class="li-required">required: true</span>
<a id='label2' href="javascript:ContentClick('label3', 'label2');" onmouseover="ContentPreview('label3');" onmouseout="ContentUnpreview('label3');" title="click to collapse or expand..."> more... </a>
<div id="label3" style="display:none">
<table border="1">
Expand Down Expand Up @@ -201,6 +201,8 @@ Notes

.. note::

- We highly recommend using your own value as the id instead of 0, while '0' is a special placeholder that allows the backend to assign the latest available number for the object, it does have limitations. Please find more details in Q&A.

- Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks


Expand Down
2 changes: 1 addition & 1 deletion gen/fortios_dlp_dictionary.rst
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ Parameters
</table>
</div>
</li>
<li> <span class="li-head">id</span> - ID. <span class="li-normal">type: int</span> <span class="li-required">required: true</span>
<li> <span class="li-head">id</span> - ID. see <a href='#notes'>Notes</a>. <span class="li-normal">type: int</span> <span class="li-required">required: true</span>
<a id='label8' href="javascript:ContentClick('label9', 'label8');" onmouseover="ContentPreview('label9');" onmouseout="ContentUnpreview('label9');" title="click to collapse or expand..."> more... </a>
<div id="label9" style="display:none">
<table border="1">
Expand Down
4 changes: 3 additions & 1 deletion gen/fortios_dlp_filepattern.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2230,7 +2230,7 @@ Parameters
</div>
</li>
</ul>
<li> <span class="li-head">id</span> - ID. <span class="li-normal">type: int</span> <span class="li-required">required: true</span>
<li> <span class="li-head">id</span> - ID. see <a href='#notes'>Notes</a>. <span class="li-normal">type: int</span> <span class="li-required">required: true</span>
<a id='label12' href="javascript:ContentClick('label13', 'label12');" onmouseover="ContentPreview('label13');" onmouseout="ContentUnpreview('label13');" title="click to collapse or expand..."> more... </a>
<div id="label13" style="display:none">
<table border="1">
Expand Down Expand Up @@ -2365,6 +2365,8 @@ Notes

.. note::

- We highly recommend using your own value as the id instead of 0, while '0' is a special placeholder that allows the backend to assign the latest available number for the object, it does have limitations. Please find more details in Q&A.

- Legacy fortiosapi has been deprecated, httpapi is the preferred way to run playbooks


Expand Down
2 changes: 1 addition & 1 deletion gen/fortios_dlp_profile.rst
Original file line number Diff line number Diff line change
Expand Up @@ -675,7 +675,7 @@ Parameters
</table>
</div>
</li>
<li> <span class="li-head">id</span> - ID. <span class="li-normal">type: int</span> <span class="li-required">required: true</span>
<li> <span class="li-head">id</span> - ID. see <a href='#notes'>Notes</a>. <span class="li-normal">type: int</span> <span class="li-required">required: true</span>
<a id='label32' href="javascript:ContentClick('label33', 'label32');" onmouseover="ContentPreview('label33');" onmouseout="ContentUnpreview('label33');" title="click to collapse or expand..."> more... </a>
<div id="label33" style="display:none">
<table border="1">
Expand Down
4 changes: 2 additions & 2 deletions gen/fortios_dlp_sensor.rst
Original file line number Diff line number Diff line change
Expand Up @@ -449,7 +449,7 @@ Parameters
</table>
</div>
</li>
<li> <span class="li-head">id</span> - ID. <span class="li-normal">type: int</span> <span class="li-required">required: true</span>
<li> <span class="li-head">id</span> - ID. see <a href='#notes'>Notes</a>. <span class="li-normal">type: int</span> <span class="li-required">required: true</span>
<a id='label12' href="javascript:ContentClick('label13', 'label12');" onmouseover="ContentPreview('label13');" onmouseout="ContentUnpreview('label13');" title="click to collapse or expand..."> more... </a>
<div id="label13" style="display:none">
<table border="1">
Expand Down Expand Up @@ -1560,7 +1560,7 @@ Parameters
</div>
</li>
</ul>
<li> <span class="li-head">id</span> - ID. <span class="li-normal">type: int</span> <span class="li-required">required: true</span>
<li> <span class="li-head">id</span> - ID. see <a href='#notes'>Notes</a>. <span class="li-normal">type: int</span> <span class="li-required">required: true</span>
<a id='label42' href="javascript:ContentClick('label43', 'label42');" onmouseover="ContentPreview('label43');" onmouseout="ContentUnpreview('label43');" title="click to collapse or expand..."> more... </a>
<div id="label43" style="display:none">
<table border="1">
Expand Down

0 comments on commit d582d18

Please sign in to comment.