<?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: API - get alerts for a process group third-party vul in Dynatrace API</title>
    <link>https://community.dynatrace.com/t5/Dynatrace-API/API-get-alerts-for-a-process-group-third-party-vul/m-p/200916#M2214</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/55266"&gt;@Sami&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;I recommend checking the Dynatrace Api explorer "Environment API V2" in the endpoint "/securityProblems".&lt;/P&gt;&lt;P&gt;You could use the parameter "&lt;SPAN&gt;securityProblemSelector" to filter on the entity of your choice, for example :&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AurelienGravier_0-1671611289365.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/9113i5DDD733DE66D11F9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="AurelienGravier_0-1671611289365.png" alt="AurelienGravier_0-1671611289365.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Curl command generated :&lt;/P&gt;&lt;P&gt;curl -X GET "&lt;A href="https://{environmentid}.live.dynatrace.com/api/v2/securityProblems" target="_blank"&gt;https://{environmentid}.live.dynatrace.com/api/v2/securityProblems&lt;/A&gt;?&lt;STRONG&gt;securityProblemSelector=affectedPgNameContains%28%22something%22%29&lt;/STRONG&gt;&amp;amp;from=-3d" -H "accept: application/json; charset=utf-8"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards Aurélien.&lt;/P&gt;</description>
    <pubDate>Wed, 21 Dec 2022 08:29:41 GMT</pubDate>
    <dc:creator>AurelienGravier</dc:creator>
    <dc:date>2022-12-21T08:29:41Z</dc:date>
    <item>
      <title>API - get alerts for a process group third-party vul</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/API-get-alerts-for-a-process-group-third-party-vul/m-p/200900#M2213</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In an effort to pull the alerts for a process including the environmental specific factors (exposed, first seen for this process, data ) we have to do the following:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Pull all the alerts with the query parameter&amp;nbsp;&lt;SPAN&gt;affectedPgNameContains&amp;nbsp;&lt;/SPAN&gt;using "&lt;A class="" href="https://www.dynatrace.com/support/help/dynatrace-api/environment-api/application-security/security-problems/get-all" target="_blank" rel="noopener"&gt;GET all problems&lt;/A&gt;"&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;&lt;LI&gt;iterate over all the results to get the specifics for a process - using multiple other calls to "&lt;A class="" href="https://www.dynatrace.com/support/help/dynatrace-api/environment-api/application-security/security-problems/get-problem-events" target="_blank" rel="noopener"&gt;GET problem events"&lt;/A&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A process that is not practical to scale !!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a single API call that returns the alerts for a specific process ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ex. Get security alerts for&amp;nbsp;&lt;SPAN&gt;affectedPgNameContains='something '&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sami&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Dec 2022 21:24:26 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/API-get-alerts-for-a-process-group-third-party-vul/m-p/200900#M2213</guid>
      <dc:creator>Sami</dc:creator>
      <dc:date>2022-12-20T21:24:26Z</dc:date>
    </item>
    <item>
      <title>Re: API - get alerts for a process group third-party vul</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/API-get-alerts-for-a-process-group-third-party-vul/m-p/200916#M2214</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/55266"&gt;@Sami&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;I recommend checking the Dynatrace Api explorer "Environment API V2" in the endpoint "/securityProblems".&lt;/P&gt;&lt;P&gt;You could use the parameter "&lt;SPAN&gt;securityProblemSelector" to filter on the entity of your choice, for example :&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AurelienGravier_0-1671611289365.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/9113i5DDD733DE66D11F9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="AurelienGravier_0-1671611289365.png" alt="AurelienGravier_0-1671611289365.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Curl command generated :&lt;/P&gt;&lt;P&gt;curl -X GET "&lt;A href="https://{environmentid}.live.dynatrace.com/api/v2/securityProblems" target="_blank"&gt;https://{environmentid}.live.dynatrace.com/api/v2/securityProblems&lt;/A&gt;?&lt;STRONG&gt;securityProblemSelector=affectedPgNameContains%28%22something%22%29&lt;/STRONG&gt;&amp;amp;from=-3d" -H "accept: application/json; charset=utf-8"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards Aurélien.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Dec 2022 08:29:41 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/API-get-alerts-for-a-process-group-third-party-vul/m-p/200916#M2214</guid>
      <dc:creator>AurelienGravier</dc:creator>
      <dc:date>2022-12-21T08:29:41Z</dc:date>
    </item>
    <item>
      <title>Re: API - get alerts for a process group third-party vul</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/API-get-alerts-for-a-process-group-third-party-vul/m-p/200917#M2215</link>
      <description>&lt;P&gt;Dynatrace API Explorer is accessible here for SaaS Environment :&lt;/P&gt;&lt;P&gt;&lt;A href="https://{environmentid}.live.dynatrace.com/rest-api-doc/index.jsp" target="_blank"&gt;https://{environmentid}.live.dynatrace.com/rest-api-doc/index.jsp&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Dec 2022 08:31:16 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/API-get-alerts-for-a-process-group-third-party-vul/m-p/200917#M2215</guid>
      <dc:creator>AurelienGravier</dc:creator>
      <dc:date>2022-12-21T08:31:16Z</dc:date>
    </item>
    <item>
      <title>Re: API - get alerts for a process group third-party vul</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/API-get-alerts-for-a-process-group-third-party-vul/m-p/200962#M2218</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi Aurélien,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Unfortunately this is not what I am hoping for.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;For this endpoint&amp;nbsp;&lt;/P&gt;&lt;P&gt;input: process group name&amp;nbsp;&lt;/P&gt;&lt;P&gt;output: all security alerts where this process is affected (no specifics if the process is exposed or the first detected timestamp for this process)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;what I am looking for&lt;/P&gt;&lt;P&gt;input: process group name&amp;nbsp;&lt;/P&gt;&lt;P&gt;output: list of security problems and the specifics for this process (exposure, when each security alert was first detected for this process, )&lt;/P&gt;&lt;P&gt;error: if the process searched for is not running or never ran return an error accordingly&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Dec 2022 17:41:47 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/API-get-alerts-for-a-process-group-third-party-vul/m-p/200962#M2218</guid>
      <dc:creator>Sami</dc:creator>
      <dc:date>2022-12-21T17:41:47Z</dc:date>
    </item>
    <item>
      <title>Re: API - get alerts for a process group third-party vul</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/API-get-alerts-for-a-process-group-third-party-vul/m-p/200989#M2219</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/55266"&gt;@Sami&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Have you try to add addditionnal fields like&amp;nbsp;+riskAssessment,+codeLevelVulnerabilityDetails :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AurelienGravier_0-1671699941583.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/9132iDCA4F1D3311F0AAB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="AurelienGravier_0-1671699941583.png" alt="AurelienGravier_0-1671699941583.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;curl -X GET "&lt;A href="https://{environmentid}.live.dynatrace.com/api/v2/securityProblems?securityProblemSelector=affectedPgNameContains%28%22something%22%29&amp;amp;fields=%2BriskAssessment%2C%2BcodeLevelVulnerabilityDetails" target="_blank" rel="noopener"&gt;https://{environmentid}.live.dynatrace.com/api/v2/securityProblems?securityProblemSelector=affectedPgNameContains%28%22something%22%29&amp;amp;fields=%2BriskAssessment%2C%2BcodeLevelVulnerabilityDetails&lt;/A&gt;" -H "accept: application/json; charset=utf-8"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you don't have information expected with these additional fields, you will need to iterate&amp;nbsp;&lt;A class="" href="https://www.dynatrace.com/support/help/dynatrace-api/environment-api/application-security/security-problems/get-problem-events?_ga=2.14538999.1532754876.1671447652-178904142.1671447652&amp;amp;_gac=1.125487608.1671015835.CjwKCAiAheacBhB8EiwAItVO258OB2uFbFQONB6UiDKLBg6gim46md3yV55VsQKIxqzTzFtdc_5pRRoCIEkQAvD_BwE" target="_blank" rel="noopener noreferrer"&gt;GET problem events&lt;/A&gt; with each Problem ID.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Fri, 23 Dec 2022 08:35:03 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/API-get-alerts-for-a-process-group-third-party-vul/m-p/200989#M2219</guid>
      <dc:creator>AurelienGravier</dc:creator>
      <dc:date>2022-12-23T08:35:03Z</dc:date>
    </item>
    <item>
      <title>Re: API - get alerts for a process group third-party vul</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/API-get-alerts-for-a-process-group-third-party-vul/m-p/201070#M2221</link>
      <description>&lt;P&gt;Hi&lt;SPAN class=""&gt;&lt;A class="" href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/44995" target="_self"&gt;&lt;SPAN class=""&gt;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/A&gt;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/44995"&gt;@AurelienGravier&lt;/a&gt;&amp;nbsp;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Unfortunately this does not help, codeanalysis is not of concern. and&amp;nbsp;riskAssessment: A risk assessment of the security problem not specific to the process.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The only workaround is the iteration, but it is very api calls intensive to be used for automation, we need a new endpoint that directly provide the result.&amp;nbsp;&lt;/P&gt;&lt;P&gt;+ &lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/51336"&gt;@susanst00&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Dec 2022 15:51:29 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/API-get-alerts-for-a-process-group-third-party-vul/m-p/201070#M2221</guid>
      <dc:creator>Sami</dc:creator>
      <dc:date>2022-12-23T15:51:29Z</dc:date>
    </item>
    <item>
      <title>Re: API - get alerts for a process group third-party vul</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/API-get-alerts-for-a-process-group-third-party-vul/m-p/201071#M2222</link>
      <description>&lt;P&gt;OK I understand.&lt;BR /&gt;Personnaly, I often iterate easily a lot of entities on more than 1500 Hosts with ansible jobs for a client environment to automatically switch hosts from full stack monitoring to infra-only based on process group technologies detected on hosts. And it works like a charm.&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Dec 2022 16:07:11 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/API-get-alerts-for-a-process-group-third-party-vul/m-p/201071#M2222</guid>
      <dc:creator>AurelienGravier</dc:creator>
      <dc:date>2022-12-23T16:07:11Z</dc:date>
    </item>
    <item>
      <title>Re: API - get alerts for a process group third-party vul</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/API-get-alerts-for-a-process-group-third-party-vul/m-p/201072#M2223</link>
      <description>&lt;P&gt;Could you please help suggest this as a product idea ?&lt;/P&gt;</description>
      <pubDate>Fri, 23 Dec 2022 16:12:59 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/API-get-alerts-for-a-process-group-third-party-vul/m-p/201072#M2223</guid>
      <dc:creator>Sami</dc:creator>
      <dc:date>2022-12-23T16:12:59Z</dc:date>
    </item>
    <item>
      <title>Re: API - get alerts for a process group third-party vul</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/API-get-alerts-for-a-process-group-third-party-vul/m-p/201084#M2224</link>
      <description>&lt;P&gt;Sure, you can submit it yourself here :&amp;nbsp;&lt;A href="https://community.dynatrace.com/t5/forums/postpage/board-id/DynatraceProductIdeas" target="_blank"&gt;https://community.dynatrace.com/t5/forums/postpage/board-id/DynatraceProductIdeas&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Dec 2022 09:12:55 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/API-get-alerts-for-a-process-group-third-party-vul/m-p/201084#M2224</guid>
      <dc:creator>AurelienGravier</dc:creator>
      <dc:date>2022-12-26T09:12:55Z</dc:date>
    </item>
    <item>
      <title>Re: API - get alerts for a process group third-party vul</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/API-get-alerts-for-a-process-group-third-party-vul/m-p/201161#M2229</link>
      <description>&lt;P&gt;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/55266"&gt;@Sami&lt;/a&gt;&amp;nbsp;- As mentioned below, I don't think this is possible today, but I've created a product idea on your behalf.&lt;/P&gt;&lt;P&gt;-susan&lt;/P&gt;</description>
      <pubDate>Wed, 28 Dec 2022 15:52:01 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/API-get-alerts-for-a-process-group-third-party-vul/m-p/201161#M2229</guid>
      <dc:creator>susanst00</dc:creator>
      <dc:date>2022-12-28T15:52:01Z</dc:date>
    </item>
    <item>
      <title>Re: API - get alerts for a process group third-party vul</title>
      <link>https://community.dynatrace.com/t5/Dynatrace-API/API-get-alerts-for-a-process-group-third-party-vul/m-p/201796#M2248</link>
      <description>&lt;P&gt;Much appreciated&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/51336"&gt;@susanst00&lt;/a&gt;&amp;nbsp;you rock&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":rocket:"&gt;🚀&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Jan 2023 15:52:14 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Dynatrace-API/API-get-alerts-for-a-process-group-third-party-vul/m-p/201796#M2248</guid>
      <dc:creator>Sami</dc:creator>
      <dc:date>2023-01-09T15:52:14Z</dc:date>
    </item>
  </channel>
</rss>

