<?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: Ansible : How to increase response from Verify-Policy command in Ansible</title>
    <link>https://community.checkpoint.com/t5/Ansible/Ansible-How-to-increase-response-from-Verify-Policy-command/m-p/51847#M120</link>
    <description>Try changing your API call so it's policy-package Standard (with a capital S) instead of a lower-case s.&lt;BR /&gt;Some API calls are case-sensitive.</description>
    <pubDate>Thu, 25 Apr 2019 13:42:17 GMT</pubDate>
    <dc:creator>PhoneBoy</dc:creator>
    <dc:date>2019-04-25T13:42:17Z</dc:date>
    <item>
      <title>Ansible : How to increase response from Verify-Policy command</title>
      <link>https://community.checkpoint.com/t5/Ansible/Ansible-How-to-increase-response-from-Verify-Policy-command/m-p/51825#M119</link>
      <description>&lt;P&gt;I am currently developing ansible for adding rule into checkpoint security management server. According to my company policy, the rule needs to be verified first and it will be implemented later at the scheduled time. However, when "verify-policy" command, following is the response i got.&amp;nbsp;&lt;/P&gt;&lt;P&gt;management server : R80.20&lt;BR /&gt;&lt;SPAN class="s1"&gt;api_version: 1.3&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;(with -vvvv optiong)&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;fatal: [test1]: FAILED! =&amp;gt; {&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;"changed": false, &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;"invocation": {&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;"module_args": {&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;"api_version": null, &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;"command": "verify-policy", &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;"context": null, &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;"fingerprint": null, &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;"parameters": "{'policy-package': 'standard'}", &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;"session-data": "{'failed': False, 'changed': False, 'response': {'domain': None, 'url': '192.168.56.80:443', 'sid': 'KDnWv33ZQl6z-5ZAlb0kwjZLzZpqD2e3YL-D23sL4jk', 'context': 'web_api', 'fingerprint': '83F58C9B4FE00C1B12456A11AEA756E6A575B205', 'api_version': '1.3'}}"&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;}, &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;"msg": "Command 'verify-policy {u'policy-package': u'standard'}' failed. All changes are discarded and the session is invalidated."&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;Is there anyway to increase the detail of the error response in msg part ?&lt;/P&gt;</description>
      <pubDate>Thu, 25 Apr 2019 09:33:47 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Ansible/Ansible-How-to-increase-response-from-Verify-Policy-command/m-p/51825#M119</guid>
      <dc:creator>oakint</dc:creator>
      <dc:date>2019-04-25T09:33:47Z</dc:date>
    </item>
    <item>
      <title>Re: Ansible : How to increase response from Verify-Policy command</title>
      <link>https://community.checkpoint.com/t5/Ansible/Ansible-How-to-increase-response-from-Verify-Policy-command/m-p/51847#M120</link>
      <description>Try changing your API call so it's policy-package Standard (with a capital S) instead of a lower-case s.&lt;BR /&gt;Some API calls are case-sensitive.</description>
      <pubDate>Thu, 25 Apr 2019 13:42:17 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Ansible/Ansible-How-to-increase-response-from-Verify-Policy-command/m-p/51847#M120</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2019-04-25T13:42:17Z</dc:date>
    </item>
    <item>
      <title>Re: Ansible : How to increase response from Verify-Policy command</title>
      <link>https://community.checkpoint.com/t5/Ansible/Ansible-How-to-increase-response-from-Verify-Policy-command/m-p/51861#M121</link>
      <description>&lt;P&gt;Dear Phoneboy&lt;/P&gt;&lt;P&gt;I have tried changing it to Standard but still same result.&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;fatal: [test1]: FAILED! =&amp;gt; {&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;"changed": false, &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;"invocation": {&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;"module_args": {&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;"api_version": null, &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;"command": "verify-policy", &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;"context": "web_api", &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;"fingerprint": null, &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;"parameters": "{'policy-package': 'Standard'}", &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;"session-data": "{'failed': False, 'changed': False, 'response': {'domain': None, 'url': '192.168.56.80:443', 'sid': 's5Kkih3t-clPLX6VunY5QQ0dUniE4zt7r8F5c_rjeM4', 'context': 'web_api', 'fingerprint': '83F58C9B4FE00C1B12456A11AEA756E6A575B205', 'api_version': '1.3'}}"&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;}, &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;"msg": "Command 'verify-policy {u'policy-package': u'Standard'}' failed. All changes are discarded and the session is invalidated."&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;}&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Apr 2019 16:14:57 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Ansible/Ansible-How-to-increase-response-from-Verify-Policy-command/m-p/51861#M121</guid>
      <dc:creator>oakint</dc:creator>
      <dc:date>2019-04-25T16:14:57Z</dc:date>
    </item>
    <item>
      <title>Re: Ansible : How to increase response from Verify-Policy command</title>
      <link>https://community.checkpoint.com/t5/Ansible/Ansible-How-to-increase-response-from-Verify-Policy-command/m-p/51862#M122</link>
      <description>The full API call you're making might also provide a clue.&lt;BR /&gt;Same with the file(s) gathered by api status -s on the management.</description>
      <pubDate>Thu, 25 Apr 2019 16:19:51 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/Ansible/Ansible-How-to-increase-response-from-Verify-Policy-command/m-p/51862#M122</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2019-04-25T16:19:51Z</dc:date>
    </item>
  </channel>
</rss>

