<?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 Using regex in defining a group address object in General Topics</title>
    <link>https://live.paloaltonetworks.com/t5/general-topics/using-regex-in-defining-a-group-address-object/m-p/268379#M74549</link>
    <description>&lt;P&gt;I'm defining a new group address object which should include addresses of several different tags (e.g. "Tag_1", "Tag_2", etc.).&lt;/P&gt;&lt;P&gt;When trying to define the match field I cannot find a way to actually do that. I'm not sure it's even supported. Whatever pattern I use, no address object is assigned to the group.&lt;/P&gt;&lt;P&gt;I've tried patterns in the following style:&lt;/P&gt;&lt;P&gt;'Tag_.*', Tag_.*&lt;/P&gt;&lt;P&gt;and some more.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does anyone know what's the correct syntax for that or whether it's supported?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Mon, 10 Jun 2019 14:42:57 GMT</pubDate>
    <dc:creator>OPinchasof</dc:creator>
    <dc:date>2019-06-10T14:42:57Z</dc:date>
    <item>
      <title>Using regex in defining a group address object</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/using-regex-in-defining-a-group-address-object/m-p/268379#M74549</link>
      <description>&lt;P&gt;I'm defining a new group address object which should include addresses of several different tags (e.g. "Tag_1", "Tag_2", etc.).&lt;/P&gt;&lt;P&gt;When trying to define the match field I cannot find a way to actually do that. I'm not sure it's even supported. Whatever pattern I use, no address object is assigned to the group.&lt;/P&gt;&lt;P&gt;I've tried patterns in the following style:&lt;/P&gt;&lt;P&gt;'Tag_.*', Tag_.*&lt;/P&gt;&lt;P&gt;and some more.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does anyone know what's the correct syntax for that or whether it's supported?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jun 2019 14:42:57 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/using-regex-in-defining-a-group-address-object/m-p/268379#M74549</guid>
      <dc:creator>OPinchasof</dc:creator>
      <dc:date>2019-06-10T14:42:57Z</dc:date>
    </item>
    <item>
      <title>Re: Using regex in defining a group address object</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/using-regex-in-defining-a-group-address-object/m-p/269350#M74612</link>
      <description>&lt;P&gt;single quotes and an operator (and, or)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;eg: 'cloudflare' or 'google'&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tags.png" style="width: 883px;"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/20375i11164C133CBE2B5C/image-size/large?v=v2&amp;amp;px=999" role="button" title="tags.png" alt="tags.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jun 2019 18:55:39 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/using-regex-in-defining-a-group-address-object/m-p/269350#M74612</guid>
      <dc:creator>reaper</dc:creator>
      <dc:date>2019-06-12T18:55:39Z</dc:date>
    </item>
    <item>
      <title>Re: Using regex in defining a group address object</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/using-regex-in-defining-a-group-address-object/m-p/269389#M74616</link>
      <description>&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;My question though was whether I can use a regex for that. I understand that what you wrote is actually the only option?&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jun 2019 22:01:36 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/using-regex-in-defining-a-group-address-object/m-p/269389#M74616</guid>
      <dc:creator>OPinchasof</dc:creator>
      <dc:date>2019-06-12T22:01:36Z</dc:date>
    </item>
    <item>
      <title>Re: Using regex in defining a group address object</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/using-regex-in-defining-a-group-address-object/m-p/269396#M74617</link>
      <description>&lt;P&gt;You can use the CLI (and API) as well.&amp;nbsp; Here's the documentation for the CLI commands:&lt;/P&gt;&lt;P&gt;&amp;nbsp;-&amp;nbsp;&lt;A href="https://docs.paloaltonetworks.com/pan-os/9-0/pan-os-admin/policy/cli-commands-for-dynamic-ip-addresses-and-tags.html" target="_blank"&gt;https://docs.paloaltonetworks.com/pan-os/9-0/pan-os-admin/policy/cli-commands-for-dynamic-ip-addresses-and-tags.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Like the GUI, the CLI commands also use equal/not-equal and expect a single tag or list of tags.&amp;nbsp; In order to leverage a regular expression for your use-case, the regex would have to run "off-box" - and then you'd have to ingest that data into PAN-OS via API, Python, CLI, etc.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I could see where this might be useful.&amp;nbsp; You may want to reach out to your Palo Alto Networks SE and file a feature request.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jun 2019 22:20:42 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/using-regex-in-defining-a-group-address-object/m-p/269396#M74617</guid>
      <dc:creator>jvalentine</dc:creator>
      <dc:date>2019-06-12T22:20:42Z</dc:date>
    </item>
    <item>
      <title>Re: Using regex in defining a group address object</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/using-regex-in-defining-a-group-address-object/m-p/269487#M74626</link>
      <description>&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'll definitely try to have this implemented in the firewall. It is a very useful feature in our scenarios, given that we add new tags from time to time and prefer not to update the group address objects every time.&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jun 2019 05:38:10 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/using-regex-in-defining-a-group-address-object/m-p/269487#M74626</guid>
      <dc:creator>OPinchasof</dc:creator>
      <dc:date>2019-06-13T05:38:10Z</dc:date>
    </item>
  </channel>
</rss>

