<?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 REST API and host policies in Automation/API Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/rest-api-and-host-policies/m-p/199382#M1579</link>
    <description>&lt;P&gt;We just got our first PA (3060) and I was doing some research on the REST API.&amp;nbsp; What I would like to do is tie in our IP Address Management system for automation.&amp;nbsp; Like when an IP address is freed, a process would connect to the PA and remove that host's entry in any policy it may be in.&amp;nbsp; Or when we stand up a new public webserver, the process would insert that new host into the PA's https policy.&amp;nbsp; Something like that.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I may sound as if I don't know what I'm doing.&amp;nbsp; That's because I don't.&amp;nbsp; &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thoughts and thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;-Roger&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 07 Feb 2018 16:37:14 GMT</pubDate>
    <dc:creator>JasonVonKrueger</dc:creator>
    <dc:date>2018-02-07T16:37:14Z</dc:date>
    <item>
      <title>REST API and host policies</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/rest-api-and-host-policies/m-p/199382#M1579</link>
      <description>&lt;P&gt;We just got our first PA (3060) and I was doing some research on the REST API.&amp;nbsp; What I would like to do is tie in our IP Address Management system for automation.&amp;nbsp; Like when an IP address is freed, a process would connect to the PA and remove that host's entry in any policy it may be in.&amp;nbsp; Or when we stand up a new public webserver, the process would insert that new host into the PA's https policy.&amp;nbsp; Something like that.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I may sound as if I don't know what I'm doing.&amp;nbsp; That's because I don't.&amp;nbsp; &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thoughts and thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;-Roger&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Feb 2018 16:37:14 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/rest-api-and-host-policies/m-p/199382#M1579</guid>
      <dc:creator>JasonVonKrueger</dc:creator>
      <dc:date>2018-02-07T16:37:14Z</dc:date>
    </item>
    <item>
      <title>Re: REST API and host policies</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/rest-api-and-host-policies/m-p/199385#M1580</link>
      <description>&lt;P&gt;Hi Roger,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That seems like a perfectly reasonable workflow! While maybe not addressing your questions directly, I would like to point out some tools that can make the "HOW" easier, once you figure out the "WHAT".&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We have developed ansible playbooks to automate a whole slew of tasks on the firewalls. Please take a look at the information I've attached and you might also find examples to suit your use case.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;- Vinay&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Documentation&lt;/STRONG&gt;:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://panwansible.readthedocs.io/en/master/" target="_blank"&gt;http://panwansible.readthedocs.io/en/master/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Live page (with tutorials):&amp;nbsp;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://live.paloaltonetworks.com/ansible" target="_blank"&gt;https://live.paloaltonetworks.com/ansible&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Private repo: &lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://github.com/PaloAltoNetworks/ansible-pan" target="_blank"&gt;https://github.com/PaloAltoNetworks/ansible-pan&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Tutorials:&amp;nbsp; &lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.youtube.com/watch?v=KozIozKhxAo&amp;amp;t=114s" target="_blank"&gt;https://www.youtube.com/watch?v=KozIozKhxAo&amp;amp;t=114s&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.youtube.com/watch?v=0OnKIcUCKJg" target="_blank"&gt;https://www.youtube.com/watch?v=0OnKIcUCKJg&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Ansible official:&amp;nbsp; &lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.ansible.com/integrations/networks/palo-alto" target="_blank"&gt;https://www.ansible.com/integrations/networks/palo-alto&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://docs.ansible.com/ansible/list_of_network_modules.html#pano" target="_blank"&gt;http://docs.ansible.com/ansible/list_of_network_modules.html#pano&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 07 Feb 2018 16:54:37 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/rest-api-and-host-policies/m-p/199385#M1580</guid>
      <dc:creator>vvenkatara</dc:creator>
      <dc:date>2018-02-07T16:54:37Z</dc:date>
    </item>
    <item>
      <title>Re: REST API and host policies</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/rest-api-and-host-policies/m-p/199388#M1581</link>
      <description>&lt;P&gt;Hey Vinay!&amp;nbsp;&amp;nbsp; Thanks for your response.&amp;nbsp;&amp;nbsp; I was hoping for a more REST'ish solution.&amp;nbsp; My co-worker is an Ansible freak and me using Ansible would make him too happy.&amp;nbsp; Can't have that.&amp;nbsp; &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Nonetheless, I'll look at the links you sent.&amp;nbsp; If Ansible is the best way to accomplish what I want, then Ansible it will be.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;-Roger&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, 07 Feb 2018 17:06:44 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/rest-api-and-host-policies/m-p/199388#M1581</guid>
      <dc:creator>JasonVonKrueger</dc:creator>
      <dc:date>2018-02-07T17:06:44Z</dc:date>
    </item>
  </channel>
</rss>

