<?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: using API to pull Policy information in Splunk AppDynamics</title>
    <link>https://community.splunk.com/t5/Splunk-AppDynamics/using-API-to-pull-Policy-information/m-p/722151#M3021</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.appdynamics.com/t5/user/viewprofilepage/user-id/103977"&gt;@Casey.Root&lt;/A&gt;&amp;nbsp;,&lt;/P&gt;

&lt;DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;Thank you for posting to the community.&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;Although it may not be possible to get the information you need by just 1 API, you may be able to obtain the data by combining results of several APIs.&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;BR /&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;SPAN&gt;Retrieve a list of Policies associated with an Application API&lt;/SPAN&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;SPAN&gt;-&amp;gt;Get the ids of policies for an application&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Retrieve Details of a Specified Policy API&lt;/SPAN&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;SPAN&gt;-&amp;gt;Get the Health Rule Scope for the policy&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Retrieve a list of Health Rules for an Application API&lt;/SPAN&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;SPAN&gt;-&amp;gt;Get the ids of health rules for an application&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Retrieve Details of a Specified Health Rule&lt;/SPAN&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;SPAN&gt;-&amp;gt;Get the details for the health rule&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;BR /&gt;
&lt;DIV&gt;&lt;SPAN&gt;See the page below for HealthRule API.&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;&lt;A href="https://docs.appdynamics.com/4.5.x/en/extend-appdynamics/appdynamics-apis/alert-and-respond-api/health-rule-api#HealthRuleAPI-RetrievealistofHealthRulesforanApplication" target="_blank" rel="noopener nofollow noreferrer"&gt;https://docs.appdynamics.com/4.5.x/en/extend-appdynamics/appdynamics-apis/alert-and-respond-api/health-rule-api#HealthRuleAPI-RetrieveDetailsofaSpecifiedHealthRule&lt;/A&gt;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;BR /&gt;
&lt;DIV&gt;&lt;SPAN&gt;Best Regards,&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;BR /&gt;
&lt;DIV&gt;&lt;SPAN&gt;Hiroki&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;/DIV&gt;</description>
    <pubDate>Thu, 08 Jul 2021 06:10:17 GMT</pubDate>
    <dc:creator>Hiroki_Ito</dc:creator>
    <dc:date>2021-07-08T06:10:17Z</dc:date>
    <item>
      <title>using API to pull Policy information</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/using-API-to-pull-Policy-information/m-p/722150#M3020</link>
      <description>&lt;P&gt;I am trying to pull information from AppD using selective CURL information for audit purposes (versus pulling a huge Dexter report).&amp;nbsp; I have referenced the API docs on policy details (&lt;A href="https://docs.appdynamics.com/21.7/en/appdynamics-apis/alert-and-respond-api/policy-api" target="_blank" rel="noopener nofollow noreferrer"&gt;Policy API (appdynamics.com)&lt;/A&gt;&amp;nbsp;however the information I am after is specifically what health rules are in scope for the particular policy.&amp;nbsp; As part of the audit, we are checking to make sure a policy is in place and enabled but policies can cover multiple health rules so need a way to get that detail.&amp;nbsp; Any assistance would be greatly appreciated:&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="CaseyRoot_0-1625692789841.png" style="width: 400px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image.png"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/36438i14499C7F742AEF7D/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jul 2021 21:21:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/using-API-to-pull-Policy-information/m-p/722150#M3020</guid>
      <dc:creator>Casey_Root</dc:creator>
      <dc:date>2021-07-07T21:21:26Z</dc:date>
    </item>
    <item>
      <title>Re: using API to pull Policy information</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/using-API-to-pull-Policy-information/m-p/722151#M3021</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.appdynamics.com/t5/user/viewprofilepage/user-id/103977"&gt;@Casey.Root&lt;/A&gt;&amp;nbsp;,&lt;/P&gt;

&lt;DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;Thank you for posting to the community.&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;Although it may not be possible to get the information you need by just 1 API, you may be able to obtain the data by combining results of several APIs.&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;BR /&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;SPAN&gt;Retrieve a list of Policies associated with an Application API&lt;/SPAN&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;SPAN&gt;-&amp;gt;Get the ids of policies for an application&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Retrieve Details of a Specified Policy API&lt;/SPAN&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;SPAN&gt;-&amp;gt;Get the Health Rule Scope for the policy&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Retrieve a list of Health Rules for an Application API&lt;/SPAN&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;SPAN&gt;-&amp;gt;Get the ids of health rules for an application&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Retrieve Details of a Specified Health Rule&lt;/SPAN&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;SPAN&gt;-&amp;gt;Get the details for the health rule&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;BR /&gt;
&lt;DIV&gt;&lt;SPAN&gt;See the page below for HealthRule API.&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;&lt;A href="https://docs.appdynamics.com/4.5.x/en/extend-appdynamics/appdynamics-apis/alert-and-respond-api/health-rule-api#HealthRuleAPI-RetrievealistofHealthRulesforanApplication" target="_blank" rel="noopener nofollow noreferrer"&gt;https://docs.appdynamics.com/4.5.x/en/extend-appdynamics/appdynamics-apis/alert-and-respond-api/health-rule-api#HealthRuleAPI-RetrieveDetailsofaSpecifiedHealthRule&lt;/A&gt;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;BR /&gt;
&lt;DIV&gt;&lt;SPAN&gt;Best Regards,&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;BR /&gt;
&lt;DIV&gt;&lt;SPAN&gt;Hiroki&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Thu, 08 Jul 2021 06:10:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/using-API-to-pull-Policy-information/m-p/722151#M3021</guid>
      <dc:creator>Hiroki_Ito</dc:creator>
      <dc:date>2021-07-08T06:10:17Z</dc:date>
    </item>
    <item>
      <title>Re: using API to pull Policy information</title>
      <link>https://community.splunk.com/t5/Splunk-AppDynamics/using-API-to-pull-Policy-information/m-p/722152#M3022</link>
      <description>&lt;P&gt;Thanks so much for the quick response.&amp;nbsp; Let me review the link you provided and see if I can pull the information from the multiple API calls and correlate to get the info I need.&amp;nbsp; Thanks again.&lt;/P&gt;</description>
      <pubDate>Thu, 08 Jul 2021 12:08:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-AppDynamics/using-API-to-pull-Policy-information/m-p/722152#M3022</guid>
      <dc:creator>Casey_Root</dc:creator>
      <dc:date>2021-07-08T12:08:37Z</dc:date>
    </item>
  </channel>
</rss>

