<?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 R80 Management API tips and tricks - a new &amp;quot;add-threat-indicator&amp;quot; command in API / CLI Discussion</title>
    <link>https://community.checkpoint.com/t5/API-CLI-Discussion/R80-Management-API-tips-and-tricks-a-new-quot-add-threat/m-p/40046#M2600</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all R80 Management API users,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.checkpoint.com/docs/DOC-3011-whats-new-with-r8020m1-management-api"&gt;The R80.20.M1 Managemet API release&lt;/A&gt;&amp;nbsp;introduces a new Threat Indicators (IOC) API, allowing addition of an Indicator object -&amp;nbsp;&lt;A href="https://sc1.checkpoint.com/documents/latest/APIs/index.html#gui-cli/add-threat-indicator~v1.2%20"&gt;Add Threat Indicator&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;One of the&amp;nbsp;options of this command is deployment of indicator's observables collection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are two documented options to accomplish this:&lt;/P&gt;&lt;P&gt;1. Using the &lt;STRONG&gt;"observables"&lt;/STRONG&gt; parameter with the "object notation", such as:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #993300;"&gt;&lt;EM&gt;&lt;SPAN&gt;observables.1.name "my_observable_1" observables.1.mail-to "&lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:someone@somewhere.com"&gt;someone@somewhere.com&lt;/A&gt;&lt;SPAN&gt;" observables.1.confidence "medium" observables.1.severity "low" observables.1.product "AB" observables.1.comments "my comment"&lt;/SPAN&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Using the &lt;STRONG&gt;"observables-raw-data"&lt;/STRONG&gt; parameter, with the "CSV notation", such as:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #993300;"&gt;&lt;EM&gt;&lt;SPAN&gt;observables-raw-data "my_observable_1,&lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:someone@somewhere.com"&gt;someone@somewhere.com&lt;/A&gt;&lt;SPAN&gt;,mail-to,medium,low,AB,my comment"&lt;/SPAN&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;For this case, you must follow this order of fields - Name, Value, Type, Confidence, Severity, Product, Comments.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is an additional option to prepare &lt;STRONG&gt;a CSV file&lt;/STRONG&gt; and then use &lt;STRONG&gt;mgmt_cli tool&lt;/STRONG&gt; with the following options:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #993300;"&gt;&lt;EM&gt;mgmt_cli add-threat-indicator name my_indicator_1 observables-raw-data &lt;SPAN style="color: #ff0000;"&gt;@&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff;"&gt;indicators1.csv&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;--treat-value-as-file-by-prefix @&lt;/SPAN&gt; action prevent&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;and put the CSV file in the same folder from where you run the API commands (/home/admin or whatever you choose).&lt;/P&gt;&lt;P&gt;Note that the content of CSV file must follow the order as in option 2 above.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Enjoy,&lt;/P&gt;&lt;P&gt;Robert.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 05 Jul 2018 12:39:09 GMT</pubDate>
    <dc:creator>Robert_Decker</dc:creator>
    <dc:date>2018-07-05T12:39:09Z</dc:date>
    <item>
      <title>R80 Management API tips and tricks - a new "add-threat-indicator" command</title>
      <link>https://community.checkpoint.com/t5/API-CLI-Discussion/R80-Management-API-tips-and-tricks-a-new-quot-add-threat/m-p/40046#M2600</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all R80 Management API users,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.checkpoint.com/docs/DOC-3011-whats-new-with-r8020m1-management-api"&gt;The R80.20.M1 Managemet API release&lt;/A&gt;&amp;nbsp;introduces a new Threat Indicators (IOC) API, allowing addition of an Indicator object -&amp;nbsp;&lt;A href="https://sc1.checkpoint.com/documents/latest/APIs/index.html#gui-cli/add-threat-indicator~v1.2%20"&gt;Add Threat Indicator&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;One of the&amp;nbsp;options of this command is deployment of indicator's observables collection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are two documented options to accomplish this:&lt;/P&gt;&lt;P&gt;1. Using the &lt;STRONG&gt;"observables"&lt;/STRONG&gt; parameter with the "object notation", such as:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #993300;"&gt;&lt;EM&gt;&lt;SPAN&gt;observables.1.name "my_observable_1" observables.1.mail-to "&lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:someone@somewhere.com"&gt;someone@somewhere.com&lt;/A&gt;&lt;SPAN&gt;" observables.1.confidence "medium" observables.1.severity "low" observables.1.product "AB" observables.1.comments "my comment"&lt;/SPAN&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Using the &lt;STRONG&gt;"observables-raw-data"&lt;/STRONG&gt; parameter, with the "CSV notation", such as:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #993300;"&gt;&lt;EM&gt;&lt;SPAN&gt;observables-raw-data "my_observable_1,&lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:someone@somewhere.com"&gt;someone@somewhere.com&lt;/A&gt;&lt;SPAN&gt;,mail-to,medium,low,AB,my comment"&lt;/SPAN&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;For this case, you must follow this order of fields - Name, Value, Type, Confidence, Severity, Product, Comments.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is an additional option to prepare &lt;STRONG&gt;a CSV file&lt;/STRONG&gt; and then use &lt;STRONG&gt;mgmt_cli tool&lt;/STRONG&gt; with the following options:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #993300;"&gt;&lt;EM&gt;mgmt_cli add-threat-indicator name my_indicator_1 observables-raw-data &lt;SPAN style="color: #ff0000;"&gt;@&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff;"&gt;indicators1.csv&lt;/SPAN&gt; &lt;SPAN style="color: #ff0000;"&gt;--treat-value-as-file-by-prefix @&lt;/SPAN&gt; action prevent&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;and put the CSV file in the same folder from where you run the API commands (/home/admin or whatever you choose).&lt;/P&gt;&lt;P&gt;Note that the content of CSV file must follow the order as in option 2 above.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Enjoy,&lt;/P&gt;&lt;P&gt;Robert.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jul 2018 12:39:09 GMT</pubDate>
      <guid>https://community.checkpoint.com/t5/API-CLI-Discussion/R80-Management-API-tips-and-tricks-a-new-quot-add-threat/m-p/40046#M2600</guid>
      <dc:creator>Robert_Decker</dc:creator>
      <dc:date>2018-07-05T12:39:09Z</dc:date>
    </item>
  </channel>
</rss>

