<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Adding security zone to gateway interface using Ansible in Firewall and Security Management</title>
    <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Adding-security-zone-to-gateway-interface-using-Ansible/m-p/260722#M51144</link>
    <description>&lt;P&gt;Careful. &amp;nbsp;If you're doing the interfaces property to a gateway, you MUST include ALL of the interfaces in the list. &amp;nbsp;Otherwise, this will overwrite your existing interfaces with what you include in the list. &amp;nbsp; As &lt;a href="https://community.checkpoint.com/t5/user/viewprofilepage/user-id/38213"&gt;@the_rock&lt;/a&gt;&amp;nbsp;pasted (from ChatGPT &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;), you don't put quotes around the property key names (on the left side of the ":" character).&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You also don't need to use "state: present"; this is assumed.&lt;/P&gt;
&lt;P&gt;Be sure you follow up this task with a call to "cp_mgmt_simple_gateway_facts" and register it to a variable, then print that variable with a "debug" task. &amp;nbsp;Until you are certain you have the task written correctly, with the expected results, you should use the cp_mgmt_discard module at the end. &amp;nbsp;Once you are happy with the results, then you can use cp_mgmt_publish to commit your changes.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 23 Oct 2025 17:57:04 GMT</pubDate>
    <dc:creator>Duane_Toler</dc:creator>
    <dc:date>2025-10-23T17:57:04Z</dc:date>
    <item>
      <title>Adding security zone to gateway interface using Ansible</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Adding-security-zone-to-gateway-interface-using-Ansible/m-p/260691#M51137</link>
      <description>&lt;P&gt;I am trying to automate assigning security zone to Security Gateway ethernet bonding interface.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Using Check Point R82.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is the code snippet from my Ansible playbook:&lt;/P&gt;&lt;DIV&gt;&lt;PRE&gt;- &lt;SPAN&gt;name&lt;/SPAN&gt;: Update security zone for interface&lt;BR /&gt;  check_point.mgmt.&lt;SPAN&gt;cp_mgmt_simple_gateway&lt;/SPAN&gt;:&lt;BR /&gt;    &lt;SPAN&gt;name&lt;/SPAN&gt;: gw-893628&lt;BR /&gt;    &lt;SPAN&gt;interfaces&lt;/SPAN&gt;:&lt;BR /&gt;      - &lt;SPAN&gt;name&lt;/SPAN&gt;: eth0&lt;BR /&gt;        &lt;SPAN&gt;security-zone-settings&lt;/SPAN&gt;:&lt;BR /&gt;          &lt;SPAN&gt;"specific-zone"&lt;/SPAN&gt;: &lt;SPAN&gt;"{{ security_zone }}"&lt;BR /&gt;&lt;/SPAN&gt;        &lt;SPAN&gt;security-zone&lt;/SPAN&gt;: true&lt;BR /&gt;    &lt;SPAN&gt;state&lt;/SPAN&gt;: present&lt;/PRE&gt;&lt;/DIV&gt;&lt;P&gt;The output looks like this indicating no changes to&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;TASK [Debug update_result] ******************************************************************************************************************************************&lt;BR /&gt;ok: [10.25.58.51] =&amp;gt; {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "msg": {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "changed": false,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "checkpoint_session_uid": "113f422c-8e32-41fd-9288-e6f275372336",&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "failed": false&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;BR /&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Please help me correct code.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Oct 2025 13:02:08 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Adding-security-zone-to-gateway-interface-using-Ansible/m-p/260691#M51137</guid>
      <dc:creator>Govind135438</dc:creator>
      <dc:date>2025-10-23T13:02:08Z</dc:date>
    </item>
    <item>
      <title>Re: Adding security zone to gateway interface using Ansible</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Adding-security-zone-to-gateway-interface-using-Ansible/m-p/260719#M51142</link>
      <description>&lt;P&gt;Just a "messenger", but here is what AI gave...&lt;/P&gt;
&lt;P&gt;**********&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;You're very close — the problem is with &lt;STRONG&gt;how the &lt;CODE&gt;security-zone-settings&lt;/CODE&gt; field is structured&lt;/STRONG&gt; in the &lt;CODE&gt;cp_mgmt_simple_gateway&lt;/CODE&gt; module.&lt;/P&gt;
&lt;P&gt;In the Check Point Management API (and Ansible collection &lt;CODE&gt;check_point.mgmt&lt;/CODE&gt;), the correct field names and hierarchy are slightly different from what you used. The field &lt;CODE&gt;security-zone-settings&lt;/CODE&gt; expects a dictionary, and the correct key for assigning a specific zone is &lt;CODE&gt;specific-zone&lt;/CODE&gt;, not &lt;CODE&gt;"specific-zone": "value"&lt;/CODE&gt; — &lt;STRONG&gt;and&lt;/STRONG&gt; you must not use both &lt;CODE&gt;security-zone&lt;/CODE&gt; and &lt;CODE&gt;security-zone-settings&lt;/CODE&gt; together incorrectly.&lt;/P&gt;
&lt;P&gt;Let’s fix it step by step &lt;span class="lia-unicode-emoji" title=":backhand_index_pointing_down:"&gt;👇&lt;/span&gt;&lt;/P&gt;
&lt;HR /&gt;
&lt;H3&gt;&lt;span class="lia-unicode-emoji" title=":white_heavy_check_mark:"&gt;✅&lt;/span&gt; Corrected Playbook Example&lt;/H3&gt;
&lt;PRE&gt;&lt;CODE class="language-yaml"&gt;- name: Update security zone for interface
  check_point.mgmt.cp_mgmt_simple_gateway:
    name: gw-893628
    interfaces:
      - name: eth0
        security_zone_settings:
          specific_zone: "{{ security_zone }}"
    state: present
  register: update_result

- debug:
    msg: "{{ update_result }}"
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;HR /&gt;
&lt;H3&gt;&lt;span class="lia-unicode-emoji" title=":gear:"&gt;⚙️&lt;/span&gt; Key Points&lt;/H3&gt;
&lt;OL&gt;
&lt;LI&gt;
&lt;P&gt;&lt;STRONG&gt;Use underscores&lt;/STRONG&gt; instead of hyphens in YAML keys for Ansible modules (Python interprets field names with underscores).&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;
&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":white_heavy_check_mark:"&gt;✅&lt;/span&gt; &lt;CODE&gt;security_zone_settings&lt;/CODE&gt;&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":prohibited:"&gt;🚫&lt;/span&gt; &lt;CODE&gt;security-zone-settings&lt;/CODE&gt;&lt;/P&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;&lt;STRONG&gt;Nested structure&lt;/STRONG&gt;:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;
&lt;P&gt;The correct field is &lt;CODE&gt;security_zone_settings.specific_zone&lt;/CODE&gt;, not &lt;CODE&gt;security-zone&lt;/CODE&gt; or &lt;CODE&gt;security-zone: true&lt;/CODE&gt;.&lt;/P&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;You don’t need the line &lt;CODE&gt;security-zone: true&lt;/CODE&gt;; that flag doesn’t exist in this context.&lt;/P&gt;
&lt;/LI&gt;
&lt;/OL&gt;
&lt;HR /&gt;
&lt;H3&gt;&lt;span class="lia-unicode-emoji" title=":white_heavy_check_mark:"&gt;✅&lt;/span&gt; Example with a bonding interface&lt;/H3&gt;
&lt;P&gt;If your interface is a &lt;STRONG&gt;bonding interface&lt;/STRONG&gt;, just specify the bond name:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class="language-yaml"&gt;- name: Update security zone for bond interface
  check_point.mgmt.cp_mgmt_simple_gateway:
    name: gw-893628
    interfaces:
      - name: bond0
        security_zone_settings:
          specific_zone: "Internal_Zone"
    state: present
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;HR /&gt;
&lt;H3&gt;&lt;span class="lia-unicode-emoji" title=":magnifying_glass_tilted_left:"&gt;🔍&lt;/span&gt; Optional: Force an update&lt;/H3&gt;
&lt;P&gt;Sometimes, Check Point’s API won’t mark a change unless you explicitly use &lt;CODE&gt;ignore_warnings: true&lt;/CODE&gt; or &lt;CODE&gt;ignore_errors: true&lt;/CODE&gt;:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class="language-yaml"&gt;  check_point.mgmt.cp_mgmt_simple_gateway:
    name: gw-893628
    interfaces:
      - name: eth0
        security_zone_settings:
          specific_zone: "{{ security_zone }}"
    state: present
    ignore_warnings: true
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;HR /&gt;
&lt;H3&gt;&lt;span class="lia-unicode-emoji" title=":white_heavy_check_mark:"&gt;✅&lt;/span&gt; Summary&lt;/H3&gt;
&lt;TABLE&gt;
&lt;THEAD&gt;
&lt;TR&gt;
&lt;TH&gt;Wrong Key&lt;/TH&gt;
&lt;TH&gt;Correct Key&lt;/TH&gt;
&lt;TH&gt;Notes&lt;/TH&gt;
&lt;/TR&gt;
&lt;/THEAD&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD&gt;&lt;CODE&gt;security-zone-settings&lt;/CODE&gt;&lt;/TD&gt;
&lt;TD&gt;&lt;CODE&gt;security_zone_settings&lt;/CODE&gt;&lt;/TD&gt;
&lt;TD&gt;Use underscores&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;&lt;CODE&gt;"specific-zone": "{{ security_zone }}"&lt;/CODE&gt;&lt;/TD&gt;
&lt;TD&gt;&lt;CODE&gt;specific_zone: "{{ security_zone }}"&lt;/CODE&gt;&lt;/TD&gt;
&lt;TD&gt;No quotes or hyphen&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;&lt;CODE&gt;security-zone: true&lt;/CODE&gt;&lt;/TD&gt;
&lt;TD&gt;&lt;EM&gt;(remove)&lt;/EM&gt;&lt;/TD&gt;
&lt;TD&gt;Not needed&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;HR /&gt;
&lt;P&gt;Would you like me to show a &lt;STRONG&gt;full playbook example&lt;/STRONG&gt; including session login/logout (&lt;CODE&gt;cp_mgmt_login&lt;/CODE&gt; / &lt;CODE&gt;cp_mgmt_publish&lt;/CODE&gt;/ &lt;CODE&gt;cp_mgmt_logout&lt;/CODE&gt;)? That’s often required for changes to persist.&lt;/P&gt;</description>
      <pubDate>Thu, 23 Oct 2025 17:31:16 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Adding-security-zone-to-gateway-interface-using-Ansible/m-p/260719#M51142</guid>
      <dc:creator>the_rock</dc:creator>
      <dc:date>2025-10-23T17:31:16Z</dc:date>
    </item>
    <item>
      <title>Re: Adding security zone to gateway interface using Ansible</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Adding-security-zone-to-gateway-interface-using-Ansible/m-p/260722#M51144</link>
      <description>&lt;P&gt;Careful. &amp;nbsp;If you're doing the interfaces property to a gateway, you MUST include ALL of the interfaces in the list. &amp;nbsp;Otherwise, this will overwrite your existing interfaces with what you include in the list. &amp;nbsp; As &lt;a href="https://community.checkpoint.com/t5/user/viewprofilepage/user-id/38213"&gt;@the_rock&lt;/a&gt;&amp;nbsp;pasted (from ChatGPT &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;), you don't put quotes around the property key names (on the left side of the ":" character).&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You also don't need to use "state: present"; this is assumed.&lt;/P&gt;
&lt;P&gt;Be sure you follow up this task with a call to "cp_mgmt_simple_gateway_facts" and register it to a variable, then print that variable with a "debug" task. &amp;nbsp;Until you are certain you have the task written correctly, with the expected results, you should use the cp_mgmt_discard module at the end. &amp;nbsp;Once you are happy with the results, then you can use cp_mgmt_publish to commit your changes.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Oct 2025 17:57:04 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Adding-security-zone-to-gateway-interface-using-Ansible/m-p/260722#M51144</guid>
      <dc:creator>Duane_Toler</dc:creator>
      <dc:date>2025-10-23T17:57:04Z</dc:date>
    </item>
    <item>
      <title>Re: Adding security zone to gateway interface using Ansible</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Adding-security-zone-to-gateway-interface-using-Ansible/m-p/260724#M51145</link>
      <description>&lt;P&gt;I would always trust Duane Toler genius over AI &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Oct 2025 18:04:28 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Adding-security-zone-to-gateway-interface-using-Ansible/m-p/260724#M51145</guid>
      <dc:creator>the_rock</dc:creator>
      <dc:date>2025-10-23T18:04:28Z</dc:date>
    </item>
    <item>
      <title>Re: Adding security zone to gateway interface using Ansible</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Adding-security-zone-to-gateway-interface-using-Ansible/m-p/260731#M51148</link>
      <description>&lt;P&gt;hah! thanks &lt;span class="lia-unicode-emoji" title=":beaming_face_with_smiling_eyes:"&gt;😁&lt;/span&gt;&amp;nbsp; ChatGPT wasn't entirely wrong, tho. &amp;nbsp;It just didn't catch the interface list. &amp;nbsp;The rest of my info was largely about "style" (and safety/caution), too.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Oct 2025 18:13:57 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Adding-security-zone-to-gateway-interface-using-Ansible/m-p/260731#M51148</guid>
      <dc:creator>Duane_Toler</dc:creator>
      <dc:date>2025-10-23T18:13:57Z</dc:date>
    </item>
    <item>
      <title>Re: Adding security zone to gateway interface using Ansible</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Adding-security-zone-to-gateway-interface-using-Ansible/m-p/260732#M51149</link>
      <description>&lt;P&gt;I speak the truth &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Oct 2025 18:15:08 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Adding-security-zone-to-gateway-interface-using-Ansible/m-p/260732#M51149</guid>
      <dc:creator>the_rock</dc:creator>
      <dc:date>2025-10-23T18:15:08Z</dc:date>
    </item>
    <item>
      <title>Re: Adding security zone to gateway interface using Ansible</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Adding-security-zone-to-gateway-interface-using-Ansible/m-p/260759#M51159</link>
      <description>&lt;P&gt;It's worth noting that R82 has separate API endpoints for managing the interfaces on a gateway object.&lt;BR /&gt;For example, there is an explicit &lt;A href="https://sc1.checkpoint.com/documents/latest/APIs/index.html#cli/add-interface~v2%20" target="_self"&gt;add-interface&lt;/A&gt; endpoint.&lt;BR /&gt;It appears this is also reflected in our Ansible collection:&amp;nbsp;&lt;A href="https://docs.ansible.com/ansible/latest/collections/check_point/mgmt/cp_mgmt_interface_module.html#ansible-collections-check-point-mgmt-cp-mgmt-interface-module" target="_blank"&gt;https://docs.ansible.com/ansible/latest/collections/check_point/mgmt/cp_mgmt_interface_module.html#ansible-collections-check-point-mgmt-cp-mgmt-interface-module&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;While I didn't test this in Ansible, I did test it through the API and it works.&lt;BR /&gt;Even found a bug &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you use the interface options as part of the gateway object in R82, you get the same behavior as before (i.e. must specify ALL interfaces as part of the call).&lt;/P&gt;</description>
      <pubDate>Fri, 24 Oct 2025 01:25:43 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Adding-security-zone-to-gateway-interface-using-Ansible/m-p/260759#M51159</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2025-10-24T01:25:43Z</dc:date>
    </item>
    <item>
      <title>Re: Adding security zone to gateway interface using Ansible</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Adding-security-zone-to-gateway-interface-using-Ansible/m-p/260799#M51173</link>
      <description>&lt;P&gt;Thank you very much&amp;nbsp;&lt;a href="https://community.checkpoint.com/t5/user/viewprofilepage/user-id/7"&gt;@PhoneBoy&lt;/a&gt;&amp;nbsp;for suggesting add_interface module. It worked. However I see a problem. The security zone gets assigned to the interface but not enabled.&amp;nbsp;&lt;/P&gt;&lt;P&gt;See the screenshots after running the playbook:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Zone assigned but not displayed in SmartConsole" style="width: 400px;"&gt;&lt;img src="https://community.checkpoint.com/t5/image/serverpage/image-id/31813iBE24224A2D35FB61/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2025-10-24 142109.png" alt="Zone assigned but not displayed in SmartConsole" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Zone assigned but not displayed in SmartConsole&lt;/span&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Zone assigned but not enabled" style="width: 349px;"&gt;&lt;img src="https://community.checkpoint.com/t5/image/serverpage/image-id/31814i2784B59BDC10ED99/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Screenshot 2025-10-24 141916.png" alt="Zone assigned but not enabled" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Zone assigned but not enabled&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Is this related to the bug you have observed or am I missing something?&lt;BR /&gt;&lt;BR /&gt;Here is my code snippet from the playbook:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;    - name: add-interface
      check_point.mgmt.cp_mgmt_interface:
        anti_spoofing: true
        anti_spoofing_settings:
          action: detect
          exclude_packets: false
          spoof_tracking: log
        cluster_network_type: cluster
        gateway_uid: eb095b8b-a78c-9c4c-8e36-7c30b45f8878
        name: eth1
        security_zone_settings:
          auto_calculated: false
          specific_zone: "{{ security_zone }}"
      register: update_result

    - name: Debug update_result
      ansible.builtin.debug:
        msg: "{{ update_result }}"

    - name: Publish the changes
      check_point.mgmt.cp_mgmt_publish:
        #when: update_result is changed&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Oct 2025 10:24:26 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Adding-security-zone-to-gateway-interface-using-Ansible/m-p/260799#M51173</guid>
      <dc:creator>Govind135438</dc:creator>
      <dc:date>2025-10-24T10:24:26Z</dc:date>
    </item>
    <item>
      <title>Re: Adding security zone to gateway interface using Ansible</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Adding-security-zone-to-gateway-interface-using-Ansible/m-p/260804#M51174</link>
      <description>&lt;P&gt;Are you certain your variable "security_zone" is defined as you expect it to be, and is that zone defined already? &amp;nbsp;Add yourself a debug call just prior your module to be sure.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Oct 2025 13:10:07 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Adding-security-zone-to-gateway-interface-using-Ansible/m-p/260804#M51174</guid>
      <dc:creator>Duane_Toler</dc:creator>
      <dc:date>2025-10-24T13:10:07Z</dc:date>
    </item>
    <item>
      <title>Re: Adding security zone to gateway interface using Ansible</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Adding-security-zone-to-gateway-interface-using-Ansible/m-p/260805#M51175</link>
      <description>&lt;P&gt;If you have access to the management server via SSH, you can look in the API debug log in $MDS_FWDIR/log/api.elg for any errors. &amp;nbsp;&lt;/P&gt;
&lt;P&gt;If your server is R82 or R81.20 JHF 101 and higher, you can get API usage details and info with $FWDIR/scripts/api_log_to_json.py. &amp;nbsp;See sk181906 for details.&lt;/P&gt;</description>
      <pubDate>Fri, 24 Oct 2025 13:07:38 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Adding-security-zone-to-gateway-interface-using-Ansible/m-p/260805#M51175</guid>
      <dc:creator>Duane_Toler</dc:creator>
      <dc:date>2025-10-24T13:07:38Z</dc:date>
    </item>
    <item>
      <title>Re: Adding security zone to gateway interface using Ansible</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Adding-security-zone-to-gateway-interface-using-Ansible/m-p/260807#M51177</link>
      <description>&lt;P&gt;Yea, that file should contain any related errors.&lt;/P&gt;</description>
      <pubDate>Fri, 24 Oct 2025 13:21:07 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Adding-security-zone-to-gateway-interface-using-Ansible/m-p/260807#M51177</guid>
      <dc:creator>the_rock</dc:creator>
      <dc:date>2025-10-24T13:21:07Z</dc:date>
    </item>
    <item>
      <title>Re: Adding security zone to gateway interface using Ansible</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Adding-security-zone-to-gateway-interface-using-Ansible/m-p/260809#M51179</link>
      <description>&lt;P&gt;The variable "security_zone" is hardcoded with valid value. I am testing the scripts in local Check Point environment before testing in the production environment.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Oct 2025 13:59:14 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Adding-security-zone-to-gateway-interface-using-Ansible/m-p/260809#M51179</guid>
      <dc:creator>Govind135438</dc:creator>
      <dc:date>2025-10-24T13:59:14Z</dc:date>
    </item>
    <item>
      <title>Re: Adding security zone to gateway interface using Ansible</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Adding-security-zone-to-gateway-interface-using-Ansible/m-p/260810#M51180</link>
      <description>&lt;P&gt;Thats super smart!&lt;/P&gt;</description>
      <pubDate>Fri, 24 Oct 2025 14:07:03 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Adding-security-zone-to-gateway-interface-using-Ansible/m-p/260810#M51180</guid>
      <dc:creator>the_rock</dc:creator>
      <dc:date>2025-10-24T14:07:03Z</dc:date>
    </item>
    <item>
      <title>Re: Adding security zone to gateway interface using Ansible</title>
      <link>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Adding-security-zone-to-gateway-interface-using-Ansible/m-p/260828#M51185</link>
      <description>&lt;P&gt;I believe it did have something to do with adding a Zone, though my internal email thread wasn't clear on this point.&lt;BR /&gt;In any case, suggest a TAC case and I'm flagging&amp;nbsp;&lt;a href="https://community.checkpoint.com/t5/user/viewprofilepage/user-id/37502"&gt;@Omer_Kleinstern&lt;/a&gt;&amp;nbsp;on the underlying API bug.&lt;/P&gt;</description>
      <pubDate>Fri, 24 Oct 2025 21:13:26 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Firewall-and-Security-Management/Adding-security-zone-to-gateway-interface-using-Ansible/m-p/260828#M51185</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2025-10-24T21:13:26Z</dc:date>
    </item>
  </channel>
</rss>

