<?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: Adjust Threat-Protection Action in API / CLI Discussion</title>
    <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Adjust-Threat-Protection-Action/m-p/63312#M3959</link>
    <description>&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Good to know.&amp;nbsp; It appears the doc has a lot of room for improvement regarding the typo and the acceptable parameters on various commands.&lt;/P&gt;</description>
    <pubDate>Fri, 20 Sep 2019 20:57:59 GMT</pubDate>
    <dc:creator>Raymondn</dc:creator>
    <dc:date>2019-09-20T20:57:59Z</dc:date>
    <item>
      <title>Adjust Threat-Protection Action</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Adjust-Threat-Protection-Action/m-p/62902#M3946</link>
      <description>&lt;P&gt;I am trying to use the "mgmt" commands to adjust IPS protection.&lt;/P&gt;&lt;P&gt;For example, I want to set the protection "FTP Commands" action from "inaction to "detect" for Threat protection profile "DMZ_Protection".&lt;/P&gt;&lt;P&gt;How can I do this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Reading this:&lt;/P&gt;&lt;P&gt;&lt;A href="https://sc1.checkpoint.com/documents/R80/APIs/index.html#gui-cli/set-threat-protection" target="_blank"&gt;https://sc1.checkpoint.com/documents/R80/APIs/index.html#gui-cli/set-threat-protection&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I got an idea.&amp;nbsp; However, the part I don't understand is how to correctly use the "profiles name" in the command so I am only adjusting the action of the protection only on a specific Threat profile.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The example from the doc show "overrides.1.profile", but I don't really understand the meaning of "1" here.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance for any explanation about how to deal with those "List: Object" parameter.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Sep 2019 23:29:48 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Adjust-Threat-Protection-Action/m-p/62902#M3946</guid>
      <dc:creator>Raymondn</dc:creator>
      <dc:date>2019-09-16T23:29:48Z</dc:date>
    </item>
    <item>
      <title>Re: Adjust Threat-Protection Action</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Adjust-Threat-Protection-Action/m-p/62932#M3947</link>
      <description>&lt;P&gt;&lt;STRONG&gt;overrides.1.profile&lt;/STRONG&gt; and &lt;STRONG&gt;overrides.2.profile&lt;/STRONG&gt; etc. allows you to run the command on several profiles at the same time by just giving the name of the first profile after overrides.1.profile and so on.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In the example you can see they refer to two different profiles -&amp;nbsp;&lt;STRONG&gt;New Profile 1&lt;/STRONG&gt; and&amp;nbsp;&lt;STRONG&gt;New Profile 2&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;set threat-protection name "Aggressive Aging" overrides.1.profile "New Profile 1" overrides.1.action "Prevent" overrides.1.track "Log" overrides.1.capture-packets true overrides.2.profile "New Profile 2" overrides.2.action "Prevent" overrides.2.track "Log" overrides.2.capture-packets true&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is also true in the other examples&lt;/P&gt;
&lt;P&gt;HTH&lt;/P&gt;
&lt;P&gt;Tal&lt;/P&gt;</description>
      <pubDate>Tue, 17 Sep 2019 10:08:51 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Adjust-Threat-Protection-Action/m-p/62932#M3947</guid>
      <dc:creator>Tal_Paz-Fridman</dc:creator>
      <dc:date>2019-09-17T10:08:51Z</dc:date>
    </item>
    <item>
      <title>Re: Adjust Threat-Protection Action</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Adjust-Threat-Protection-Action/m-p/62979#M3948</link>
      <description>&lt;P&gt;Thanks. &amp;nbsp;&lt;/P&gt;&lt;P&gt;I manage to get this to work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Want to ask about the "show threat-protection".&amp;nbsp; From the doc, it appears that it would accept parameter "profiles".&amp;nbsp; I was trying to do that in hope to get the result of a specific threat protection setting on a specific profile.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Command:&lt;/P&gt;&lt;P&gt;mgmt show threat-protection name "3Com Network Supervisor Directory Traversal" profile "draas-fw-a1_Protection"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I also tried this ("profiles" vs "profile"):&lt;/P&gt;&lt;P&gt;mgmt show threat-protection name "3Com Network Supervisor Directory Traversal" profiles "draas-fw-a1_Protection"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Both give me error:&lt;/P&gt;&lt;P&gt;MGMT9000 code: "generic_err_invalid_parameter_name"&lt;BR /&gt;message: "Unrecognized parameter [profile]"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I wonder if the "profile" (or profiles) is a valid input parameter, or if it is a typo in the doc, or I just didn't use this parameter correctly.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any inputs?&amp;nbsp; Thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Sep 2019 19:12:25 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Adjust-Threat-Protection-Action/m-p/62979#M3948</guid>
      <dc:creator>Raymondn</dc:creator>
      <dc:date>2019-09-17T19:12:25Z</dc:date>
    </item>
    <item>
      <title>Re: Adjust Threat-Protection Action</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Adjust-Threat-Protection-Action/m-p/63309#M3958</link>
      <description>show threat-protection doesn't accept "profile" as a parameter.&lt;BR /&gt;I suspect you want set threat-protection, which has somewhat different parameters.&lt;BR /&gt;See: &lt;A href="https://sc1.checkpoint.com/documents/latest/APIs/index.html#cli/set-threat-protection~v1.5%20" target="_blank"&gt;https://sc1.checkpoint.com/documents/latest/APIs/index.html#cli/set-threat-protection~v1.5%20&lt;/A&gt;</description>
      <pubDate>Fri, 20 Sep 2019 20:32:43 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Adjust-Threat-Protection-Action/m-p/63309#M3958</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2019-09-20T20:32:43Z</dc:date>
    </item>
    <item>
      <title>Re: Adjust Threat-Protection Action</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Adjust-Threat-Protection-Action/m-p/63312#M3959</link>
      <description>&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Good to know.&amp;nbsp; It appears the doc has a lot of room for improvement regarding the typo and the acceptable parameters on various commands.&lt;/P&gt;</description>
      <pubDate>Fri, 20 Sep 2019 20:57:59 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Adjust-Threat-Protection-Action/m-p/63312#M3959</guid>
      <dc:creator>Raymondn</dc:creator>
      <dc:date>2019-09-20T20:57:59Z</dc:date>
    </item>
    <item>
      <title>Re: Adjust Threat-Protection Action</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Adjust-Threat-Protection-Action/m-p/63328#M3960</link>
      <description>There is always room for improvement, but you had an older link for the documentation that might not be getting updated.&lt;BR /&gt;The one I provided should be getting continual updates.</description>
      <pubDate>Sat, 21 Sep 2019 16:18:34 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Adjust-Threat-Protection-Action/m-p/63328#M3960</guid>
      <dc:creator>PhoneBoy</dc:creator>
      <dc:date>2019-09-21T16:18:34Z</dc:date>
    </item>
    <item>
      <title>Re: Adjust Threat-Protection Action</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/Adjust-Threat-Protection-Action/m-p/63479#M3961</link>
      <description>good to know. thx for link you provided.</description>
      <pubDate>Mon, 23 Sep 2019 18:48:20 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/Adjust-Threat-Protection-Action/m-p/63479#M3961</guid>
      <dc:creator>Raymondn</dc:creator>
      <dc:date>2019-09-23T18:48:20Z</dc:date>
    </item>
  </channel>
</rss>

