<?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: Need script to kill a session in Automation/API Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/need-script-to-kill-a-session/m-p/153115#M1366</link>
    <description>&lt;P&gt;May be a basic question , However i have never tred API in loop level is it possible to run this type of script in some interval like 4 hours etc. in Palo Alto, where we need to schedule this, any sample loop configuration which runs in every interval&lt;/P&gt;</description>
    <pubDate>Wed, 19 Apr 2017 05:35:13 GMT</pubDate>
    <dc:creator>Roby_Sreejith</dc:creator>
    <dc:date>2017-04-19T05:35:13Z</dc:date>
    <item>
      <title>Need script to kill a session</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/need-script-to-kill-a-session/m-p/127045#M1299</link>
      <description>&lt;P&gt;I need to kill a session automatically for one appplication when this application appears on one egress interface.&lt;/P&gt;&lt;P&gt;We have PBF rule for forcing some application to one ISP and virtual router for other ISP.&lt;/P&gt;&lt;P&gt;once the PBF ISP is down, it goes to second ISP via virtual router.&lt;/P&gt;&lt;P&gt;For some application it stays in that ISP for a long time untill we manually kill it.&lt;/P&gt;&lt;P&gt;Is there any way to kill the these sessions everyday . Now we manually clear every day morning&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Nov 2016 14:23:41 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/need-script-to-kill-a-session/m-p/127045#M1299</guid>
      <dc:creator>Roby_Sreejith</dc:creator>
      <dc:date>2016-11-17T14:23:41Z</dc:date>
    </item>
    <item>
      <title>Re: Need script to kill a session</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/need-script-to-kill-a-session/m-p/129832#M1309</link>
      <description />
      <pubDate>Wed, 30 Nov 2016 12:21:00 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/need-script-to-kill-a-session/m-p/129832#M1309</guid>
      <dc:creator>Roby_Sreejith</dc:creator>
      <dc:date>2016-11-30T12:21:00Z</dc:date>
    </item>
    <item>
      <title>Re: Need script to kill a session</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/need-script-to-kill-a-session/m-p/133938#M1327</link>
      <description>&lt;P&gt;The API job should be like this&lt;/P&gt;&lt;P&gt;1) identify the application or ort traffic&lt;/P&gt;&lt;P&gt;2 See if it comes on one egress interface&lt;/P&gt;&lt;P&gt;3) If come son this interface kill or clear the session.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any idea&lt;/P&gt;</description>
      <pubDate>Wed, 21 Dec 2016 09:43:53 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/need-script-to-kill-a-session/m-p/133938#M1327</guid>
      <dc:creator>Roby_Sreejith</dc:creator>
      <dc:date>2016-12-21T09:43:53Z</dc:date>
    </item>
    <item>
      <title>Re: Need script to kill a session</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/need-script-to-kill-a-session/m-p/149074#M1346</link>
      <description>&lt;P&gt;Lets make &amp;nbsp;more simple what should be the manual api command to clear an application traffic which goes out through one specific interface. Then as next step i can think about automating this.&lt;/P&gt;</description>
      <pubDate>Thu, 23 Mar 2017 07:36:35 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/need-script-to-kill-a-session/m-p/149074#M1346</guid>
      <dc:creator>Roby_Sreejith</dc:creator>
      <dc:date>2017-03-23T07:36:35Z</dc:date>
    </item>
    <item>
      <title>Re: Need script to kill a session</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/need-script-to-kill-a-session/m-p/149123#M1347</link>
      <description>&lt;P&gt;You'd do an XML API call for &amp;lt;show&amp;gt;&amp;lt;session&amp;gt;&amp;lt;all&amp;gt;&amp;lt;filter&amp;gt;&amp;lt;/filter&amp;gt;&amp;lt;/all&amp;gt;&amp;lt;/session&amp;gt;&amp;lt;/show&amp;gt; for both application and egress-interface then pass the ID's into&amp;nbsp;&amp;lt;clear&amp;gt;&amp;lt;session&amp;gt;&amp;lt;id&amp;gt;&amp;lt;/id&amp;gt;&amp;lt;/session&amp;gt;&amp;lt;/clear&amp;gt; in a for loop.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It'd be easy enough to automate it by querying once every n seconds and checking if the value of the first call returns any jobs.&lt;/P&gt;</description>
      <pubDate>Thu, 23 Mar 2017 12:55:19 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/need-script-to-kill-a-session/m-p/149123#M1347</guid>
      <dc:creator>nigelswift</dc:creator>
      <dc:date>2017-03-23T12:55:19Z</dc:date>
    </item>
    <item>
      <title>Re: Need script to kill a session</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/need-script-to-kill-a-session/m-p/150840#M1363</link>
      <description>&lt;P&gt;How can i pass the session id automatically to this script of killing&lt;/P&gt;</description>
      <pubDate>Mon, 03 Apr 2017 12:56:44 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/need-script-to-kill-a-session/m-p/150840#M1363</guid>
      <dc:creator>Roby_Sreejith</dc:creator>
      <dc:date>2017-04-03T12:56:44Z</dc:date>
    </item>
    <item>
      <title>Re: Need script to kill a session</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/need-script-to-kill-a-session/m-p/151159#M1365</link>
      <description>&lt;P&gt;Poll for matching sessions with your filter and pass it into a for loop through your favorite scripting language which clears each session.&lt;/P&gt;</description>
      <pubDate>Wed, 05 Apr 2017 00:57:16 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/need-script-to-kill-a-session/m-p/151159#M1365</guid>
      <dc:creator>nigelswift</dc:creator>
      <dc:date>2017-04-05T00:57:16Z</dc:date>
    </item>
    <item>
      <title>Re: Need script to kill a session</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/need-script-to-kill-a-session/m-p/153115#M1366</link>
      <description>&lt;P&gt;May be a basic question , However i have never tred API in loop level is it possible to run this type of script in some interval like 4 hours etc. in Palo Alto, where we need to schedule this, any sample loop configuration which runs in every interval&lt;/P&gt;</description>
      <pubDate>Wed, 19 Apr 2017 05:35:13 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/need-script-to-kill-a-session/m-p/153115#M1366</guid>
      <dc:creator>Roby_Sreejith</dc:creator>
      <dc:date>2017-04-19T05:35:13Z</dc:date>
    </item>
  </channel>
</rss>

