<?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 System Manager API Device Scope By Tag in Endpoint Security</title>
    <link>https://community.cisco.com/t5/endpoint-security/system-manager-api-device-scope-by-tag/m-p/5439959#M12498</link>
    <description>&lt;P&gt;Based on the documentation &lt;A href="https://developer.cisco.com/meraki/api/#/rest/api-endpoints/sm/get-network-sm-devices" target="_self" rel="nofollow noopener noreferrer"&gt;here&lt;/A&gt;, you can query devices by tag scopes but either it doesn't specify or I am misreading how to specify the scope.&lt;/P&gt;&lt;P&gt;The field description says&lt;/P&gt;&lt;PRE class="lia-code-sample language-markup"&gt;&lt;CODE&gt;Specify a scope (one of all, none, withAny, withAll, withoutAny, or withoutAll) and a set of tags as comma separated values.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;so it should be something like scope=withAny, but then what? Where do you list the tags to query?&lt;/P&gt;&lt;P&gt;Thank you in advance for any help on this.&lt;/P&gt;&lt;P&gt;WP&lt;/P&gt;</description>
    <pubDate>Wed, 16 Oct 2019 20:35:05 GMT</pubDate>
    <dc:creator>Wperry1</dc:creator>
    <dc:date>2019-10-16T20:35:05Z</dc:date>
    <item>
      <title>System Manager API Device Scope By Tag</title>
      <link>https://community.cisco.com/t5/endpoint-security/system-manager-api-device-scope-by-tag/m-p/5439959#M12498</link>
      <description>&lt;P&gt;Based on the documentation &lt;A href="https://developer.cisco.com/meraki/api/#/rest/api-endpoints/sm/get-network-sm-devices" target="_self" rel="nofollow noopener noreferrer"&gt;here&lt;/A&gt;, you can query devices by tag scopes but either it doesn't specify or I am misreading how to specify the scope.&lt;/P&gt;&lt;P&gt;The field description says&lt;/P&gt;&lt;PRE class="lia-code-sample language-markup"&gt;&lt;CODE&gt;Specify a scope (one of all, none, withAny, withAll, withoutAny, or withoutAll) and a set of tags as comma separated values.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;so it should be something like scope=withAny, but then what? Where do you list the tags to query?&lt;/P&gt;&lt;P&gt;Thank you in advance for any help on this.&lt;/P&gt;&lt;P&gt;WP&lt;/P&gt;</description>
      <pubDate>Wed, 16 Oct 2019 20:35:05 GMT</pubDate>
      <guid>https://community.cisco.com/t5/endpoint-security/system-manager-api-device-scope-by-tag/m-p/5439959#M12498</guid>
      <dc:creator>Wperry1</dc:creator>
      <dc:date>2019-10-16T20:35:05Z</dc:date>
    </item>
    <item>
      <title>Re: System Manager API Device Scope By Tag</title>
      <link>https://community.cisco.com/t5/endpoint-security/system-manager-api-device-scope-by-tag/m-p/5439960#M12499</link>
      <description>&lt;P&gt;Hey WP&lt;/P&gt;&lt;P&gt;You can include the tags after the scope descriptor, separated by a comma.&lt;/P&gt;&lt;P&gt;So, for example, if you wanted to return all devices with any of the tags "engineering" and "hq", you'd do:&lt;/P&gt;&lt;P&gt;scope=withAny,engineering,hq&lt;/P&gt;&lt;P&gt;For any devices without any of the tags "compromised", you would do:&lt;/P&gt;&lt;P&gt;scope=withoutAny,compromised&lt;/P&gt;&lt;P&gt;etc.&lt;/P&gt;&lt;P&gt;Hope this helps!&lt;/P&gt;</description>
      <pubDate>Thu, 17 Oct 2019 18:04:07 GMT</pubDate>
      <guid>https://community.cisco.com/t5/endpoint-security/system-manager-api-device-scope-by-tag/m-p/5439960#M12499</guid>
      <dc:creator>vicm</dc:creator>
      <dc:date>2019-10-17T18:04:07Z</dc:date>
    </item>
    <item>
      <title>Re: System Manager API Device Scope By Tag</title>
      <link>https://community.cisco.com/t5/endpoint-security/system-manager-api-device-scope-by-tag/m-p/5439961#M12500</link>
      <description>&lt;P&gt;I'm a little embarrassed I didn't think of that. I tried a colon, semicolon, and space (%20). It didn't occur to me to use a comma.&lt;/P&gt;&lt;P&gt;Thanks for your help.&lt;/P&gt;</description>
      <pubDate>Mon, 21 Oct 2019 17:48:52 GMT</pubDate>
      <guid>https://community.cisco.com/t5/endpoint-security/system-manager-api-device-scope-by-tag/m-p/5439961#M12500</guid>
      <dc:creator>Wperry1</dc:creator>
      <dc:date>2019-10-21T17:48:52Z</dc:date>
    </item>
  </channel>
</rss>

