<?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: Stealthwatch Cloud API not resolving alert in Other Security</title>
    <link>https://community.cisco.com/t5/other-security/stealthwatch-cloud-api-not-resolving-alert/m-p/5196305#M412</link>
    <description>&lt;P&gt;Sorry - Stealthwatch Cloud.&amp;nbsp; It's on this page:&lt;BR /&gt;&lt;A href="https://developer.cisco.com/docs/stealthwatch/cloud/stealthwatch-cloud-api-version-3/" target="_blank"&gt;https://developer.cisco.com/docs/stealthwatch/cloud/stealthwatch-cloud-api-version-3/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 19 Sep 2024 11:56:00 GMT</pubDate>
    <dc:creator>m2oswald</dc:creator>
    <dc:date>2024-09-19T11:56:00Z</dc:date>
    <item>
      <title>Stealthwatch Cloud API not resolving alert</title>
      <link>https://community.cisco.com/t5/other-security/stealthwatch-cloud-api-not-resolving-alert/m-p/5196275#M410</link>
      <description>&lt;P&gt;I'm trying to resolve alerts using our SOAR automation.&amp;nbsp; I'm using the &lt;SPAN&gt;api/v3/alerts/alert/&amp;lt;alert_id&amp;gt; endpoint and t&lt;/SPAN&gt;his PUT command body:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;{
  "resolved": true,
  "merit": 8,
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;I'm receiving a status code 200 from Stealthwatch, so it seems like it accepted the command.&amp;nbsp; But the alerts remain open.&amp;nbsp; Can anyone suggest what might be wrong or how I can troubleshoot this?&lt;/P&gt;</description>
      <pubDate>Thu, 19 Sep 2024 10:26:51 GMT</pubDate>
      <guid>https://community.cisco.com/t5/other-security/stealthwatch-cloud-api-not-resolving-alert/m-p/5196275#M410</guid>
      <dc:creator>m2oswald</dc:creator>
      <dc:date>2024-09-19T10:26:51Z</dc:date>
    </item>
    <item>
      <title>Re: Stealthwatch Cloud API not resolving alert</title>
      <link>https://community.cisco.com/t5/other-security/stealthwatch-cloud-api-not-resolving-alert/m-p/5196304#M411</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Do you have a link to documentation for this API? I do not see it at &lt;A href="https://developer.cisco.com/docs/stealthwatch/enterprise/" target="_blank"&gt;https://developer.cisco.com/docs/stealthwatch/enterprise/reporting-api-version-1/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Sep 2024 11:52:51 GMT</pubDate>
      <guid>https://community.cisco.com/t5/other-security/stealthwatch-cloud-api-not-resolving-alert/m-p/5196304#M411</guid>
      <dc:creator>lrypl</dc:creator>
      <dc:date>2024-09-19T11:52:51Z</dc:date>
    </item>
    <item>
      <title>Re: Stealthwatch Cloud API not resolving alert</title>
      <link>https://community.cisco.com/t5/other-security/stealthwatch-cloud-api-not-resolving-alert/m-p/5196305#M412</link>
      <description>&lt;P&gt;Sorry - Stealthwatch Cloud.&amp;nbsp; It's on this page:&lt;BR /&gt;&lt;A href="https://developer.cisco.com/docs/stealthwatch/cloud/stealthwatch-cloud-api-version-3/" target="_blank"&gt;https://developer.cisco.com/docs/stealthwatch/cloud/stealthwatch-cloud-api-version-3/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Sep 2024 11:56:00 GMT</pubDate>
      <guid>https://community.cisco.com/t5/other-security/stealthwatch-cloud-api-not-resolving-alert/m-p/5196305#M412</guid>
      <dc:creator>m2oswald</dc:creator>
      <dc:date>2024-09-19T11:56:00Z</dc:date>
    </item>
    <item>
      <title>Re: Stealthwatch Cloud API not resolving alert</title>
      <link>https://community.cisco.com/t5/other-security/stealthwatch-cloud-api-not-resolving-alert/m-p/5196314#M413</link>
      <description>&lt;P&gt;I should add that I've tried both PUT and PATCH - neither throw an error, but neither resolve the alert&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Sep 2024 12:33:38 GMT</pubDate>
      <guid>https://community.cisco.com/t5/other-security/stealthwatch-cloud-api-not-resolving-alert/m-p/5196314#M413</guid>
      <dc:creator>m2oswald</dc:creator>
      <dc:date>2024-09-19T12:33:38Z</dc:date>
    </item>
    <item>
      <title>Re: Stealthwatch Cloud API not resolving alert</title>
      <link>https://community.cisco.com/t5/other-security/stealthwatch-cloud-api-not-resolving-alert/m-p/5196501#M414</link>
      <description>&lt;P&gt;hello! &lt;BR /&gt;&lt;BR /&gt;I just did it via the UI, and then checked the Chrome Inspect Network tab, when I marked it as closed, helpful and not snoozed, this is what happened in the &lt;STRONG&gt;PATCH&lt;/STRONG&gt;:&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;{
  "pk": 12345,
  "resolved": true,
  "scope": "gcp-west-42-vm",
  "priority": {
    "type": "Persistent Remote Control Connections",
    "override_priority": "No"
  },
  "merit": 8
}&lt;/LI-CODE&gt;
&lt;P&gt;did you try to do it with the full JSON body like here in this example or with the partial data?&amp;nbsp;not sure if that makes a difference, I guess it shouldn't as it is PATCH but might be worth to try.&lt;BR /&gt;&lt;BR /&gt;API docs are here btw:&amp;nbsp;https://&amp;lt;your-org-prefix&amp;gt;.obsrvbl.com/api/docs/#operation/partialUpdateAlert&lt;/P&gt;</description>
      <pubDate>Thu, 19 Sep 2024 17:00:56 GMT</pubDate>
      <guid>https://community.cisco.com/t5/other-security/stealthwatch-cloud-api-not-resolving-alert/m-p/5196501#M414</guid>
      <dc:creator>chrivand</dc:creator>
      <dc:date>2024-09-19T17:00:56Z</dc:date>
    </item>
    <item>
      <title>Re: Stealthwatch Cloud API not resolving alert</title>
      <link>https://community.cisco.com/t5/other-security/stealthwatch-cloud-api-not-resolving-alert/m-p/5196787#M415</link>
      <description>&lt;P&gt;Thanks for the help, and for the API doc link.&amp;nbsp; Unfortunately I'm still stuck.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried sending the PATCH body using all of the fields shown in the API doc example, but still no change to the alert (and no error).&amp;nbsp; I manually resolved the alert and checked the Inspect Network tab as you suggested - basically got the same body as you saw.&amp;nbsp; But again, using those fields on a different alert resulted in no change and no error.&lt;/P&gt;&lt;P&gt;I tried just changing the assigned_to field - nothing.&lt;/P&gt;&lt;P&gt;I generated the API key with my account, and I'm able to GET alerts through the API and update alerts manually (e.g. resolve them, change the assigned_to fields) so I don't think it's an issue with permissions.&lt;/P&gt;&lt;P&gt;Any other suggestions would be greatly appreciated, as&amp;nbsp;I just don't know what else to try.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Sep 2024 09:48:40 GMT</pubDate>
      <guid>https://community.cisco.com/t5/other-security/stealthwatch-cloud-api-not-resolving-alert/m-p/5196787#M415</guid>
      <dc:creator>m2oswald</dc:creator>
      <dc:date>2024-09-20T09:48:40Z</dc:date>
    </item>
    <item>
      <title>Re: Stealthwatch Cloud API not resolving alert</title>
      <link>https://community.cisco.com/t5/other-security/stealthwatch-cloud-api-not-resolving-alert/m-p/5199943#M416</link>
      <description>&lt;P&gt;Update for anyone having the same problem and looking for a solution...&lt;/P&gt;&lt;P&gt;My issue was the REST API endpoint I was using.&amp;nbsp; It's not this:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;api/v3/alerts/alert/&amp;lt;alert_id&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;but this:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;api/v3/alerts/alert/&amp;lt;alert_id&amp;gt;/&lt;/LI-CODE&gt;&lt;P&gt;Adding the "/" to the end fixed my problem.&amp;nbsp; Almost - I was actually missing the "Content-Type" and "Accept" header keys as well, but that was minor.&amp;nbsp; The big thing was the slash.&amp;nbsp; Thanks so much to Bryan&amp;nbsp;@ Cisco Support for figuring this out!&lt;/P&gt;</description>
      <pubDate>Fri, 27 Sep 2024 11:53:44 GMT</pubDate>
      <guid>https://community.cisco.com/t5/other-security/stealthwatch-cloud-api-not-resolving-alert/m-p/5199943#M416</guid>
      <dc:creator>m2oswald</dc:creator>
      <dc:date>2024-09-27T11:53:44Z</dc:date>
    </item>
  </channel>
</rss>

