<?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: Use ansible or XML to create Securities profiles actions in Automation/API Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/use-ansible-or-xml-to-create-securities-profiles-actions/m-p/292708#M2047</link>
    <description>&lt;P&gt;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/103033"&gt;@gleidsoncampos&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Are you looking to create a profile-group in XML or simply specify the profiles individually?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The XML attached to the security rulebase entry would look like the following if you specify profiles individually&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;                  &amp;lt;profile-setting&amp;gt;
                    &amp;lt;profiles&amp;gt;
                      &amp;lt;url-filtering&amp;gt;
                        &amp;lt;member&amp;gt;alert-all&amp;lt;/member&amp;gt;
                      &amp;lt;/url-filtering&amp;gt;
                    &amp;lt;/profiles&amp;gt;
                  &amp;lt;/profile-setting&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;Or it would look like the following if you utilize groups:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;                  &amp;lt;profile-setting&amp;gt;
                    &amp;lt;group&amp;gt;
                      &amp;lt;member&amp;gt;Standard-Protection-Profile&amp;lt;/member&amp;gt;
                    &amp;lt;/group&amp;gt;
                  &amp;lt;/profile-setting&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Or if you are looking to specify a new profile completely it really depends on what type of profile you are actually creating, so as in your example it would look something like the following.&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;              &amp;lt;entry name="alert-all"&amp;gt;
                &amp;lt;enable-container-page&amp;gt;yes&amp;lt;/enable-container-page&amp;gt;
                &amp;lt;description&amp;gt;tap-zone&amp;lt;/description&amp;gt;
                &amp;lt;log-container-page-only&amp;gt;yes&amp;lt;/log-container-page-only&amp;gt;
                &amp;lt;credential-enforcement&amp;gt;
                  &amp;lt;mode&amp;gt;
                    &amp;lt;disabled/&amp;gt;
                  &amp;lt;/mode&amp;gt;
                  &amp;lt;log-severity&amp;gt;medium&amp;lt;/log-severity&amp;gt;
                  &amp;lt;block&amp;gt;
                    &amp;lt;member&amp;gt;Block-URLs&amp;lt;/member&amp;gt;
                  &amp;lt;/block&amp;gt;
                &amp;lt;/credential-enforcement&amp;gt;
                &amp;lt;alert&amp;gt;
                  &amp;lt;member&amp;gt;abortion&amp;lt;/member&amp;gt;
                  &amp;lt;member&amp;gt;abused-drugs&amp;lt;/member&amp;gt;
                  &amp;lt;member&amp;gt;adult&amp;lt;/member&amp;gt;
                  &amp;lt;member&amp;gt;alcohol-and-tobacco&amp;lt;/member&amp;gt;
                  &amp;lt;member&amp;gt;auctions&amp;lt;/member&amp;gt;
                  &amp;lt;member&amp;gt;business-and-economy&amp;lt;/member&amp;gt;
                  &amp;lt;member&amp;gt;command-and-control&amp;lt;/member&amp;gt;
                  &amp;lt;member&amp;gt;computer-and-internet-info&amp;lt;/member&amp;gt;
                  &amp;lt;member&amp;gt;content-delivery-networks&amp;lt;/member&amp;gt;
                  &amp;lt;member&amp;gt;copyright-infringement&amp;lt;/member&amp;gt;
                  &amp;lt;member&amp;gt;dating&amp;lt;/member&amp;gt;
                  &amp;lt;member&amp;gt;dynamic-dns&amp;lt;/member&amp;gt;
                  &amp;lt;member&amp;gt;educational-institutions&amp;lt;/member&amp;gt;
                  &amp;lt;member&amp;gt;entertainment-and-arts&amp;lt;/member&amp;gt;
                  &amp;lt;member&amp;gt;extremism&amp;lt;/member&amp;gt;
                  &amp;lt;member&amp;gt;financial-services&amp;lt;/member&amp;gt;
                  &amp;lt;member&amp;gt;gambling&amp;lt;/member&amp;gt;
                  &amp;lt;member&amp;gt;games&amp;lt;/member&amp;gt;
                  &amp;lt;member&amp;gt;hacking&amp;lt;/member&amp;gt;
                  &amp;lt;member&amp;gt;health-and-medicine&amp;lt;/member&amp;gt;
                  &amp;lt;member&amp;gt;home-and-garden&amp;lt;/member&amp;gt;
                  &amp;lt;member&amp;gt;hunting-and-fishing&amp;lt;/member&amp;gt;
                  &amp;lt;member&amp;gt;insufficient-content&amp;lt;/member&amp;gt;
                  &amp;lt;member&amp;gt;internet-communications-and-telephony&amp;lt;/member&amp;gt;
                  &amp;lt;member&amp;gt;internet-portals&amp;lt;/member&amp;gt;
                  &amp;lt;member&amp;gt;job-search&amp;lt;/member&amp;gt;
                  &amp;lt;member&amp;gt;legal&amp;lt;/member&amp;gt;
                  &amp;lt;member&amp;gt;malware&amp;lt;/member&amp;gt;
                  &amp;lt;member&amp;gt;military&amp;lt;/member&amp;gt;
                  &amp;lt;member&amp;gt;motor-vehicles&amp;lt;/member&amp;gt;
                  &amp;lt;member&amp;gt;music&amp;lt;/member&amp;gt;
                  &amp;lt;member&amp;gt;news&amp;lt;/member&amp;gt;
                  &amp;lt;member&amp;gt;not-resolved&amp;lt;/member&amp;gt;
                  &amp;lt;member&amp;gt;nudity&amp;lt;/member&amp;gt;
                  &amp;lt;member&amp;gt;online-storage-and-backup&amp;lt;/member&amp;gt;
                  &amp;lt;member&amp;gt;parked&amp;lt;/member&amp;gt;
                  &amp;lt;member&amp;gt;peer-to-peer&amp;lt;/member&amp;gt;
                  &amp;lt;member&amp;gt;personal-sites-and-blogs&amp;lt;/member&amp;gt;
                  &amp;lt;member&amp;gt;philosophy-and-political-advocacy&amp;lt;/member&amp;gt;
                  &amp;lt;member&amp;gt;phishing&amp;lt;/member&amp;gt;
                  &amp;lt;member&amp;gt;private-ip-addresses&amp;lt;/member&amp;gt;
                  &amp;lt;member&amp;gt;proxy-avoidance-and-anonymizers&amp;lt;/member&amp;gt;
                  &amp;lt;member&amp;gt;questionable&amp;lt;/member&amp;gt;
                  &amp;lt;member&amp;gt;real-estate&amp;lt;/member&amp;gt;
                  &amp;lt;member&amp;gt;recreation-and-hobbies&amp;lt;/member&amp;gt;
                  &amp;lt;member&amp;gt;reference-and-research&amp;lt;/member&amp;gt;
                  &amp;lt;member&amp;gt;religion&amp;lt;/member&amp;gt;
                  &amp;lt;member&amp;gt;search-engines&amp;lt;/member&amp;gt;
                  &amp;lt;member&amp;gt;sex-education&amp;lt;/member&amp;gt;
                  &amp;lt;member&amp;gt;shareware-and-freeware&amp;lt;/member&amp;gt;
                  &amp;lt;member&amp;gt;shopping&amp;lt;/member&amp;gt;
                  &amp;lt;member&amp;gt;social-networking&amp;lt;/member&amp;gt;
                  &amp;lt;member&amp;gt;society&amp;lt;/member&amp;gt;
                  &amp;lt;member&amp;gt;sports&amp;lt;/member&amp;gt;
                  &amp;lt;member&amp;gt;stock-advice-and-tools&amp;lt;/member&amp;gt;
                  &amp;lt;member&amp;gt;streaming-media&amp;lt;/member&amp;gt;
                  &amp;lt;member&amp;gt;swimsuits-and-intimate-apparel&amp;lt;/member&amp;gt;
                  &amp;lt;member&amp;gt;training-and-tools&amp;lt;/member&amp;gt;
                  &amp;lt;member&amp;gt;translation&amp;lt;/member&amp;gt;
                  &amp;lt;member&amp;gt;travel&amp;lt;/member&amp;gt;
                  &amp;lt;member&amp;gt;unknown&amp;lt;/member&amp;gt;
                  &amp;lt;member&amp;gt;weapons&amp;lt;/member&amp;gt;
                  &amp;lt;member&amp;gt;web-advertisements&amp;lt;/member&amp;gt;
                  &amp;lt;member&amp;gt;web-based-email&amp;lt;/member&amp;gt;
                  &amp;lt;member&amp;gt;web-hosting&amp;lt;/member&amp;gt;
                  &amp;lt;member&amp;gt;Microsoft&amp;lt;/member&amp;gt;
                &amp;lt;/alert&amp;gt;
                &amp;lt;allow&amp;gt;
                  &amp;lt;member&amp;gt;government&amp;lt;/member&amp;gt;
                &amp;lt;/allow&amp;gt;
                &amp;lt;block&amp;gt;
                  &amp;lt;member&amp;gt;whatever-you-would-block&amp;lt;/member&amp;gt;
                &amp;lt;/block&amp;gt;
                &amp;lt;action&amp;gt;block&amp;lt;/action&amp;gt;
              &amp;lt;/entry&amp;gt;&lt;/LI-CODE&gt;</description>
    <pubDate>Sat, 12 Oct 2019 03:28:09 GMT</pubDate>
    <dc:creator>BPry</dc:creator>
    <dc:date>2019-10-12T03:28:09Z</dc:date>
    <item>
      <title>Use ansible or XML to create Securities profiles actions</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/use-ansible-or-xml-to-create-securities-profiles-actions/m-p/292546#M2046</link>
      <description>&lt;P&gt;Hello guys, does anybody know how to use ansible or other Palo alto automation tool to create a security profile?&amp;nbsp; eg. a new URL filtering where I will decide what is deny and what is just alert to log?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I saw that we can pass a profile as a parameter to create a rule, but I can't find how to define my own profiles.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Oct 2019 12:45:15 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/use-ansible-or-xml-to-create-securities-profiles-actions/m-p/292546#M2046</guid>
      <dc:creator>gleidsoncampos</dc:creator>
      <dc:date>2019-10-11T12:45:15Z</dc:date>
    </item>
    <item>
      <title>Re: Use ansible or XML to create Securities profiles actions</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/use-ansible-or-xml-to-create-securities-profiles-actions/m-p/292708#M2047</link>
      <description>&lt;P&gt;&lt;a href="https://live.paloaltonetworks.com/t5/user/viewprofilepage/user-id/103033"&gt;@gleidsoncampos&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Are you looking to create a profile-group in XML or simply specify the profiles individually?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The XML attached to the security rulebase entry would look like the following if you specify profiles individually&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;                  &amp;lt;profile-setting&amp;gt;
                    &amp;lt;profiles&amp;gt;
                      &amp;lt;url-filtering&amp;gt;
                        &amp;lt;member&amp;gt;alert-all&amp;lt;/member&amp;gt;
                      &amp;lt;/url-filtering&amp;gt;
                    &amp;lt;/profiles&amp;gt;
                  &amp;lt;/profile-setting&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;Or it would look like the following if you utilize groups:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;                  &amp;lt;profile-setting&amp;gt;
                    &amp;lt;group&amp;gt;
                      &amp;lt;member&amp;gt;Standard-Protection-Profile&amp;lt;/member&amp;gt;
                    &amp;lt;/group&amp;gt;
                  &amp;lt;/profile-setting&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Or if you are looking to specify a new profile completely it really depends on what type of profile you are actually creating, so as in your example it would look something like the following.&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;              &amp;lt;entry name="alert-all"&amp;gt;
                &amp;lt;enable-container-page&amp;gt;yes&amp;lt;/enable-container-page&amp;gt;
                &amp;lt;description&amp;gt;tap-zone&amp;lt;/description&amp;gt;
                &amp;lt;log-container-page-only&amp;gt;yes&amp;lt;/log-container-page-only&amp;gt;
                &amp;lt;credential-enforcement&amp;gt;
                  &amp;lt;mode&amp;gt;
                    &amp;lt;disabled/&amp;gt;
                  &amp;lt;/mode&amp;gt;
                  &amp;lt;log-severity&amp;gt;medium&amp;lt;/log-severity&amp;gt;
                  &amp;lt;block&amp;gt;
                    &amp;lt;member&amp;gt;Block-URLs&amp;lt;/member&amp;gt;
                  &amp;lt;/block&amp;gt;
                &amp;lt;/credential-enforcement&amp;gt;
                &amp;lt;alert&amp;gt;
                  &amp;lt;member&amp;gt;abortion&amp;lt;/member&amp;gt;
                  &amp;lt;member&amp;gt;abused-drugs&amp;lt;/member&amp;gt;
                  &amp;lt;member&amp;gt;adult&amp;lt;/member&amp;gt;
                  &amp;lt;member&amp;gt;alcohol-and-tobacco&amp;lt;/member&amp;gt;
                  &amp;lt;member&amp;gt;auctions&amp;lt;/member&amp;gt;
                  &amp;lt;member&amp;gt;business-and-economy&amp;lt;/member&amp;gt;
                  &amp;lt;member&amp;gt;command-and-control&amp;lt;/member&amp;gt;
                  &amp;lt;member&amp;gt;computer-and-internet-info&amp;lt;/member&amp;gt;
                  &amp;lt;member&amp;gt;content-delivery-networks&amp;lt;/member&amp;gt;
                  &amp;lt;member&amp;gt;copyright-infringement&amp;lt;/member&amp;gt;
                  &amp;lt;member&amp;gt;dating&amp;lt;/member&amp;gt;
                  &amp;lt;member&amp;gt;dynamic-dns&amp;lt;/member&amp;gt;
                  &amp;lt;member&amp;gt;educational-institutions&amp;lt;/member&amp;gt;
                  &amp;lt;member&amp;gt;entertainment-and-arts&amp;lt;/member&amp;gt;
                  &amp;lt;member&amp;gt;extremism&amp;lt;/member&amp;gt;
                  &amp;lt;member&amp;gt;financial-services&amp;lt;/member&amp;gt;
                  &amp;lt;member&amp;gt;gambling&amp;lt;/member&amp;gt;
                  &amp;lt;member&amp;gt;games&amp;lt;/member&amp;gt;
                  &amp;lt;member&amp;gt;hacking&amp;lt;/member&amp;gt;
                  &amp;lt;member&amp;gt;health-and-medicine&amp;lt;/member&amp;gt;
                  &amp;lt;member&amp;gt;home-and-garden&amp;lt;/member&amp;gt;
                  &amp;lt;member&amp;gt;hunting-and-fishing&amp;lt;/member&amp;gt;
                  &amp;lt;member&amp;gt;insufficient-content&amp;lt;/member&amp;gt;
                  &amp;lt;member&amp;gt;internet-communications-and-telephony&amp;lt;/member&amp;gt;
                  &amp;lt;member&amp;gt;internet-portals&amp;lt;/member&amp;gt;
                  &amp;lt;member&amp;gt;job-search&amp;lt;/member&amp;gt;
                  &amp;lt;member&amp;gt;legal&amp;lt;/member&amp;gt;
                  &amp;lt;member&amp;gt;malware&amp;lt;/member&amp;gt;
                  &amp;lt;member&amp;gt;military&amp;lt;/member&amp;gt;
                  &amp;lt;member&amp;gt;motor-vehicles&amp;lt;/member&amp;gt;
                  &amp;lt;member&amp;gt;music&amp;lt;/member&amp;gt;
                  &amp;lt;member&amp;gt;news&amp;lt;/member&amp;gt;
                  &amp;lt;member&amp;gt;not-resolved&amp;lt;/member&amp;gt;
                  &amp;lt;member&amp;gt;nudity&amp;lt;/member&amp;gt;
                  &amp;lt;member&amp;gt;online-storage-and-backup&amp;lt;/member&amp;gt;
                  &amp;lt;member&amp;gt;parked&amp;lt;/member&amp;gt;
                  &amp;lt;member&amp;gt;peer-to-peer&amp;lt;/member&amp;gt;
                  &amp;lt;member&amp;gt;personal-sites-and-blogs&amp;lt;/member&amp;gt;
                  &amp;lt;member&amp;gt;philosophy-and-political-advocacy&amp;lt;/member&amp;gt;
                  &amp;lt;member&amp;gt;phishing&amp;lt;/member&amp;gt;
                  &amp;lt;member&amp;gt;private-ip-addresses&amp;lt;/member&amp;gt;
                  &amp;lt;member&amp;gt;proxy-avoidance-and-anonymizers&amp;lt;/member&amp;gt;
                  &amp;lt;member&amp;gt;questionable&amp;lt;/member&amp;gt;
                  &amp;lt;member&amp;gt;real-estate&amp;lt;/member&amp;gt;
                  &amp;lt;member&amp;gt;recreation-and-hobbies&amp;lt;/member&amp;gt;
                  &amp;lt;member&amp;gt;reference-and-research&amp;lt;/member&amp;gt;
                  &amp;lt;member&amp;gt;religion&amp;lt;/member&amp;gt;
                  &amp;lt;member&amp;gt;search-engines&amp;lt;/member&amp;gt;
                  &amp;lt;member&amp;gt;sex-education&amp;lt;/member&amp;gt;
                  &amp;lt;member&amp;gt;shareware-and-freeware&amp;lt;/member&amp;gt;
                  &amp;lt;member&amp;gt;shopping&amp;lt;/member&amp;gt;
                  &amp;lt;member&amp;gt;social-networking&amp;lt;/member&amp;gt;
                  &amp;lt;member&amp;gt;society&amp;lt;/member&amp;gt;
                  &amp;lt;member&amp;gt;sports&amp;lt;/member&amp;gt;
                  &amp;lt;member&amp;gt;stock-advice-and-tools&amp;lt;/member&amp;gt;
                  &amp;lt;member&amp;gt;streaming-media&amp;lt;/member&amp;gt;
                  &amp;lt;member&amp;gt;swimsuits-and-intimate-apparel&amp;lt;/member&amp;gt;
                  &amp;lt;member&amp;gt;training-and-tools&amp;lt;/member&amp;gt;
                  &amp;lt;member&amp;gt;translation&amp;lt;/member&amp;gt;
                  &amp;lt;member&amp;gt;travel&amp;lt;/member&amp;gt;
                  &amp;lt;member&amp;gt;unknown&amp;lt;/member&amp;gt;
                  &amp;lt;member&amp;gt;weapons&amp;lt;/member&amp;gt;
                  &amp;lt;member&amp;gt;web-advertisements&amp;lt;/member&amp;gt;
                  &amp;lt;member&amp;gt;web-based-email&amp;lt;/member&amp;gt;
                  &amp;lt;member&amp;gt;web-hosting&amp;lt;/member&amp;gt;
                  &amp;lt;member&amp;gt;Microsoft&amp;lt;/member&amp;gt;
                &amp;lt;/alert&amp;gt;
                &amp;lt;allow&amp;gt;
                  &amp;lt;member&amp;gt;government&amp;lt;/member&amp;gt;
                &amp;lt;/allow&amp;gt;
                &amp;lt;block&amp;gt;
                  &amp;lt;member&amp;gt;whatever-you-would-block&amp;lt;/member&amp;gt;
                &amp;lt;/block&amp;gt;
                &amp;lt;action&amp;gt;block&amp;lt;/action&amp;gt;
              &amp;lt;/entry&amp;gt;&lt;/LI-CODE&gt;</description>
      <pubDate>Sat, 12 Oct 2019 03:28:09 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/use-ansible-or-xml-to-create-securities-profiles-actions/m-p/292708#M2047</guid>
      <dc:creator>BPry</dc:creator>
      <dc:date>2019-10-12T03:28:09Z</dc:date>
    </item>
  </channel>
</rss>

