<?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: Changing Profiles assigned to security Rule in General Topics</title>
    <link>https://live.paloaltonetworks.com/t5/general-topics/changing-profiles-assigned-to-security-rule/m-p/86794#M43422</link>
    <description>&lt;P&gt;Thanks Radio, your method seems the easiest.&lt;/P&gt;</description>
    <pubDate>Wed, 15 Jun 2016 10:55:32 GMT</pubDate>
    <dc:creator>clewis1</dc:creator>
    <dc:date>2016-06-15T10:55:32Z</dc:date>
    <item>
      <title>Changing Profiles assigned to security Rule</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/changing-profiles-assigned-to-security-rule/m-p/79284#M43228</link>
      <description>&lt;P&gt;just in the process of switching to a&amp;nbsp;vulnerability profile which is not shared to vsys specific vulneability profile. Is there an easy way to change a vulnerability profile in 250 security rules without having to manually visist every rule?&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jun 2016 14:36:15 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/changing-profiles-assigned-to-security-rule/m-p/79284#M43228</guid>
      <dc:creator>clewis1</dc:creator>
      <dc:date>2016-06-07T14:36:15Z</dc:date>
    </item>
    <item>
      <title>Re: Changing Profiles assigned to security Rule</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/changing-profiles-assigned-to-security-rule/m-p/79287#M43230</link>
      <description>&lt;P&gt;Hi clewis,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You could export your configuration then do a find and replace in the XML. Be careful with this though and make sure you take a backup.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For the future you may want to use Security Profile Groups. That way you just modify the profile in the group and it will change the rules that use this group.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;hope this helps,&lt;/P&gt;
&lt;P&gt;Ben&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jun 2016 14:44:58 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/changing-profiles-assigned-to-security-rule/m-p/79287#M43230</guid>
      <dc:creator>bmorris1</dc:creator>
      <dc:date>2016-06-07T14:44:58Z</dc:date>
    </item>
    <item>
      <title>Re: Changing Profiles assigned to security Rule</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/changing-profiles-assigned-to-security-rule/m-p/79708#M43253</link>
      <description>&lt;P&gt;Lets assume your antivirus profile is AV and you want to replace it with Antivirus.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;admin@PA-VM&amp;gt; set cli config-output-format set&lt;BR /&gt;admin@PA-VM&amp;gt; configure&lt;BR /&gt;Entering configuration mode&lt;BR /&gt;[edit]&lt;BR /&gt;admin@PA-VM# show rulebase security | match AV&lt;BR /&gt;set rulebase security rules Test1 profile-setting profiles virus AV&lt;BR /&gt;set rulebase security rules Test2 profile-setting profiles virus AV&lt;BR /&gt;set rulebase security rules Test3 profile-setting profiles virus AV&lt;BR /&gt;set rulebase security rules Test4 profile-setting profiles virus AV&lt;BR /&gt;[edit]&lt;BR /&gt;admin@PA-VM#&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Copy lines that start with "set" to notepad.&lt;/P&gt;
&lt;P&gt;Replace all set entries with delete (CTRL+H to open replace window).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;delete rulebase security rules Test1 profile-setting profiles virus AV&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;delete rulebase security rules Test2 profile-setting profiles virus AV&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;delete rulebase security rules Test3 profile-setting profiles virus AV&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;delete rulebase security rules Test4 profile-setting profiles virus AV&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Paste result into cli window&lt;/P&gt;
&lt;P&gt;Now change delete to set again and replace all AV entries with Antivirus.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Paste output back into cli window.&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;set rulebase security rules Test1 profile-setting profiles virus Antivirus&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;set rulebase security rules Test2 profile-setting profiles virus Antivirus&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;set rulebase security rules Test3 profile-setting profiles virus Antivirus&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;set rulebase security rules Test4 profile-setting profiles virus Antivirus&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;And commit.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jun 2016 10:42:09 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/changing-profiles-assigned-to-security-rule/m-p/79708#M43253</guid>
      <dc:creator>Raido_Rattameister</dc:creator>
      <dc:date>2016-06-15T10:42:09Z</dc:date>
    </item>
    <item>
      <title>Re: Changing Profiles assigned to security Rule</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/changing-profiles-assigned-to-security-rule/m-p/86794#M43422</link>
      <description>&lt;P&gt;Thanks Radio, your method seems the easiest.&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jun 2016 10:55:32 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/changing-profiles-assigned-to-security-rule/m-p/86794#M43422</guid>
      <dc:creator>clewis1</dc:creator>
      <dc:date>2016-06-15T10:55:32Z</dc:date>
    </item>
  </channel>
</rss>

