<?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: Compute-Collections: How do I create a collection for a specific Docker LABEL's key-value pair? in Prisma Cloud Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/prisma-cloud-discussions/compute-collections-how-do-i-create-a-collection-for-a-specific/m-p/514759#M685</link>
    <description>&lt;P&gt;Thanks Gary but I already know how to find and read the documentation.&amp;nbsp; That's why I must query the community.&lt;/P&gt;
&lt;P&gt;Rather than specifying the label, Environment=Development, the proper way to specify label, key:value, and of course you can use the wildcards.&amp;nbsp; The documentation should be updated with a similar description.&amp;nbsp; So for my case, Environment:Development, is the correct solution.&lt;/P&gt;</description>
    <pubDate>Tue, 13 Sep 2022 20:21:51 GMT</pubDate>
    <dc:creator>TommyHunt</dc:creator>
    <dc:date>2022-09-13T20:21:51Z</dc:date>
    <item>
      <title>Compute-Collections: How do I create a collection for a specific Docker LABEL's key-value pair?</title>
      <link>https://live.paloaltonetworks.com/t5/prisma-cloud-discussions/compute-collections-how-do-i-create-a-collection-for-a-specific/m-p/514314#M675</link>
      <description>&lt;P&gt;Regarding &lt;SPAN&gt;&lt;A href="https://docs.paloaltonetworks.com/prisma/prisma-cloud/22-01/prisma-cloud-compute-edition-admin/configure/collections" target="_blank" rel="noopener"&gt;https://docs.paloaltonetworks.com/prisma/prisma-cloud/22-01/prisma-cloud-compute-edition-admin/configure/collections&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;I want to specify a collection of images that have been labeled in the Dockerfile with "LABEL Environment=Development".&lt;/P&gt;
&lt;P&gt;However, the docker API returns labels in JSON format.&lt;/P&gt;
&lt;P&gt;Using the string wild cards, its easy to imagine...&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;"*Environment*" would collect ALL environments&lt;/LI&gt;
&lt;LI&gt;"*Dev" would collect ALL LABELS with Dev anywhere in the LABEL's key or value&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;But I want a colletion of images labeled "Environment=Development".&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How do I do that?&lt;/P&gt;</description>
      <pubDate>Thu, 08 Sep 2022 19:17:42 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/prisma-cloud-discussions/compute-collections-how-do-i-create-a-collection-for-a-specific/m-p/514314#M675</guid>
      <dc:creator>TommyHunt</dc:creator>
      <dc:date>2022-09-08T19:17:42Z</dc:date>
    </item>
    <item>
      <title>Re: Compute-Collections: How do I create a collection for a specific Docker LABEL's key-value pair?</title>
      <link>https://live.paloaltonetworks.com/t5/prisma-cloud-discussions/compute-collections-how-do-i-create-a-collection-for-a-specific/m-p/514426#M676</link>
      <description>&lt;P&gt;Helllo TommyHunt,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Have you tried using your label&amp;nbsp;&lt;SPAN&gt;&lt;EM&gt;Environment=Development&lt;/EM&gt; in the Labels section of the collection rule as a pattern to match?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;See Pattern Matching &lt;A title="Pattern Matching" href="https://docs.paloaltonetworks.com/prisma/prisma-cloud/22-01/prisma-cloud-compute-edition-admin/configure/rule_ordering_pattern_matching" target="_blank" rel="noopener"&gt;here&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Sep 2022 14:25:58 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/prisma-cloud-discussions/compute-collections-how-do-i-create-a-collection-for-a-specific/m-p/514426#M676</guid>
      <dc:creator>GKlimeck1</dc:creator>
      <dc:date>2022-09-09T14:25:58Z</dc:date>
    </item>
    <item>
      <title>Re: Compute-Collections: How do I create a collection for a specific Docker LABEL's key-value pair?</title>
      <link>https://live.paloaltonetworks.com/t5/prisma-cloud-discussions/compute-collections-how-do-i-create-a-collection-for-a-specific/m-p/514759#M685</link>
      <description>&lt;P&gt;Thanks Gary but I already know how to find and read the documentation.&amp;nbsp; That's why I must query the community.&lt;/P&gt;
&lt;P&gt;Rather than specifying the label, Environment=Development, the proper way to specify label, key:value, and of course you can use the wildcards.&amp;nbsp; The documentation should be updated with a similar description.&amp;nbsp; So for my case, Environment:Development, is the correct solution.&lt;/P&gt;</description>
      <pubDate>Tue, 13 Sep 2022 20:21:51 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/prisma-cloud-discussions/compute-collections-how-do-i-create-a-collection-for-a-specific/m-p/514759#M685</guid>
      <dc:creator>TommyHunt</dc:creator>
      <dc:date>2022-09-13T20:21:51Z</dc:date>
    </item>
  </channel>
</rss>

