<?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: Stealtwatch SMC: Reporting API vs syslogs in Network Security</title>
    <link>https://community.cisco.com/t5/network-security/stealtwatch-smc-reporting-api-vs-syslogs/m-p/3881496#M118</link>
    <description>&lt;P&gt;Hi Michal,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;With the REST API, you are able to pull Security Events, but unfortunately there is not a public API available to pull the alarms data. However, you can pull the Security Events via the API, which is also incredibly useful and important. The endpoints you would need to hit are documented at&amp;nbsp;&lt;A href="https://developer.cisco.com/docs/stealthwatch/#!reporting-api-version-1" target="_blank"&gt;https://developer.cisco.com/docs/stealthwatch/#!reporting-api-version-1&lt;/A&gt;&amp;nbsp;and are as follows:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;SPAN class="ng-binding ng-scope"&gt;POST /tenants/{tenantId}/security-events&lt;/SPAN&gt;&lt;SPAN class="raml-console-resource-path-active ng-binding ng-scope"&gt;/queries (creates the search with your filters)&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN class="raml-console-resource-path-active ng-binding ng-scope"&gt;GET&amp;nbsp;/tenants/{tenantId}/security-events/queries/{queryId} (get the search status)&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN class="raml-console-resource-path-active ng-binding ng-scope"&gt;GET&amp;nbsp;/tenants/{tenantId}/security-events/results/{queryId} (get the results)&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;SPAN class="raml-console-resource-path-active ng-binding ng-scope"&gt;For convenience, here is a sample Python script that works through the logic:&amp;nbsp;&lt;A href="https://github.com/CiscoDevNet/stealthwatch-sample-scripts/blob/master/python-samples/get_security_events.py" target="_blank"&gt;https://github.com/CiscoDevNet/stealthwatch-sample-scripts/blob/master/python-samples/get_security_events.py&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="raml-console-resource-path-active ng-binding ng-scope"&gt;If this API is not sufficient for your needs, please let me know and I can see what we can do to help you out.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="raml-console-resource-path-active ng-binding ng-scope"&gt;Kind regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="raml-console-resource-path-active ng-binding ng-scope"&gt;Kyle Winters&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="raml-console-resource-path-active ng-binding ng-scope"&gt;Technical Marketing Engineer - Stealthwatch Customer Experience&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 28 Jun 2019 13:58:01 GMT</pubDate>
    <dc:creator>kywinter</dc:creator>
    <dc:date>2019-06-28T13:58:01Z</dc:date>
    <item>
      <title>Stealtwatch SMC: Reporting API vs syslogs</title>
      <link>https://community.cisco.com/t5/network-security/stealtwatch-smc-reporting-api-vs-syslogs/m-p/3881276#M117</link>
      <description>&lt;P&gt;Hello Team,&lt;/P&gt;
&lt;P&gt;1. How to fetch easily all alarms generated on SMC from the last 24 hours ?&lt;/P&gt;
&lt;P&gt;Looking at:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://developer.cisco.com/docs/stealthwatch/#!reporting-api-version-1" target="_blank" rel="noopener"&gt;https://developer.cisco.com/docs/stealthwatch/#!reporting-api-version-1&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;It looks like i need to do multiple different queries including tags like: externalGeo, devices, externalHosts, CustomHosts, InternalHosts, ExternalThreats etc.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2. Do we have a feature parity between alarms fetched via API and sent by syslog ? (or: what API call should i use to make sure i fetch all the alarms sent by syslog -&amp;gt; syslog configured for all alarms).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;3. Also comparing syslogs to APIs for Alarms: do we have more alarms or more details/fields for any of those two ? What are the plans for the future ? Do you plan to grow/expand both (so that both datasources for alarms are equally rich and will remain like that?)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Michal&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jun 2019 07:52:02 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/stealtwatch-smc-reporting-api-vs-syslogs/m-p/3881276#M117</guid>
      <dc:creator>Michal Garcarz</dc:creator>
      <dc:date>2019-06-28T07:52:02Z</dc:date>
    </item>
    <item>
      <title>Re: Stealtwatch SMC: Reporting API vs syslogs</title>
      <link>https://community.cisco.com/t5/network-security/stealtwatch-smc-reporting-api-vs-syslogs/m-p/3881496#M118</link>
      <description>&lt;P&gt;Hi Michal,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;With the REST API, you are able to pull Security Events, but unfortunately there is not a public API available to pull the alarms data. However, you can pull the Security Events via the API, which is also incredibly useful and important. The endpoints you would need to hit are documented at&amp;nbsp;&lt;A href="https://developer.cisco.com/docs/stealthwatch/#!reporting-api-version-1" target="_blank"&gt;https://developer.cisco.com/docs/stealthwatch/#!reporting-api-version-1&lt;/A&gt;&amp;nbsp;and are as follows:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;SPAN class="ng-binding ng-scope"&gt;POST /tenants/{tenantId}/security-events&lt;/SPAN&gt;&lt;SPAN class="raml-console-resource-path-active ng-binding ng-scope"&gt;/queries (creates the search with your filters)&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN class="raml-console-resource-path-active ng-binding ng-scope"&gt;GET&amp;nbsp;/tenants/{tenantId}/security-events/queries/{queryId} (get the search status)&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN class="raml-console-resource-path-active ng-binding ng-scope"&gt;GET&amp;nbsp;/tenants/{tenantId}/security-events/results/{queryId} (get the results)&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;SPAN class="raml-console-resource-path-active ng-binding ng-scope"&gt;For convenience, here is a sample Python script that works through the logic:&amp;nbsp;&lt;A href="https://github.com/CiscoDevNet/stealthwatch-sample-scripts/blob/master/python-samples/get_security_events.py" target="_blank"&gt;https://github.com/CiscoDevNet/stealthwatch-sample-scripts/blob/master/python-samples/get_security_events.py&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="raml-console-resource-path-active ng-binding ng-scope"&gt;If this API is not sufficient for your needs, please let me know and I can see what we can do to help you out.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="raml-console-resource-path-active ng-binding ng-scope"&gt;Kind regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="raml-console-resource-path-active ng-binding ng-scope"&gt;Kyle Winters&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="raml-console-resource-path-active ng-binding ng-scope"&gt;Technical Marketing Engineer - Stealthwatch Customer Experience&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Jun 2019 13:58:01 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/stealtwatch-smc-reporting-api-vs-syslogs/m-p/3881496#M118</guid>
      <dc:creator>kywinter</dc:creator>
      <dc:date>2019-06-28T13:58:01Z</dc:date>
    </item>
  </channel>
</rss>

